/* ============================================================
   AFRICAN INSTITUTE FOR STRATEGIC GOVERNANCE AND POLICY RESEARCH — Rebranded Design System v2
   Theme: Dark Forest · Electric Green · Animated · Premium
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --bg-base: #060f0a;
    --bg-deep: #040c07;
    --bg-card: rgba(255, 255, 255, .04);
    --bg-card-hover: rgba(255, 255, 255, .08);

    --green-neon: #00e676;
    --green-bright: #4ade80;
    --green-mid: #22c55e;
    --green-dark: #166534;
    --green-glass: rgba(0, 230, 118, .12);
    --green-border: rgba(0, 230, 118, .25);

    --gold: #f59e0b;
    --gold-light: #fcd34d;

    --white: #ffffff;
    --text-primary: #f0fdf4;
    --text-secondary: #a3e6b8;
    --text-muted: rgba(255, 255, 255, .45);

    --border-subtle: rgba(255, 255, 255, .08);
    --border-green: rgba(0, 230, 118, .2);

    --shadow-green: 0 0 40px rgba(0, 230, 118, .15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, .4);
    --shadow-glow: 0 0 80px rgba(0, 230, 118, .2);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-xl: 48px;
    --radius-full: 999px;

    --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
    --ease-smooth: cubic-bezier(.4, 0, .2, 1);
    --dur-fast: .2s;
    --dur-mid: .4s;
    --dur-slow: .7s;

    --nav-h: 72px;
    --max-w: 1220px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2
}

/* ── Animated Gradient BG ───────────────────────────────────── */
@keyframes gradShift {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg)
    }

    33% {
        transform: translateY(-18px) rotate(3deg)
    }

    66% {
        transform: translateY(-8px) rotate(-2deg)
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0) scale(1)
    }

    50% {
        transform: translateY(-30px) scale(1.05)
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 230, 118, .3)
    }

    50% {
        box-shadow: 0 0 60px rgba(0, 230, 118, .6)
    }
}

@keyframes spin-slow {
    to {
        transform: rotate(360deg)
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center
    }

    100% {
        background-position: 200% center
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(.85)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes borderPulse {

    0%,
    100% {
        border-color: rgba(0, 230, 118, .2)
    }

    50% {
        border-color: rgba(0, 230, 118, .6)
    }
}

@keyframes leafFloat {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 1
    }

    100% {
        transform: translateY(-100vh) translateX(60px) rotate(360deg);
        opacity: 0
    }
}

@keyframes lineGrow {
    from {
        transform: scaleX(0)
    }

    to {
        transform: scaleX(1)
    }
}

@keyframes textGlow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(0, 230, 118, .4)
    }

    50% {
        text-shadow: 0 0 60px rgba(0, 230, 118, .9), 0 0 120px rgba(0, 230, 118, .3)
    }
}

@keyframes bgPan {
    0% {
        background-position: 0 0
    }

    100% {
        background-position: 60px 60px
    }
}

/* ── Scroll Reveal Classes ──────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity .8s var(--ease-smooth), transform .8s var(--ease-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity .8s var(--ease-smooth), transform .8s var(--ease-smooth);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0)
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity .8s var(--ease-smooth), transform .8s var(--ease-smooth);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0)
}

.reveal-scale {
    opacity: 0;
    transform: scale(.9);
    transition: opacity .7s var(--ease-smooth), transform .7s var(--ease-bounce);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1)
}

/* Stagger delays */
.delay-1 {
    transition-delay: .1s
}

.delay-2 {
    transition-delay: .2s
}

.delay-3 {
    transition-delay: .3s
}

.delay-4 {
    transition-delay: .4s
}

.delay-5 {
    transition-delay: .5s
}

.delay-6 {
    transition-delay: .6s
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
    width: 90%;
    max-width: var(--max-w);
    margin: 0 auto
}

section {
    padding: 100px 0
}

.text-center {
    text-align: center
}

