/* ==========================================================================
   GNEP AFRICA - Global Nature and Environmental Partnership
   International Standard Stylesheet (WCAG AA Compliant, Editorial, Modern NGO)
   ========================================================================== */

:root {
    /* Prestigious International Environmental Palette */
    --gnep-forest-deep: #0B2516;      /* International Treaty / Agency Dark Forest */
    --gnep-forest: #113821;           /* Primary Institutional Forest Green */
    --gnep-forest-mid: #1A4D2E;       /* Mid Canopy */
    --gnep-green-vibrant: #15803D;    /* Vibrant Plant Life / Active Accents */
    --gnep-green-soft: #DCFCE7;       /* Soft Foliage Tint */
    --gnep-navy: #0A3258;             /* GNEP Brand Navy from Official Logo */
    --gnep-blue: #0284C7;             /* GNEP Brand Sky Blue from Official Logo */
    --gnep-blue-tint: #E0F2FE;        /* Sky Blue Tint */
    --gnep-amber: #D97706;            /* Warm Earth / Sahelean Amber */
    --gnep-amber-soft: #FEF3C7;       /* Amber Tint for In-Development */

    /* Neutrals & Surfaces */
    --gnep-surface-base: #FFFFFF;
    --gnep-surface-subtle: #F8FAF7;   /* Pale Bio-Tinted Sandstone */
    --gnep-surface-warm: #F4F6F1;     /* Editorial Warm Grey-Green */
    --gnep-surface-card: #FFFFFF;
    --gnep-text-main: #0F172A;        /* Slate 900 for ultra-sharp readability */
    --gnep-text-muted: #475569;       /* Slate 600 - WCAG AA compliant */
    --gnep-text-light: #94A3B8;       /* Slate 400 */
    --gnep-border: #E2E8F0;           /* Clean 1px division */
    --gnep-border-subtle: #EDF2F7;
    --gnep-focus: #0284C7;            /* Accessible Focus Ring */

    /* Typography Stacks */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-editorial: 'Newsreader', Georgia, serif;

    /* Elevation & Shadows */
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 14px 28px -4px rgba(11, 37, 22, 0.09), 0 6px 12px -4px rgba(0, 0, 0, 0.04);
    --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Bootstrap Overrides */
    --bs-primary: #113821;
    --bs-secondary: #0A3258;
}

/* Fix navbar container jumping on scroll */
.fixed-top .container {
    max-width: 1320px !important;
}
@media (max-width: 1399.98px) {
    .fixed-top .container {
        max-width: 1140px !important;
    }
}
@media (max-width: 1199.98px) {
    .fixed-top .container {
        max-width: 960px !important;
    }
}
@media (max-width: 991.98px) {
    .fixed-top .container {
        max-width: 720px !important;
    }
}
@media (max-width: 767.98px) {
    .fixed-top .container {
        max-width: 540px !important;
    }
}
@media (max-width: 575.98px) {
    .fixed-top .container {
        max-width: 100% !important;
    }
}

/* --------------------------------------------------------------------------
   Accessibility & Core Reset
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gnep-text-main);
    background-color: var(--gnep-surface-base);
    line-height: 1.68;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.skip-to-content {
    position: absolute;
    top: -80px;
    left: 24px;
    background: var(--gnep-forest-deep);
    color: #FFFFFF !important;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 100000;
    transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    text-decoration: underline;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid #38BDF8;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid var(--gnep-focus) !important;
    outline-offset: 3px !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4 {
    font-family: var(--font-heading);
    color: var(--gnep-text-main);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.22;
}

/* --------------------------------------------------------------------------
   Utility Topbar (UNEP Global Standard)
   -------------------------------------------------------------------------- */
.gnep-topbar {
    background-color: var(--gnep-forest-deep);
    font-size: 0.82rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.01em;
}

.gnep-topbar a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.15s ease;
    font-weight: 500;
}

.gnep-topbar a:hover {
    color: #FFFFFF;
}

.topbar-divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 12px;
}

