/* ============================================
   Heartbeat Africa — Global Stylesheet
   style.css
   ============================================ */

/* ── CSS VARIABLES ── */
:root {
    --flame: #E8500A;
    --flame-dark: #B83E07;
    --flame-light: #FF7A3A;
    --gold: #F5A623;
    --cream: #FDF8F2;
    --warm-white: #FFFBF5;
    --charcoal: #1C1C1C;
    --mid: #4A4A4A;
    --muted: #888;
    --border: #E8E0D5;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --r: 12px;
    --r-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
    --shadow-flame: 0 8px 32px rgba(232,80,10,.28);
    --transition: .25s cubic-bezier(.4,0,.2,1);
    --nav-h: 72px;
    --sidebar-w: 300px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body { font-family: 'Outfit', sans-serif; background: var(--warm-white); color: var(--charcoal); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.eyebrow {
    font-size: .72rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--flame); margin-bottom: 10px;
    display: flex; align-items: center; gap: 8px;
}
.eyebrow::before { content:''; width: 24px; height: 2px; background: var(--flame); display: inline-block; }
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700; line-height: 1.2;
    color: var(--charcoal); margin-bottom: 18px;
}
.section-sub { font-size: 1rem; color: var(--mid); line-height: 1.75; max-width: 560px; text-align: justify; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 52px; flex-wrap: wrap; gap: 20px; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: var(--r);
    font-size: .9rem; font-weight: 600;
    transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--flame); color: #fff; box-shadow: var(--shadow-flame); }
.btn-primary:hover { background: var(--flame-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--charcoal); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--flame); color: var(--flame); }
.btn-ghost-white {
    background: rgba(255,255,255,.15); color: #fff;
    border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(4px);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.25); }
.btn-border { border: 2px solid var(--flame-light)!important; color: var(--flame-light)!important;}
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: var(--r-lg); }
.btn-sm { padding: 8px 18px; font-size: .8rem; }

/* ── PROGRESS BAR ── */
.progress { height: 6px; background: #EDE6DC; border-radius: 99px; overflow: hidden; margin: 10px 0 16px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--flame), var(--gold)); border-radius: 99px; transition: width 1.4s cubic-bezier(.4,0,.2,1); }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-h);
    background: rgba(255,251,245,.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

/* Logo */
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo-img { height: 48px; width: auto; object-fit: contain; transition: opacity var(--transition); }
.nav__logo:hover .nav__logo-img { opacity: .85; }

/* Desktop links */
.nav__links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav__links > a {
    padding: 8px 14px; border-radius: var(--r);
    font-size: .87rem; font-weight: 500; color: var(--mid);
    transition: all var(--transition);
}
.nav__links > a:hover, .nav__links > a.active { color: var(--flame); background: rgba(232,80,10,.06); }
.nav__links > a.active { font-weight: 600; }

/* Dropdown - FIXED */
.nav__drop {
    position: relative;
    z-index: 100;
}
.nav__drop > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: var(--r);
    font-size: .87rem;
    font-weight: 500;
    color: var(--mid);
    transition: all var(--transition);
    cursor: pointer;
}
.nav__drop > a i {
    font-size: .65rem;
    transition: transform var(--transition);
}
.nav__drop:hover > a {
    color: var(--flame);
    background: rgba(232,80,10,.06);
}
.nav__drop:hover > a i {
    transform: rotate(180deg);
}
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    min-width: 220px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1000;
}
.nav__drop:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .85rem;
    color: var(--mid);
    transition: all var(--transition);
    text-decoration: none;
}
.dropdown a i {
    color: var(--flame);
    width: 18px;
    font-size: 0.85rem;
}
.dropdown a:hover {
    background: rgba(232,80,10,.08);
    color: var(--flame);
    transform: translateX(4px);
}

/* Additional styles for click-based dropdown */
.nav__drop .drop-trigger {
    user-select: none;
}

.nav__drop .dropdown {
    transform-origin: top left;
}