/* ── Section Labels ─────────────────────────────────────────── */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-glass);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-full);
    padding: 6px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green-neon);
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-title .accent {
    background: linear-gradient(90deg, var(--green-neon), var(--green-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 56px;
    line-height: 1.8;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .15);
    opacity: 0;
    transition: opacity .25s;
}

.btn:hover::after {
    opacity: 1
}

.btn-neon {
    background: var(--green-neon);
    color: #060f0a;
    box-shadow: 0 0 30px rgba(0, 230, 118, .4);
}

.btn-neon:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 60px rgba(0, 230, 118, .6);
}

.btn-glass {
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(12px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, .15);
    border-color: var(--green-neon);
    transform: translateY(-3px);
}

.btn-outline-neon {
    background: transparent;
    color: var(--green-neon);
    border: 1.5px solid var(--green-neon);
}

.btn-outline-neon:hover {
    background: var(--green-neon);
    color: #060f0a;
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 230, 118, .4);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #1a0a00;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(245, 158, 11, .5)
}

.btn-lg {
    padding: 17px 42px;
    font-size: 1rem
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: all .4s var(--ease-smooth);
}

.navbar.scrolled {
    background: rgba(6, 15, 10, .85);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 40px rgba(0, 0, 0, .4);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--green-neon), var(--green-bright));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 0 20px rgba(0, 230, 118, .4);
    animation: pulse-glow 3s ease infinite;
}

/* Real logo image */
.logo-img {
    height: 72px;
    width: auto;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
    padding: 3px;
}

.logo-wordmark {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--white);
    line-height: 1.1;
}

.logo-wordmark em {
    display: block;
    font-style: normal;
    font-size: .6rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

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

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-size: .87rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .7);
    transition: all .25s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green-neon);
    background: var(--green-glass);
}

.nav-links .btn {
    margin-left: 10px
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 4px;
    transition: all .3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.hamburger.active span:nth-child(2) {
    opacity: 0
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: rgba(6, 15, 10, .97);
    backdrop-filter: blur(24px);
    padding: 20px 16px 28px;
    border-top: 1px solid var(--border-subtle);
}

.mobile-nav a {
    padding: 13px 16px;
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .7);
    transition: all .2s;
}

.mobile-nav a:hover {
    color: var(--green-neon);
    background: var(--green-glass)
}

.mobile-nav .btn {
    margin-top: 8px;
    justify-content: center
}

.mobile-nav.open {
    display: flex
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-h);
    background:
        linear-gradient(to bottom, rgba(4, 12, 7, .72) 0%, rgba(6, 15, 10, .85) 60%, rgba(4, 12, 7, .97) 100%),
        url('../images/hero-bg.jpeg') center center / cover no-repeat;
}

/* Animated mesh background */
.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0, 230, 118, .12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(34, 197, 94, .08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 60% 80%, rgba(0, 230, 118, .05) 0%, transparent 50%);
    animation: gradShift 10s ease infinite;
    background-size: 200% 200%;
}

/* Grid pattern overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 230, 118, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 230, 118, .04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: bgPan 20s linear infinite;
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-orb-1 {
    width: 100%;
    max-width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 230, 118, .18), transparent 70%);
    top: -100px;
    right: -100px;
    animation: floatSlow 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 100%;
    max-width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(34, 197, 94, .12), transparent 70%);
    bottom: -50px;
    left: 10%;
    animation: floatSlow 11s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 100%;
    max-width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, .08), transparent 70%);
    top: 40%;
    right: 25%;
    animation: floatSlow 7s ease-in-out infinite;
}

/* Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--green-neon);
    pointer-events: none;
    animation: leafFloat linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 230, 118, .1);
    border: 1px solid rgba(0, 230, 118, .3);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green-neon);
    margin-top: 40px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    animation: fadeIn .8s ease both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-neon);
    box-shadow: 0 0 8px var(--green-neon);
    animation: pulse-glow 2s ease infinite;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.06;
    color: var(--white);
    margin-bottom: 24px;
    animation: slideInLeft .9s var(--ease-smooth) .2s both;
}

.hero h1 .line-green {
    display: block;
    background: linear-gradient(90deg, var(--green-neon) 0%, var(--green-bright) 50%, var(--gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .65);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.85;
    animation: fadeUp .9s var(--ease-smooth) .4s both;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp .9s var(--ease-smooth) .6s both;
}

/* Hero scroll cue */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: .72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    animation: float 2.5s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--green-neon), transparent);
}