.topbar-badge {
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    color: #E2E8F0;
    font-size: 0.74rem;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Navbar & Brand Header
   -------------------------------------------------------------------------- */
/* 3D Navigation Adaptive Architecture */
header.fixed-top {
    background: rgba(11, 37, 22, 0.65);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1030;
}

.gnep-topbar {
    background: rgba(6, 20, 12, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 0;
    font-size: 0.82rem;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    max-height: 40px;
    opacity: 1;
}

.gnep-navbar {
    background: transparent !important;
    box-shadow: none;
    padding: 12px 0;
    transition: padding 0.3s ease;
}

.gnep-brand-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFFFFF !important;
    margin-bottom: 2px;
    display: block;
    letter-spacing: -0.02em;
}

.gnep-brand-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75) !important;
    display: block;
    letter-spacing: 0.01em;
}

.gnep-brand-text {
    border-left: 1.5px solid rgba(255, 255, 255, 0.25) !important;
}

.gnep-navbar .navbar-nav .nav-link,
.navbar.gnep-navbar .navbar-nav .nav-link,
.gnep-navbar .nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFFFFF !important;
    padding: 10px 16px !important;
    border-radius: 6px;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.gnep-navbar .navbar-nav .nav-link:hover,
.gnep-navbar .navbar-nav .nav-link:focus,
.navbar.gnep-navbar .navbar-nav .nav-link:hover {
    color: #4ADE80 !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    opacity: 1;
}

.gnep-navbar .navbar-nav .nav-link.active,
.navbar.gnep-navbar .navbar-nav .nav-link.active {
    color: #4ADE80 !important;
    background-color: rgba(255, 255, 255, 0.16) !important;
    opacity: 1;
}

.gnep-navbar .nav-link:hover,
.gnep-navbar .navbar-nav .nav-link:focus {
    color: #4ADE80 !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
}

.gnep-navbar .nav-link.active {
    color: #4ADE80 !important;
    background-color: rgba(255, 255, 255, 0.16) !important;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
}
.navbar-toggler .fa-bars {
    color: #FFFFFF !important;
}

/* Scrolled 3D Institutional Header */
header.fixed-top.nav-scrolled-3d {
    background: rgba(8, 26, 16, 0.96) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.38) !important;
    border-bottom: 1px solid rgba(34, 197, 94, 0.2) !important;
}

header.fixed-top.nav-scrolled-3d .gnep-topbar {
    max-height: 0;
    opacity: 0;
    padding: 0;
    overflow: hidden;
    border: none;
}

header.fixed-top.nav-scrolled-3d .gnep-navbar {
    padding: 8px 0;
}

.gnep-brand-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.gnep-brand-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    background: #FFFFFF;
    padding: 3px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.gnep-brand-wrap:hover .gnep-brand-logo {
    transform: scale(1.02);
}

.gnep-brand-text {
    margin-left: 16px;
    line-height: 1.15;
    border-left: 1.5px solid var(--gnep-border);
    padding-left: 16px;
}

.gnep-brand-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--gnep-forest);
    margin-bottom: 2px;
    display: block;
    letter-spacing: -0.02em;
}

.gnep-brand-sub {
    font-size: 0.72rem;
    color: var(--gnep-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: block;
    font-weight: 600;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: #1E293B !important;
    padding: 10px 16px !important;
    border-radius: 6px;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--gnep-forest) !important;
    background-color: var(--gnep-surface-subtle);
}

.navbar-nav .nav-link.active {
    color: var(--gnep-forest) !important;
    background-color: var(--gnep-surface-warm);
}

.navbar .dropdown-menu {
    border-radius: 10px;
    border: 1px solid var(--gnep-border);
    box-shadow: 0 12px 32px rgba(11, 37, 22, 0.1);
    padding: 10px 8px;
    margin-top: 8px;
    min-width: 280px;
    animation: fadeInDropdown 0.2s ease;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.navbar .dropdown-item {
    font-size: 0.88rem;
    padding: 9px 14px;
    font-weight: 500;
    color: #334155;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.navbar .dropdown-item:hover {
    background-color: var(--gnep-surface-subtle);
    color: var(--gnep-forest);
    padding-left: 18px;
}

/* Call-to-action button */
.btn-partner-nav {
    background-color: var(--gnep-forest);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--gnep-forest);
    box-shadow: 0 2px 4px rgba(17, 56, 33, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
}

.btn-partner-nav:hover {
    background-color: var(--gnep-forest-deep);
    border-color: var(--gnep-forest-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(17, 56, 33, 0.25);
}

/* --------------------------------------------------------------------------
   Hero Section (350.org / International Editorial Standard)
   -------------------------------------------------------------------------- */
.gnep-hero {
    position: relative;
    background: #091C11;
    color: #FFFFFF;
    padding: 145px 0 100px 0;
    min-height: 86vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.gnep-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.34;
    filter: brightness(0.9) saturate(1.1);
    transform: scale(1.02);
}

.gnep-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    filter: brightness(0.85) saturate(1.15);
    z-index: 1;
}

.gnep-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 60% 40%,
        rgba(15, 45, 28, 0.55) 0%,
        rgba(9, 26, 16, 0.82) 65%,
        rgba(6, 18, 11, 0.95) 100%
    );
    z-index: 2;
    pointer-events: none;
}