/* Optional: Add subtle animation for dropdown */
.nav__drop.active .dropdown {
    animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Prevent body scroll when dropdown is open on mobile */
body.dropdown-open {
    overflow: hidden;
}

/* Ensure dropdowns appear above other content */
.nav__drop .dropdown {
    z-index: 10000;
}

.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.donate-btn { box-shadow: var(--shadow-flame); }

/* Burger */
.nav__burger {
    display: none; flex-direction: column; gap: 5px;
    padding: 8px; border-radius: var(--r);
    transition: background var(--transition);
}
.nav__burger:hover { background: rgba(232,80,10,.06); }
.nav__burger span {
    width: 22px; height: 2px; background: var(--charcoal);
    border-radius: 2px; transition: all .35s cubic-bezier(.4,0,.2,1);
    display: block; transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: var(--sidebar-w);
    background: var(--warm-white); z-index: 999;
    box-shadow: -8px 0 48px rgba(0,0,0,.18);
    transform: translateX(110%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
    overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5);
    z-index: 998; opacity: 0; pointer-events: none;
    transition: opacity .35s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

.drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.drawer-close {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--cream); display: flex; align-items: center;
    justify-content: center; color: var(--mid);
    transition: all var(--transition);
}
.drawer-close:hover { background: var(--flame); color: #fff; }

.drawer-nav { padding: 16px; flex: 1; }
.drawer-nav > a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: var(--r);
    font-size: .92rem; font-weight: 500; color: var(--mid);
    transition: all var(--transition); margin-bottom: 2px;
}
.drawer-nav > a i { width: 20px; color: var(--flame); text-align: center; }
.drawer-nav > a:hover { background: rgba(232,80,10,.07); color: var(--flame); transform: translateX(4px); }
.drawer-divider { height: 1px; background: var(--border); margin: 8px 0; }

.drawer-drop-toggle {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px; border-radius: var(--r);
    font-size: .92rem; font-weight: 500; color: var(--mid);
    cursor: pointer; transition: all var(--transition); margin-bottom: 2px;
}
.drawer-drop-toggle span { display: flex; align-items: center; gap: 12px; }
.drawer-drop-toggle span i { width: 20px; color: var(--flame); text-align: center; }
.drawer-drop-toggle:hover { background: rgba(232,80,10,.07); color: var(--flame); }
.drawer-drop-toggle.expanded i.chevron { transform: rotate(180deg); }
.chevron { transition: transform .3s; font-size: .7rem; }

.drawer-sub {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease; padding-left: 14px;
}
.drawer-sub.open { max-height: 300px; }
.drawer-sub a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: var(--r);
    font-size: .85rem; color: var(--muted);
    transition: all var(--transition); margin-bottom: 1px;
}
.drawer-sub a i { width: 16px; color: var(--flame); font-size: .8rem; }
.drawer-sub a:hover { background: rgba(232,80,10,.06); color: var(--flame); }

.drawer-footer {
    padding: 20px 16px; border-top: 1px solid var(--border);
    flex-shrink: 0;
}

/* ══════════════════════════════════════
   HERO SLIDER  (legacy — bg-image style, kept for compatibility)
══════════════════════════════════════ */
.hero {
    min-height: 100vh;
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
}

/* Slider Backgrounds */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.8s cubic-bezier(.4,0,.2,1);
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(15,6,0,.58) 0%, rgba(30,10,2,.35) 50%, rgba(10,5,0,.22) 100%);
}
/* Fallback gradient when no image loaded */
.hero-slide-fallback {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, #1A0800 0%, #2D1208 35%, #1F0F06 35%, #0F0800 100%);
}

.hero-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-glow-1 { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(232,80,10,.2) 0%, transparent 65%); right: -150px; top: -150px; }
.hero-glow-2 { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(245,166,35,.1) 0%, transparent 60%); left: -100px; bottom: 20%; }
.hero-pattern { position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,.01) 40px, rgba(255,255,255,.01) 41px); }

.hero__content {
    position: relative; z-index: 2;
    padding: 80px 28px 48px;
    max-width: 1200px; margin: 0 auto; width: 100%;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(232,80,10,.2); border: 1px solid rgba(232,80,10,.4);
    color: #FFB89A; font-size: .72rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    padding: 6px 16px; border-radius: 99px; margin-bottom: 28px;
}
.badge-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--flame-light); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.6);opacity:.6} }

.hero__heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 6vw, 4.3rem);
    font-weight: 700; line-height: 1.1;
    color: #fff; margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero__heading em { font-style: italic; color: var(--flame-light); }