/* ── Counter Strip ───────────────────────────────────────────── */
.counter-strip {
    background: linear-gradient(180deg, var(--bg-deep) 0%, #061510 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.counter-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(0, 230, 118, .05), transparent);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.counter-item {
    text-align: center;
    padding: 24px 16px;
    border-right: 1px solid var(--border-subtle);
}

.counter-item:last-child {
    border-right: none
}

.counter-num {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--green-neon), var(--green-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-num .suf {
    font-size: 60%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-label {
    font-size: .78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

/* ── Glass Card ──────────────────────────────────────────────── */
.glass-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    transition: all .4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}

.glass-card:hover {
    border-color: var(--green-border);
    box-shadow: var(--shadow-green);
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .07);
}

.glass-card:hover::before {
    opacity: 1
}

/* ── Program Cards ───────────────────────────────────────────── */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.prog-card {
    padding: 36px 28px;
    cursor: pointer;
}

.prog-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--green-glass);
    border: 1px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: all .4s var(--ease-bounce);
}

.glass-card:hover .prog-icon {
    background: rgba(0, 230, 118, .25);
    box-shadow: 0 0 30px rgba(0, 230, 118, .3);
    transform: scale(1.1) rotate(-5deg);
}

.prog-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.prog-card p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7
}

.prog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    color: var(--green-neon);
    transition: gap .25s;
}

.prog-link:hover {
    gap: 12px
}

.prog-num {
    font-family: 'Poppins', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

/* Top border on hover */
.prog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green-neon), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease-smooth);
}

.glass-card:hover::after {
    transform: scaleX(1)
}

/* ── About Section ───────────────────────────────────────────── */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-visual {
    position: relative
}

.about-img {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5), var(--shadow-green);
    transition: transform .6s var(--ease-smooth);
}

.about-visual:hover .about-img {
    transform: scale(1.02)
}

.about-glow {
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: linear-gradient(135deg, var(--green-neon), transparent, var(--gold));
    opacity: .35;
    z-index: -1;
    animation: spin-slow 8s linear infinite;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--green-neon), var(--green-bright));
    border-radius: var(--radius-md);
    padding: 20px 24px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 230, 118, .4);
}

.about-badge strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #060f0a;
    line-height: 1;
}

.about-badge span {
    font-size: .72rem;
    color: rgba(0, 0, 0, .6);
    font-weight: 600
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.85;
}

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: .82rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--green-neon);
    background: var(--green-glass);
    border: 1px solid var(--green-border);
}

.pill::before {
    content: '✓';
    font-size: .75rem
}

/* ── Values Grid ─────────────────────────────────────────────── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
}

.value-card {
    padding: 28px 20px;
    text-align: center;
}

.value-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green-glass);
    border: 2px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    transition: all .4s var(--ease-bounce);
    animation: borderPulse 3s ease infinite;
}

.glass-card:hover .value-icon-wrap {
    background: rgba(0, 230, 118, .2);
    transform: scale(1.12);
    box-shadow: 0 0 30px rgba(0, 230, 118, .35);
}

.value-card h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.value-card p {
    font-size: .82rem;
    color: var(--text-muted)
}

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.test-card {
    padding: 36px 32px;
    position: relative;
}

.quote-mark {
    font-family: 'Poppins', sans-serif;
    font-size: 6rem;
    line-height: .6;
    color: rgba(0, 230, 118, .15);
    position: absolute;
    top: 20px;
    left: 28px;
    pointer-events: none;
    font-weight: 900;
}

.test-text {
    font-size: .95rem;
    color: rgba(255, 255, 255, .7);
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 14px
}

.author-ava {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green-glass);
    border: 2px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.author-name {
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.author-role {
    font-size: .78rem;
    color: var(--text-muted)
}

.stars {
    color: var(--gold);
    font-size: .9rem;
    margin-bottom: 16px
}

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, #061a0f 0%, #0a2e1a 50%, #061a0f 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0, 230, 118, .08), transparent);
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 18px;
}

.cta-section p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 40px;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap
}

/* ── Partners Strip ──────────────────────────────────────────── */
.partners-strip {
    padding: 56px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.partners-label {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: .72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.partners-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.partner-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .3);
    transition: color .3s;
    cursor: default;
    letter-spacing: .5px;
}