#hero-webgl-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.gnep-hero-content {
    position: relative;
    z-index: 2;
}

/* Status Pill with live pulsing green dot */
.gnep-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #E2ECE5;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #4ADE80;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: pulseGnep 2s infinite;
}

@keyframes pulseGnep {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.gnep-hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 4.4vw, 3.65rem);
    line-height: 1.12;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 22px;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.gnep-hero-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: #CBD5E1;
    line-height: 1.65;
    margin-bottom: 34px;
    max-width: 620px;
    font-weight: 400;
}

.btn-gnep-hero-primary {
    background-color: var(--gnep-green-vibrant);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 8px;
    border: 1px solid var(--gnep-green-vibrant);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.98rem;
    box-shadow: 0 4px 14px rgba(21, 128, 61, 0.35);
    display: inline-flex;
    align-items: center;
}

.btn-gnep-hero-primary:hover {
    background-color: #166534;
    border-color: #166534;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 128, 61, 0.45);
}

.btn-gnep-hero-secondary {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
}

.btn-gnep-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

/* Modern Form Card */
.gnep-hero-form-card {
    background: #FFFFFF;
    color: var(--gnep-text-main);
    padding: 34px 32px;
    border-radius: 14px;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.45), 0 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    border-top: 4px solid var(--gnep-green-vibrant);
}

.gnep-hero-form-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--gnep-forest);
    letter-spacing: -0.02em;
}

