/* Global Styles */
:root {
    --primary-color: #4a6fdc;
    --secondary-color: #34c759;
    --dark-color: #333;
    --light-color: #f4f7fc;
    --gray-color: #7c8797;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #3a5fc5;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(74, 111, 220, 0.1);
    transform: translateY(-2px);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.main-nav {
    display: flex;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    font-weight: 500;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover:after, .main-nav a.active:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4ecfb 100%);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--gray-color);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    background-color: var(--primary-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #fff;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: #fff;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-color);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.author-info p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-controls button {
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    margin: 0 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-controls button:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.toggle-icon {
    background-color: var(--light-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-answer {
    padding-top: 1rem;
    display: none;
}

.faq-question.active .toggle-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.faq-question.active .toggle-icon i {
    transform: rotate(45deg);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.footer-logo p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-links-column {
    margin-right: 3rem;
    margin-bottom: 2rem;
}

.footer-links-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links-column ul li {
    margin-bottom: 0.8rem;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 130px 0 80px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .mobile-menu-btn {
        display: block;
    }
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    .main-nav.active {
        transform: translateY(0);
    }
    .main-nav li {
        margin: 1rem 0;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .feature-card {
        padding: 1.5rem;
    }
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional Page Styles */
/* Tools Page */
.tools-section {
    padding: 150px 0 100px;
}

.tool-category {
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}

.tool-category:last-child {
    border-bottom: none;
}

.tool-category-header {
    margin-bottom: 2rem;
}

.tool-category-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tool-category-header p {
    color: var(--gray-color);
    max-width: 800px;
}

.tool-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tool-card-image {
    height: 200px;
    background-color: #e1e5f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-card-image i {
    font-size: 3rem;
    color: var(--primary-color);
}

.tool-card-content {
    padding: 1.5rem;
}

.tool-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tool-card-content p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

/* Resources Page */
.resources-section {
    padding: 150px 0 100px;
}

.resource-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.resource-category-btn {
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 50px;
    background-color: var(--light-color);
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.resource-category-btn.active, .resource-category-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.resource-card-image {
    height: 180px;
    background-color: #e1e5f1;
    position: relative;
    overflow: hidden;
}

.resource-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-type {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: var(--primary-color);
    color: #fff;
}

.resource-card-content {
    padding: 1.5rem;
}

.resource-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.resource-card-content .resource-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.resource-card-content .resource-meta span {
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.resource-card-content .resource-meta i {
    margin-right: 5px;
}

.resource-card-content p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

/* About Page */
.about-section {
    padding: 150px 0 100px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-mission {
    text-align: center;
    margin-bottom: 4rem;
}

.about-mission h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-mission p {
    font-size: 1.2rem;
    color: var(--gray-color);
}

.about-story {
    margin-bottom: 4rem;
}

.about-story h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-story p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.about-values {
    margin-bottom: 4rem;
}

.about-values h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-color);
}

.about-cta {
    text-align: center;
    margin-top: 4rem;
}

.about-cta h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-cta p {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}