.partner-name:hover {
    color: var(--green-neon)
}

/* ── Page Hero ───────────────────────────────────────────────── */
.page-hero {
    padding: calc(var(--nav-h) + 72px) 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(6, 21, 14, .95) 100%);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0, 230, 118, .08), transparent);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green-border), transparent);
}

.page-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.page-hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--green-neon);
    transition: opacity .2s
}

.breadcrumb a:hover {
    opacity: .7
}

.breadcrumb span {
    color: rgba(255, 255, 255, .2)
}

/* ── Program Detail Pages ────────────────────────────────────── */
.prog-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    padding: 72px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.prog-detail:last-of-type {
    border-bottom: none
}

.prog-detail.flip {
    direction: rtl
}

.prog-detail.flip>* {
    direction: ltr
}

.prog-detail-img {
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    transition: transform .6s var(--ease-smooth);
}

.prog-detail-img:hover {
    transform: scale(1.02)
}

.prog-tag {
    font-family: 'Poppins', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green-neon);
    display: block;
    margin-bottom: 12px;
}

.prog-detail h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.prog-detail p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.85
}

.feat-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.feat-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .92rem;
    color: rgba(255, 255, 255, .7);
}

.feat-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green-glass);
    border: 1px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: var(--green-neon);
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Impact Stats Banner ─────────────────────────────────────── */
.stats-banner {
    background: linear-gradient(135deg, rgba(0, 230, 118, .08), rgba(34, 197, 94, .04));
    border: 1px solid var(--green-border);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
    margin-bottom: 72px;
}

.stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--green-neon), var(--green-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-num sup {
    font-size: 1.5rem
}

.stats-banner p {
    color: var(--text-muted);
    font-size: .88rem
}

/* ── Gallery ─────────────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-smooth);
}

.gallery-item:hover img {
    transform: scale(1.08)
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 15, 10, .85), transparent 50%);
    opacity: 0;
    transition: opacity .4s;
    display: flex;
    align-items: flex-end;
    padding: 18px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1
}

.gallery-overlay span {
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: .85rem;
    font-weight: 600;
}

/* ── Get Involved Tabs ───────────────────────────────────────── */
.tab-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
}

.tab-pill {
    padding: 12px 28px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, .05);
    border: 1.5px solid var(--border-subtle);
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .6);
    cursor: pointer;
    transition: all .3s;
}

.tab-pill:hover {
    border-color: var(--green-border);
    color: var(--green-neon)
}

.tab-pill.active {
    background: var(--green-glass);
    border-color: var(--green-neon);
    color: var(--green-neon);
    box-shadow: 0 0 20px rgba(0, 230, 118, .2);
}

.tab-panel {
    display: none
}

.tab-panel.active {
    display: block
}

.involve-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 48px;
    border-radius: var(--radius-lg);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start
}

.step-n {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green-glass);
    border: 1px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    color: var(--green-neon);
    flex-shrink: 0;
}

.step-info h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px
}

.step-info p {
    font-size: .86rem;
    color: var(--text-muted)
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 72px;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 32px
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.c-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--green-glass);
    border: 1px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.c-detail h4 {
    font-family: 'Poppins', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: var(--green-neon);
    margin-bottom: 3px;
}

.c-detail a,
.c-detail p {
    font-size: .9rem;
    color: var(--text-muted);
    transition: color .2s
}

.c-detail a:hover {
    color: var(--green-neon)
}

.social-row {
    display: flex;
    gap: 12px;
    margin-top: 32px
}

.soc-btn {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all .3s;
    flex-shrink: 0;
}

.soc-btn svg {
    display: block;
    transition: color .3s;
}

.soc-btn:hover {
    background: var(--green-glass);
    border-color: var(--green-border);
    color: var(--green-neon);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 230, 118, .2);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    backdrop-filter: blur(16px);
}

.contact-form h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.form-group {
    margin-bottom: 20px
}

.form-group label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .6);
    letter-spacing: .5px;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .05);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: .92rem;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, .25)
}