.hero__sub {
    font-size: 1.05rem; line-height: 1.75;
    color: rgba(255,255,255,.72); max-width: 560px; margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero__cta .btn { max-height: .9rem; }
.hero__bible {
    display: flex; align-items: flex-start; gap: 14px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--r-lg); padding: 18px 22px; max-width: 480px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero__bible i { color: var(--gold); font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.hero__bible blockquote { font-family: 'Cormorant Garamond', serif; 
    font-size: 1rem; font-style: italic; color: rgba(255, 209, 5, 0.98); line-height: 1.65; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero__bible cite { font-family: 'Outfit', sans-serif; font-size: .72rem; font-style: normal; color: var(--gold); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; display: block; }

/* Slide Indicators (legacy) */
.hero__indicators {
    position: absolute; bottom: 140px; right: 28px; z-index: 3;
    display: flex; flex-direction: column; gap: 8px;
}
.hero__indicator {
    width: 4px; height: 32px; background: rgba(255,255,255,.25);
    border-radius: 99px; cursor: pointer;
    transition: all var(--transition);
}
.hero__indicator.active { background: var(--flame-light); height: 48px; }

/* ══════════════════════════════════════
   HERO V2  — Split-layout (text top, framed carousel)
══════════════════════════════════════ */

/* Override the default hero to be static-background instead of full-bleed */
.hero {
    min-height: unset;
    background: var(--cream);
    display: block;
    overflow: visible;
}

/* ── TOP HEADER BAND ── */
.hero__top {
    background: linear-gradient(135deg, #FDF8F2 0%, #FFF5EC 60%, #FDF0E3 100%);
    padding: calc(var(--nav-h) - 48px) 0 28px;
    border-bottom: 1px solid rgba(232,80,10,.08);
}
.hero__top-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 28px;
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.hero__top-left { flex: 1; min-width: 280px; }

/* Heading override for light warm bg */
.hero__top .hero__heading {
    font-size: clamp(2rem, 5vw, 3.6rem);
    margin-bottom: 16px;
    text-shadow: none;
    color: var(--charcoal);
}
.hero__top .hero__heading em { color: var(--flame); font-style: italic; }

.hero__top .hero__sub {
    font-size: .97rem; max-width: 480px; margin-bottom: 0;
    color: var(--mid); text-shadow: none;
}

/* Right side: avatars + CTA */
.hero__top-right { display: flex; align-items: flex-end; padding-bottom: 4px; }
.hero__top-right-inner { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

.hero__avatar-stack {
    display: flex; align-items: center;
}
.hero__avatar {
    width: 38px; height: 38px; border-radius: 50%;
    border: 2.5px solid var(--cream);
    font-size: .72rem; font-weight: 700; color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin-left: -10px; letter-spacing: .02em;
}
.hero__avatar:first-child { margin-left: 0; }

.hero__main-cta {
    font-size: .9rem; padding: 13px 26px;
    border-radius: 99px;
    display: inline-flex; align-items: center; gap: 8px;
}

/* ── CAROUSEL WRAP ── */
.hero__carousel-wrap {
    background: var(--cream);
    padding: 0 28px 0;
    max-width: 1200px; margin: 0 auto;
}

/* Framed carousel */
.hero__carousel {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.205);
    background: #111;
    /* Fixed aspect ratio — feels cinematic */
    aspect-ratio: 16 / 7;
}
@media (max-width: 768px) { .hero__carousel { aspect-ratio: 4 / 3; } }

/* V2 slides */
.hero-slides-v2 { position: absolute; inset: 0; }
.hero-slide-v2 {
    position: absolute; inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.4s cubic-bezier(.4,0,.2,1);
}
.hero-slide-v2.active { opacity: 1; z-index: 2; }
.hero-slide-v2 img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Subtle vignette so indicators/pill read clearly */
.hero-slide-v2::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.25) 0%, transparent 40%, transparent 60%, rgba(0,0,0,.18) 100%);
    pointer-events: none;
}

/* Play/pause pill */
.hero__play-pill {
    position: absolute; bottom: 18px; right: 66px; z-index: 4;
    background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    color: #fff; border-radius: 99px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem;
    transition: background var(--transition), transform var(--transition);
    cursor: pointer;
}
.hero__play-pill:hover { background: rgba(232,80,10,.7); transform: scale(1.08); }

/* V2 indicators */
.hero__indicators-v2 {
    position: absolute; right: 18px; top: 50%;
    transform: translateY(-50%); z-index: 4;
    display: flex; flex-direction: column; gap: 8px;
}
.hero__indicator-v2 {
    width: 4px; height: 28px; background: rgba(255,255,255,.25);
    border-radius: 99px; cursor: pointer;
    transition: all var(--transition);
}
.hero__indicator-v2.active { background: var(--flame-light); height: 44px; }

/* ── BIBLE VERSE BAR ── */
.hero__bible-bar {
    background: linear-gradient(90deg, rgba(245,166,35,.08) 0%, rgba(232,80,10,.06) 100%);
    border: 1px solid rgba(232,80,10,.15);
    border-top: none;
    border-radius: 0 0 20px 20px;
    padding: 18px 28px;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    margin-top: -1px;
}
.hero__bible-bar > i {
    color: var(--gold); font-size: 1.15rem; flex-shrink: 0;
}
.hero__bible-bar blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: .98rem; font-style: italic;
    color: var(--flame-dark); line-height: 1.55; flex: 1; min-width: 200px;
}
.hero__bible-bar cite {
    font-size: .72rem; font-style: normal;
    color: var(--flame); font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    white-space: nowrap; flex-shrink: 0;
}
.hero__impact-btn {
    flex-shrink: 0; white-space: nowrap;
    border-radius: 99px; font-size: .82rem;
    padding: 9px 20px;
}
.btn-ghost-flame {
    background: rgba(232,80,10,.15);
    color: var(--flame-light);
    border: 1.5px solid rgba(232,80,10,.4);
}
.btn-ghost-flame:hover {
    background: var(--flame); color: #fff;
    border-color: var(--flame);
}