.gnep-hero-form-card p.form-desc {
    font-size: 0.88rem;
    color: var(--gnep-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.gnep-form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.gnep-form-control {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.92rem;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    background-color: #F8FAFC;
    color: var(--gnep-text-main);
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.gnep-form-control:focus {
    border-color: var(--gnep-forest);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(17, 56, 33, 0.12);
}

.gnep-consent-text {
    font-size: 0.76rem;
    color: #64748B;
    line-height: 1.45;
    margin-top: 14px;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

/* --------------------------------------------------------------------------
   Mission Band (WWF Pattern - Editorial Showcase)
   -------------------------------------------------------------------------- */
.gnep-mission-band {
    background-color: var(--gnep-surface-warm);
    border-top: 1px solid var(--gnep-border);
    border-bottom: 1px solid var(--gnep-border);
    padding: 75px 0;
    position: relative;
}

.gnep-mission-inner {
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}

.gnep-mission-label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gnep-forest);
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gnep-mission-quote {
    font-family: var(--font-editorial);
    font-size: clamp(1.45rem, 2.6vw, 2.25rem);
    font-style: normal;
    font-weight: 500;
    line-height: 1.42;
    color: #0F2A1A;
    margin: 0 auto;
    position: relative;
}

.gnep-vision-subtext {
    font-size: 0.98rem;
    color: #475569;
    margin-top: 22px;
    margin-bottom: 0;
    padding-top: 18px;
    border-top: 1px dashed #CBD5E1;
    display: inline-block;
}

.gnep-vision-subtext strong {
    color: var(--gnep-forest);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Evidence Strip (WWF Pattern - Institutional Trust)
   -------------------------------------------------------------------------- */
.gnep-evidence-strip {
    background: #FFFFFF;
    padding: 65px 0 55px 0;
    border-bottom: 1px solid var(--gnep-border);
}

.evidence-card {
    text-align: center;
    padding: 20px 24px;
    border-right: 1px solid var(--gnep-border);
    transition: transform 0.2s ease;
}

.evidence-card:last-child {
    border-right: none;
}

@media (max-width: 768px) {
    .evidence-card {
        border-right: none;
        border-bottom: 1px solid var(--gnep-border);
        padding-bottom: 28px;
        margin-bottom: 22px;
    }
    .evidence-card:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
}

.evidence-number {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 4.2vw, 3.8rem);
    font-weight: 800;
    color: var(--gnep-forest);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.04em;
}

.evidence-caption {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gnep-text-main);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.evidence-subcaption {
    font-size: 0.85rem;
    color: var(--gnep-text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.evidence-footnote-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gnep-surface-subtle);
    border: 1px solid var(--gnep-border);
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.82rem;
    color: #475569;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Three Pillars (WWF Pattern - Strategic Framework)
   -------------------------------------------------------------------------- */
.gnep-pillars-section {
    background-color: var(--gnep-surface-subtle);
    padding: 95px 0;
}

.gnep-section-header {
    margin-bottom: 54px;
}

.gnep-section-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gnep-green-vibrant);
    display: inline-block;
    margin-bottom: 10px;
}

.gnep-section-title {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    font-weight: 800;
    color: var(--gnep-text-main);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.gnep-section-desc {
    font-size: 1.05rem;
    color: var(--gnep-text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.pillar-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--gnep-border);
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: #CBD5E1;
}

.pillar-img-wrap {
    height: 230px;
    overflow: hidden;
    position: relative;
    background-color: #E2E8F0;
}

.pillar-number-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 37, 22, 0.88);
    backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 6px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pillar-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover .pillar-img-wrap img {
    transform: scale(1.06);
}

.pillar-body {
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pillar-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gnep-text-main);
    letter-spacing: -0.02em;
}

.pillar-desc {
    font-size: 0.92rem;
    color: var(--gnep-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.pillar-link {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--gnep-forest);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.pillar-link:hover {
    color: var(--gnep-green-vibrant);
    gap: 12px;
}

/* --------------------------------------------------------------------------
   Focus Areas (350.org Action Cards - Polished)
   -------------------------------------------------------------------------- */
.gnep-focus-section {
    background-color: #FFFFFF;
    padding: 95px 0;
    border-top: 1px solid var(--gnep-border);
}

.focus-card {
    background: #FFFFFF;
    border: 1px solid var(--gnep-border);
    border-radius: 12px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: var(--shadow-subtle);
}

.focus-card:hover {
    border-color: #94A3B8;
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.focus-status-tag {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-active {
    background-color: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.status-dev {
    background-color: #FFFBEB;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.focus-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.35;
    color: var(--gnep-text-main);
    letter-spacing: -0.015em;
}

.focus-card-desc {
    font-size: 0.9rem;
    color: var(--gnep-text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.focus-card-link {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gnep-forest);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease, color 0.15s ease;
}

.focus-card-link:hover {
    color: var(--gnep-green-vibrant);
    gap: 10px;
}

/* --------------------------------------------------------------------------
   Updates Section (UNEP Content Cards - Publications / Field Reports)
   -------------------------------------------------------------------------- */
.gnep-updates-section {
    background-color: var(--gnep-surface-subtle);
    padding: 95px 0;
    border-top: 1px solid var(--gnep-border);
}

.update-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gnep-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-subtle);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #CBD5E1;
}

.update-img-wrap {
    height: 220px;
    position: relative;
    background-color: #E2E8F0;
    overflow: hidden;
}

.update-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.update-card:hover .update-img-wrap img {
    transform: scale(1.05);
}

.update-credit {
    font-size: 0.72rem;
    color: #64748B;
    padding: 5px 14px;
    background: #F8FAFC;
    border-bottom: 1px solid var(--gnep-border);
    font-style: italic;
}

.update-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.update-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.update-type-tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 6px;
    background: #EFF6FF;
    color: #1D4ED8;
}

.update-date {
    font-size: 0.82rem;
    color: #64748B;
    font-weight: 500;
}

.update-headline {
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--gnep-text-main);
    letter-spacing: -0.015em;
}

.update-excerpt {
    font-size: 0.9rem;
    color: var(--gnep-text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.update-link {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gnep-forest);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease, color 0.15s ease;
}

.update-link:hover {
    color: var(--gnep-green-vibrant);
    gap: 10px;
}

/* --------------------------------------------------------------------------
   Leadership Section (Mohammed Labaran Sani + Governance)
   -------------------------------------------------------------------------- */
.gnep-team-section {
    background-color: #FFFFFF;
    padding: 95px 0;
    border-top: 1px solid var(--gnep-border);
}

.founder-card {
    background: var(--gnep-surface-warm);
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 34px;
    height: 100%;
    box-shadow: var(--shadow-subtle);
}

.founder-title-badge {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gnep-forest);
    margin-bottom: 8px;
    display: block;
}

.founder-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--gnep-text-main);
    letter-spacing: -0.025em;
}

.founder-role {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--gnep-navy);
    font-weight: 600;
    margin-bottom: 16px;
}

