:root {
    --bg: #f6f1e8;
    --surface: #fffdf9;
    --surface-alt: #f1f5f2;
    --text: #18322f;
    --muted: #5c746f;
    --brand: #0f766e;
    --brand-dark: #0b5d57;
    --accent: #df9f5a;
    --line: rgba(24, 50, 47, 0.12);
    --shadow: 0 18px 50px rgba(17, 37, 34, 0.09);
    --radius-lg: 28px;
    --radius-md: 20px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding-top: 92px;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #faf7f1 0%, #f3f7f5 100%);
}

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

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

p {
    color: var(--muted);
    line-height: 1.75;
}

h1, h2, h3, h4 {
    color: var(--text);
    line-height: 1.15;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
}

.site-navbar {
    background: rgba(255, 253, 249, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: 0.3s ease;
}

.site-navbar.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 28px rgba(17, 37, 34, 0.06);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand strong,
.navbar-brand small {
    display: block;
}

.navbar-brand small {
    color: var(--muted);
    font-size: 0.78rem;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand), #11a598);
    color: white;
    font-weight: 800;
}

.nav-link {
    color: var(--text);
    font-weight: 600;
    padding: 0.65rem 0.95rem !important;
    border-radius: 999px;
}

.nav-link.active,
.nav-link:hover {
    color: var(--brand);
    background: rgba(15, 118, 110, 0.08);
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand), #15968b);
    border: none;
    color: #fff;
    border-radius: 999px;
    padding: 0.9rem 1.5rem;
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.25);
}

.btn-brand:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.btn-soft {
    border-radius: 999px;
    padding: 0.9rem 1.5rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.78);
}

.hero-section,
.inner-hero {
    position: relative;
    overflow: hidden;
}

.hero-section {
    padding: 5.5rem 0 4rem;
}

.hero-section::before,
.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(223, 159, 90, 0.25), transparent 38%), radial-gradient(circle at top left, rgba(15, 118, 110, 0.16), transparent 30%);
    pointer-events: none;
}

.hero-copy,
.hero-visual,
.section-head,
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: 0.7s ease;
}

.reveal-up.is-visible,
.hero-copy.is-visible,
.hero-visual.is-visible,
.section-head.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.12s;
}

.eyebrow,
.section-kicker,
.popup-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 118, 110, 0.14);
    color: var(--brand-dark);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.hero-copy h1,
.inner-hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    margin: 1rem 0 1.2rem;
}

.hero-copy p,
.inner-hero p,
.section-head p {
    max-width: 640px;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-visual {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 32px;
    box-shadow: var(--shadow);
    padding: 1.6rem;
}

.metric-card,
.info-card,
.content-card,
.stack-card,
.news-card,
.person-card,
.committee-card,
.form-shell,
.article-card,
.sector-card,
.empty-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.metric-card {
    text-align: center;
    padding: 1rem;
}

.metric-card strong {
    display: block;
    font-size: 1.6rem;
}

.metric-card span {
    color: var(--muted);
    font-size: 0.88rem;
}

.section-pad {
    padding: 5rem 0;
}

.surface-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(241,245,242,0.88));
}

.section-head {
    margin-bottom: 2.4rem;
}

.section-head h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin: 0.8rem 0 1rem;
}

.info-card,
.content-card,
.stack-card,
.empty-card {
    padding: 1.75rem;
}

.info-card i,
.icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand);
    font-size: 1.3rem;
}