.form-group select option {
    background: #0a1f10;
    color: white
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-neon);
    box-shadow: 0 0 0 3px rgba(0, 230, 118, .12);
    background: rgba(0, 230, 118, .04);
}

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

.wa-btn {
    background: #25D366;
    border-color: #25D366;
}

.wa-btn:hover {
    box-shadow: 0 0 40px rgba(37, 211, 102, .5)
}

/* ── Mission Vision ──────────────────────────────────────────── */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 48px;
}

.mv-card {
    padding: 40px 36px;
    border-left: 3px solid var(--green-neon);
}

.mv-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.mv-card p {
    color: var(--text-muted);
    line-height: 1.85
}

/* ── Team ────────────────────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.team-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center
}

.team-header {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.team-body {
    padding: 24px 20px 28px
}

.team-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.team-role {
    font-size: .78rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--green-neon);
    margin-bottom: 10px;
    display: block;
}

.team-body p {
    font-size: .83rem;
    color: var(--text-muted)
}

/* ── Growth Vision ───────────────────────────────────────────── */
.growth-box {
    background: rgba(0, 230, 118, .04);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-lg);
    padding: 60px;
    margin-top: 72px;
}

.growth-box h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.growth-box p {
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 16px
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 20px;
}

.faq-item {
    padding: 28px 28px
}

.faq-item h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--green-neon);
    margin-bottom: 10px;
}

.faq-item p {
    font-size: .87rem;
    color: var(--text-muted);
    line-height: 1.75
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 32px;
}

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

.footer-brand p {
    font-size: .87rem;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.8;
    max-width: 300px;
}

.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .8);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: .87rem;
    color: var(--text-muted);
    padding: 5px 0;
    transition: color .2s;
}

.footer-col a:hover {
    color: var(--green-neon)
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .8rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--green-neon)
}

.footer-social {
    display: flex;
    gap: 12px
}

/* ── Newsletter ──────────────────────────────────────────────── */
.newsletter-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.newsletter-input-wrap input {
    padding: 12px 14px;
    background: rgba(255, 255, 255, .06);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: .87rem;
    outline: none;
    transition: border-color .25s;
}

.newsletter-input-wrap input:focus {
    border-color: var(--green-neon)
}

.newsletter-input-wrap input::placeholder {
    color: rgba(255, 255, 255, .25)
}

/* ── Why Matters Cards ───────────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.why-card {
    padding: 32px 24px
}

.why-card .wico {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 14px
}

.why-card h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.why-card p {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.7
}

/* ── Mini Stat Cards ─────────────────────────────────────────── */
.mini-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.mini-stat {
    padding: 24px 16px;
    text-align: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border-subtle);
}

.mini-stat .mnum {
    font-family: 'Poppins', sans-serif;
    font-size: 1.9rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--green-neon), var(--green-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mini-stat p {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: 4px
}

/* ── Utility ─────────────────────────────────────────────────── */
.bg-alt {
    background: linear-gradient(180deg, #061510 0%, #060f0a 100%)
}

/* ── Responsive ──────────────────────────────────────────────── */
@media(max-width:1024px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 48px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px
    }

    .prog-detail {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .prog-detail.flip {
        direction: ltr
    }

    .contact-grid {
        grid-template-columns: 1fr
    }

    .stats-banner {
        grid-template-columns: 1fr;
        padding: 36px 24px
    }

    .involve-card {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .mv-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:768px) {
    section {
        padding: 72px 0
    }

    .nav-links {
        display: none
    }

    .hamburger {
        display: flex
    }

    .counter-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .counter-item {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle)
    }

    .counter-item:nth-child(3),
    .counter-item:last-child {
        border-bottom: none
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .form-row {
        grid-template-columns: 1fr
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center
    }

    .about-badge {
        display: none
    }

    .contact-form {
        padding: 32px 24px
    }

    .growth-box {
        padding: 36px 28px
    }

    .hero h1 {
        font-size: clamp(2.4rem, 8vw, 3.5rem)
    }
}

@media(max-width:480px) {
    .counter-grid {
        grid-template-columns: 1fr
    }

    .gallery-grid {
        grid-template-columns: 1fr
    }

    .hero-ctas {
        flex-direction: column
    }

    .hero-ctas .btn {
        justify-content: center
    }

    .cta-btns {
        flex-direction: column;
        align-items: center
    }

    .tab-pills {
        flex-direction: column
    }

    .tab-pills .tab-pill {
        text-align: center
    }
}

/* ── Resources Dropdown ─────────────────────────────────────────── */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: color .2s;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn.active {
    color: var(--green-neon);
}

.dropdown-caret {
    transition: transform .25s var(--ease-smooth);
}

.nav-dropdown-btn[aria-expanded="true"] .dropdown-caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 190px;
    background: rgba(8, 22, 12, .96);
    backdrop-filter: blur(20px);
    border: 1px solid var(--green-border);
    border-radius: 14px;
    padding: 8px;
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-8px);
    transition: opacity .2s var(--ease-smooth), transform .2s var(--ease-smooth);
    z-index: 200;
}

.nav-dropdown.open .dropdown-menu,
.nav-dropdown-btn[aria-expanded="true"]+.dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 9px;
    font-family: 'Inter', sans-serif;
    font-size: .87rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: all .2s;
}