.founder-bio {
    font-size: 0.92rem;
    color: var(--gnep-text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

.founder-focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.founder-tag {
    font-size: 0.75rem;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #1E293B;
    padding: 5px 12px;
    border-radius: 9999px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.project-lead-pill {
    background: #FFFFFF;
    border: 1px solid var(--gnep-border);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-lead-pill:hover {
    border-color: #94A3B8;
    transform: translateX(4px);
}

.join-team-box {
    background: var(--gnep-surface-subtle);
    border: 2px dashed #94A3B8;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    margin-top: 22px;
}

/* --------------------------------------------------------------------------
   Partners Row (Institutional Standard)
   -------------------------------------------------------------------------- */
.gnep-partners-section {
    background: #FFFFFF;
    padding: 70px 0;
    border-top: 1px solid var(--gnep-border);
    border-bottom: 1px solid var(--gnep-border);
}

.partner-box {
    background: var(--gnep-surface-subtle);
    border: 1px solid var(--gnep-border);
    border-radius: 10px;
    padding: 22px 24px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.2s ease;
}

.partner-box:hover {
    border-color: #94A3B8;
    box-shadow: var(--shadow-card);
}

.partner-type {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748B;
    margin-bottom: 6px;
}

.partner-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gnep-text-main);
    margin-bottom: 0;
    letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   Footer (UNEP & WWF Pattern - Deep Prestigious Canvas)
   -------------------------------------------------------------------------- */
.gnep-footer {
    background-color: var(--gnep-forest-deep);
    color: #CBD5E1;
    padding: 85px 0 45px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gnep-footer h4 {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.gnep-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--gnep-green-vibrant);
}

.gnep-footer a {
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.15s ease;
}

.gnep-footer a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-list li {
    margin-bottom: 12px;
}

.gnep-footer-approach {
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid var(--gnep-green-vibrant);
    padding: 14px 16px;
    font-size: 0.83rem;
    color: #94A3B8;
    margin-top: 22px;
    line-height: 1.55;
    border-radius: 0 6px 6px 0;
}

.gnep-legal-bar {
    background-color: #06150D;
    padding: 24px 0;
    font-size: 0.82rem;
    color: #64748B;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gnep-legal-bar a {
    color: #64748B !important;
    transition: color 0.15s ease;
}

.gnep-legal-bar a:hover {
    color: #CBD5E1 !important;
    text-decoration: underline !important;
}

.social-pill-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.social-pill-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   Mobile-First Responsiveness & Touch Targets
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .navbar-toggler {
        padding: 12px 16px;
        min-width: 48px;
        min-height: 48px;
        border: 1px solid var(--gnep-border);
        border-radius: 8px;
    }

    .navbar-collapse {
        background: #FFFFFF;
        padding: 20px 16px 24px 16px;
        border-radius: 12px;
        margin-top: 14px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
        border: 1px solid var(--gnep-border);
    }

    .navbar-nav .nav-link {
        padding: 14px 18px !important;
        border-bottom: 1px solid #F1F5F9;
    }

    .gnep-hero {
        padding: 130px 0 70px 0;
        min-height: auto;
    }

    .gnep-hero-form-card {
        margin-top: 45px;
    }

    .gnep-brand-text {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .gnep-hero-headline {
        font-size: 2.1rem;
    }
    .gnep-hero-form-card {
        padding: 24px 20px;
    }
}

/* --------------------------------------------------------------------------
   Back to Top Button (Brand Standard)
   -------------------------------------------------------------------------- */
.back-to-top {
    display: none;
    position: fixed !important;
    right: 28px !important;
    bottom: 28px !important;
    width: 44px !important;
    height: 44px !important;
    background-color: var(--gnep-forest) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 14px rgba(11, 37, 22, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 9999 !important;
    align-items: center !important;
    justify-content: center !important;
}

.back-to-top:hover {
    background-color: var(--gnep-green-vibrant) !important;
    transform: translateY(-3px) scale(1.06) !important;
    box-shadow: 0 8px 20px rgba(21, 128, 61, 0.45) !important;
    color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   Field Gallery Page Styles (International Standard)
   -------------------------------------------------------------------------- */
.gallery-hero-banner {
    background: linear-gradient(135deg, #07190E 0%, #0B2516 60%, #113821 100%);
    color: #FFFFFF;
    padding: 165px 0 75px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #A7F3D0;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 18px;
}

.gallery-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    color: #FFFFFF !important;
}

.gallery-hero-desc {
    font-size: 1.05rem;
    color: #CBD5E1;
    max-width: 720px;
    margin: 0 auto 24px auto;
    line-height: 1.6;
}

.gallery-main-section {
    background-color: var(--gnep-surface-subtle);
    padding: 70px 0 90px 0;
}

.gallery-filter-wrap {
    margin-bottom: 45px;
}

.gallery-filter-group {
    background: #FFFFFF;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--gnep-border);
    box-shadow: var(--shadow-subtle);
    display: inline-flex;
}

.btn-filter {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    padding: 9px 18px;
    border-radius: 8px;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.btn-filter:hover {
    color: var(--gnep-forest);
    background: var(--gnep-surface-subtle);
}

.btn-filter.active {
    background: var(--gnep-forest) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 6px rgba(11, 37, 22, 0.25);
}

.filter-count {
    font-size: 0.74rem;
    padding: 2px 7px;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.08);
}

.btn-filter.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.gallery-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gnep-border);
    box-shadow: var(--shadow-subtle);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #CBD5E1;
}

.gallery-img-container {
    position: relative;
    height: 250px;
    background-color: #E2E8F0;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 37, 22, 0.65);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.gallery-overlay-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gallery-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.gallery-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-title {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gnep-text-main);
    letter-spacing: -0.015em;
    line-height: 1.35;
}

.gallery-caption {
    font-size: 0.88rem;
    color: var(--gnep-text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.gallery-credit {
    font-size: 0.76rem;
    color: #64748B;
    padding-top: 10px;
    border-top: 1px solid var(--gnep-border-subtle);
    font-style: italic;
}

.gallery-cta-banner {
    background: linear-gradient(135deg, #0B2516 0%, #15803D 100%);
    padding: 70px 0;
    color: #FFFFFF;
}


/* ==========================================================================
   HOMEPAGE GALLERY SHOWCASE SECTION
   ========================================================================== */
.gnep-gallery-preview-section {
    position: relative;
    background: #F4F8F5;
    border-top: 1px solid var(--gnep-border-subtle);
    border-bottom: 1px solid var(--gnep-border-subtle);
}

.home-gallery-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #0B2516;
    height: 250px;
    box-shadow: 0 4px 16px rgba(11,37,22,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(11,37,22,0.18);
}

.home-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.home-gallery-card:hover .home-gallery-img {
    transform: scale(1.06);
}

.home-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,37,22,0.88) 0%, rgba(11,37,22,0.2) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    transition: background 0.3s ease;
}

.home-gallery-card:hover .home-gallery-overlay {
    background: linear-gradient(to top, rgba(11,37,22,0.95) 0%, rgba(11,37,22,0.4) 60%, transparent 100%);
}


/* ==========================================================================
   IMMERSIVE 3D DIGITAL EXPERIENCE & SPATIAL ENVIRONMENT
   ========================================================================== */

/* WebGL Spatial Canvas Container */
#hero-webgl-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

#hero-webgl-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
}

/* 3D Atmospheric Depth Layers in Hero */
.gnep-hero {
    min-height: 94vh;
    perspective: 1200px;
}

.gnep-hero-content {
    position: relative;
    z-index: 3;
    transform-style: preserve-3d;
}

/* 3D Scroll Indicator */
.hero-3d-scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.25s ease, transform 0.25s ease;
}

.hero-3d-scroll-indicator:hover {
    color: #4ADE80;
    transform: translateX(-50%) translateY(3px);
}

.scroll-indicator-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 0 12px rgba(21, 128, 61, 0.25);
}

.scroll-indicator-wheel {
    width: 4px;
    height: 7px;
    background: #4ADE80;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelPulse 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollWheelPulse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 10px); opacity: 0.2; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

/* 3D Navigation System */
header.fixed-top {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, border-bottom 0.4s ease;
}

header.fixed-top.nav-scrolled-3d {
    background: rgba(11, 37, 22, 0.94) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.fixed-top.nav-scrolled-3d .gnep-topbar {
    display: none !important;
}

/* Spatial Card Perspectives */
.spatial-tilt-card,
.pillar-card,
.focus-card,
.gnep-activity-card,
.home-gallery-card,
.partner-box,
.gnep-value-card {
    will-change: transform;
    transform-style: preserve-3d;
}

.pillar-card .pillar-badge,
.focus-card .focus-tag,
.gnep-activity-card .gnep-activity-tag {
    transform: translateZ(14px);
}

.pillar-card .pillar-title,
.focus-card .focus-card-title,
.gnep-activity-card .gnep-activity-title {
    transform: translateZ(10px);
}

/* Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
    #hero-webgl-container {
        display: none !important;
    }
    .scroll-indicator-wheel {
        animation: none !important;
    }
    .spatial-tilt-card,
    .pillar-card,
    .focus-card,
    .gnep-activity-card,
    .home-gallery-card,
    .partner-box,
    .gnep-value-card {
        transform: none !important;
        transition: none !important;
    }
}


/* ==========================================================================
   FOUNDER BIOGRAPHY MODAL & PROFILE STYLES
   ========================================================================== */
.gnep-bio-modal .modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 25px 60px rgba(11, 37, 22, 0.35);
    background: #ffffff;
}
.gnep-bio-modal .modal-header {
    background: linear-gradient(135deg, #0B2516 0%, #153E26 60%, #1A4D2E 100%) !important;
    border-bottom: 2px solid #10B981;
    padding: 1.25rem 2rem;
}
.gnep-bio-modal .modal-body {
    padding: 2.25rem;
    color: #2D3748;
    background: #FAFCF9;
}
.gnep-founder-portrait-frame {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(11, 37, 22, 0.18);
    border: 3px solid #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gnep-founder-portrait-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(11, 37, 22, 0.25);
}
.gnep-founder-portrait-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.founder-badge-pauwes {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #E8F5E9;
    color: #1B5E20;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    border: 1px solid #C8E6C9;
}
.founder-meta-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.25rem;
}
.founder-meta-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #718096;
    margin-bottom: 0.5rem;
}
.founder-meta-item {
    font-size: 0.88rem;
    color: #2D3748;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.founder-meta-item:last-child {
    margin-bottom: 0;
}
.founder-meta-item i {
    color: #15803D;
    margin-top: 3px;
    flex-shrink: 0;
}
.founder-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 0.75rem;
    margin-bottom: 1.75rem;
}
.founder-tab-nav .nav-link {
    color: #4A5568;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
}
.founder-tab-nav .nav-link:hover {
    color: #15803D;
    background: #EDF7ED;
}
.founder-tab-nav .nav-link.active {
    color: #ffffff;
    background: #15803D;
}
.bio-lead-quote {
    font-family: 'Newsreader', Georgia, serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #1A365D;
    border-left: 4px solid #10B981;
    padding-left: 1.25rem;
    margin: 1.25rem 0;
    background: #F0FDF4;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    border-radius: 0 8px 8px 0;
}
.publication-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid #15803D;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.publication-card:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.publication-status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}
.pub-review { background: #FEF3C7; color: #92400E; }
.pub-published { background: #D1FAE5; color: #065F46; }
.pub-conference { background: #E0E7FF; color: #3730A3; }
.pub-training { background: #F3E8FF; color: #6B21A8; }

.founder-card-interactive {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
    position: relative;
}
.founder-card-interactive:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(11, 37, 22, 0.16) !important;
}
.founder-card-cta-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #10B981;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

