:root {
    --primary-green: #7B8E72;
    --primary-green-dark: #62725a;
    --slate-blue: #4A606A;
    --slate-dark: #2F3E46;
    --sand-gold: #B1A896;
    --sand-light: #F7F6F2;
    --bg-light: #FAFAFB;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --max-width: 1200px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    image-orientation: from-image;
}

.container {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 0 24px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    transition: padding 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.35s ease;
    will-change: padding, box-shadow, background;
}

header.shrink {
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.15);
}

main {
    margin-top: 220px;
    transition: margin-top 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

header.shrink + main {
    margin-top: 135px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    transition: padding 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), gap 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

header.shrink .nav-wrapper {
    padding: 6px 0;
    gap: 8px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 160px;
    height: 160px;
    display: grid;
    place-items: center;
    transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

header.shrink .logo-icon {
    width: 120px;
    height: 120px;
}

header.shrink .btn {
    padding: 10px 18px;
    font-size: 0.92rem;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

footer .logo-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .logo-icon {
        width: 120px;
        height: 120px;
    }

    footer .logo-icon {
        width: 100px;
        height: 100px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-toggle-input,
.nav-toggle-btn {
    display: none;
}

.nav-links a {
    font-weight: 600;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--primary-green);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background: var(--primary-green-dark);
}

.btn-outline {
    border: 2px solid var(--slate-blue);
    color: var(--slate-blue);
    background: transparent;
}

.btn-outline:hover {
    background: var(--slate-blue);
    color: var(--white);
}

.hero {
    padding: 100px 0 40px;
    background: linear-gradient(180deg, var(--sand-light), var(--bg-light));
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(123, 142, 114, 0.16);
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    font-size: 0.82rem;
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1.05;
    color: var(--slate-dark);
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--primary-green);
}

.hero p {
    max-width: 620px;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-card,
.card,
.activity-card,
.feature-box,
.news-card,
.blog-card,
.event-card,
.team-card,
.table-card,
.contact-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.hero-image-card {
    min-height: 420px;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.hero-image-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: rotate(0deg);
    image-orientation: from-image;
}

.hero-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.82) 100%);
}

.hero-image-overlay {
    position: relative;
    z-index: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    justify-content: flex-end;
    min-height: 100%;
}

.hero-image-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-image-card:hover .hero-image-details,
.hero-image-card:focus-within .hero-image-details {
    max-height: 220px;
    opacity: 1;
}

.hero-image-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.hero-image-source {
    font-size: 0.9rem;
    color: var(--sand-gold);
    margin: 0;
}

.hero-image-source a {
    color: var(--sand-gold);
    text-decoration: underline;
}

stats-grid,
    .activities-grid,
    .support-grid,
    .news-grid,
    .blog-grid,
    .events-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 40px;
}

.support-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.05rem;
    color: var(--sand-gold);
    margin-bottom: 10px;
}

.stat-item p {
    color: #CBD5E1;
}

#chapter-directory-header {
    scroll-margin-top: 130px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    font-size: 0.85rem;
}

.section-header h2 {
    font-size: 2.4rem;
    color: var(--slate-dark);
    font-weight: 800;
}

.activities-grid,
.news-grid,
.blog-grid,
events-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Center and constrain a single featured card when needed */


.support-grid {
    margin-top: 28px;
    margin-bottom: 40px;
}

.support-card {
    display: flex;
    flex-direction: column;
}

.support-card .btn {
    margin-top: auto;
}

.activity-card,
.team-card,
.news-card,
.blog-card,
.event-card,
.feature-box,
.table-card,
.contact-panel {
    padding: 34px;
}

.news-card--featured {
    border-color: var(--primary-green);
    background: rgba(56, 161, 105, 0.08);
}

.news-card--featured .news-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-green);
    background: rgba(56, 161, 105, 0.12);
    border-radius: 999px;
    margin-bottom: 18px;
}

.news-card--featured h3 {
    color: var(--slate-dark);
}

.news-card--featured a.btn {
    margin-top: 20px;
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--sand-light);
    color: var(--slate-blue);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.accordion {
    display: grid;
    gap: 16px;
}