.dropdown-menu li a:hover,
.dropdown-menu li a.active {
    background: var(--green-glass);
    color: var(--green-neon);
}

.dropdown-menu li a svg {
    flex-shrink: 0;
    color: var(--green-neon);
    opacity: .7;
}

/* ── News Page ──────────────────────────────────────────────────── */
.news-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--green-border);
}

.news-featured-img {
    position: relative;
    min-height: 360px;
}

.news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-featured-body {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.news-featured-body h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.news-featured-body p {
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.news-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--green-neon);
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 4px 12px;
    border-radius: 100px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    color: var(--text-muted);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--ease-smooth), box-shadow .3s;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 230, 118, .1);
}

.news-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.news-card-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 650;
    color: #fff;
    line-height: 1.4;
}

.news-card-body p {
    font-family: 'Inter', sans-serif;
    font-size: .83rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

.news-readmore {
    font-family: 'Inter', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    color: var(--green-neon);
    text-decoration: none;
    margin-top: auto;
    transition: gap .2s;
}

.news-readmore:hover {
    text-decoration: underline;
}

/* ── Publications Page ──────────────────────────────────────────── */
.pub-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.pub-filter-btn {
    padding: 8px 20px;
    border-radius: 100px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: .83rem;
    font-weight: 600;
    background: var(--bg-card);
    border: 1px solid var(--green-border);
    color: var(--text-muted);
    transition: all .2s;
}

.pub-filter-btn:hover,
.pub-filter-btn.active {
    background: var(--green-neon);
    color: #000;
    border-color: var(--green-neon);
}

.pub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pub-card {
    border-radius: 18px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .3s var(--ease-smooth), box-shadow .3s, border-color .3s;
}

.pub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 230, 118, .1);
    border-color: var(--green-neon);
}

.pub-type-badge {
    font-family: 'Inter', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--green-neon);
}

.pub-icon {
    color: var(--green-neon);
    opacity: .8;
}

.pub-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 650;
    color: #fff;
    line-height: 1.4;
}

.pub-card p {
    font-family: 'Inter', sans-serif;
    font-size: .83rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

.pub-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    color: var(--text-muted);
}

.pub-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
}

/* ── Videos Page ────────────────────────────────────────────────── */
.video-featured {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
}

.video-featured-body {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.video-featured-body h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.video-featured-body p {
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.video-thumb-wrap {
    position: relative;
    overflow: hidden;
}

.video-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}

.video-thumb-wrap:hover img {
    transform: scale(1.04);
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s;
}

.video-thumb-wrap:hover .video-play-overlay {
    background: rgba(0, 0, 0, .3);
}

.video-play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green-neon);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 0 0 0 rgba(0, 230, 118, .4);
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 12px rgba(0, 230, 118, .15);
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.video-card {
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--ease-smooth), box-shadow .3s;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 230, 118, .1);
}

.video-card .video-thumb-wrap {
    height: 200px;
}

.video-card .video-play-btn {
    width: 48px;
    height: 48px;
}

.video-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.video-tag {
    font-family: 'Inter', sans-serif;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--green-neon);
}