.sector-card {
    display: block;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sector-card:hover,
.news-card:hover,
.person-card:hover {
    transform: translateY(-6px);
}

.sector-media img,
.news-card img,
.person-card img,
.article-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.sector-body,
.news-card-body,
.person-card-body {
    padding: 1.5rem;
}

.person-card-body span,
.committee-card span,
.news-date,
.article-meta {
    color: var(--brand);
    font-weight: 700;
    font-size: 0.88rem;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.committee-card {
    padding: 1.5rem;
}

.committee-head {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.committee-head img {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    object-fit: cover;
}

.impact-panel {
    display: grid;
    gap: 1rem;
}

.impact-item {
    padding: 1.4rem 1.5rem;
    background: rgba(255,255,255,0.88);
    border-radius: 20px;
    border: 1px solid var(--line);
}

.cta-section {
    padding-top: 1rem;
    padding-bottom: 5.5rem;
}

.cta-box {
    background: linear-gradient(135deg, #164d4a, #0f766e);
    color: #fff;
    border-radius: 32px;
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 30px 70px rgba(15, 118, 110, 0.24);
}

.cta-box h2,
.cta-box p {
    color: #fff;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-shell {
    padding: 2rem;
}

.form-control,
.form-select {
    min-height: 52px;
    border-radius: 16px;
    border-color: rgba(24, 50, 47, 0.16);
}

textarea.form-control {
    min-height: auto;
}

.check-tile,
.check-inline {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.85rem;
}

.check-tile {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.article-card {
    padding: 1.5rem;
}

.article-image {
    border-radius: 24px;
    margin-bottom: 1.4rem;
}

.inner-hero {
    padding: 4rem 0 2.6rem;
}

.site-footer {
    background: #143936;
    color: rgba(255,255,255,0.82);
    padding: 4rem 0 1.25rem;
}

.site-footer h3,
.site-footer h4,
.site-footer a,
.site-footer p {
    color: #fff;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 2rem;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.popup-card {
    border-radius: 28px;
    border: none;
}

.flash-wrap {
    position: relative;
    z-index: 1031;
}

.text-link {
    color: var(--brand);
    font-weight: 700;
}

@media (max-width: 991px) {
    body {
        padding-top: 84px;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-section {
        padding-top: 4.5rem;
    }
}

@media (max-width: 767px) {
    .section-pad {
        padding: 4rem 0;
    }

    .form-shell,
    .content-card,
    .info-card,
    .stack-card,
    .committee-card,
    .article-card {
        padding: 1.35rem;
    }

    .sector-media img,
    .news-card img,
    .person-card img,
    .article-image {
        height: 210px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

.navbar-toggler {
    border-color: rgba(24, 50, 47, 0.16);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(24,50,47,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

:root {
    --bg: #eef7ea;
    --surface: #ffffff;
    --surface-alt: #eff9eb;
    --text: #14311a;
    --muted: #456048;
    --brand: #0bcb00;
    --brand-dark: #0a8c08;
    --accent: #f2d21d;
    --line: rgba(11, 140, 8, 0.16);
    --shadow: 0 20px 55px rgba(10, 80, 18, 0.12);
}

body {
    background: linear-gradient(180deg, #f8fff5 0%, #eff9eb 55%, #fefde8 100%);
}

.site-navbar {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(11, 140, 8, 0.08);
}

.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(11, 140, 8, 0.14);
    box-shadow: 0 10px 24px rgba(10, 80, 18, 0.12);
    background: #fff;
}

.navbar-brand strong {
    font-size: 1.02rem;
}

.navbar-brand small {
    color: #6d851d;
    font-weight: 700;
}

.nav-link.active,
.nav-link:hover {
    color: #0a8c08;
    background: rgba(242, 210, 29, 0.2);
}

.btn-brand {
    background: linear-gradient(135deg, #0bcb00, #0a9808);
    box-shadow: 0 16px 30px rgba(11, 140, 8, 0.28);
}

.btn-brand:hover {
    background: linear-gradient(135deg, #098608, #066c06);
}

.btn-soft,
.popup-soft-btn {
    border-color: rgba(11, 140, 8, 0.16);
    background: rgba(255, 255, 255, 0.92);
}

.hero-banner-theme::before {
    background:
        linear-gradient(120deg, rgba(11, 203, 0, 0.15), rgba(242, 210, 29, 0.16)),
        radial-gradient(circle at top right, rgba(242, 210, 29, 0.26), transparent 34%),
        radial-gradient(circle at top left, rgba(11, 203, 0, 0.16), transparent 32%);
}

.hero-copy h1 {
    max-width: 12ch;
}

.hero-banner-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(252,255,246,0.92));
    padding: 1rem;
}

.hero-banner-image {
    width: 100%;
    border-radius: 24px;
    border: 6px solid rgba(255,255,255,0.72);
    box-shadow: 0 24px 45px rgba(17, 76, 12, 0.18);
}

.eyebrow,
.section-kicker,
.popup-chip {
    background: rgba(242, 210, 29, 0.18);
    border-color: rgba(11, 140, 8, 0.16);
    color: #0a7c08;
}

.info-card i,
.icon-badge {
    background: rgba(242, 210, 29, 0.18);
    color: #0a8c08;
}

.metric-card {
    background: linear-gradient(180deg, #ffffff, #f8fff1);
}

.metric-card strong {
    color: #0a8c08;
}

.sector-card,
.news-card,
.person-card,
.committee-card,
.form-shell,
.article-card,
.content-card,
.info-card,
.stack-card,
.empty-card {
    border-color: rgba(11, 140, 8, 0.12);
}

.text-link,
.news-date,
.person-card-body span,
.committee-card span,
.article-meta {
    color: #0a8c08;
}

.cta-box {
    background: linear-gradient(135deg, #0a9908, #0fcc00 55%, #76d719 100%);
}

.site-footer {
    background: linear-gradient(180deg, #0d4f0f 0%, #08370b 100%);
}

.footer-brand-wrap {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    border: 4px solid rgba(255,255,255,0.22);
}

.popup-brand-card {
    overflow: hidden;
    border: none;
    border-radius: 30px;
}

.popup-media-wrap {
    height: 100%;
    background: linear-gradient(180deg, #0a9808, #0cd000);
}

.popup-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-content-wrap {
    padding: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfff4 100%);
}

.popup-logo {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid rgba(11, 140, 8, 0.14);
}

.popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
}

.popup-close-btn {
    border-radius: 999px;
}

@media (min-width: 992px) {
    .popup-content-wrap {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .popup-logo {
        margin-left: 0;
    }

    .popup-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .footer-brand-wrap {
        flex-direction: column;
    }

    .popup-content-wrap {
        padding: 1.35rem;
    }
}

/* Stronger Maalik branding overrides */
body {
    background:
        radial-gradient(circle at top right, rgba(242, 210, 29, 0.16), transparent 24%),
        linear-gradient(180deg, #f3ffe9 0%, #ebffe2 42%, #fffde8 100%) !important;
}

.site-navbar,
.site-navbar.scrolled {
    background: linear-gradient(180deg, rgba(250, 255, 247, 0.97), rgba(240, 255, 233, 0.95)) !important;
    border-bottom: 3px solid rgba(11, 203, 0, 0.18) !important;
    box-shadow: 0 12px 34px rgba(7, 100, 15, 0.12) !important;
}

.brand-logo {
    width: 40px !important;
    height: 40px !important;
    border-width: 2px !important;
}

.navbar-brand {
    gap: 10px !important;
}

.navbar-brand strong {
    color: #0b6d10 !important;
    font-size: 0.98rem !important;
}

.navbar-brand small {
    color: #9a8300 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.nav-link {
    color: #18521b !important;
}

.nav-link.active,
.nav-link:hover {
    color: #0b8f0a !important;
    background: rgba(242, 210, 29, 0.32) !important;
}

.btn-brand {
    background: linear-gradient(135deg, #16d600 0%, #0da000 100%) !important;
    color: #fff !important;
    box-shadow: 0 18px 35px rgba(11, 140, 8, 0.3) !important;
}

.btn-soft,
.popup-soft-btn {
    background: #fff9c7 !important;
    color: #116111 !important;
    border-color: rgba(187, 158, 0, 0.28) !important;
}

.hero-banner-theme {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.22), transparent 22%),
        linear-gradient(130deg, rgba(11, 203, 0, 0.12), rgba(242, 210, 29, 0.14));
}

.hero-banner-theme .hero-copy h1 {
    color: #087c08 !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

.hero-banner-theme .hero-copy p {
    color: #365d32 !important;
}

.hero-banner-card {
    background: linear-gradient(180deg, #f6fff0 0%, #fffde8 100%) !important;
    border: 1px solid rgba(11, 203, 0, 0.16) !important;
}

.hero-banner-image {
    border: 8px solid rgba(255, 255, 255, 0.84) !important;
}

.section-head h2,
.inner-hero h1,
.content-card h2,
.cta-box h2 {
    color: #0b7412 !important;
}

.info-card,
.content-card,
.stack-card,
.news-card,
.person-card,
.committee-card,
.form-shell,
.article-card,
.sector-card,
.empty-card,
.metric-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfff7 100%) !important;
    border-color: rgba(11, 203, 0, 0.14) !important;
}

.info-card i,
.icon-badge,
.eyebrow,
.section-kicker,
.popup-chip {
    background: linear-gradient(135deg, rgba(242, 210, 29, 0.28), rgba(255, 250, 205, 0.94)) !important;
    color: #0a8f08 !important;
    border-color: rgba(11, 203, 0, 0.18) !important;
}

.surface-section {
    background: linear-gradient(180deg, rgba(223,255,210,0.5), rgba(255,252,224,0.72)) !important;
}

.cta-box {
    background: linear-gradient(135deg, #10a300 0%, #17d300 55%, #f2d21d 130%) !important;
}

.site-footer {
    background: linear-gradient(180deg, #0b6d10 0%, #084b0a 100%) !important;
    border-top: 6px solid #f2d21d;
}

.footer-logo {
    width: 56px !important;
    height: 56px !important;
}

.popup-logo {
    width: 54px !important;
    height: 54px !important;
}

.popup-brand-card {
    box-shadow: 0 26px 70px rgba(7, 73, 11, 0.22) !important;
}

@media (max-width: 767px) {
    .brand-logo {
        width: 34px !important;
        height: 34px !important;
    }

    .navbar-brand strong {
        font-size: 0.88rem !important;
    }

    .navbar-brand small {
        font-size: 0.64rem !important;
    }
}

.hero-metrics .metric-card {
    min-height: 148px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
}

.hero-metrics .metric-card strong {
    font-size: clamp(1.9rem, 4vw, 2.4rem);
    line-height: 1;
}

.hero-metrics .metric-card span {
    display: block;
    margin-top: 0.7rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* 2026 structure refresh */
.hero-shell {
    position: relative;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 36px;
    background: linear-gradient(145deg, rgba(255,255,255,0.44), rgba(255,253,225,0.72));
    border: 1px solid rgba(11, 203, 0, 0.12);
    box-shadow: 0 28px 80px rgba(12, 78, 18, 0.12);
}

.hero-main-row {
    margin-bottom: 1.4rem;
}

.hero-copy-shell {
    padding: clamp(1.35rem, 3vw, 2rem);
    border-radius: 30px;
    background: linear-gradient(160deg, rgba(255,255,255,0.72), rgba(248,255,240,0.82));
    border: 1px solid rgba(11, 203, 0, 0.12);
    box-shadow: 0 18px 50px rgba(10, 95, 18, 0.08);
}

.hero-banner-theme .hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 5.5vw, 5.1rem);
    line-height: 0.96;
    color: #0b6612 !important;
    text-shadow: 0 2px 16px rgba(255,255,255,0.35);
}

.hero-banner-theme .hero-copy p {
    max-width: 34rem;
    font-size: 1.12rem;
    color: #244e24 !important;
}

.hero-stats-wide .metric-card-wide {
    min-height: 100%;
    height: 100%;
}

.metric-card-wide {
    padding: 1.7rem 1.25rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,255,237,0.96)) !important;
}

.metric-card-wide strong {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    color: #0a9109 !important;
}

.metric-card-wide span {
    font-size: 1rem !important;
    color: #355736 !important;
}

.leadership-hero,
.partners-hero {
    background: linear-gradient(135deg, rgba(11, 203, 0, 0.12), rgba(242, 210, 29, 0.16));
}

.leadership-feature-row {
    margin-bottom: 0.5rem;
}

.leadership-feature-card,
.leadership-card,
.partner-card {
    background: linear-gradient(180deg, #ffffff, #fbfff5);
    border: 1px solid rgba(11, 203, 0, 0.14);
    border-radius: 28px;
    box-shadow: 0 20px 55px rgba(10, 74, 14, 0.10);
    overflow: hidden;
    height: 100%;
}

.leadership-feature-card {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
}

.leadership-feature-media img,
.leadership-card > img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.leadership-feature-body,
.leadership-card-body,
.partner-card-body {
    padding: 1.6rem;
}

.leadership-feature-body span,
.leadership-card-body span {
    display: inline-flex;
    margin-bottom: 0.7rem;
    color: #0a8c08;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.leadership-feature-body h3,
.leadership-card-body h3,
.partner-card-body h3 {
    margin-bottom: 0.7rem;
    color: #0f4b15;
}

.partner-logo-wrap {
    min-height: 220px;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(244,255,234,0.92), rgba(255,251,225,0.82));
    border-bottom: 1px solid rgba(11, 203, 0, 0.10);
}

.partner-logo-wrap img {
    max-width: 100%;
    max-height: 108px;
    object-fit: contain;
}

.cta-box {
    background: linear-gradient(135deg, #0c7d0b 0%, #10a300 55%, #86c90f 100%) !important;
    border: 1px solid rgba(255,255,255,0.18);
}

.cta-box .section-kicker {
    color: rgba(255,255,255,0.96) !important;
    background: rgba(255,255,255,0.18) !important;
    border-color: rgba(255,255,255,0.20) !important;
}

.cta-box h2 {
    color: #ffffff !important;
    text-shadow: 0 3px 18px rgba(7, 56, 8, 0.22);
}

.cta-box p {
    color: rgba(255,255,255,0.92) !important;
}

.cta-box .btn-light {
    color: #0b6110;
}

.cta-box .btn-outline-light {
    background: rgba(255,255,255,0.08);
}

@media (max-width: 991px) {
    .leadership-feature-card {
        grid-template-columns: 1fr;
    }

    .hero-banner-theme .hero-copy h1 {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-shell {
        padding: 1rem;
        border-radius: 28px;
    }

    .hero-copy-shell {
        padding: 1.2rem;
    }

    .metric-card-wide {
        padding: 1.2rem 1rem;
    }

    .leadership-feature-media img,
    .leadership-card > img {
        min-height: 220px;
    }

    .partner-logo-wrap {
        min-height: 180px;
        padding: 1.5rem;
    }
}

.hero-banner-theme .hero-copy h1 {
    font-size: clamp(2.2rem, 4.5vw, 4.1rem) !important;
    max-width: 12ch;
}

@media (max-width: 767px) {
    .hero-banner-theme .hero-copy h1 {
        font-size: clamp(2rem, 11vw, 3.4rem) !important;
    }
}
/* Leadership text visibility fix */
.leadership-card {
    display: flex !important;
    flex-direction: column !important;
}

.leadership-card > img {
    display: block;
    width: 100%;
    height: 260px !important;
    min-height: 260px !important;
    flex: 0 0 auto;
    object-fit: cover;
}

.leadership-card-body,
.leadership-feature-body {
    display: block !important;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #ffffff 0%, #fbfff5 100%);
}

.leadership-card-body h3,
.leadership-feature-body h3 {
    display: block;
    color: #0f4b15 !important;
    font-size: 1.5rem;
}

.leadership-card-body span,
.leadership-feature-body span {
    display: inline-block !important;
    color: #0a8c08 !important;
}

.leadership-card-body p,
.leadership-feature-body p {
    display: block;
    color: #355736 !important;
}

@media (max-width: 767px) {
    .leadership-card > img {
        height: 220px !important;
        min-height: 220px !important;
    }
}
/* Leadership image size normalization */
.leadership-feature-media,
.leadership-card > img {
    background: #eef6e7;
}

.leadership-feature-media {
    height: 320px;
}

.leadership-feature-media img,
.leadership-card > img {
    width: 100%;
    height: 320px !important;
    min-height: 320px !important;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 767px) {
    .leadership-feature-media,
    .leadership-feature-media img,
    .leadership-card > img {
        height: 240px !important;
        min-height: 240px !important;
    }
}
.leadership-toggle-wrap {
    display: flex;
    justify-content: center;
}

.leadership-toggle {
    min-width: 240px;
    border-radius: 999px;
    font-weight: 700;
}

.youth-search-shell {
    padding: 1.6rem;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff, #fbfff5);
    border: 1px solid rgba(11, 203, 0, 0.14);
    box-shadow: 0 18px 48px rgba(10, 74, 14, 0.08);
}

.youth-code {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.9rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(242, 210, 29, 0.24);
    border: 1px solid rgba(11, 203, 0, 0.16);
    color: #0b6f10;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

@media (max-width: 767px) {
    .youth-search-shell {
        padding: 1.2rem;
    }

    .leadership-toggle {
        width: 100%;
    }
}
.popup-lux-card {
    overflow: hidden;
    background: transparent;
    border: none;
}

.popup-lux-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    min-height: 560px;
}

.popup-lux-media {
    position: relative;
    min-height: 100%;
    background: linear-gradient(145deg, #0a8f08, #d9f25d);
}

.popup-lux-media .popup-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-lux-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 66, 9, 0.12), rgba(7, 46, 8, 0.38));
}

.popup-lux-content {
    position: relative;
    padding: 2.2rem;
    background:
        radial-gradient(circle at top right, rgba(242, 210, 29, 0.18), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fbfff4 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-lux-content-full {
    min-height: 520px;
}

.popup-lux-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    z-index: 2;
}

.popup-topline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.popup-lux-content h3 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: #0d4b13;
    margin-bottom: 1rem;
}

.popup-message-card {
    padding: 1.2rem 1.25rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(11, 203, 0, 0.14);
    box-shadow: 0 16px 36px rgba(8, 67, 11, 0.08);
    margin-bottom: 1.5rem;
}

.popup-message-card p {
    margin: 0;
    color: #305134;
    font-size: 1.02rem;
    line-height: 1.8;
}

.popup-actions-lux {
    justify-content: flex-start;
}

@media (max-width: 991px) {
    .popup-lux-shell {
        grid-template-columns: 1fr;
    }

    .popup-lux-media {
        min-height: 260px;
    }

    .popup-lux-content,
    .popup-lux-content-full {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .popup-lux-content {
        padding: 1.35rem;
    }

    .popup-topline {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .popup-lux-content h3 {
        font-size: 1.65rem;
    }
}
.popup-lux-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(242, 210, 29, 0.45), rgba(11, 203, 0, 0.28));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.popup-lux-content::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    right: -70px;
    top: -70px;
    background: radial-gradient(circle, rgba(242, 210, 29, 0.22) 0%, rgba(242, 210, 29, 0) 70%);
    pointer-events: none;
}

.popup-intro {
    margin: -0.15rem 0 1rem;
    color: #4f6851 !important;
    font-weight: 600;
}

.popup-lux-close {
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(14, 65, 11, 0.18);
    opacity: 1;
    padding: 0.85rem;
}

.popup-actions-lux .btn {
    min-width: 160px;
    justify-content: center;
}

@media (max-width: 767px) {
    .popup-actions-lux .btn {
        width: 100%;
        min-width: 0;
    }
}
/* Homepage mobile and content refresh */
.home-people-panel {
    padding: 1.6rem;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfff6 100%);
    border: 1px solid rgba(11, 203, 0, 0.14);
    box-shadow: 0 20px 50px rgba(9, 76, 12, 0.08);
}

.home-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.home-panel-head h3 {
    margin: 0.7rem 0 0;
    color: #0f4b15;
    font-size: 1.35rem;
}

.home-people-list {
    display: grid;
    gap: 1rem;
}

.mini-person {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(247, 255, 241, 0.92);
    border: 1px solid rgba(11, 203, 0, 0.12);
}

.mini-person img {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    object-fit: cover;
    object-position: center top;
}

.mini-person small {
    display: block;
    color: #0a8c08;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.mini-person strong {
    display: block;
    color: #0f4b15;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.mini-person p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.6;
    color: #456048;
}

.mini-person-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.45rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(242, 210, 29, 0.22);
    border: 1px solid rgba(11, 203, 0, 0.16);
    color: #0b6f10;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.home-network-card {
    height: 100%;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfff6 100%);
    border: 1px solid rgba(11, 203, 0, 0.14);
    box-shadow: 0 18px 48px rgba(9, 76, 12, 0.08);
    overflow: hidden;
}

.home-network-logo {
    min-height: 138px;
    display: grid;
    place-items: center;
    padding: 1.1rem;
    background: linear-gradient(180deg, rgba(244,255,234,0.96), rgba(255,251,225,0.82));
    border-bottom: 1px solid rgba(11, 203, 0, 0.10);
}

.home-network-logo img {
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

.home-network-body {
    padding: 1rem;
}

.home-network-body h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    color: #0f4b15;
}

.home-network-body p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
}

.site-navbar .navbar-collapse {
    border-radius: 24px;
}

@media (max-width: 991px) {
    body {
        padding-top: 78px;
    }

    .site-navbar .navbar-collapse {
        margin-top: 0.9rem;
        padding: 1rem;
        background: linear-gradient(180deg, rgba(252,255,248,0.98), rgba(244,255,234,0.96));
        border: 1px solid rgba(11, 203, 0, 0.12);
        box-shadow: 0 16px 36px rgba(9, 76, 12, 0.10);
    }

    .site-navbar .navbar-nav {
        align-items: stretch !important;
    }

    .site-navbar .nav-link {
        display: block;
        text-align: center;
    }

    .site-navbar .btn-brand {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
    }

    .hero-section {
        padding: 1.5rem 0 3.25rem;
    }

    .hero-main-row {
        row-gap: 1.35rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
        text-align: center;
    }

    .cta-actions {
        width: 100%;
    }

    .home-panel-head {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .hero-shell {
        padding: 0.85rem;
        border-radius: 24px;
    }

    .hero-copy-shell,
    .hero-banner-card,
    .home-people-panel,
    .home-network-card,
    .youth-search-shell {
        border-radius: 22px;
    }

    .hero-copy-shell {
        padding: 1rem;
    }

    .hero-banner-theme .hero-copy h1 {
        font-size: clamp(1.9rem, 10vw, 3rem) !important;
        line-height: 1.02;
        max-width: 100%;
    }

    .hero-banner-theme .hero-copy p {
        font-size: 0.98rem;
    }

    .hero-stats-wide .col-6 {
        width: 50%;
    }

    .metric-card-wide {
        padding: 1rem 0.85rem;
        border-radius: 22px;
    }

    .metric-card-wide strong {
        font-size: clamp(1.55rem, 8vw, 2.15rem) !important;
    }

    .metric-card-wide span {
        font-size: 0.9rem !important;
    }

    .section-head h2 {
        font-size: clamp(1.7rem, 8vw, 2.35rem);
    }

    .mini-person {
        grid-template-columns: 60px 1fr;
        gap: 0.8rem;
        padding: 0.85rem;
        border-radius: 18px;
    }

    .mini-person img {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .home-network-logo {
        min-height: 118px;
        padding: 0.9rem;
    }

    .home-network-logo img {
        max-height: 58px;
    }

    .popup-lux-shell {
        min-height: auto;
    }
}