/* Spacing below carousel wrap before stats */
.hero__carousel-wrap { padding-bottom: 32px; }

/* Stats bar — dark band for contrast */
.hero__stats {
    position: relative; z-index: 2;
    background: var(--charcoal);
    border-top: none;
    backdrop-filter: none;
    margin-top: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero__top-inner { flex-direction: column; gap: 20px; }
    .hero__top-right { width: 100%; }
    .hero__top-right-inner { flex-direction: row; align-items: center; }
    .hero__bible-bar { border-radius: 0 0 16px 16px; padding: 14px 18px; gap: 12px; }
    .hero__bible-bar blockquote { font-size: .88rem; }
    .hero__impact-btn { display: none; }
}
@media (max-width: 600px) {
    .hero__top { padding-top: calc(var(--nav-h) - 38px); }
    .hero__carousel-wrap { padding: 0 14px; }
    .hero__top-inner { padding: 0 14px; }
}

/* ── Hero Stats — flush below carousel/bible-bar ── */

/* ══════════════════════════════════════
   HERO STATS
══════════════════════════════════════ */
.hero__stats {
    position: relative; z-index: 2;
    overflow: hidden;
    margin-top: 0;
}
 
/* Background photo — set your own image URL */
.hero__stats::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url('../img/stats-bg.jpg'); /* ← change this path */
    background-size: cover; background-position: center;
    filter: saturate(.55) brightness(.7);
    z-index: 0;
}
 
/* Dark gradient overlay on top of the image */
.hero__stats::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg,
            rgba(12,6,28,.97)  0%,
            rgba(30,12,50,.92) 35%,
            rgba(45,18,8,.88)  65%,
            rgba(15,5,0,.96)   100%);
    z-index: 1;
}
 
/* Purple ambient glow — decorative */
.hero__stats-glow {
    position: absolute; left: 20%; top: -60%;
    width: 480px; height: 480px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(94,59,168,.22) 0%, transparent 68%);
    pointer-events: none; z-index: 2;
}
/* Flame ambient glow */
.hero__stats-glow2 {
    position: absolute; right: 10%; bottom: -30%;
    width: 360px; height: 360px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(232,80,10,.14) 0%, transparent 65%);
    pointer-events: none; z-index: 2;
}
 
/* Section heading bar above stats */
.hero__stats-header {
    position: relative; z-index: 3;
    max-width: 1200px; margin: 0 auto; padding: 44px 28px 32px;
    display: flex; align-items: flex-end; justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.06); flex-wrap: wrap; gap: 16px;
}
.hero__stats-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1.25;
}
.hero__stats-header p {
    font-size: .82rem; color: rgba(255,255,255,.4);
    max-width: 280px; line-height: 1.65; text-align: right;
}
 
/* Stats inner grid */
.hero__stats-inner {
    position: relative; z-index: 3;
    max-width: 1200px; margin: 0 auto; padding: 0 28px;
    display: grid; grid-template-columns: repeat(5, 1fr);
}
 
/* Individual stat cell */
.hero-stat {
    padding: 38px 18px; text-align: center;
    border-right: 1px solid rgba(255,255,255,.07);
    transition: background var(--transition);
    position: relative;
}
.hero-stat:last-child { border-right: none; }
 
/* Accent top line on hover */
.hero-stat::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background: var(--flame);
    transition: width .35s ease;
}
.hero-stat:hover { background: rgba(232,80,10,.07); }
.hero-stat:hover::before { width: 60%; }
 
.hero-stat__icon { font-size: 1.2rem; color: var(--flame-light); margin-bottom: 10px; display: block; }
 
.hero-stat__num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem; font-weight: 700; color: #fff; line-height: 1; display: block;
}
 
/* Thin gold bar under number */
.hero-stat__bar {
    display: block; width: 28px; height: 2px;
    background: linear-gradient(90deg, var(--flame), var(--gold));
    margin: 8px auto 0; opacity: .6;
}
 
.hero-stat__label {
    font-size: .66rem; color: rgba(255,255,255,.42);
    margin-top: 7px; letter-spacing: .06em;
    text-transform: uppercase; line-height: 1.5; display: block;
}
 
/* ── Responsive ── */
@media (max-width: 900px) {
    .hero__stats-inner { grid-template-columns: repeat(3, 1fr); }
    .hero-stat:nth-child(3) { border-right: none; }
}
@media (max-width: 580px) {
    .hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
    .hero-stat:nth-child(2n) { border-right: none; }
    .hero__stats-header { flex-direction: column; }
    .hero__stats-header p { text-align: left; }
}
/* ══════════════════════════════════════
   IMPACT TICKER
══════════════════════════════════════ */
.impact-strip { background: var(--flame); padding: 16px 0; overflow: hidden; }
.impact-strip__inner {
    display: flex; gap: 48px;
    animation: ticker 40s linear infinite; white-space: nowrap;
}
.impact-strip__inner:hover { animation-play-state: paused; }
.impact-strip__item { display: flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 600; color: #fff; flex-shrink: 0; }
.impact-strip__item i { color: rgba(255,255,255,.75); }
.impact-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.45); flex-shrink: 0; }
@keyframes ticker { 0%{ transform: translateX(0); } 100%{ transform: translateX(-50%); } }