.video-card-body h4 {
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    font-weight: 650;
    color: #fff;
    line-height: 1.4;
}

.video-card-body p {
    font-family: 'Inter', sans-serif;
    font-size: .81rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.video-views {
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 900px) {

    .news-featured,
    .video-featured {
        grid-template-columns: 1fr;
    }

    .news-featured-img {
        min-height: 220px;
    }

    .news-featured-body,
    .video-featured-body {
        padding: 28px 24px;
    }

    .news-grid,
    .pub-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 600px) and (max-width: 900px) {

    .news-grid,
    .pub-grid,
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Our Approach Section ──────────────────────────────────────── */

.approach-section {
    padding: 96px 0;
    background: var(--bg-base);
    position: relative;
    overflow: hidden;
}

.approach-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 230, 118, .05) 0%, transparent 70%);
    pointer-events: none;
}

.approach-grid {
    display: flex;
    align-items: center;
    gap: 16px;
}

.approach-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--green-border);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    transition: transform .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth), border-color .3s;
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 230, 118, .12);
    border-color: var(--green-neon);
}

.approach-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(0, 230, 118, .3);
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.approach-icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--green-glass);
    border: 1px solid var(--green-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--green-neon);
    transition: background .3s, transform .3s;
}

.approach-card:hover .approach-icon-wrap {
    background: rgba(0, 230, 118, .2);
    transform: scale(1.08);
}

.approach-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.approach-card p {
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.approach-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--green-neon);
    background: var(--green-glass);
    border: 1px solid var(--green-border);
    border-radius: 100px;
    padding: 5px 14px;
}

.approach-arrow {
    flex-shrink: 0;
    color: rgba(0, 230, 118, .4);
    display: flex;
    align-items: center;
}

@media (max-width: 900px) {
    .approach-grid {
        flex-direction: column;
        gap: 8px;
    }

    .approach-arrow {
        transform: rotate(90deg);
    }

    .approach-card {
        width: 100%;
    }
}

/* ── Article Page ────────────────────────────────────────────── */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
    margin-top: 56px;
}

.article-body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, .82);
}

.article-body p {
    margin-bottom: 1.4em;
}

.article-body h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 2em 0 .6em;
    padding-bottom: .4em;
    border-bottom: 1px solid var(--green-border);
}

.article-body strong {
    color: #fff;
    font-weight: 650;
}

.article-body em {
    color: var(--green-bright);
    font-style: italic;
}

.article-body a {
    color: var(--green-neon);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-sidebar {
    position: sticky;
    top: 100px;
}

@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }
}

/* ============================================================
   RESPONSIVE — Mobile-First Layer
   Breakpoints: 1024px (tablet) | 768px (mobile) | 480px (small)
   ============================================================ */