.department-card,
.team-card {
    position: relative;
    overflow: hidden;
    scroll-margin-top: 120px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.department-card {
    margin-bottom: 14px;
}

.dept-toggle,
.team-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.department-summary,
.team-summary {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    cursor: pointer;
    padding: 28px;
    border: none;
    background: transparent;
    text-align: left;
}

.department-summary {
    align-items: center;
}

.department-summary h3,
.team-summary h4 {
    margin-bottom: 10px;
}

.department-summary p,
.department-bullets,
.team-role-desc,
.team-summary p {
    margin: 0;
    color: var(--text-muted);
}

.department-bullets {
    margin: 14px 0 0;
    padding-left: 20px;
}

.department-bullets li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.member-grid {
    display: grid;
    gap: 18px;
    padding: 0 28px 28px;
}

.team-summary {
    align-items: center;
    padding: 20px 24px;
}

.member-photo {
    width: 84px;
    min-width: 84px;
    height: 84px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--sand-light);
    flex-shrink: 0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    min-width: 0;
}

.team-summary h4 {
    margin-bottom: 8px;
    color: var(--slate-dark);
}

.team-role {
    margin: 0 0 6px;
    color: var(--slate-dark);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.team-role-desc,
.team-summary p {
    margin: 0;
    color: var(--text-muted);
}

.toggle-icon {
    margin-left: auto;
    color: var(--slate-blue);
    transition: transform var(--transition);
    align-self: center;
}

.dept-toggle:checked + .department-summary .toggle-icon,
.team-toggle:checked + .team-summary .toggle-icon {
    transform: rotate(180deg);
}

.department-details,
.team-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: scaleY(0.98);
    transform-origin: top;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, transform 0.35s ease, padding 0.35s ease;
    padding: 0 0;
}

.dept-toggle:checked + .department-summary + .department-details,
.team-toggle:checked + .team-summary + .team-details {
    max-height: 2600px;
    opacity: 1;
    transform: scaleY(1);
    padding-top: 28px;
}

.department-details,
.team-details {
    padding: 0 24px 24px;
}

.team-details p {
    margin-bottom: 16px;
}

.team-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.team-actions .btn {
    padding: 12px 20px;
    font-size: 0.95rem;
}

.team-actions .btn i {
    margin-right: 8px;
}

.no-members {
    color: var(--text-muted);
    margin: 0;
}

.activity-card h3,
.team-card h4,
.news-card h3,
.blog-card h3,
.event-card h3,
.feature-box h4 {
    margin-bottom: 14px;
    color: var(--slate-dark);
}

.activity-card p,
.team-card p,
.news-card p,
.blog-card p,
.event-card p,
.feature-box p {
    color: var(--text-muted);
    line-height: 1.8;
}

.btn-blog {
    margin-top: 18px;
    padding: 10px 22px;
    font-size: 0.95rem;
}

.blog-hero {
    padding: 100px 0 70px;
    background: linear-gradient(180deg, var(--sand-light), var(--bg-light));
}

.blog-page-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 28px;
    color: var(--slate-dark);
    font-weight: 600;
}

.filter-pill {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    padding: 10px 18px;
    background: #fff;
    color: var(--slate-dark);
    cursor: pointer;
    transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.blog-card {
    overflow: hidden;
    display: grid;
    gap: 20px;
}

.blog-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
}

.blog-card-content {
    display: grid;
    gap: 16px;
}

.category-label {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(123, 142, 114, 0.12);
    color: var(--primary-green);
    font-size: 0.85rem;
    font-weight: 700;
}