/* ══════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════ */
.about-section { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-visual { position: relative; }
.about-img-frame {
    background: linear-gradient(135deg, #f5a623 0%, #f5a623 100%);
    border:6px solid #fff;
    border-radius:3px;
    padding: 0px; 
    box-shadow: var(--shadow-lg);
}
.about-img-inner {
    border-radius: 1px; overflow: hidden;
    height: 440px; background: linear-gradient(160deg, #1A0800, #2D1208);
    display: flex; align-items: center; justify-content: center; position: relative;
}
.about-img-inner img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--gold); color: #fff;
    border-radius:3px; padding: 16px 22px;
    border: double 2px white;
    box-shadow: var(--shadow); text-align: center;
}
.about-badge__num { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; line-height: 1; }
.about-badge__label { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.about-text .section-sub { max-width: 100%; margin-bottom: 24px; }
.about-features { display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.about-feature { display: flex; align-items: flex-start; gap: 14px; }
.about-feature__icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(232,80,10,.1); display: flex; align-items: center;
    justify-content: center; color: var(--flame); font-size: .9rem; flex-shrink: 0;
}
.about-feature__text strong { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 2px; }
.about-feature__text span { font-size: .8rem; color: var(--muted); line-height: 1.55; }

/* ══════════════════════════════════════
   WHAT WE STAND FOR
══════════════════════════════════════ */
.objectives-section { background: var(--warm-white); }
.objectives-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.objective-card {
    background: #fff; border-radius: var(--r-lg); padding: 30px;
    border: 1px solid var(--border); transition: all var(--transition);
    position: relative; overflow: hidden;
}
.objective-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--flame), var(--gold));
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--transition);
}
.objective-card:hover { box-shadow: var(--shadow); border-color: rgba(232,80,10,.2); transform: translateY(-3px); }
.objective-card:hover::before { transform: scaleX(1); }
.objective-num {
    font-family: 'Cormorant Garamond', serif; font-size: 3rem;
    font-weight: 700; color: rgba(232,80,10,.12);
    line-height: 1; margin-bottom: 12px;
}
.objective-icon {
    width: 52px; height: 52px; border-radius: var(--r);
    background: rgba(232,80,10,.08); display: flex; align-items: center;
    justify-content: center; color: var(--flame); font-size: 1.25rem; margin-bottom: 16px;
}
.objective-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.objective-card p { font-size: .82rem; color: var(--muted); line-height: 1.65; }
/* 5th card center-span on 3-col grid */
.objective-card:nth-child(4) { grid-column: 1 / 2; }
.objective-card:nth-child(5) { grid-column: 2 / 4; }

/* ══════════════════════════════════════
   PROJECTS SECTION
══════════════════════════════════════ */
.projects-section { background: var(--cream); }
 
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid #C8BFB0;
}
 
.project-card {
    background: #1E1428;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background var(--transition);
    border-radius: 0; /* Sharp — no border-radius */
}
.project-card:not(:last-child) { border-right: 1px solid rgba(255,255,255,.06); }
.project-card:hover { background: #261C34; }
 
/* ── Date ribbon (top-right vertical) ── */
.project-card__date-ribbon {
    position: absolute; top: 0; right: 0; z-index: 4;
    display: flex; flex-direction: column; align-items: center;
    background: #5E3BA8;
    padding: 10px 10px 14px;
    min-width: 38px;
}
.project-card__date-ribbon .ribbon-day {
    font-size: 1.35rem; font-weight: 700; color: #fff; line-height: 1;
}
.project-card__date-ribbon .ribbon-month {
    font-size: .6rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: rgba(255,255,255,.75);
    margin-top: 6px;
    writing-mode: vertical-rl; transform: rotate(180deg);
}
 
/* ── Image block ── */
.project-card__visual {
    position: relative; height: 210px; overflow: hidden;
    background: #0D0A14;
}
.project-card__visual img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .55s ease; filter: brightness(.88);
}
.project-card:hover .project-card__visual img { transform: scale(1.05); }
.project-card__visual::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(20,10,40,.18) 0%, rgba(20,10,40,.55) 100%);
}
 
/* ── Category tag ── */
.project-tag {
    position: absolute; bottom: 14px; left: 14px; z-index: 3;
    padding: 4px 11px; font-size: .65rem; font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase;
    color: #fff; border: 1px solid rgba(255,255,255,.3);
    border-radius: 0; /* Sharp */
}
.tag-health     { background: rgba(94,59,168,.78); }
.tag-active     { background: rgba(15,110,86,.78); }
.tag-ongoing    { background: rgba(232,80,10,.78); }
.tag-community  { background: rgba(232,80,10,.78); }
.tag-education  { background: rgba(15,110,86,.78); }
 