/* ── Tablet (≤1024px) ───────────────────────────────────────── */
@media (max-width: 1024px) {

    /* ── Navbar: switch to hamburger on tablets ── */
    :root {
        --nav-h: 64px;
    }

    .navbar {
        height: var(--nav-h);
    }

    .nav-inner {
        height: var(--nav-h);
    }

    .logo-img {
        height: 56px;
    }

    /* Hide desktop nav; show hamburger */
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* About split: stack vertically */
    .about-split {
        flex-direction: column;
        gap: 40px;
    }

    .about-visual {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }

    .about-text {
        width: 100%;
    }

    /* Counter: 2×2 grid */
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Programs: 2-column */
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mission/Vision: 1-column */
    .mv-grid {
        grid-template-columns: 1fr;
    }

    /* Values: 2-column */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Team: 2-column */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Testimonials: 1-column */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Footer: 2-column */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    /* Contact: stack */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Impact stats: 2-column */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* News / publications: 2-column */
    .news-grid,
    .pub-grid,
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Get-involved 2-col grids */
    .ways-grid,
    .partners-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Mobile (≤768px) ────────────────────────────────────────── */
@media (max-width: 768px) {

    /* ── Navbar sizing at mobile ── */
    .logo-img {
        height: 48px;
    }

    .logo-wordmark {
        font-size: 1rem;
    }

    /* Nav dropdown inside mobile-nav */
    .nav-dropdown {
        position: static;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0 0 0 12px;
        min-width: unset;
        display: none;
    }

    /* ── Sections ── */
    section {
        padding: 64px 0;
    }

    /* ── Hero ── */
    .hero {
        padding-top: var(--nav-h);
        min-height: 90vh;
        align-items: flex-start;
        padding-bottom: 60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 9vw, 3.4rem);
        line-height: 1.1;
    }

    .hero-badge {
        margin-top: 24px;
    }

    .hero-desc {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
        min-height: 52px;
        font-size: 0.95rem;
    }

    /* ── Counter ── */
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .counter-num {
        font-size: 2.2rem;
    }

    .counter-label {
        font-size: 0.78rem;
    }

    /* ── Programs ── */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* ── About split ── */
    .about-split {
        flex-direction: column;
        gap: 32px;
    }

    .about-visual {
        max-width: 100%;
    }

    /* ── Mission / Vision ── */
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* ── Values ── */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* ── Team ── */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* ── Testimonials ── */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* ── CTA section ── */
    .cta-section {
        padding: 64px 0;
        text-align: center;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-btns .btn {
        width: 100%;
        max-width: 360px;
        justify-content: center;
        min-height: 52px;
    }

    /* ── Page hero (inner pages) ── */
    .page-hero {
        padding: 100px 0 48px;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    /* ── Breadcrumb ── */
    .breadcrumb {
        font-size: 0.8rem;
    }

    /* ── Section text ── */
    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.4rem);
    }

    .section-sub {
        font-size: 0.95rem;
        margin-bottom: 36px;
    }

    /* ── Contact ── */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* ── FAQ ── */
    .faq-grid {
        grid-template-columns: 1fr;
    }

    /* ── News / publications / videos ── */
    .news-grid,
    .pub-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }

    /* ── Get Involved ── */
    .ways-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }

    /* ── Impact stats ── */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ── Footer ── */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: left;
    }

    .footer-brand {
        align-items: flex-start;
        text-align: left;
    }

    .nav-logo {
        justify-content: flex-start;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .newsletter-input-wrap {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-input-wrap input,
    .newsletter-input-wrap button {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: left;
    }

    /* ── Buttons: touch-friendly ── */
    .btn {
        min-height: 48px;
    }

    .soc-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
}

/* ── Small Phone (≤480px) ───────────────────────────────────── */
@media (max-width: 480px) {

    /* ── Logo: hide subtitle ── */
    .logo-wordmark em {
        display: none;
    }

    .logo-wordmark {
        font-size: 1rem;
    }

    /* ── Hero ── */
    .hero h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 14px;
        margin-top: 16px;
    }

    .hero-ctas .btn {
        padding: 15px 24px;
        font-size: 0.9rem;
    }

    /* ── Counters: compact 2×2 ── */
    .counter-strip {
        padding: 28px 0;
    }

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .counter-num {
        font-size: 1.9rem;
    }

    .counter-item {
        padding: 16px 10px;
    }

    /* ── Values / Team: 1-column ── */
    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    /* ── Programs: 1-column ── */
    .programs-grid {
        grid-template-columns: 1fr;
    }

    /* ── Chips ── */
    .chip {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }

    /* ── Glass cards: reduce padding ── */
    .glass-card {
        padding: 20px 16px;
    }

    /* ── CTA buttons ── */
    .cta-btns .btn {
        max-width: 100%;
    }

    /* ── Footer: single column, left-aligned ── */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: left;
    }

    .footer-col a {
        display: block;
    }

    /* ── Contact form: stacked fields ── */
    .form-row {
        flex-direction: column;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        /* prevent iOS zoom on focus */
    }

    /* ── Social buttons: larger tap area ── */
    .soc-btn {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    /* ── Section padding ── */
    section {
        padding: 48px 0;
    }

    /* ── Page hero ── */
    .page-hero {
        padding: 88px 0 40px;
    }

    .page-hero p {
        font-size: 0.9rem;
    }

    /* ── Approach section ── */
    .approach-card {
        padding: 24px 16px;
    }

    /* ── Stats grid: single col on very small ── */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .stat-num {
        font-size: 2rem;
    }
}