/* Base Styles */
:root {
        --primary: #4361ee;
        --primary-dark: #3a56d4;
        --text: #2b2d42;
        --text-light: #8d99ae;
        --light: #edf2f4;
        --white: #ffffff;
        --shadow: 0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06);
    }
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        color: var(--text);
        line-height: 1.6;
        background: var(--light);
    }
    .header {
        background: var(--white);
        box-shadow: var(--shadow);
        position: sticky;
        top: 0;
        z-index: 100;
        padding: 1rem 0;
    }
    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }
    .header__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .header__logo img {
        height: 40px;
        transition: opacity 0.2s;
    }
    .header__logo:hover img {
        opacity: 0.8;
    }
    .header__menu-toggle {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }
    .menu-toggle__bar {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text);
        margin: 5px 0;
        transition: transform 0.3s, opacity 0.3s;
    }
    .header__nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .nav__list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 1.5rem;
    }
    .nav__link {
        font-weight: 600;
        color: var(--text);
        padding: 0.5rem 0;
        position: relative;
        text-decoration: none;
    }
    .nav__link:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width 0.3s;
    }
    .nav__link:hover:after,
    .nav__link.active:after {
        width: 100%;
    }
    .nav__link.active {
        color: var(--primary);
    }
    .header__actions {
        display: flex;
        gap: 1rem;
    }
    .btn {
        padding: 0.5rem 1.25rem;
        border-radius: 4px;
        font-weight: 600;
        transition: all 0.2s;
    }
    .btn--primary {
        background: var(--primary);
        color: white;
        border: 2px solid var(--primary);
    }
    .btn--primary:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
    }
    .btn--outline {
        background: transparent;
        color: #000 !important;
        border: 2px solid var(--primary);
    }
    .btn--outline:hover {
        background: var(--primary);
        color: white;
    }
    @media (max-width: 768px) {
        .header__menu-toggle {
            display: block;
        }
        .header__nav {
            position: fixed;
            top: 72px;
            left: 0;
            width: 100%;
            background: var(--white);
            flex-direction: column;
            padding: 2rem;
            box-shadow: var(--shadow);
            transform: translateY(-100%);
            opacity: 0;
            pointer-events: none;
            transition: transform 0.3s, opacity 0.3s;
        }
        .header__nav.active {
            transform: translateY(0);
            opacity: 1;
            pointer-events: auto;
        }
        .nav__list {
            flex-direction: column;
            gap: 1rem;
        }
        .header__actions {
            margin-top: 1rem;
        }
    }

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 769px) {
    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.hero-content {
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.hero-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Featured Section */
.featured-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.featured-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.category-badge a {
    background: var(--light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: var(--primary);
    text-decoration: none;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card-title a {
    color: var(--text);
    text-decoration: none;
}

.card-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.card-footer {
    border-top: 1px solid var(--light);
    padding-top: 1rem;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* Categories Section */
.categories-section {
    padding: 4rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 50%;
}

.category-icon img {
    max-width: 100%;
    height: auto;
}

.icon-placeholder {
    font-size: 1.5rem;
    color: var(--primary);
}

.category-card h3 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: #000 !important;
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto 2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 0.5rem;
    }
}

        /* Footer Styles */
        .footer {
    background-color: #2b2d42;
    color: #edf2f4;
    padding: 3rem 0 0;
    font-size: 0.95rem;
}
.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer__col {
    margin-bottom: 1.5rem;
}
.footer__heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}
.footer__title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}
.footer__text {
    margin-bottom: 1rem;
    opacity: 0.85;
    line-height: 1.6;
}
.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer__list li {
    margin-bottom: 0.5rem;
}
.footer__link {
    color: #edf2f4;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
    text-decoration: none;
}
.footer__link:hover {
    opacity: 1;
    color: #4361ee;
}
.footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.social__link {
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    transition: background 0.3s, transform 0.3s;
}
.social__link:hover {
    background: #4361ee;
    transform: translateY(-3px);
}
.social__icon {
    width: 18px;
    height: 18px;
}
.footer__form {
    margin-top: 1.5rem;
}
.footer__input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 4px;
    border: none;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.footer__button {
    width: 100%;
    padding: 0.75rem;
    border-radius: 4px;
    background: #4361ee;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}
.footer__button:hover {
    background: #3a56d4;
}
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
}
.footer__copyright {
    opacity: 0.7;
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer {
        padding: 2rem 0 0;
    }
    .footer__col {
        margin-bottom: 1rem;
    }
}

/* FAQ Section Styles */
.faqs-section {
    margin-top: 3rem;
}

.faqs-section h3 {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.accordion-item {
    border: 1px solid var(--light);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--light);
}

.accordion-button {
    background-color: var(--white);
    color: var(--text);
    font-weight: 600;
    padding: 1rem 1.5rem;
    width: 100%;
    text-align: left;
    border: none;
    transition: background-color 0.2s ease-in-out;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: var(--light);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--white);
    color: var(--text-light);
    line-height: 1.7;
}