/* ── Body ── */
.project-card__body { padding: 22px 22px 28px; }
 
.project-card__body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.18rem; font-weight: 700;
    color: #fff; line-height: 1.35; margin-bottom: 10px;
}
.project-card__divider {
    height: 1px; background: rgba(255,255,255,.1); margin-bottom: 14px;
}
.project-card__body p {
    font-size: .8rem; color: rgba(255,255,255,.45);
    line-height: 1.7; margin-bottom: 20px;
}
 
/* ── Arrow CTA button ── */
.project-card__cta {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; background: var(--flame); color: #fff;
    font-size: 1rem; border-radius: 0;
    transition: background var(--transition), transform var(--transition);
}
.project-card:hover .project-card__cta {
    background: var(--flame-dark); transform: translateX(3px);
}
 
/* ── Responsive ── */
@media (max-width: 900px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card:nth-child(2) { border-right: none; }
}
@media (max-width: 580px) {
    .projects-grid { grid-template-columns: 1fr; border: none; }
    .project-card { border: 1px solid #C8BFB0; margin-bottom: -1px; }
    .project-card:not(:last-child) { border-right: 1px solid #C8BFB0; }
}
 

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonial-section {
    background: linear-gradient(160deg, #1A0800 0%, #2D1208 100%);
    position: relative; overflow: hidden;
}
.testimonial-section::before {
    content:''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(232,80,10,.15) 0%, transparent 65%);
}
.testimonial-carousel { position: relative; z-index: 2; }
.testimonial-header { text-align: center; margin-bottom: 56px; }
.testimonial-header .eyebrow { justify-content: center; color: var(--flame-light); }
.testimonial-header .eyebrow::before { background: var(--flame-light); }
.testimonial-header .section-title { color: #fff; }

.testimonials-track { display: flex; gap: 28px; overflow: hidden; }
.testimonial-card {
    flex: 0 0 calc(50% - 14px);
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-lg); padding: 36px;
    transition: all var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,.09); }
.testimonial-quote { font-size: 2.5rem; color: var(--flame-light); opacity: .45; line-height: 1; margin-bottom: 18px; }
.testimonial-text {
    font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
    font-style: italic; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
    background: var(--flame); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info strong { display: block; color: #fff; font-size: .9rem; }
.author-info span { font-size: .78rem; color: rgba(255,255,255,.5); }

.testimonial-controls {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; margin-top: 40px;
}
.tc-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all var(--transition); font-size: .9rem;
}
.tc-btn:hover { background: var(--flame); border-color: var(--flame); }
.tc-dots { display: flex; gap: 8px; }
.tc-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); cursor: pointer; transition: all var(--transition); }
.tc-dot.active { background: var(--flame-light); width: 24px; border-radius: 4px; }

/* ══════════════════════════════════════
   STAY CONNECTED / NEWSLETTER
══════════════════════════════════════ */
.cta-section { background: var(--warm-white); }
.cta-inner {
    background: linear-gradient(135deg, rgba(232,80,10,.93) 0%, rgba(184,62,7,.95) 100%), url('../img/bg/heartbeat-bg-africa.jpg') center/cover no-repeat;
    border-radius: 24px; padding: 64px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    align-items: center; position: relative; overflow: hidden;
}
.cta-inner::before {
    content:''; position: absolute; right: -80px; top: -80px;
    width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.06);
}
.cta-inner::after {
    content:''; position: absolute; left: -40px; bottom: -80px;
    width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.04);
}
.cta-text { position: relative; z-index: 2; }
.cta-text h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.cta-text p { color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.7; margin-bottom: 20px; }
.cta-features { display: flex; flex-direction: column; gap: 8px; }
.cta-feature { display: flex; align-items: center; gap: 10px; font-size: .83rem; color: rgba(255,255,255,.85); }
.cta-feature i { color: rgba(255,255,255,.6); font-size: .8rem; }

.cta-form { position: relative; z-index: 9999; }
.cta-form h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-input {
    width: 100%; padding: 14px 18px; border-radius: var(--r);
    border: 1.5px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.15); color: #fff;
    font-size: .87rem; font-family: inherit; outline: none;
    transition: all var(--transition);
}
.form-input::placeholder { color: rgba(255,255,255,.5); }
.form-input:focus { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.5); }
.cta-form .btn { width: 100%; justify-content: center; background: #fff; color: var(--flame); font-weight: 700; }
.cta-form .btn:hover { background: var(--cream); transform: translateY(-2px); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: #0F0600; padding: 72px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px; margin-bottom: 56px;
}
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.42); line-height: 1.75; margin: 16px 0 22px; }
.footer-logo { display: flex; align-items: center; gap: 11px; }
.footer-logo-img { height: 52px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.06); color: rgba(255,255,255,.5);
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; transition: all var(--transition);
}
.socials a:hover { background: var(--flame); color: #fff; }
.footer-col h4 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .83rem; color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--flame-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.42); margin-bottom: 12px; }
.footer-contact li i { color: var(--flame); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06); padding: 22px 0;
    display: flex; align-items: center; justify-content: space-between;
    font-size: .76rem; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 10px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-legal a:hover { color: var(--flame-light); }