.blog-card h3 {
    font-size: 1.8rem;
    line-height: 1.2;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.blog-sidebar {
    display: grid;
    gap: 24px;
}

.blog-sidebar .feature-box {
    padding: 28px;
}

.blog-sidebar ul {
    display: grid;
    gap: 10px;
    padding-left: 16px;
}

.blog-sidebar li {
    color: var(--text-muted);
}

.contributions {
    background: var(--sand-light);
    padding-bottom: 30px;
}

.contribution-carousel {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

.carousel-track {
    position: relative;
    min-height: 270px;
}

.contribution-slide {
    display: none;
    animation: contributionFade 0.35s ease;
}

.contribution-slide.active {
    display: block;
}

@keyframes contributionFade {
    from {
        opacity: 0;
        transform: translateX(12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contribution-row {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 420px);
    gap: 40px;
    align-items: center;
    justify-content: center;
    max-width: 980px;
    margin: 0 auto;
}

.contribution-row.reverse {
    direction: rtl;
}

.contribution-row.reverse .contribution-text {
    direction: ltr;
}

.contribution-text h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.contribution-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 34px;
    max-width: 520px;
    margin: 0 auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(74, 96, 106, 0.12);
    color: var(--slate-dark);
    cursor: pointer;
    font-size: 1.25rem;
    z-index: 2;
}

.carousel-btn.prev {
    left: -16px;
}

.carousel-btn.next {
    right: -16px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: rgba(74, 96, 106, 0.25);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary-green);
    transform: scale(1.15);
}

.feature-box {
    padding: 32px;
    border-left: 5px solid var(--primary-green);
}

.feature-box h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-box-image {
    width: 100px;
    height: 100px;
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.feature-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-photo-card {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
    object-fit: cover;
    object-position: center 25%;
    display: block;
    height: 100%;
}

.cta-section {
    background: linear-gradient(135deg, var(--slate-blue), var(--slate-dark));
    color: var(--white);
    text-align: center;
    padding: 70px 24px;
}

.cta-section h2 {
    font-size: 2.4rem;
    margin-bottom: 18px;
}

.cta-section p {
    max-width: 640px;
    margin: 0 auto 28px;
    color: var(--sand-light);
}

.cta-section .hero-cta {
    justify-content: center;
}

footer {
    background: var(--slate-dark);
    color: var(--sand-light);
    padding: 60px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 34px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul li {
    margin-bottom: 0;
}

.footer-links a {
    color: #94A3B8;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--sand-gold);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    color: #94A3B8;
    font-size: 0.92rem;
}

.table-card {
    overflow-x: auto;
}

.chapter-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.chapter-search i {
    color: var(--primary-green);
}

.chapter-search input {
    border: none;
    outline: none;
    width: 100%;
    font: inherit;
    color: var(--slate-dark);
    background: transparent;
}

.chapter-table {
    width: 100%;
    border-collapse: collapse;
}

.chapter-table th,
.chapter-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    text-align: left;
}

.chapter-table th {
    background: rgba(247, 246, 242, 0.95);
    color: var(--slate-dark);
    font-weight: 700;
}

.chapter-table tbody tr:hover {
    background: rgba(123, 142, 114, 0.06);
}

.chapter-table tbody tr.is-hidden {
    display: none;
}

.chapter-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 24px 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.newsletter-card {
    background: linear-gradient(135deg, rgba(123, 142, 114, 0.16), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(123, 142, 114, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow-sm);
    margin-top: 24px;
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    min-width: min(100%, 360px);
}

.newsletter-form input {
    flex: 1;
    min-width: 220px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 999px;
    font: inherit;
}

form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 10px;
}

.form-group label {
    font-weight: 700;
    color: var(--slate-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.form-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .hero-grid,
    .contribution-row,
    .contact-grid,
    .footer-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    main {
        margin-top: 120px;
    }

    .hero {
        padding-top: 54px;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 9vw, 3.1rem);
    }

    .hero-image-card {
        min-height: 280px;
    }

    .hero-image-overlay {
        padding: 18px 18px 22px;
    }

    header.shrink + main {
        margin-top: 90px;
    }

    .nav-wrapper {
        padding: 10px 0;
        position: relative;
        gap: 8px;
    }

    .logo-container {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-right: auto;
    }

    .logo-icon {
        width: 72px;
        height: 72px;
    }

    .desktop-contact {
        display: none;
    }

    .nav-toggle-input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
        display: none;
    }

    .nav-toggle-btn {
        display: inline-flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 46px;
        height: 46px;
        border-radius: 14px;
        border: 1px solid rgba(15, 23, 42, 0.12);
        background: var(--white);
        color: var(--slate-dark);
        cursor: pointer;
        font-size: 1.15rem;
        margin-left: auto;
        position: relative;
        z-index: 10;
    }

    .nav-toggle-btn span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--slate-dark);
    }

    .nav-links {
        display: none;
    }

    .nav-toggle-input:checked + .nav-toggle-btn + .nav-links {
        display: flex;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        background: var(--white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        gap: 0;
        padding: 18px 24px;
        z-index: 1000;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        text-align: left;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a:hover {
        color: var(--primary-green);
    }

    .nav-links {
        flex-direction: column;
        position: static;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding-top: 38px;
    }

    .hero-grid {
        gap: 28px;
    }

    .tagline-badge {
        font-size: 0.72rem;
        letter-spacing: 0.7px;
        padding: 8px 12px;
        margin-bottom: 18px;
    }

    .hero h1 {
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 0.96rem;
        margin-bottom: 22px;
    }

    .hero-cta {
        gap: 10px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-image-card {
        min-height: 240px;
    }

    .hero-image-overlay {
        padding: 16px;
    }

    .nav-wrapper {
        padding: 8px 0;
    }
}