/* ══════════════════════════════════════
   GALLERY PAGES
══════════════════════════════════════ */
/* Page Hero */
.page-hero {
    padding: calc(var(--nav-h) + 60px) 0 60px;
    background: linear-gradient(135deg, rgba(26,8,0,.88), rgba(45,18,8,.88)),
                center/cover no-repeat;
    color: #fff; text-align: center;
}
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 700; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.72); font-size: 1rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: .82rem; color: rgba(255,255,255,.5); }
.breadcrumb a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--flame-light); }
.breadcrumb i { font-size: .65rem; }

/* Gallery Layout */
.gallery-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 56px 0; }
.gallery-sidebar { position: sticky; top: calc(var(--nav-h) + 20px); height: fit-content; }
.sidebar-widget { background: #fff; border-radius: var(--r-lg); padding: 24px; margin-bottom: 20px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.widget-title { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.category-btn {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; padding: 10px 14px; border-radius: 8px;
    background: var(--cream); font-size: .85rem; font-weight: 500; color: var(--mid);
    transition: all var(--transition); margin-bottom: 6px; cursor: pointer;
    border: 2px solid transparent;
}
.category-btn:hover { background: rgba(232,80,10,.07); color: var(--flame); }
.category-btn.active { background: var(--flame); color: #fff; border-color: var(--flame-dark); }
.category-count { font-size: .75rem; background: rgba(0,0,0,.1); padding: 2px 8px; border-radius: 99px; }
.category-btn.active .category-count { background: rgba(255,255,255,.25); }

.gallery-grid {
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 220px; grid-auto-flow: row dense;
}
.gallery-item {
    border-radius: 5px; overflow: hidden; position: relative;
    border: 5px solid rgba(255, 236, 220, 0.6);
    box-shadow:var(--shadow-lg);
    cursor: pointer; transition: transform var(--transition);
}
.gallery-item:hover { transform: scale(1.03); z-index: 5; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%);
    opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:nth-child(4n+1) { grid-row: span 2; }
.gallery-item:nth-child(5n+3) { grid-column: span 2; }
.gallery-item__overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 16px; z-index: 2;
    transform: translateY(100%); transition: transform var(--transition);
}
.gallery-item:hover .gallery-item__overlay { transform: translateY(0); }
.gallery-item__overlay h4 { font-size: .88rem; font-weight: 600; color: #fff; }
.gallery-item__overlay p { font-size: .76rem; color: rgba(255,255,255,.7); }

/* Video Gallery */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; }
.video-card {
    border-radius: var(--r-lg); overflow: hidden; background: #fff;
    border: 1px solid var(--border); transition: all var(--transition); cursor: pointer;
}
.video-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.video-thumb { position: relative; padding-bottom: 56.25%; background: #111; overflow: hidden; }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.35); transition: background var(--transition);
}
.video-card:hover .video-play { background: rgba(0,0,0,.55); }
.play-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(232,80,10,.9); color: #fff; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition); padding-left: 4px;
}
.video-card:hover .play-icon { transform: scale(1.1); background: var(--flame); }
.video-info { padding: 18px; }
.video-info h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.video-info p { font-size: .8rem; color: var(--muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.video-cat { color: var(--flame); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* Video Modal */
.video-modal {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.95); z-index: 9999;
    align-items: center; justify-content: center;
}
.video-modal.active { display: flex; }
.video-modal-inner { width: 90%; max-width: 1100px; }
.video-player-wrap { position: relative; padding-bottom: 56.25%; background: #000; }
.video-player-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-modal-close {
    position: fixed; top: 20px; right: 20px;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    color: #fff; font-size: 1.1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition); z-index: 10001;
}
.video-modal-close:hover { background: var(--flame); border-color: var(--flame); }

/* Lightbox */
.lightbox {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.96); z-index: 9998;
    flex-direction: column;
}
.lightbox.active { display: flex; }
.lightbox-top {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 24px; color: #fff; flex-shrink: 0;
}
.lightbox-counter { font-size: 1rem; color: rgba(255,255,255,.6); }
.lightbox-controls { display: flex; gap: 8px; }
.lb-btn {
    width: 40px; height: 40px; border-radius: 8px;
    background: rgba(255,255,255,.1); color: #fff; font-size: .9rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all var(--transition);
}
.lb-btn:hover { background: var(--flame); }
.lightbox-main { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; padding: 20px; }
.lightbox-img { 
    max-height: 78vh; max-width: 90vw; 
    object-fit: contain; transition: transform .3s ease; 
    border-radius: 3px; 
    }
.lb-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12);
    color: #fff; font-size: 1.5rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.lb-arrow:hover { background: var(--flame); }
.lb-arrow.left { left: 16px; }
.lb-arrow.right { right: 16px; }
.lightbox-thumbs { display: flex; gap: 8px; padding: 16px 24px; overflow-x: auto; background: rgba(0,0,0,.4); flex-shrink: 0; }
.lb-thumb { width: 72px; height: 52px; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: .5; border: 2px solid transparent; transition: all var(--transition); flex-shrink: 0; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb.active { opacity: 1; border-color: var(--flame-light); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.page-btn {
    padding: 9px 16px; border-radius: 8px;
    background: #fff; border: 1.5px solid var(--border);
    font-size: .85rem; font-weight: 500; color: var(--mid);
    cursor: pointer; transition: all var(--transition);
}
.page-btn:hover { border-color: var(--flame); color: var(--flame); }
.page-btn.active { background: var(--flame); border-color: var(--flame); color: #fff; }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* Loading states */
.loading-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.loading-state i { font-size: 2.5rem; margin-bottom: 16px; color: var(--flame); }
.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state i { font-size: 3.5rem; margin-bottom: 16px; color: #DDD; }

/* ══════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-visual { order: -1; }
    .objectives-grid { grid-template-columns: repeat(2, 1fr); }
    .objective-card:nth-child(4), .objective-card:nth-child(5) { grid-column: auto; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .cta-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero__stats-inner { grid-template-columns: repeat(3, 1fr); }
    .gallery-layout { grid-template-columns: 1fr; }
    .gallery-sidebar { position: relative; top: 0; }
    .testimonials-track .testimonial-card { flex: 0 0 100%; }
}

@media (max-width: 768px) {
    .nav__links, .nav__actions > .btn-outline { display: none; }
    .nav__burger { display: flex; }
    
    /* Mobile dropdown fixes */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        background: transparent;
        border: none;
        display: none;
    }
    .nav__drop:hover .dropdown {
        display: block;
    }
    .nav__drop > a i {
        display: none;
    }
    
    .hero__heading { font-size: 2.6rem; }
    .hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
    .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
    .projects-grid { grid-template-columns: 1fr; }
    .objectives-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section { padding: 64px 0; }
    .cta-inner { padding: 40px 28px; }
    .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 160px; }
    .gallery-item:nth-child(4n+1), .gallery-item:nth-child(5n+3) { grid-row: auto; grid-column: auto; }
}

@media (max-width: 480px) {
    .hero__heading { font-size: 2rem; }
    .hero__cta { flex-direction: column; }
    .hero-stat { padding: 20px 12px; }
    .hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   VIDEO GALLERY SPECIFIC STYLES
══════════════════════════════════════ */
.year-filter-section {
    background: var(--cream);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.year-filter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.year-filter-label {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.9rem;
}

.year-select {
    padding: 12px 24px;
    border: 2px solid var(--border);
    border-radius: var(--r);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    background: white;
    color: var(--charcoal);
    cursor: pointer;
    transition: all var(--transition);
    min-width: 150px;
}

.year-select:hover,
.year-select:focus {
    border-color: var(--flame);
    outline: none;
}

.video-count-badge {
    background: var(--flame);
    color: white;
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Page Header with Gradient Overlay */
.gallery-page-header,
.video-page-header {
    background: linear-gradient(135deg, rgba(0, 121, 107, 0.9), rgba(26, 58, 82, 0.9));
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gallery-page-header::before,
.video-page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

.gallery-page-header h1,
.video-page-header h1 {
    font-size: 3rem;
    margin: 0 0 1rem;
    position: relative;
    z-index: 1;
}

.gallery-page-header p,
.video-page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.gallery-breadcrumb,
.video-breadcrumb {
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.gallery-breadcrumb a,
.video-breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.gallery-breadcrumb a:hover,
.video-breadcrumb a:hover {
    opacity: 1;
}

.gallery-breadcrumb span,
.video-breadcrumb span {
    margin: 0 10px;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .gallery-page-header,
    .video-page-header {
        padding: 100px 0 60px;
    }
    .gallery-page-header h1,
    .video-page-header h1 {
        font-size: 2rem;
    }
    .gallery-page-header p,
    .video-page-header p {
        font-size: 1rem;
    }
    .year-filter-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 80px;
}

/* Accessibility improvements */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--flame);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .nav,
    .hero__stats,
    .impact-strip,
    .testimonial-controls,
    .cta-section,
    .footer,
    .lightbox,
    .video-modal {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
    .container {
        max-width: 100%;
        padding: 0;
    }
}