/* ============================================================================
   RAC DCP WEBSITE — MAIN STYLESHEET (style.css)
   ============================================================================
   
   WHAT THIS FILE DOES:
   This is the master design system and styling stylesheet for the Rotaract Club
   of Durgapur Central Presidency website.
   
   HOW THIS STYLESHEET IS STRUCTURED:
     1. Reset & Global Base Settings: Standardizes typography, box-sizing, and links.
     2. Design Tokens (CSS Variables): Brand colors (Green Rebel palette), shadows,
        radii, and 3D depth variables.
     3. Progress Bars & Ambient Glowing Orbs: Fixed chrome elements.
     4. Navigation Bar & Multi-Level Dropdowns: Desktop & mobile responsive header.
     5. Hero Section & Slideshow Rotator: Cinematic entrance with statements.
     6. About & Club Overview: History, charter info, and district details.
     7. Impact Statistics & Metrics: Counter cards and achievement numbers.
     8. Areas of Focus & Service Avenues: Rotary's 4 core service channels.
     9. Project Cards & Showcase Grid: Interactive cards with tags and dates.
     10. Leadership Board & Member Grids: Officer photo cards and member rosters.
     11. Awards & Recognition: Certificate cards and accolades.
     12. Photo Gallery: Grid layout with category filtering and lightboxes.
     13. Join Us & Contact Form: Membership application and club contact info.
     14. Footer & Social Links: Directory links and dynamic copyright notice.
     15. Dark Mode & Responsive Media Queries: Mobile, tablet, and desktop adaptations.
   ============================================================================ */


/* ============================================================================
   1. RESET & GLOBAL BASE SETTINGS
   ============================================================================
   Ensures the website displays identically across Chrome, Safari, Edge, and Firefox.
   ============================================================================ */

/* Box Sizing: Widths and heights include padding and borders so layouts never break */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Enable smooth scrolling for anchor links (e.g. clicking "About" slides smoothly) */
html {
    scroll-behavior: smooth;
}

/* Base Body Typography and Clean Canvas */
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #172033;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent accidental horizontal scrollbars */
}

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

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

button {
    font: inherit;
}

/* Improve tap responsiveness on mobile touchscreen devices (removes 300ms tap delay) */
a, button, input, select, textarea,
.nav-dropdown-toggle, .theme-toggle, .menu-toggle,
.project-card, .minimap-dot, .scroll-top-dial, .hero-btn, .btn,
.people-card, .achievement-card, .publication-card {
    touch-action: manipulation;
}


/* ============================================================================
   2. DESIGN TOKENS & CSS VARIABLES
   ============================================================================
   Central design variables: update a color here and it updates across the entire site!
   ============================================================================ */

:root {

    /* --- Brand Color Palette: "Green Rebel" --- */
    --navy: #0b2e21;           /* Deep Forest Green (Header, Footers, Dark accents) */
    --blue: #10b981;           /* Vibrant Emerald (Primary Brand Action & Highlights) */
    --light-blue: #eafaf1;     /* Fresh Mint Tint (Light card backgrounds & pill badges) */

    --rebel-forest: #0b2e21;
    --rebel-deep: #134633;
    --rebel-emerald: #10b981;
    --rebel-mint: #eafaf1;
    --rebel-light: #f7faf8;
    --rebel-amber: #f59e0b;    /* Warm Gold/Amber (Rotary Theme & Star highlights) */

    --white: #ffffff;
    --black: #111111;

    --text: #172922;           /* High contrast body text for effortless reading */
    --muted: #536b60;          /* Subtle secondary text (dates, subtitles, captions) */

    --light: #f7faf8;          /* Light gray-green section background */
    --border: #e1ede5;         /* Crisp card borders */

    --accent: #f59e0b;

    /* --- Accessibility & Contrast Safe Emerald ---
       While --blue (#10b981) looks great as a button background, it fails WCAG AA
       contrast when used as text on white. These two tokens guarantee high contrast: */
    --emerald-text: #067a52;      /* 4.6:1 contrast ratio on white backgrounds */
    --emerald-strong: #047857;    /* 4.9:1 contrast ratio under white text */

    --max-width: 1200px;       /* Standard maximum container width */

    /* --- Box Shadows & Glassmorphism --- */
    --shadow:
        0 12px 35px rgba(11, 46, 33, 0.07);

    /* 3D Depth & Lighting Elevation Tokens */
    --shadow-3d: 0 16px 36px -8px rgba(11, 46, 33, 0.09), 0 6px 12px -4px rgba(11, 46, 33, 0.04);
    --shadow-hover-3d: 0 28px 60px -12px rgba(16, 185, 129, 0.22), 0 16px 24px -6px rgba(11, 46, 33, 0.08);
    --shadow-glass: 0 12px 35px rgba(11, 46, 33, 0.06);
    --glow-blue: 0 0 25px rgba(16, 185, 129, 0.35);
    --glow-accent: 0 0 25px rgba(245, 158, 11, 0.35);
    --perspective: 1000px;

}

/* ============================================================================
   3. SCROLL PROGRESS BAR & AMBIENT 3D GLOWING ORBS
   ============================================================================ */

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #10b981, #34d399, #f59e0b);
    z-index: 9999;
    transition: width 0.06s linear;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.8), 0 0 6px rgba(245, 158, 11, 0.6);
    pointer-events: none;
}

.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0.16;
    pointer-events: none;
    z-index: -1;
    will-change: transform;
}

.ambient-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #10b981 0%, #34d399 65%, transparent 80%);
    top: 6%;
    right: -120px;
    animation: orbFloat1 20s ease-in-out infinite alternate;
}

.ambient-orb-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #f59e0b 0%, #fbbf24 55%, transparent 80%);
    bottom: 12%;
    left: -140px;
    opacity: 0.14;
    animation: orbFloat2 24s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-60px, 80px) scale(1.1); }
}

@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(75px, -65px) scale(1.12); }
}


/* =========================================================
   3. GENERAL LAYOUT
   ========================================================= */

.section-container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-label {
    color: var(--emerald-text);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 15px;
}

.section-heading h2 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.05;
    color: var(--navy);
    letter-spacing: -0.04em;
}

.section-heading h2 span {
    color: var(--emerald-text);
}

.section-intro {
    color: var(--muted);
    max-width: 650px;
    margin: 20px auto 0;
    font-size: 1.05rem;
}


/* =========================================================
   4. NAVIGATION
   ========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
    width: 100%;
    height: 78px;

    margin: 0;

    padding-left: 2cm;
    padding-right: 2cm;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;

    text-decoration: none;
    color: var(--navy);

    min-width: 0;
    flex-shrink: 1;
}

.brand-logo {
    width: 52px;
    height: 52px;

    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    align-items: center;
    min-width: 0;
}

.brand-short {
    display: none;
}

.brand-full {
    display: block;

    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.2;

    max-width: none;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;

    flex-shrink: 0;
}

.nav-menu a {
    color: var(--text);

    font-size: 0.83rem;
    font-weight: 600;

    transition: color 0.25s ease;
}

.nav-menu a:hover {
    color: var(--emerald-text);
}

/* =========================================================
   NAVIGATION DROPDOWNS
   ========================================================= */

.nav-item.has-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
    color: var(--text);
    font-size: 0.83rem;
    font-weight: 600;
    padding: 6px 0;
    transition: color 0.25s ease;
    text-decoration: none;
}

.nav-dropdown-toggle:hover,
.nav-item.has-dropdown:hover .nav-dropdown-toggle,
.nav-item.has-dropdown.is-open .nav-dropdown-toggle {
    color: var(--emerald-text);
}

.dropdown-chevron {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
    flex-shrink: 0;
    opacity: 0.75;
}

.nav-item.has-dropdown:hover .dropdown-chevron,
.nav-item.has-dropdown.is-open .dropdown-chevron,
.nav-item.has-dropdown:focus-within .dropdown-chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--emerald-text);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(11, 46, 33, 0.10);
    border-radius: 14px;
    box-shadow: 0 18px 42px -4px rgba(11, 46, 33, 0.14),
                0 8px 18px -2px rgba(11, 46, 33, 0.06);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.22s ease;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Hover bridge to keep dropdown open during mouse transit */
.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown.is-open .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 9px;
    font-size: 0.83rem !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
    position: relative;
    border-bottom: none !important;
}

.dropdown-item::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-strong);
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.18s ease, transform 0.18s ease;
    flex-shrink: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--rebel-mint) !important;
    color: var(--navy) !important;
    transform: translateX(3px);
}

.dropdown-item:hover::before,
.dropdown-item:focus::before {
    opacity: 1;
    transform: scale(1);
}


.nav-cta-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-strong);
    color: #ffffff !important;
    padding: 9px 22px;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
    background: #059669;
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.45);
}

.menu-toggle {
    display: none;

    border: none;
    background: transparent;

    font-size: 1.7rem;
    color: var(--navy);

    cursor: pointer;
}


/* =========================================================
   5. HERO — GREEN REBEL EDITORIAL STYLE
   ========================================================= */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #061e15;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 31, 22, 0.94) 0%,
            rgba(7, 31, 22, 0.75) 45%,
            rgba(7, 31, 22, 0.2) 100%
        );

    pointer-events: none;
}

.hero-container {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 920px;
    padding: 100px 0 90px;
    background: transparent;
    position: relative;
    z-index: 3;
}

.hero-eyebrow {
    display: inline-block;

    margin-bottom: 22px;
    padding: 8px 16px;

    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 9999px;

    background: rgba(16, 185, 129, 0.12);

    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;

    color: #a7f3d0;
}

/* STATEMENT CAROUSEL */
.hero-statement-carousel {
    position: relative;
    margin: 15px 0 20px;
    min-height: 155px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.2, 0, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
    pointer-events: none;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-slide .hero-slide-title {
    margin: 0;
    font-size: clamp(2.9rem, 6.4vw, 5.2rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.hero-slide .hero-slide-title span {
    color: #34d399;
}

.hero-carousel-dots {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.carousel-dot {
    width: 24px;
    height: 5px;
    border-radius: 9999px;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.carousel-dot.active {
    width: 44px;
    background: #34d399;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
}

.hero-description {
    max-width: 650px;
    margin: 24px 0 12px;
    font-size: 1.12rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
}

.hero-sponsor {
    font-size: 0.88rem;
    font-weight: 600;
    color: #a7f3d0;
    margin-bottom: 28px;
}

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

.btn-rebel-primary {
    background: var(--emerald-strong);
    color: #ffffff !important;
    border-radius: 9999px;
    font-weight: 700;
    padding: 15px 34px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.25s ease, background 0.25s ease;
}

.btn-rebel-primary:hover {
    transform: translateY(-3px) scale(1.02);
    background: #036847;
    box-shadow: 0 16px 35px rgba(16, 185, 129, 0.45);
}

.btn-rebel-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 9999px;
    padding: 15px 30px;
    backdrop-filter: blur(8px);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1), background 0.25s ease, border-color 0.25s ease;
}

.btn-rebel-outline:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.hero-floating-badge {
    position: absolute;
    bottom: 22px;
    right: 22px;
    background: rgba(11, 46, 33, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 9999px;
    padding: 10px 18px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    transform: translateZ(28px);
}

.hero-floating-badge .badge-icon {
    font-size: 1.4rem;
}

.hero-floating-badge strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-floating-badge small {
    display: block;
    font-size: 0.72rem;
    color: #a7f3d0;
}

.hero-meta {
    display: flex;
    align-items: center;

    margin-top: 50px;
    gap: 25px;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-meta-item strong {
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-meta-item span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}

.hero-meta-divider {
    width: 1px;
    height: 38px;

    background: rgba(255, 255, 255, 0.2);
}


/* =========================================================
   6. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 28px;

    border-radius: 50px;

    font-size: 0.85rem;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
}

.btn-primary {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.35);

    color: var(--white);

    background: rgba(255,255,255,0.05);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
}

.btn-outline {
    border: 1px solid var(--navy);

    color: var(--navy);
}

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

.hero-buttons .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.85);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.center-button {
    text-align: center;
    margin-top: 50px;
}


/* =========================================================
   7. HERO SCROLL INDICATOR
   ========================================================= */

.hero-scroll {
    position: absolute;

    bottom: 30px;
    left: 8%;

    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 0.72rem;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    opacity: 0.6;
}

.scroll-arrow {
    font-size: 1.2rem;

    animation: scrollArrow 1.6s infinite;
}

@keyframes scrollArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }

}


/* =========================================================
   ABOUT — DISTRICT & LOCATION CARD
   ========================================================= */

.about-location-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 35px;

    padding: 30px;

    background: var(--emerald-strong);
    border-radius: 24px;

    min-height: 280px;
}


/* DISTRICT MAP */

.district-map {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 250px;
    padding: 34px 20px 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f7fbf8 55%, #edf7f2 100%);
    border: 2.5px solid rgba(255, 255, 255, 0.95);
    outline: 1.5px solid rgba(16, 185, 129, 0.35);
    outline-offset: -1px;
    border-radius: 20px;
    box-shadow: 
        0 20px 42px rgba(0, 0, 0, 0.32),
        0 6px 16px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -2px 6px rgba(11, 46, 33, 0.04);
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.35s ease, 
                outline-color 0.35s ease;
    overflow: hidden;
}

.district-map:hover {
    transform: perspective(1000px) rotateX(2.5deg) rotateY(-2.5deg) translateY(-4px);
    outline-color: rgba(52, 211, 153, 0.85);
    box-shadow: 
        0 28px 58px rgba(0, 0, 0, 0.4),
        0 10px 22px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.district-map img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: 220px;
    object-fit: contain;
    filter: 
        drop-shadow(0 0 1px rgba(11, 46, 33, 0.55))
        drop-shadow(0 14px 22px rgba(11, 46, 33, 0.26))
        drop-shadow(0 3px 6px rgba(0, 0, 0, 0.14));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
    position: relative;
    z-index: 2;
}

.district-map:hover img {
    transform: scale(1.02) translateZ(16px);
    filter: 
        drop-shadow(0 0 1px rgba(11, 46, 33, 0.65))
        drop-shadow(0 20px 32px rgba(11, 46, 33, 0.35))
        drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.district-map .map-img-dark {
    display: none;
}

.district-map .map-img-light {
    display: block;
}

.map-label {
    position: absolute;
    top: 14px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #065f46;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 9999px;
    padding: 4px 12px;
    z-index: 4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(4px);
}


/* LOCATION INFORMATION */

.location-info {
    padding-left: 10px;
}

.location-eyebrow {
    display: block;

    margin-bottom: 10px;

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;

    color: rgba(255, 255, 255, 0.93);
}

.location-info h3 {
    margin: 0;

    font-size: 1.7rem;
    line-height: 1.2;

    color: #ffffff;
}

.location-subtitle {
    margin: 7px 0 25px;

    font-size: 0.9rem;

    color: rgba(255, 255, 255, 0.75);
}


/* OUR PRESENCE */

.location-presence {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.presence-title {
    margin-bottom: 2px;

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.7);
}

.presence-location {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 0.95rem;
    font-weight: 600;

    color: #ffffff;
}

.location-dot {
    font-size: 0.7rem;
    color: #ffffff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .about-location-card {
        grid-template-columns: 1fr;
        gap: 20px;

        padding: 24px;
    }

    .district-map {
        min-height: 210px;
        padding: 30px 14px 16px;
    }

    .district-map img {
        height: 195px;
        max-width: 100%;
    }

    .map-label {
        top: 10px;
        left: 12px;
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .location-info {
        padding-left: 0;
    }

    .location-info h3 {
        font-size: 1.45rem;
    }

    }

/* =========================================================
   9. IMPACT
   ========================================================= */

.impact-section {
    background: var(--light);

    padding: 70px 0;
}

.impact-heading {
    text-align: center;
    margin-bottom: 45px;
}

.impact-heading h2 {
    margin: 8px 0 10px;
}

.impact-heading h2 span {
    color: var(--emerald-text);
}

.impact-period {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.impact-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    background: transparent;
}

.impact-card {
    background: var(--white);

    text-align: center;

    padding: 36px 20px;

    border-radius: 20px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow-3d);

    position: relative;

    overflow: hidden;

    transform-style: preserve-3d;

    transition:
        transform 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        border-color 0.35s ease;
}

.impact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover-3d);
    border-color: rgba(8, 118, 185, 0.35);
}

.impact-number {
    color: var(--navy);

    font-size: 3.2rem;

    font-weight: 800;

    letter-spacing: -0.05em;

    transform: translateZ(24px);
    transition: transform 0.3s ease;
}

.impact-label {
    color: var(--muted);

    font-size: 0.8rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    font-weight: 600;

    transform: translateZ(16px);
}


/* =========================================================
   GREEN REBEL "SERVICE MENU" SECTION
   ========================================================= */

.rebel-menu-section {
    background: #f7faf8;
    border-bottom: 1px solid var(--border);
}

.rebel-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
}

@media (min-width: 1101px) {
    .rebel-menu-card:nth-child(7) {
        grid-column: 1 / -1;
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}

.rebel-menu-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 30px 24px;
    box-shadow: var(--shadow-3d);
    display: flex;
    flex-direction: column;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.rebel-menu-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover-3d);
    border-color: rgba(16, 185, 129, 0.35);
}

.rebel-menu-card.featured {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.rebel-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.rebel-menu-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.rebel-badge {
    display: inline-block;
    background: #eafaf1;
    color: var(--emerald-text);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 9999px;
}

.rebel-badge.popular {
    background: #fef3c7;
    color: #d97706;
}

.rebel-menu-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.25;
}

.area-intro-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--muted);
    margin-bottom: 14px;
}

/* Projects inside each Area of Focus card */

.focus-projects-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 0;
}

.focus-project-item {
    background: #f8fafc;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 16px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.28s ease, 
                border-color 0.28s ease,
                background-color 0.28s ease;
}

.focus-project-item:hover {
    background: #ffffff;
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.12);
    transform: translateY(-2px);
}

.focus-project-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.35;
    margin: 0 0 6px;
}

.focus-project-desc {
    font-size: 0.83rem;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 0 14px;
}

.focus-project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #0b4632 0%, #059669 100%);
    border: 1px solid rgba(52, 211, 153, 0.7);
    border-radius: 999px;
    box-shadow: 0 3px 12px rgba(5, 150, 105, 0.28);
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    z-index: 3;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: auto;
}

.focus-project-btn .btn-arrow {
    display: inline-block;
    font-size: 1.05em;
    line-height: 1;
    transition: transform 0.25s ease;
}

.focus-project-btn:hover {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #ffffff;
    border-color: #a7f3d0;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
    transform: translateY(-2px);
}

.focus-project-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Water, Sanitation and Hygiene Special Styles */

.wash-card {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf9 100%);
    border-color: rgba(6, 182, 212, 0.35);
}

.wash-teaser-box {
    background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
    border: 1.5px dashed rgba(13, 148, 136, 0.45);
    border-radius: 16px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    text-align: left;
    position: relative;
    z-index: 2;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.wash-teaser-box:hover {
    background: linear-gradient(135deg, #ccfbf1 0%, #e6fffa 100%);
    border-color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.18);
}

.wash-teaser-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f766e;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(13, 148, 136, 0.25);
    margin-bottom: 10px;
}

.wash-teaser-headline {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f766e;
    line-height: 1.3;
    margin: 0 0 6px;
}

.wash-teaser-text {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 14px;
}

.wash-teaser-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
    border: 1px solid rgba(103, 232, 249, 0.7);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.wash-teaser-box:hover .wash-teaser-action {
    background: linear-gradient(135deg, #06b6d4 0%, #0e7490 100%);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.45);
    border-color: #cffafe;
}

.wash-teaser-box:hover .wash-teaser-action .btn-arrow {
    transform: translateX(4px);
}

/* --- WASH Modal Window --- */

.wash-modal {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.wash-modal.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.wash-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 31, 22, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wash-modal-panel {
    position: relative;
    z-index: 2;
    width: min(720px, 94vw);
    max-height: 88vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 38px 36px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.96);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wash-modal.active .wash-modal-panel {
    transform: scale(1);
}

.wash-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--navy);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.wash-modal-close:hover {
    background: #e2e8f0;
    color: #ef4444;
    transform: rotate(90deg);
}

.wash-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.wash-modal-icon {
    font-size: 2rem;
    line-height: 1;
}

.wash-modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin: 0 0 6px;
}

.wash-modal-subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0891b2;
    margin: 0 0 20px;
}

.wash-modal-body p {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 20px;
}

.wash-roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 22px 0 26px;
}

@media (max-width: 650px) {
    .wash-roadmap-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .wash-modal-panel {
        padding: 28px 20px;
    }
}

.wash-roadmap-card {
    background: #f0fdfa;
    border: 1px solid rgba(13, 148, 136, 0.25);
    border-radius: 16px;
    padding: 18px 14px;
    text-align: left;
}

.wash-roadmap-icon {
    font-size: 1.5rem;
    display: inline-block;
    margin-bottom: 8px;
}

.wash-roadmap-card h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 6px;
    line-height: 1.3;
}

.wash-roadmap-card p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

.wash-modal-callout {
    background: linear-gradient(135deg, #071f16 0%, #0d3827 100%);
    border-radius: 18px;
    padding: 24px;
    color: #ffffff;
    text-align: center;
}

.wash-modal-callout h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin: 0 0 8px;
}

.wash-modal-callout p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0 0 16px;
    line-height: 1.5;
}

.wash-modal-cta {
    display: inline-flex;
    padding: 10px 24px;
}


/* =========================================================
   GREEN REBEL CALLOUT BANNER — PLANNING AN INITIATIVE?
   ========================================================= */

.rebel-callout-section {
    padding: 0 0 80px;
    background: #f7faf8;
}

.rebel-callout-card {
    background: linear-gradient(135deg, #0b2e21 0%, #134633 60%, #16533d 100%);
    border-radius: 28px;
    padding: 50px 55px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    box-shadow: 0 20px 45px rgba(11, 46, 33, 0.18);
    position: relative;
    overflow: hidden;
}

.rebel-callout-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.rebel-callout-text {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.rebel-callout-text h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 12px 0 14px;
    letter-spacing: -0.03em;
}

.rebel-callout-text p {
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.rebel-callout-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 1000px) {
    .rebel-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rebel-callout-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 35px 30px;
    }
}

@media (max-width: 600px) {
    .rebel-menu-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   10. BOARD
   ========================================================= */

.board-section {
    background: var(--white);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}
.board-card {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 20px;

    overflow: hidden;

    position: relative;

    transform-style: preserve-3d;

    box-shadow: var(--shadow-3d);

    transition:
        transform 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        border-color 0.35s ease;
}

.board-card:hover {
    transform: translateY(-8px) scale(1.02);

    box-shadow: var(--shadow-hover-3d);

    border-color: rgba(8, 118, 185, 0.3);
}

.board-card.featured {
    grid-column: span 1;
}

.member-photo {
    aspect-ratio: 1 / 1;

    display: flex;

    align-items: center;
    justify-content: center;
}

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

.placeholder {
    background:
        linear-gradient(
            135deg,
            #e9eef3,
            #d6e0e8
        );

    color: #82909e;

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.15em;
}

.member-info {
    padding: 25px;
}

.member-role {
    color: var(--emerald-text);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.13em;

    margin-bottom: 8px;
}

.member-info h3 {
    color: var(--navy);

    font-size: 1.25rem;

    line-height: 1.2;

    margin-bottom: 8px;
}

.member-info p:last-child {
    color: var(--muted);

    font-size: 0.85rem;
}

/* =========================================================
   11. OUR PEOPLE
   ========================================================= */

.people-section {
    background: var(--light);
}


/* CATEGORY BUTTONS */

.people-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;

    margin-bottom: 55px;
}

.people-category {
    width: 100%;

    display: flex;
    align-items: center;
    gap: 20px;

    padding: 28px;

    text-align: left;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 18px;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.people-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.people-category.active {
    border-color: var(--emerald-text);
    box-shadow: var(--shadow);
}

.category-icon {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(0, 102, 179, 0.08);

    font-size: 1.5rem;
}

.category-label {
    margin: 0 0 5px;

    color: var(--emerald-text);

    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 0.13em;
}

.people-category h3 {
    margin: 0 0 8px;

    color: var(--navy);

    font-size: 1.2rem;
}

.category-action {
    color: var(--muted);

    font-size: 0.78rem;
    font-weight: 600;
}


/* PEOPLE DISPLAY */

.people-display {
    display: none;

    animation: peopleFadeIn 0.35s ease;
}

.people-display.active {
    display: block;
}

@keyframes peopleFadeIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

}


/* DISPLAY HEADING */

.people-display-heading {
    margin-bottom: 25px;
}

.people-display-heading .section-label {
    margin-bottom: 8px;
}

.people-display-heading h3 {
    margin: 0;

    color: var(--navy);

    font-size: 1.7rem;
}

.people-display-heading h3 span {
    color: var(--emerald-text);
}


/* PEOPLE GRID */

.people-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 18px;
}


/* PEOPLE CARD */

.people-card {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 14px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.people-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}


/* PHOTO */

.people-photo {
    aspect-ratio: 1 / 1;

    overflow: hidden;
}

.people-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* INFORMATION */

.people-info {
    padding: 14px 15px 16px;
}

.people-info h4 {
    margin: 0;

    color: var(--navy);

    font-size: 0.92rem;

    line-height: 1.25;
}

.people-designation {
    margin: 5px 0 0;

    color: var(--emerald-text);

    font-size: 0.68rem;

    font-weight: 700;

    line-height: 1.3;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .people-category-grid {
        grid-template-columns: 1fr;

        gap: 15px;

        margin-bottom: 40px;
    }

    .people-category {
        padding: 22px;
    }

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

        gap: 14px;
    }

}


@media (max-width: 600px) {

    .people-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .people-info {
        padding: 12px;
    }

    .people-info h4 {
        font-size: 0.82rem;
    }

    .people-designation {
        font-size: 0.6rem;
    }

}

/* =========================================================
   11. PROJECTS
   ========================================================= */

.projects-section {
    background: var(--light);
}

.project-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.project-card {
    background: var(--white);

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid var(--border);

    position: relative;

    transform-style: preserve-3d;

    box-shadow: var(--shadow-3d);

    transition:
        transform 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        border-color 0.35s ease;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);

    box-shadow: var(--shadow-hover-3d);

    border-color: rgba(8, 118, 185, 0.3);
}

.project-image {
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #e9eef3;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-content {
    padding: 28px;
}

.project-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 8px 14px;

    margin-bottom: 12px;
}

.project-meta span {
    color: var(--muted);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.08em;
}

.project-content h3 {
    color: var(--navy);

    font-size: 1.35rem;

    line-height: 1.2;

    margin-bottom: 12px;
}

.project-content > p {
    color: var(--muted);

    font-size: 0.9rem;

    line-height: 1.7;

    margin-bottom: 18px;
}

.project-tag {
    display: inline-block;

    padding: 6px 10px;

    border-radius: 999px;

    background: #eef4ff;

    color: var(--emerald-text);

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 0.08em;
}

.project-tag.district {
    background: #f2efff;

    color: #6652b8;
}

.project-tag.joint {
    background: #edf8f1;

    color: #287a4b;
}


/* =========================================================
   12. EVENTS
   ========================================================= */

.events-section {
    background: var(--white);
}

.events-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 25px;
}

.event-card {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 18px;

    overflow: hidden;

    display: flex;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}


/* =========================================================
   EVENT DATE
   ========================================================= */

.event-date {
    width: 125px;

    flex-shrink: 0;

    background: var(--navy);

    color: var(--white);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 25px 15px;

    text-align: center;
}

.event-day {
    display: block;

    font-size: 3rem;

    font-weight: 800;

    line-height: 1;
}

.event-month {
    display: block;

    margin-top: 6px;

    font-size: 0.8rem;

    font-weight: 800;

    letter-spacing: 0.12em;
}

.event-year {
    display: block;

    margin-top: 3px;

    font-size: 0.7rem;

    opacity: 0.75;
}


/* =========================================================
   EVENT CONTENT
   ========================================================= */

.event-content {
    padding: 28px;

    flex: 1;
}

.event-status {
    display: inline-block;

    color: var(--emerald-text);

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 0.1em;

    margin-bottom: 10px;
}

.event-content h3 {
    color: var(--navy);

    font-size: 1.35rem;

    line-height: 1.25;

    margin-bottom: 14px;
}

.event-location,
.event-time {
    color: var(--navy);

    font-size: 0.82rem;

    font-weight: 700;

    margin-bottom: 6px;
}

.event-content > p:not(.event-location):not(.event-time) {
    color: var(--muted);

    font-size: 0.88rem;

    line-height: 1.65;

    margin: 16px 0 18px;
}

.event-organised {
    color: var(--muted);

    font-size: 0.78rem;

    line-height: 1.6;

    margin-top: 12px;
}

.event-organised strong {
    color: var(--navy);
}


/* =========================================================
   EVENT LINK
   ========================================================= */

.event-link {
    display: inline-block;

    color: var(--emerald-text);

    font-size: 0.75rem;

    font-weight: 800;

    text-decoration: none;

    letter-spacing: 0.06em;

    margin-top: 4px;
}

.event-link:hover {
    text-decoration: underline;
}


/* =========================================================
   EVENT PLACEHOLDER
   ========================================================= */

.event-placeholder {
    padding: 35px;

    align-items: center;

    gap: 25px;

    background: var(--light);
}

.placeholder-icon {
    width: 65px;

    height: 65px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--white);

    border: 1px solid var(--border);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--emerald-text);

    font-size: 2rem;

    font-weight: 300;
}

/* =========================================================
   EVENT POSTER
   ========================================================= */

.event-poster {
    width: 42%;

    flex-shrink: 0;

    background: var(--light);

    overflow: hidden;
}

.event-poster img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}

.event-card:hover .event-poster img {
    transform: scale(1.03);
}

/* =========================================================
   13. GALLERY
   ========================================================= */

.gallery-section {
    background: var(--light);
}

.gallery-section .section-heading {
    margin-bottom: 35px;
}


/* GALLERY FILTERS */

.gallery-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.gallery-filter {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--muted);
    padding: 10px 18px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.gallery-filter:hover {
    color: var(--emerald-text);
    border-color: var(--emerald-text);
    transform: translateY(-2px);
}

.gallery-filter.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}


/* GALLERY GRID */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}


/* GALLERY ITEM */

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: #e9eef3;
    cursor: pointer;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-3d);
    transform-style: preserve-3d;
    transition:
        transform 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.2, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: var(--shadow-hover-3d);
}


/* SUBTLE HOVER OVERLAY */

.gallery-item::after {
    content: "VIEW";
    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -40%);
    opacity: 0;

    padding: 8px 13px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.95);
    color: var(--navy);

    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;

   pointer-events: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%);
}


/* HIDDEN FILTER ITEMS */

.gallery-item.hidden {
    display: none;
}


/* =========================================================
   GALLERY RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

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

}


@media (max-width: 700px) {

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .gallery-item {
        border-radius: 10px;
    }

    .gallery-filters {
        gap: 7px;
    }

    .gallery-filter {
        padding: 9px 13px;
        font-size: 0.64rem;
    }

}


@media (max-width: 420px) {

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

}

/* =========================================================
   15. GALLERY LIGHTBOX
   ========================================================= */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(8, 18, 35, 0.94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}


/* LIGHTBOX IMAGE */

.lightbox-content {
    position: relative;

    max-width: min(1100px, 85vw);
    max-height: 85vh;

    display: flex;
    align-items: center;
    justify-content: center;
}


.lightbox-content img {
    display: block;

    max-width: 100%;
    max-height: 85vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 12px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);
}


/* CLOSE BUTTON */

.lightbox-close {
    position: absolute;

    top: 25px;
    right: 30px;

    width: 46px;
    height: 46px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);
    color: var(--white);

    font-size: 2rem;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: rotate(90deg);
}


/* PREVIOUS / NEXT BUTTONS */

.lightbox-prev,
.lightbox-next {
    position: absolute;

    top: 50%;

    width: 48px;
    height: 48px;

    margin-top: -24px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);
    color: var(--white);

    font-size: 1.3rem;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.lightbox-prev {
    left: 25px;
}


.lightbox-next {
    right: 25px;
}


.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.22);
}


.lightbox-prev:hover {
    transform: translateX(-3px);
}


.lightbox-next:hover {
    transform: translateX(3px);
}


/* PREVENT PAGE SCROLL WHILE LIGHTBOX IS OPEN */

body.lightbox-open {
    overflow: hidden;
}


/* =========================================================
   LIGHTBOX RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .gallery-lightbox {
        padding: 20px;
    }


    .lightbox-content {
        max-width: 92vw;
        max-height: 78vh;
    }


    .lightbox-content img {
        max-height: 78vh;
        border-radius: 8px;
    }


    .lightbox-close {
        top: 15px;
        right: 15px;

        width: 42px;
        height: 42px;

        font-size: 1.7rem;
    }


    .lightbox-prev,
    .lightbox-next {
        width: 42px;
        height: 42px;

        margin-top: -21px;

        font-size: 1rem;
    }


    .lightbox-prev {
        left: 10px;
    }


    .lightbox-next {
        right: 10px;
    }

}

/* =========================================================
   ACHIEVEMENTS
========================================================= */

.achievements-section {
    background: var(--white);
}

.achievements-section .section-heading {
    margin-bottom: 60px;
}


/* =========================================================
   YEAR BLOCK
========================================================= */

.achievement-year {
    margin-bottom: 75px;
}

.achievement-year:last-child {
    margin-bottom: 0;
}


/* =========================================================
   YEAR HEADING
========================================================= */

.achievement-year-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.achievement-year-heading h3 {
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.year-line {
    width: 70px;
    height: 1px;
    background: var(--border);
}


/* =========================================================
   ACHIEVEMENT GRID
========================================================= */

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}


/* =========================================================
   ACHIEVEMENT CARD
========================================================= */

.achievement-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-3d);

    transition:
        transform 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        border-color 0.35s ease;
}

.achievement-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover-3d);
    border-color: rgba(8, 118, 185, 0.3);
}


/* =========================================================
   ACHIEVEMENT IMAGE
========================================================= */

.achievement-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9eef3;
}

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

    transition: transform 0.5s ease;
}

.achievement-card:hover .achievement-image img {
    transform: scale(1.04);
}


/* =========================================================
   ACHIEVEMENT CONTENT
========================================================= */

.achievement-content {
    padding: 24px;
}

.achievement-type {
    display: inline-block;

    color: var(--emerald-text);

    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.09em;

    margin-bottom: 10px;
}

.achievement-content h4 {
    color: var(--navy);

    font-size: 1.12rem;
    line-height: 1.3;

    margin-bottom: 8px;
}

.achievement-content p {
    color: var(--muted);

    font-size: 0.82rem;
    line-height: 1.5;

    margin: 0;
}


/* =========================================================
   LEGACY ACHIEVEMENTS — RY 2023–24
========================================================= */

.achievement-grid-legacy {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.legacy-card {
    min-height: 185px;
    display: flex;
    flex-direction: column;
}

.legacy-icon {
    width: 54px;
    height: 54px;

    margin: 24px 24px 0;

    border-radius: 50%;

    background: #eef4ff;
    color: var(--emerald-text);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.25rem;
    font-weight: 800;
}

.legacy-card .achievement-content {
    padding-top: 18px;
}

.legacy-featured {
    grid-column: span 2;
}

.legacy-featured .achievement-image {
    aspect-ratio: 16 / 8;
}
/* =========================================================
   ACHIEVEMENTS — DESKTOP 3 COLUMN LAYOUT
========================================================= */

@media (min-width: 1001px) {

    .achievement-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 25px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

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

    .achievement-grid-legacy {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legacy-featured {
        grid-column: span 2;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .achievements-section .section-heading {
        margin-bottom: 45px;
    }

    .achievement-year {
        margin-bottom: 55px;
    }

    .achievement-year-heading {
        gap: 12px;
        margin-bottom: 22px;
    }

    .achievement-year-heading h3 {
        font-size: 0.95rem;
    }

    .year-line {
        width: 35px;
    }

    .achievement-grid,
    .achievement-grid-legacy {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .legacy-featured {
        grid-column: span 1;
    }

    .achievement-content {
        padding: 21px;
    }

    .achievement-content h4 {
        font-size: 1.05rem;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .achievement-year-heading {
        gap: 9px;
    }

    .year-line {
        width: 25px;
    }

    .achievement-year-heading h3 {
        font-size: 0.88rem;
    }

}

/* =========================================================
   15. PUBLICATIONS
   ========================================================= */

.publications-section {
    background: var(--white);
}

.publications-section .section-heading {
    margin-bottom: 60px;
}

.publication-group {
    margin-bottom: 65px;
}

.publication-group:last-child {
    margin-bottom: 0;
}

.publication-group-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 30px;
}

.publication-group-heading h3 {
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.publication-group-line {
    width: 60px;
    height: 1px;
    background: var(--border);
}

.publication-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.publication-card {
    display: grid;
    grid-template-columns: 65px 1fr auto;
    align-items: center;
    gap: 20px;

    padding: 22px;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    position: relative;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-3d);

    transition:
        transform 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        border-color 0.35s ease;
}

.publication-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: var(--shadow-hover-3d);
    border-color: rgba(8, 118, 185, 0.3);
}

.publication-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eef4ff;
    color: var(--emerald-text);

    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
}

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

.publication-type {
    display: block;

    color: var(--emerald-text);

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;

    margin-bottom: 7px;
}

.publication-info h3 {
    color: var(--navy);

    font-size: 1rem;
    line-height: 1.3;

    margin-bottom: 5px;
}

.publication-info p {
    color: var(--muted);

    font-size: 0.76rem;
    line-height: 1.4;

    margin: 0;
}

.publication-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 13px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: var(--white);
    color: var(--emerald-text);

    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.07em;

    text-decoration: none;
    white-space: nowrap;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.publication-link:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);

    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   PUBLICATIONS — MOBILE
--------------------------------------------------------- */

@media (max-width: 1000px) {

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

}


@media (max-width: 700px) {

    .publications-section .section-heading {
        margin-bottom: 45px;
    }

    .publication-group {
        margin-bottom: 50px;
    }

    .publication-group-heading {
        gap: 12px;
        margin-bottom: 22px;
    }

    .publication-group-heading h3 {
        font-size: 0.95rem;
    }

    .publication-group-line {
        width: 35px;
    }

    .publication-card {
        grid-template-columns: 52px 1fr;

        gap: 15px;

        padding: 18px;
    }

    .publication-icon {
        width: 52px;
        height: 52px;

        border-radius: 10px;

        font-size: 0.65rem;
    }

    .publication-info h3 {
        font-size: 0.95rem;
    }

    .publication-info p {
        font-size: 0.72rem;
    }

    .publication-link {
        grid-column: 2;

        margin-top: -5px;
    }

}


@media (max-width: 420px) {

    .publication-card {
        padding: 16px;
        gap: 13px;
    }

    .publication-icon {
        width: 48px;
        height: 48px;
        font-size: 0.6rem;
    }

    .publication-info h3 {
        font-size: 0.9rem;
    }

}


/* =========================================================
   16. JOIN US
   ========================================================= */

.join-section {
    background: var(--navy);
    color: var(--white);
}

.join-content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 80px;
    align-items: center;
}

.join-text .section-label {
    color: #9fc5ff;
}

.join-text h2 {
    color: var(--white);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 25px;
}

.join-text h2 span {
    color: #8dbbff;
}

.join-description {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.join-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 18px;
    padding: 13px 20px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;

    background: var(--white);
    color: var(--navy);

    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.join-button:hover {
    transform: translateY(-3px);
    background: #eef4ff;
    color: var(--emerald-text);
}


/* ---------------------------------------------------------
   JOIN HIGHLIGHTS
--------------------------------------------------------- */

.join-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.join-highlight {
    min-height: 175px;

    padding: 24px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.05);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.join-highlight:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}

.join-number {
    margin-bottom: 22px;

    color: #8dbbff;

    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.join-highlight h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.join-highlight p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   JOIN US — RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1000px) {

    .join-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .join-description {
        max-width: 700px;
    }

}


@media (max-width: 700px) {

    .join-content {
        gap: 40px;
    }

    .join-text h2 {
        font-size: clamp(2.3rem, 11vw, 3.2rem);
    }

    .join-description {
        font-size: 0.88rem;
        line-height: 1.75;
    }

    .join-highlights {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .join-highlight {
        min-height: 155px;
        padding: 19px;
    }

    .join-number {
        margin-bottom: 18px;
    }

    .join-highlight h3 {
        font-size: 1rem;
    }

    .join-highlight p {
        font-size: 0.72rem;
    }

}


@media (max-width: 420px) {

    .join-highlights {
        grid-template-columns: 1fr;
    }

    .join-highlight {
        min-height: auto;
    }

}

/* =========================================================
   17. CONTACT
   ========================================================= */

.contact-section {
    background: #f7f9fc;
}

.contact-section .section-heading {
    margin-bottom: 55px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 28px;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    position: relative;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-3d);
    cursor: pointer;

    transition:
        transform 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        border-color 0.35s ease;
}

.contact-card:hover {
    transform: translateY(-7px) scale(1.02);
    box-shadow: var(--shadow-hover-3d);
    border-color: rgba(8, 118, 185, 0.3);
}

.contact-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eef4ff;
    color: var(--emerald-text);

    font-size: 1.2rem;
    font-weight: 700;
}

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

.contact-type {
    display: block;

    margin-bottom: 7px;

    color: var(--emerald-text);

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.contact-info h3 {
    color: var(--navy);

    font-size: 1.05rem;

    margin-bottom: 8px;
}

.contact-info p {
    color: var(--muted);

    font-size: 0.78rem;
    line-height: 1.6;

    margin-bottom: 14px;
}

.contact-info a {
    color: var(--navy);

    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;

    text-decoration: none;

    transition: color 0.25s ease;
}

.contact-info a:hover {
    color: var(--emerald-text);
}


@media (max-width: 1000px) {

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

}


@media (max-width: 700px) {

    .contact-section .section-heading {
        margin-bottom: 40px;
    }

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

    .contact-card {
        padding: 22px;
    }

}

/* =========================================================
   18. FOOTER
   ========================================================= */

.site-footer {
    background: #061225;
    color: var(--white);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 65px 30px 25px;
}

.footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 45px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.footer-brand p {
    max-width: 300px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    line-height: 1.5;
}

.footer-tagline {
    max-width: 260px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 22px;
    max-width: 430px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    line-height: 1.5;
}


@media (max-width: 900px) {

    .footer-main {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        justify-content: flex-start;
        max-width: 600px;
    }

}


@media (max-width: 700px) {

    .footer-container {
        padding: 50px 20px 22px;
    }

    .footer-main {
        gap: 25px;
        padding-bottom: 35px;
    }

    .footer-tagline {
        max-width: 320px;
    }

    .footer-links {
        gap: 12px 18px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

}


/* =========================================================
   19. RESPONSIVE DESIGN — TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .nav-menu {
        gap: 14px;
    }

    .nav-menu a {
        font-size: 0.75rem;
    }

    .brand-full {
        display: none;
    }

    .about-content {
        gap: 40px;
    }

}


/* =========================================================
   20. RESPONSIVE DESIGN — MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .nav-container {
        height: 70px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .brand {
        gap: 9px;
        min-width: 0;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-full {
        display: block;
        font-size: 0.78rem;
        line-height: 1.15;
        white-space: normal;
        max-width: 230px;
    }

    .brand-short {
        display: none;
    }

    .menu-toggle {
        display: block;
        flex-shrink: 0;
        margin-left: 8px;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    /* Hero */

    .hero {
    min-height: auto;
}

.hero-content {
    padding: 80px 0 65px;
}

.hero .hero-slide-title {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
}

.hero p {
    font-size: 1rem;
}

.hero-meta {
    margin-top: 40px;
    gap: 16px;
}

.hero-meta-divider {
    height: 30px;
}


    /* About */

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-highlight {
        padding: 40px;
    }


    /* Impact */

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


    /* Board */

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


    /* Projects */

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


    /* Gallery */

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


    /* Achievements */

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


    /* Contact */

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


    /* Footer */

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

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

}


/* =========================================================
   21. SMALL PHONES
   ========================================================= */

@media (max-width: 500px) {

    .nav-container {
        height: 70px;
    }

    .nav-menu {
        top: 70px;
    }

    .brand-short {
        font-size: 1.2rem;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-scroll {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .btn {
        min-height: 48px;

        padding: 0 23px;
    }

    .impact-number {
        font-size: 2.3rem;
    }

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

    .event-card {
        grid-template-columns: 70px 1fr;
    }

    .event-arrow {
        display: none;
    }

    .publication-card {
        grid-template-columns: 55px 1fr;
    }

    .publication-card .text-link {
        display: none;
    }

}
/* =========================================================
   EVENTS MOBILE
   ========================================================= */

@media screen and (max-width: 700px) {

    .events-section .events-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }


    .events-section .event-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 0;
    }


    /* Upcoming event poster */

    .events-section .event-poster {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }


    .events-section .event-poster img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    /* Event content */

    .events-section .event-content {
        padding: 24px;
    }


    /* More events placeholder */

    .events-section .event-placeholder {
        flex-direction: row;
        align-items: center;
        padding: 28px 24px;
    }

}
/* =========================================================
   ACHIEVEMENT LIGHTBOX
========================================================= */

.achievement-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(8, 18, 35, 0.94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.achievement-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.achievement-lightbox-content {
    position: relative;

    max-width: min(1100px, 88vw);
    max-height: 88vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-lightbox-content img {
    display: block;

    max-width: 100%;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);
}

.achievement-lightbox-close {
    position: fixed;

    top: 25px;
    right: 30px;

    width: 46px;
    height: 46px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    color: var(--white);

    font-size: 2rem;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.achievement-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: rotate(90deg);
}


/* =========================================================
   ACHIEVEMENT IMAGE CURSOR
========================================================= */

.achievement-image {
    cursor: pointer;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .achievement-lightbox {
        padding: 20px;
    }

    .achievement-lightbox-content {
        max-width: 92vw;
        max-height: 82vh;
    }

    .achievement-lightbox-content img {
        max-height: 82vh;
        border-radius: 8px;
    }

    .achievement-lightbox-close {
        top: 15px;
        right: 15px;

        width: 42px;
        height: 42px;

        font-size: 1.7rem;
    }

}
/* =========================================================
   HOME HERO — UPDATED LAYOUT
   ========================================================= */




.hero-sponsor {
    margin-top: 20px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero-meta {
    margin-top: 42px;
}

.hero-meta-item {
    max-width: 300px;
}

.hero-meta-item strong {
    display: block;
    margin-bottom: 7px;
}

.hero-meta-item span {
    line-height: 1.5;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */






/* =========================================================
   HERO IMAGE WRAPPER
   ========================================================= */












/* =========================================================
   HERO — TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 720px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero-visual {
        display: none;
    }

}


/* =========================================================
   HERO — MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .hero-visual {
        display: flex;
        justify-content: center;
        padding-right: 0;
        width: 100%;
    }

    .hero-visual img {
        width: min(88vw, 520px);
        max-height: none;
        height: auto;
    }

    .hero-image-wrap {
        width: min(88vw, 520px);
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-wrap img {
        width: 100%;
        max-height: none;
        height: auto;
    }

}


@media (max-width: 700px) {

    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .hero-sponsor {
        font-size: 0.7rem;
        line-height: 1.5;
    }

    .hero-meta {
        margin-top: 32px;
    }

}
/* =========================================================
   WEBSITE NOTIFICATIONS — VERSION 2.1
========================================================= */

.notification-button {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1100;

    width: 56px;
    height: 56px;

    border: none;
    border-radius: 50%;

    background: linear-gradient(135deg, #0876b9 0%, #035388 100%);
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;

    animation: floatWidget 3.5s ease-in-out infinite;
    transform-style: preserve-3d;

    transition:
        transform 0.25s cubic-bezier(0.2, 0, 0.2, 1),
        box-shadow 0.25s ease;
}

.notification-button:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 18px 40px rgba(8, 118, 185, 0.55), 0 0 25px rgba(8, 118, 185, 0.5);
}

@keyframes floatWidget {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.04);
    }
}

.notification-bell {
    font-size: 1.25rem;
    line-height: 1;
}

.notification-count {
    position: absolute;
    top: -3px;
    right: -3px;

    min-width: 20px;
    height: 20px;

    padding: 0 5px;

    border-radius: 50%;

    background: #e53935;
    color: #ffffff;

    font-size: 0.65rem;
    font-weight: 800;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #ffffff;
}


/* Notification Panel */

.notification-panel {
    position: fixed;

    right: 28px;
    bottom: 95px;

    z-index: 1099;

    width: min(380px, calc(100vw - 32px));

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 20px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);

    overflow: hidden;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px) scale(0.97);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.notification-panel.active {
    opacity: 1;
    visibility: visible;

    transform: translateY(0) scale(1);
}


/* Header */

.notification-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding: 22px 22px 18px;

    border-bottom: 1px solid var(--border);
}

.notification-label {
    margin: 0 0 5px;

    color: var(--emerald-text);

    font-size: 0.65rem;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.notification-header h3 {
    margin: 0;

    color: var(--navy);

    font-size: 1.25rem;
}

.notification-close {
    width: 32px;
    height: 32px;

    border: none;
    border-radius: 50%;

    background: var(--light);

    color: var(--muted);

    font-size: 1.4rem;
    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.notification-close:hover {
    background: var(--border);
    color: var(--navy);
}


/* Notification List */

.notification-list {
    max-height: 430px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 14px;

    padding: 19px 22px;

    border-bottom: 1px solid var(--border);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-dot {
    width: 8px;
    height: 8px;

    flex-shrink: 0;

    margin-top: 6px;

    border-radius: 50%;

    background: #b8c0c8;
}

.notification-dot.new {
    background: var(--blue);

    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.notification-status {
    display: block;

    margin-bottom: 5px;

    color: var(--emerald-text);

    font-size: 0.62rem;
    font-weight: 800;

    letter-spacing: 0.1em;
}

.notification-item h4 {
    margin: 0 0 5px;

    color: var(--navy);

    font-size: 0.92rem;
    line-height: 1.3;
}

.notification-item p {
    margin: 0 0 7px;

    color: var(--muted);

    font-size: 0.78rem;
    line-height: 1.45;
}

.notification-item small {
    color: var(--muted);

    font-size: 0.65rem;
}


/* Mobile */

@media (max-width: 600px) {

    .notification-button {
        right: 18px;
        bottom: 18px;

        width: 50px;
        height: 50px;
    }

    .notification-panel {
        right: 16px;
        bottom: 82px;

        width: calc(100vw - 32px);
    }

    .notification-header {
        padding: 19px 18px 16px;
    }

    .notification-item {
        padding: 17px 18px;
    }

}
/* =========================================================
   WEBSITE CREATOR — VERSION 2.1
========================================================= */

.website-creator-section {
    background: var(--light);
}

.website-creator-card {
    display: flex;
    align-items: center;
    gap: 35px;

    padding: 35px 40px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 24px;

    position: relative;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-3d);

    transition:
        transform 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.2, 0, 0.2, 1),
        border-color 0.35s ease;
}

.website-creator-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: var(--shadow-hover-3d);
    border-color: rgba(8, 118, 185, 0.3);
}


/* Creator Photo */

.creator-photo-wrap {
    width: 125px;
    height: 125px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 50%;

    border: 5px solid rgba(0, 102, 179, 0.08);
}

.creator-photo-wrap img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* Creator Content */

.creator-content {
    min-width: 0;
}

.creator-content .section-label {
    margin-bottom: 8px;
}

.creator-content h2 {
    margin: 0 0 12px;

    color: var(--navy);

    font-size: 1.55rem;
    line-height: 1.3;
}

.creator-content h2 span {
    color: var(--emerald-text);
}

.creator-description {
    max-width: 720px;

    margin: 0 0 16px;

    color: var(--muted);

    font-size: 0.88rem;
    line-height: 1.6;
}

.creator-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.creator-meta span {
    padding: 6px 11px;

    border-radius: 20px;

    background: rgba(0, 102, 179, 0.07);

    color: var(--emerald-text);

    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 0.04em;
}


/* Mobile */

@media (max-width: 700px) {

    .website-creator-card {
        flex-direction: column;

        text-align: center;

        gap: 22px;

        padding: 30px 22px;
    }

    .creator-photo-wrap {
        width: 105px;
        height: 105px;
    }

    .creator-content h2 {
        font-size: 1.3rem;
    }

    .creator-description {
        font-size: 0.82rem;
    }

    .creator-meta {
        justify-content: center;
    }

}

/* =========================================================
   HEADER RESPONSIVENESS — VERSION 2.2
   Prevents club name and navigation from overlapping
========================================================= */

/* Medium desktop and laptop screens */
@media (min-width: 801px) and (max-width: 1400px) {

    .nav-container {
        padding-left: 24px;
        padding-right: 24px;
        gap: 18px;
    }

    .brand {
        gap: 10px;
        flex: 0 1 auto;
        min-width: 0;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .brand-full {
        font-size: 0.92rem;
        white-space: normal;
        line-height: 1.15;
        max-width: 300px;
    }

    .nav-menu {
        gap: clamp(10px, 1.1vw, 20px);
        flex-shrink: 1;
    }

    .nav-menu a {
        font-size: clamp(0.72rem, 0.75vw, 0.83rem);
        white-space: nowrap;
    }
}


/* Switch to hamburger navigation before the header gets crowded */
@media (max-width: 1150px) {

    .nav-container {
        position: relative;
        height: 70px;
        padding-left: 18px;
        padding-right: 18px;
        justify-content: space-between;
        gap: 12px;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
        gap: 10px;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .brand-text {
        flex: 1 1 auto;
        min-width: 0;
    }

    .brand-full {
        display: block;
        max-width: 100%;
        font-size: clamp(0.78rem, 1.5vw, 0.95rem);
        line-height: 1.15;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .brand-short {
        display: none;
    }

    .menu-toggle {
        display: block;
        flex: 0 0 auto;
        margin-left: 8px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 10px 18px 16px;

        background: var(--white);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.10);

        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1001;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        display: block;
        white-space: normal;
        padding: 12px 4px;
        font-size: 0.9rem;
        border-bottom: 1px solid var(--border);
    }

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

    /* Mobile Dropdown Styling */
    .nav-item.has-dropdown {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 4px;
        font-size: 0.9rem;
        width: 100%;
    }

    .nav-item.has-dropdown .dropdown-chevron {
        margin-left: auto;
        width: 12px;
        height: 12px;
    }

    .nav-dropdown {
        position: static;
        top: auto;
        left: auto;
        transform: none !important;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(11, 46, 33, 0.03);
        margin: 0 0 8px 0;
        padding: 4px 6px;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        border-left: 2px solid var(--emerald-strong);
        border-radius: 0 10px 10px 0;
    }

    .nav-dropdown::before {
        display: none;
    }

    .nav-item.has-dropdown.is-open .nav-dropdown {
        display: flex;
    }

    .dropdown-item {
        padding: 10px 12px !important;
        font-size: 0.86rem !important;
        border-bottom: none !important;
        background: transparent !important;
        transform: none !important;
    }

    .dropdown-item:hover,
    .dropdown-item:active {
        background: var(--rebel-mint) !important;
        color: var(--navy) !important;
    }

    .nav-item.has-dropdown > .nav-dropdown-toggle {
        border-bottom: none;
    }

    .nav-menu > a:last-child,
    .nav-menu > .nav-item:last-child {
        border-bottom: none;
    }
}


/* Small mobile screens */
@media (max-width: 480px) {

    .nav-container {
        padding-left: 12px;
        padding-right: 12px;
        gap: 8px;
    }

    .brand {
        gap: 8px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-full {
        font-size: 0.76rem;
        max-width: 100%;
    }

    .menu-toggle {
        font-size: 1.55rem;
        margin-left: 4px;
    }

}


/* =========================================================
   3D CARD INTERACTIONS, SPECULAR GLARE & SCROLL REVEALS
   ========================================================= */

.tilt-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
    position: relative;
}

/* Card Specular Reflection / Dynamic Glare */
.card-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
    z-index: 10;
}

/* 3D Scroll Reveal Animation System */
.scroll-reveal-3d {
    opacity: 0;
    transform: perspective(1000px) rotateX(12deg) translateY(38px) scale(0.96);
    transition:
        opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.scroll-reveal-3d.is-revealed {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
}

/* Accessibility: Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal-3d {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .ambient-orb,
    .hero-image-wrap,
    .notification-button {
        animation: none !important;
    }

    .scroll-progress-bar {
        display: none !important;
    }
}


/* =========================================================
   FLOATING 3D SECTION MINIMAP
   ========================================================= */

.section-minimap {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 990;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 239, 0.8);
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.minimap-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #cbd5e1;
    transition: height 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                background-color 0.25s ease,
                box-shadow 0.25s ease,
                transform 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.minimap-dot:hover {
    background: #10b981;
    transform: scale(1.3);
}

.minimap-dot.active {
    height: 24px;
    width: 8px;
    border-radius: 9999px;
    background: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.75);
    transform: scale(1);
}

.minimap-tooltip {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: var(--navy);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.2, 0, 0.2, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.minimap-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -4px;
    transform: translateY(-50%);
    border-width: 4px 0 4px 4px;
    border-style: solid;
    border-color: transparent transparent transparent var(--navy);
}

.minimap-dot:hover .minimap-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 1024px) {
    .section-minimap {
        display: none;
    }
}


/* =========================================================
   3D CIRCULAR SCROLL PROGRESS & BACK-TO-TOP DIAL
   ========================================================= */

.scroll-top-dial {
    position: fixed;
    right: 28px;
    bottom: 96px;
    z-index: 1090;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(11, 31, 58, 0.15), 0 0 0 1px rgba(226, 232, 239, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(0.85);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease;
}

.scroll-top-dial.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.scroll-top-dial:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 16px 36px rgba(8, 118, 185, 0.28);
}

.scroll-dial-svg {
    position: absolute;
    inset: 2px;
    transform: rotate(-90deg);
    width: calc(100% - 4px);
    height: calc(100% - 4px);
}

.dial-bg {
    fill: none;
    stroke: rgba(8, 118, 185, 0.12);
    stroke-width: 3.5;
}

.dial-progress {
    fill: none;
    stroke: var(--blue);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-dasharray: 125.66;
    stroke-dashoffset: 125.66;
    transition: stroke-dashoffset 0.08s linear;
}

.dial-arrow {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.scroll-top-dial:hover .dial-arrow {
    transform: translateY(-2px);
    color: var(--emerald-text);
}


/* =========================================================
   SCROLL VELOCITY 3D PHYSICS & HORIZON LIGHTING
   ========================================================= */

.scroll-velocity-active .project-card,
.scroll-velocity-active .board-card,
.scroll-velocity-active .achievement-card,
.scroll-velocity-active .publication-card {
    transition: transform 0.15s ease-out !important;
}

.section-heading.horizon-active h2 span {
    text-shadow: 0 0 25px rgba(16, 185, 129, 0.45);
    transition: text-shadow 0.4s ease;
}


/* =========================================================
   CINEMATIC 0-100% PRELOADER & INTRO SCREEN
   ========================================================= */

body.preloader-active {
    overflow: hidden !important;
    height: 100vh;
}

html.racdcp-fast-boot body.preloader-active {
    overflow: visible !important;
    height: auto !important;
}

html.racdcp-fast-boot .site-preloader {
    display: none !important;
}

@media (max-width: 768px) {
    .site-preloader {
        transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.25s ease !important;
    }
    .preloader-backdrop-glow {
        animation: none !important;
    }
}

.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: #061911;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    will-change: transform, opacity;
    transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.5s ease;
}

.site-preloader.loaded {
    transform: translateY(-102%);
    pointer-events: none;
}

.preloader-backdrop-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(6, 25, 17, 0) 70%);
    pointer-events: none;
    animation: preloaderGlowPulse 2.4s ease-in-out infinite alternate;
}

@keyframes preloaderGlowPulse {
    0% {
        transform: scale(0.85);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.preloader-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    max-width: 520px;
    width: 90%;
}

.preloader-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.preloader-logo-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.preloader-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.preloader-glow-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(16, 185, 129, 0.6);
    animation: preloaderRingRotate 6s linear infinite;
}

@keyframes preloaderRingRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.preloader-brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.preloader-club {
    font-size: clamp(0.72rem, 1.8vw, 0.84rem);
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #a7f3d0;
    text-transform: uppercase;
}

.preloader-district {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.preloader-counter-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preloader-counter-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
    margin-bottom: 12px;
}

.preloader-number {
    font-size: clamp(4rem, 11vw, 7.2rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.preloader-percent {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #10b981;
    margin-left: 4px;
    letter-spacing: -0.02em;
}

.preloader-bar-track {
    width: 280px;
    max-width: 85vw;
    height: 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin: 8px 0 16px;
    position: relative;
}

.preloader-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #10b981 0%, #34d399 70%, #f59e0b 100%);
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.85);
    transition: width 0.04s linear;
}

.preloader-status {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    min-height: 1.2em;
    transition: opacity 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
    .site-preloader {
        display: none !important;
    }
    body.preloader-active {
        overflow: visible !important;
        height: auto !important;
    }
}





/* =========================================================
   ACCESSIBILITY UTILITIES
   ========================================================= */

/* Nothing in this project set :focus or :focus-visible before, so the
   only affordance was the UA default ring - invisible on emerald fills
   and on the 8px minimap dots. */
:focus-visible {
    outline: 3px solid var(--emerald-strong);
    outline-offset: 3px;
    border-radius: 4px;
}

.hero :focus-visible,
.about-location-card :focus-visible,
.gallery-lightbox :focus-visible,
.achievement-lightbox :focus-visible,
.rebel-callout-card :focus-visible {
    outline-color: #ffffff;
}

.minimap-dot:focus-visible,
.carousel-dot:focus-visible {
    outline-offset: 5px;
}

.gallery-item:focus-visible,
.achievement-image:focus-visible,
.project-card:focus-visible {
    outline-offset: 5px;
}

/* Visually hidden, still announced. */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100001;
    padding: 12px 20px;
    background: var(--rebel-forest);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 0 0 10px 10px;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

#main:focus {
    outline: none;
}

/* The gallery tiles and award images are divs/imgs with click handlers;
   enhance.js makes them real buttons at runtime. */
.gallery-item[role="button"],
.achievement-image[role="button"],
.project-card[role="button"] {
    cursor: pointer;
}


/* =========================================================
   PROJECT FILTER + DETAIL MODAL
   ========================================================= */

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.project-filter {
    padding: 10px 18px;
    border: 1px solid var(--border);
    background: #ffffff;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--muted);
    cursor: pointer;
    transition: color .25s ease, border-color .25s ease,
                background-color .25s ease, transform .25s ease;
}

.project-filter span {
    opacity: 0.6;
    margin-left: 4px;
}

.project-filter:hover {
    color: var(--emerald-text);
    border-color: var(--emerald-text);
    transform: translateY(-2px);
}

.project-filter.active {
    background: var(--emerald-strong);
    border-color: var(--emerald-strong);
    color: #ffffff;
}

/* display:none is load-bearing — it makes motion.js's remeasure() see a
   zero rect and stop compositing the card. opacity/visibility would
   leave it measurable and still being written to every frame. */
.project-card.hidden { display: none; }

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    flex-wrap: wrap;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #0b4632 0%, #059669 100%);
    border: 1px solid rgba(52, 211, 153, 0.7);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-btn:focus-visible {
    outline: 2px solid var(--emerald-strong);
    outline-offset: 2px;
}

.project-btn .btn-arrow {
    display: inline-block;
    font-size: 1.05em;
    line-height: 1;
    transition: transform 0.25s ease;
}

.project-card:hover .project-btn,
.project-btn:hover {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #ffffff;
    border-color: #a7f3d0;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

.project-card:hover .project-btn .btn-arrow,
.project-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.project-open-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 18px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #0b4632 0%, #059669 100%);
    border: 1px solid rgba(52, 211, 153, 0.7);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-open-hint {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #ffffff;
    border-color: #a7f3d0;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

/* --- modal --- */

.project-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 31, 22, 0.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.project-modal-panel {
    position: relative;
    width: min(1000px, 94vw);
    max-height: 88vh;
    overflow: hidden;
    background: #ffffff;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.project-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(7, 31, 22, 0.55);
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease;
}

.project-modal-close:hover {
    background: rgba(7, 31, 22, 0.8);
    transform: rotate(90deg);
}

.project-modal-hero {
    position: relative;
    background: #04140e;
    border-radius: 24px 0 0 24px;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-modal-hero img {
    width: 100%;
    height: 100%;
    max-height: 88vh;
    object-fit: contain;
    display: block;
    background: #04140e;
    user-select: none;
    -webkit-user-drag: none;
}

.pm-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 5;
    transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm-nav:hover {
    background: #ffffff;
    color: var(--emerald-strong);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.pm-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.pm-prev { left: 14px; }
.pm-next { right: 14px; }

.pm-counter {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(7, 31, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    z-index: 5;
}

.project-modal-body { 
    padding: 42px 38px;
    overflow-y: auto;
    max-height: 88vh;
}

.project-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.project-modal-meta .pm-avenue { color: var(--emerald-text); }

.project-modal-body h3 {
    margin: 0 0 14px;
    font-size: 1.7rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.pm-desc {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.97rem;
}

.pm-gallery-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--emerald-text);
    text-decoration: none;
}

.pm-gallery-link:hover { text-decoration: underline; }

@media (max-width: 860px) {
    .project-modal { padding: 12px; }
    .project-modal-panel { grid-template-columns: 1fr; }
    .project-modal-hero {
        border-radius: 24px 24px 0 0;
        min-height: 220px;
        max-height: 40vh;
    }
    .project-modal-body { padding: 28px 22px 34px; }
    .project-modal-body h3 { font-size: 1.35rem; }
}


/* =========================================================
   ANIMATED HERO BACKDROP  (ported from the live site)
   ========================================================= */

.hero-backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

/* The Ken Burns keyframe OWNS `transform` on this element, and an
   animation outranks an inline style — so motion.js parallaxes it
   through the --hb-x / --hb-y custom properties instead, which the
   keyframe composes in. Same pattern as the ambient orbs. */
.hero-backdrop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    animation: heroBackdropZoom 22s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes heroBackdropZoom {
    0%   { transform: translate3d(var(--hb-x, 0px), var(--hb-y, 0px), 0) scale(1.03) translate(0, 0); }
    50%  { transform: translate3d(var(--hb-x, 0px), var(--hb-y, 0px), 0) scale(1.10) translate(-1%, -1.2%); }
    100% { transform: translate3d(var(--hb-x, 0px), var(--hb-y, 0px), 0) scale(1.05) translate(1%, 0.8%); }
}

.hero-backdrop-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(6, 26, 18, 0.88) 0%,
            rgba(7, 34, 24, 0.78) 50%,
            rgba(11, 48, 34, 0.65) 100%
        ),
        radial-gradient(
            circle at 80% 25%,
            rgba(16, 185, 129, 0.22) 0%,
            transparent 55%
        ),
        radial-gradient(
            circle at 15% 85%,
            rgba(245, 158, 11, 0.15) 0%,
            transparent 50%
        );
}

.hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

/* The badge is now a pill beside the eyebrow, not a card pinned to the
   corner of an image that no longer exists. */
.hero-floating-badge {
    position: relative;
    bottom: auto;
    right: auto;
    background: rgba(11, 46, 33, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: 9999px;
    padding: 6px 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transform: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-floating-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.25);
}

.hero-floating-badge .badge-icon { font-size: 1.2rem; }
.hero-floating-badge strong { font-size: 0.8rem; }

@media (max-width: 700px) {
    .hero-badge-row { gap: 10px; }
    .hero-floating-badge { padding: 5px 13px; }
    .hero-content { padding: 80px 0 70px; }
}

/* The live site disables the Ken Burns zoom for reduced motion; carry
   that over, since this layer adds a THIRD reduced-motion block. */
@media (prefers-reduced-motion: reduce) {
    .hero-backdrop-img { animation: none !important; transform: scale(1.03) !important; }
}


/* =========================================================
   HERO CONTAINER ALIGNMENT  (after the backdrop port)
   The backdrop made .hero-container full-bleed, which left the hero
   text flush against the viewport edge while every other section sits
   in a centred 1200px column. Match them.
   ========================================================= */

.hero-container {
    width: min(1200px, 90%);
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   NAVBAR BRAND OVERFLOW  (pre-existing, visible at >=1100px)
   .brand-text is a flex item with min-width:0, so it shrinks to ~158px,
   but .brand-full is white-space:nowrap at ~382px — so the club name
   spilled across the nav links. Let it ellipsise instead of overlapping.
   ========================================================= */

.brand-text {
    overflow: hidden;
}

.brand-full {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.brand {
    min-width: 0;
    flex: 0 1 auto;
}

.nav-container > .brand {
    margin-right: 18px;
}


/* =========================================================
   NAVBAR CTA OVERFLOW  (pre-existing)
   With 12 nav links the flex row squeezed .nav-cta-btn to 89px, so
   "Take Action →" wrapped onto three lines and spilled above and
   below the 78px navbar. Pin its intrinsic width and let the brand
   (which now ellipsises) absorb the squeeze instead.
   ========================================================= */

.nav-cta-wrap {
    flex: 0 0 auto;
}

.nav-cta-btn {
    white-space: nowrap;
    flex: 0 0 auto;
}

.nav-menu {
    min-width: 0;
}

/* A min-width floor here re-creates the overlap — the flex child then
   exceeds its box instead of ellipsising. Let the brand shrink, and buy
   it room by tightening the nav gap instead. */
.brand-full { min-width: 0; }

@media (min-width: 1200px) {
    .nav-menu { gap: 17px; }
}


/* =========================================================
   BRAND TEXT RESPONSIVE  (pre-existing bug)
   .brand-short is display:none in the base rule AND in all three
   media queries, so the short form never appeared anywhere. Mean-
   while .brand-full is set to white-space:normal below 800px, so the
   full club name wrapped onto four lines and inflated the navbar; and
   between 801-1050px .brand-full is display:none, leaving no brand
   text at all. Below 1050px, show the short form instead.
   ========================================================= */

@media (max-width: 1050px) {
    .brand-short {
        display: block !important;
        font-size: 1.05rem;
        font-weight: 800;
        line-height: 1.2;
        white-space: nowrap;
        color: var(--navy);
    }

    .brand-full {
        display: none !important;
    }
}


/* =========================================================
   MODAL VISIBILITY TIMING  (all three dialogs)
   All three overlays had `visibility` inside their transition list, so
   on open the element stayed visibility:hidden until the transition
   advanced. .focus() on a visibility:hidden subtree is a no-op, which
   made focus-into-dialog depend on an animation completing — and it
   silently never happened whenever transitions were throttled.
   Flip visibility instantly on open; delay it on close so the fade out
   is still seen.
   ========================================================= */

.gallery-lightbox,
.achievement-lightbox,
.project-modal {
    transition: opacity .3s ease, visibility 0s linear .3s;
}

.gallery-lightbox.active,
.achievement-lightbox.active,
.project-modal.active {
    transition: opacity .3s ease, visibility 0s linear 0s;
}


/* =========================================================
   PAGE BANNER  (our-work.html, recognition.html)
   These pages have no hero, so they need a real visible <h1>
   and something to open on.
   ========================================================= */

.page-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 300px;
    padding: 120px 0 54px;
    overflow: hidden;
    background: #061e15;
    color: #ffffff;
}

.page-banner-backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.page-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(6, 26, 18, 0.95) 0%,
            rgba(7, 34, 24, 0.90) 52%,
            rgba(11, 48, 34, 0.82) 100%),
        radial-gradient(circle at 82% 22%,
            rgba(16, 185, 129, 0.22) 0%, transparent 56%);
}

.page-banner-inner {
    position: relative;
    z-index: 2;
}

.page-banner .section-label {
    color: #34d399;
    margin-bottom: 14px;
}

.page-banner h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5.2vw, 3.9rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.page-banner-line {
    margin: 16px 0 0;
    max-width: 560px;
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 700px) {
    .page-banner {
        min-height: 230px;
        padding: 104px 0 40px;
    }
    .page-banner-line { font-size: 0.94rem; }
}


/* =========================================================
   CURRENT-PAGE NAV STATE
   ========================================================= */

.nav-menu a.is-current,
.nav-dropdown-toggle.is-current {
    color: var(--emerald-text);
    font-weight: 700;
}

.nav-menu a.is-current::after,
.nav-dropdown-toggle.is-current::after {
    content: "";
    display: block;
    height: 2px;
    margin-top: 4px;
    border-radius: 2px;
    background: var(--emerald-strong);
}

.dropdown-item.is-current::after {
    display: none !important;
}

@media (max-width: 1150px) {
    .nav-menu a.is-current::after,
    .nav-dropdown-toggle.is-current::after { display: none; }
}

/* =========================================================
   PERFORMANCE ENGINE & LOW-END HARDWARE OPTIMIZATIONS
   ========================================================= */

/* Content visibility: Defer layout and painting of off-screen sections */
@supports (content-visibility: auto) {
    .section:not(.hero):not(.page-banner) {
        content-visibility: auto;
        contain-intrinsic-size: 1px 750px;
    }

    .gallery-grid,
    .achievements-grid,
    .publications-grid,
    .people-display {
        content-visibility: auto;
        contain-intrinsic-size: 1px 600px;
    }

    .website-creator-section,
    .site-footer {
        content-visibility: auto;
        contain-intrinsic-size: 1px 400px;
    }
}

/* Disable GPU-heavy effects on mobile, low-spec devices, and battery savers */
@media (max-width: 1024px) {
    .ambient-orb {
        display: none !important;
        animation: none !important;
    }

    .site-header,
    .navbar,
    .section-minimap,
    .nav-dropdown,
    .hero-floating-badge {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    [data-theme="dark"] .navbar {
        background: rgba(9, 17, 14, 0.98) !important;
    }
    .hero-backdrop-img {
        animation: none !important;
        transform: scale(1.03) !important;
        will-change: auto !important;
    }
}

html.low-spec .ambient-orb {
    display: none !important;
    animation: none !important;
}

html.low-spec .site-header,
html.low-spec .navbar,
html.low-spec .section-minimap,
html.low-spec .nav-dropdown,
html.low-spec .hero-floating-badge {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html.low-spec .hero-backdrop-img {
    animation: none !important;
    transform: scale(1.03) !important;
    will-change: auto !important;
}

/* Image rendering optimizations */
img {
    /* Native image sizing preserved without breaking WebKit/Chromium layout geometry */
    max-width: 100%;
}

/* =========================================================
   ROTARY YEAR ARCHIVE PAGES
   ========================================================= */

.year-subnav-wrapper {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px;
    z-index: 90;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.year-subnav {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.year-subnav::-webkit-scrollbar {
    display: none;
}

.year-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #f1f5f9;
    color: var(--navy);
    border: 1px solid rgba(11, 46, 33, 0.08);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.year-nav-pill:hover,
.year-nav-pill:focus-visible {
    background: var(--emerald-strong);
    color: #ffffff;
    border-color: var(--emerald-strong);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.archive-placeholder-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 2px dashed rgba(16, 185, 129, 0.35);
    border-radius: 20px;
    padding: 38px 26px;
    text-align: center;
    margin: 15px 0 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.archive-placeholder-card:hover {
    border-color: var(--emerald-strong);
    transform: translateY(-3px);
}

.archive-placeholder-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.archive-placeholder-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.archive-placeholder-card p {
    font-size: 0.88rem;
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

.archive-template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.archive-template-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-3d);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-template-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover-3d);
}

.archive-avatar-placeholder {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e6f4ea 0%, #d1fae5 100%);
    color: var(--emerald-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 14px;
    border: 2px solid rgba(16, 185, 129, 0.25);
}

.archive-badge-slot {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eafaf1;
    color: var(--emerald-text);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.archive-template-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 4px;
}

.archive-template-card small {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
}

.archive-project-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-3d);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover-3d);
}

.archive-project-thumb {
    height: 160px;
    background: linear-gradient(135deg, #0b2e21 0%, #15573f 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 2.5rem;
}

.archive-project-thumb-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 46, 33, 0.85);
    backdrop-filter: blur(8px);
    color: #a7f3d0;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.archive-project-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.archive-project-body h4 {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 8px;
}

.archive-project-body p {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 16px;
    flex-grow: 1;
}

.archive-project-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(11, 46, 33, 0.08);
    font-size: 0.76rem;
    color: var(--muted);
}


/* =========================================================
   ROTARY YEAR 2025–26 ARCHIVE EVENTS EXPANSION
   ========================================================= */

.archive-stats-ribbon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.archive-stat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: var(--shadow-3d);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.archive-stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--emerald-strong);
    box-shadow: var(--shadow-hover-3d);
}

.archive-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e6f4ea 0%, #d1fae5 100%);
    color: var(--emerald-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.archive-stat-info {
    display: flex;
    flex-direction: column;
}

.archive-stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.archive-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 3px;
}

/* Controls: Filters & Search */
.archive-controls-bar {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px 22px;
    box-shadow: var(--shadow-3d);
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.archive-controls-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.archive-search-wrap {
    position: relative;
    flex: 1 1 280px;
    max-width: 460px;
}

.archive-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--muted);
    pointer-events: none;
}

.archive-search-input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    font-size: 0.88rem;
    color: var(--navy);
    background: var(--light);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-family: inherit;
}

.archive-search-input:focus {
    border-color: var(--blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.archive-counter-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--emerald-text);
    background: #eafaf1;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.archive-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.archive-filter-btn {
    border: 1.5px solid var(--border);
    background: #ffffff;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 15px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.archive-filter-btn:hover {
    border-color: var(--blue);
    color: var(--navy);
    background: #f0fdf4;
}

.archive-filter-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(11, 46, 33, 0.25);
}

.archive-filter-badge {
    background: rgba(0, 0, 0, 0.08);
    font-size: 0.7rem;
    padding: 1px 6px;
    border-radius: 999px;
}

.archive-filter-btn.active .archive-filter-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Event Grid & Cards */
.archive-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 24px;
}

.archive-event-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-3d);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.archive-event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover-3d);
    border-color: rgba(16, 185, 129, 0.4);
}

.archive-event-card.hidden {
    display: none !important;
}

/* Card Header Banner */
.archive-event-banner {
    height: 210px;
    position: relative;
    overflow: hidden;
    background: #061a12;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.archive-event-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 26, 18, 0.45) 0%, rgba(6, 26, 18, 0) 35%, rgba(6, 26, 18, 0.15) 60%, rgba(6, 26, 18, 0.75) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.archive-event-card:hover .archive-event-banner::after {
    opacity: 0.85;
}

.archive-event-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.archive-event-card:hover .archive-event-banner img {
    transform: scale(1.06);
}

.archive-gallery-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(11, 46, 33, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.02em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.archive-gallery-badge .badge-icon {
    font-size: 0.82rem;
}

.archive-event-card:hover .archive-gallery-badge {
    background: #f59e0b;
    color: #0b2e21;
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.archive-event-index {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(11, 46, 33, 0.85);
    backdrop-filter: blur(8px);
    color: #a7f3d0;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(16, 185, 129, 0.3);
    z-index: 2;
}

.archive-event-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 46, 33, 0.88);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.archive-event-category-badge.gold {
    background: rgba(245, 158, 11, 0.95);
    color: #0b2e21;
    border-color: rgba(255, 255, 255, 0.4);
    font-weight: 800;
}

/* Card Body */
.archive-event-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.archive-event-meta-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.archive-event-meta-item {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.4;
}

.archive-event-meta-item.date {
    font-weight: 700;
    color: var(--emerald-text);
}

.archive-event-meta-item span.icon {
    flex-shrink: 0;
    font-size: 0.88rem;
}

.archive-event-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.35;
    margin: 0 0 12px;
}

.archive-event-desc {
    font-size: 0.86rem;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 16px;
    flex-grow: 1;
}

.archive-event-desc p {
    margin-bottom: 8px;
}

.archive-event-desc p:last-child {
    margin-bottom: 0;
}

/* Structured Highlights / Lists within descriptions */
.archive-event-bullets {
    margin: 10px 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.archive-event-bullets li {
    font-size: 0.82rem;
    color: #4b5563;
    line-height: 1.45;
    position: relative;
    padding-left: 18px;
}

.archive-event-bullets li::before {
    content: "•";
    color: var(--blue);
    font-weight: bold;
    font-size: 1rem;
    position: absolute;
    left: 4px;
    top: -2px;
}

/* Awards banner in cards */
.archive-event-awards-list {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 12px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.archive-event-awards-title {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #92400e;
    display: flex;
    align-items: center;
    gap: 6px;
}

.archive-event-award-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: #78350f;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Card Footer Tags */
.archive-event-footer {
    padding-top: 14px;
    border-top: 1px solid rgba(11, 46, 33, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.archive-event-tag {
    font-size: 0.72rem;
    font-weight: 700;
    background: #eafaf1;
    color: var(--emerald-text);
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.archive-event-tag.special {
    background: #fef3c7;
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.3);
}

/* Empty search state */
.archive-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    background: #ffffff;
    border: 2px dashed var(--border);
    border-radius: 20px;
    color: var(--muted);
}

.archive-no-results .no-results-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.archive-no-results h4 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    .archive-events-grid {
        grid-template-columns: 1fr;
    }
    .archive-controls-top {
        flex-direction: column;
        align-items: stretch;
    }
    .archive-search-wrap {
        max-width: 100%;
    }
    .archive-filter-row {
        overflow-x: auto;
        padding-bottom: 4px;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .archive-filter-btn {
        flex-shrink: 0;
    }
}





/* =========================================================
   ARCHIVE EVENT GALLERY LIGHTBOX
========================================================= */
body.archive-lightbox-open {
    overflow: hidden !important;
}

.archive-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.archive-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.archive-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 16, 11, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
}

.archive-lightbox-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    background: rgba(11, 46, 33, 0.7);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.archive-lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 30, 22, 0.65);
    backdrop-filter: blur(12px);
}

.archive-lightbox-header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.archive-lightbox-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.archive-lightbox-badge {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 3px 10px;
    border-radius: 999px;
}

.archive-lightbox-counter {
    font-size: 0.75rem;
    font-weight: 700;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 2px 9px;
    border-radius: 999px;
}

.archive-lightbox-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 2px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.archive-lightbox-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.archive-lightbox-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s ease;
    margin-left: 16px;
}

.archive-lightbox-close:hover {
    background: rgba(239, 68, 68, 0.8);
    border-color: rgba(239, 68, 68, 1);
    transform: rotate(90deg) scale(1.05);
}

.archive-lightbox-stage {
    position: relative;
    flex: 1;
    min-height: 280px;
    max-height: calc(88vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

.archive-lightbox-image-wrap {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-lightbox-img {
    max-width: 100%;
    max-height: calc(85vh - 200px);
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: block;
}

.archive-lightbox-img.loading {
    opacity: 0.4;
    transform: scale(0.98);
}

.archive-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11, 46, 33, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.archive-lightbox-nav:hover {
    background: #10b981;
    color: #0b2e21;
    border-color: #a7f3d0;
    transform: translateY(-50%) scale(1.1);
}

.archive-lightbox-nav.prev {
    left: 20px;
}

.archive-lightbox-nav.next {
    right: 20px;
}

.archive-lightbox-nav.disabled {
    opacity: 0.25;
    pointer-events: none;
    display: none;
}

.archive-lightbox-thumbnails {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    overflow-x: auto;
    background: rgba(5, 20, 14, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-overflow-scrolling: touch;
}

.archive-lightbox-thumbnails:empty {
    display: none;
}

.archive-lightbox-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.55;
    transition: all 0.2s ease;
    padding: 0;
    background: #0b2e21;
}

.archive-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.archive-lightbox-thumb:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.archive-lightbox-thumb.active {
    opacity: 1;
    border-color: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .archive-lightbox {
        padding: 0;
    }
    .archive-lightbox-container {
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
    }
    .archive-lightbox-header {
        padding: 12px 16px;
    }
    .archive-lightbox-title {
        font-size: 1.05rem;
    }
    .archive-lightbox-meta {
        font-size: 0.72rem;
    }
    .archive-lightbox-nav {
        width: 40px;
        height: 40px;
    }
    .archive-lightbox-nav.prev {
        left: 8px;
    }
    .archive-lightbox-nav.next {
        right: 8px;
    }
    .archive-lightbox-thumb {
        width: 48px;
        height: 48px;
    }
}

/* =========================================================
   ANIMATED AVENUE PIE / DONUT CHART COMPONENT
   ========================================================= */

.avenue-chart-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.94));
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 24px;
    padding: 36px 36px 32px;
    margin: 36px 0 40px;
    box-shadow: 0 20px 45px -10px rgba(11, 46, 33, 0.08), 0 1px 3px rgba(11, 46, 33, 0.04);
    position: relative;
    overflow: hidden;
}

.avenue-chart-wrapper::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.avenue-chart-header {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.avenue-chart-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--emerald-strong);
    text-transform: uppercase;
    background: rgba(16, 185, 129, 0.1);
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.chart-sparkle {
    font-size: 0.85rem;
}

.chart-year-badge {
    background: var(--emerald-strong);
    color: #ffffff;
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 700;
}

.avenue-chart-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--navy);
    margin: 12px 0 6px;
    letter-spacing: -0.02em;
}

.avenue-chart-title span {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.avenue-chart-subtitle {
    font-size: 0.88rem;
    color: var(--muted);
    max-width: 680px;
    line-height: 1.5;
}

.avenue-chart-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
}

/* Pie Visual & Donut Stage */
.avenue-pie-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.avenue-donut-stage {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avenue-svg-donut {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 12px 24px rgba(11, 46, 33, 0.08));
    transform: rotate(0deg);
}

.donut-track {
    stroke: rgba(11, 46, 33, 0.06);
}

.donut-segment {
    cursor: pointer;
    transform-origin: 120px 120px;
    transition: stroke-dasharray 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                stroke-width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.28s ease,
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s ease;
    outline: none;
}

.donut-segment:hover,
.donut-segment.active {
    stroke-width: 29px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.28));
}

.donut-segment.dimmed {
    opacity: 0.35;
}

.donut-ambient-glow {
    position: absolute;
    inset: 24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: donutGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes donutGlowPulse {
    0% { transform: scale(0.95); opacity: 0.6; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* Center Hub */
.avenue-donut-center {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(11, 46, 33, 0.1), inset 0 0 0 1px rgba(16, 185, 129, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    z-index: 2;
    padding: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.center-content-default,
.center-content-hover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.center-content-hover {
    position: absolute;
    opacity: 0;
    transform: scale(0.88);
    pointer-events: none;
}

.avenue-donut-center.is-hovered .center-content-default {
    opacity: 0;
    transform: scale(0.88);
}

.avenue-donut-center.is-hovered .center-content-hover {
    opacity: 1;
    transform: scale(1);
}

.center-icon {
    font-size: 1.15rem;
    line-height: 1;
    margin-bottom: 2px;
}

.center-number {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.02em;
}

.center-label {
    font-size: 0.64rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 3px;
}

.center-pill {
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--emerald-strong);
    background: rgba(16, 185, 129, 0.12);
    padding: 2px 7px;
    border-radius: 999px;
    margin-top: 4px;
    letter-spacing: 0.02em;
}

.hover-icon {
    font-size: 1.1rem;
    line-height: 1;
    margin-bottom: 2px;
}

.hover-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hover-label {
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 3px;
    white-space: nowrap;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hover-percent {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-top: 3px;
    color: #ffffff;
}

.avenue-chart-hint {
    margin-top: 14px;
    font-size: 0.72rem;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(11, 46, 33, 0.04);
    padding: 4px 12px;
    border-radius: 999px;
}

.hint-icon {
    font-size: 0.8rem;
}

/* Legend & Stat Cards */
.avenue-legend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

.avenue-stat-card {
    background: #ffffff;
    border: 1px solid rgba(11, 46, 33, 0.08);
    border-radius: 18px;
    padding: 18px 20px;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.avenue-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.avenue-stat-card.community::after { background: #10b981; }
.avenue-stat-card.club::after { background: #3b82f6; }
.avenue-stat-card.professional::after { background: #f59e0b; }
.avenue-stat-card.international::after { background: #8b5cf6; }

.avenue-stat-card:hover,
.avenue-stat-card.active {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px -8px rgba(11, 46, 33, 0.12);
}

.avenue-stat-card.community:hover,
.avenue-stat-card.community.active {
    border-color: rgba(16, 185, 129, 0.45);
    background: linear-gradient(135deg, #ffffff 60%, rgba(16, 185, 129, 0.05) 100%);
}

.avenue-stat-card.club:hover,
.avenue-stat-card.club.active {
    border-color: rgba(59, 130, 246, 0.45);
    background: linear-gradient(135deg, #ffffff 60%, rgba(59, 130, 246, 0.05) 100%);
}

.avenue-stat-card.professional:hover,
.avenue-stat-card.professional.active {
    border-color: rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, #ffffff 60%, rgba(245, 158, 11, 0.05) 100%);
}

.avenue-stat-card.international:hover,
.avenue-stat-card.international.active {
    border-color: rgba(139, 92, 246, 0.45);
    background: linear-gradient(135deg, #ffffff 60%, rgba(139, 92, 246, 0.05) 100%);
}

.avenue-stat-card:hover::after,
.avenue-stat-card.active::after {
    opacity: 1;
}

.stat-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.stat-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--navy);
}

.stat-icon {
    font-size: 1rem;
    line-height: 1;
}

.stat-percent-badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(11, 46, 33, 0.05);
    color: var(--navy);
}

.avenue-stat-card.community .stat-percent-badge {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}
.avenue-stat-card.club .stat-percent-badge {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}
.avenue-stat-card.professional .stat-percent-badge {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}
.avenue-stat-card.international .stat-percent-badge {
    background: rgba(139, 92, 246, 0.12);
    color: #6d28d9;
}

.stat-card-mid {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.stat-number-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.stat-number {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.stat-unit {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-sparkle-tag {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
}

.stat-card-bar-track {
    height: 6px;
    width: 100%;
    background: rgba(11, 46, 33, 0.06);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}

.stat-card-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card-bar-fill.community { background: linear-gradient(90deg, #10b981, #059669); }
.stat-card-bar-fill.club { background: linear-gradient(90deg, #3b82f6, #1d4ed8); }
.stat-card-bar-fill.professional { background: linear-gradient(90deg, #f59e0b, #d97706); }
.stat-card-bar-fill.international { background: linear-gradient(90deg, #8b5cf6, #6366f1); }

.stat-card-desc {
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
}

/* Responsiveness */
@media (max-width: 960px) {
    .avenue-chart-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .avenue-pie-visual {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .avenue-chart-wrapper {
        padding: 26px 20px 24px;
        border-radius: 20px;
    }
    .avenue-chart-title {
        font-size: 1.3rem;
    }
    .avenue-legend-grid {
        grid-template-columns: 1fr;
    }
    .avenue-donut-stage {
        width: 220px;
        height: 220px;
    }
    .avenue-donut-center {
        width: 114px;
        height: 114px;
    }
    .center-number {
        font-size: 1.8rem;
    }
    .hover-number {
        font-size: 1.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .donut-segment,
    .stat-card-bar-fill,
    .donut-ambient-glow {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
   AVATAR FALLBACK STYLES (MONOGRAM & ROTARY WHEEL)
========================================================= */
.member-photo.avatar-fallback,
.people-photo.avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    position: relative;
    aspect-ratio: 1 / 1;
}

.avatar-fallback-initials {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #eafaf1 100%);
    color: var(--emerald-strong, #0b2e21);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border: 3px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 8px 24px rgba(11, 46, 33, 0.12);
}

.avatar-fallback-rotary {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0c3c60 0%, #002147 100%);
    color: #e5a823;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    border: 3px solid rgba(229, 168, 35, 0.4);
    box-shadow: 0 8px 24px rgba(0, 33, 71, 0.25);
}


/* =========================================================
   22. THEME SYSTEM & DARK MODE (GREEN REBEL NOIR PALETTE)
   ========================================================= */

/* Theme Toggle Button (Desktop & Mobile) */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    border: 1px solid rgba(11, 46, 33, 0.15);
    background: rgba(11, 46, 33, 0.04);
    color: var(--navy);
    cursor: pointer;
    flex-shrink: 0;
    outline: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease,
                color 0.25s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px) scale(1.06);
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.38);
    color: var(--emerald-strong);
    box-shadow: 0 4px 14px rgba(11, 46, 33, 0.12);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.theme-toggle-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.theme-icon {
    position: absolute;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s ease,
                color 0.25s ease;
    display: block;
}

/* Light mode icon state: Moon visible, Sun hidden */
html:not([data-theme="dark"]) .theme-icon-sun {
    opacity: 0;
    transform: rotate(70deg) scale(0.3);
    pointer-events: none;
}

html:not([data-theme="dark"]) .theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    color: var(--navy);
}

/* Dark mode icon state: Sun visible & amber glowing, Moon hidden */
[data-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(52, 211, 153, 0.32);
    color: #f59e0b;
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(245, 158, 11, 0.16);
    border-color: rgba(245, 158, 11, 0.6);
    color: #fbbf24;
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
}

[data-theme="dark"] .theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    color: #f59e0b;
}

[data-theme="dark"] .theme-icon-moon {
    opacity: 0;
    transform: rotate(-70deg) scale(0.3);
    pointer-events: none;
}

/* Mobile Drawer Theme Row */
.mobile-theme-row {
    display: none;
}

@media (max-width: 800px) {
    .nav-menu .mobile-theme-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 4px;
        border-bottom: 1px solid var(--border);
        margin-top: 4px;
    }

    .mobile-theme-label {
        font-size: 0.88rem;
        font-weight: 700;
        color: var(--text);
    }

    [data-theme="dark"] .mobile-theme-label {
        color: #f0fbf5 !important;
    }

    .theme-toggle-pill {
        width: auto;
        height: 36px;
        padding: 0 14px;
        border-radius: 9999px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.04em;
    }

    .theme-toggle-pill .theme-toggle-track {
        width: 18px;
        height: 18px;
    }

    .theme-toggle-status {
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 500px) {
    .theme-toggle {
        width: 35px;
        height: 35px;
    }
    .theme-icon {
        width: 16px;
        height: 16px;
    }
    .nav-cta-wrap {
        gap: 8px;
    }
}

@media (max-width: 380px) {
    .nav-cta-btn {
        padding: 7px 14px;
        font-size: 0.78rem;
    }
}

/* Smooth Theme Switching Transition (applied when interactive) */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
    transition: background-color 0.25s ease,
                border-color 0.25s ease,
                color 0.25s ease,
                box-shadow 0.25s ease !important;
}


/* =========================================================
   DARK MODE COMPONENT OVERRIDES ([data-theme="dark"])
   ========================================================= */

[data-theme="dark"] {
    --navy: #f0fbf5;
    --text: #d6e4dc;
    --muted: #95aea3;
    --light: #0d1915;
    --border: rgba(52, 211, 153, 0.16);
    --emerald-text: #34d399;
    --emerald-strong: #059669;
    --shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    --shadow-3d: 0 16px 36px -8px rgba(0, 0, 0, 0.55), 0 6px 12px -4px rgba(0, 0, 0, 0.35);
    --shadow-hover-3d: 0 26px 55px -10px rgba(0, 0, 0, 0.75), 0 0 25px rgba(16, 185, 129, 0.25);
    --shadow-glass: 0 12px 35px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
}

[data-theme="dark"] body {
    background-color: #09110e !important;
    color: #d6e4dc !important;
}

/* Custom Scrollbars */
[data-theme="dark"] ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #070d0b;
}
[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #193328;
    border-radius: 999px;
    border: 2px solid #070d0b;
}
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #254a3b;
}

/* Selection */
[data-theme="dark"] ::selection {
    background: rgba(16, 185, 129, 0.35);
    color: #ffffff;
}

/* Headings & General Typography */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] h1 span,
[data-theme="dark"] h2 span,
[data-theme="dark"] h3 span,
[data-theme="dark"] h4 span {
    color: #34d399 !important;
}

[data-theme="dark"] p,
[data-theme="dark"] .lead {
    color: #95aea3 !important;
}

[data-theme="dark"] .section-label {
    color: #34d399 !important;
}

/* Ambient Glowing Orbs */
[data-theme="dark"] .ambient-orb {
    opacity: 0.10 !important;
}

/* Navigation Bar */
[data-theme="dark"] .navbar {
    background: rgba(9, 17, 14, 0.92) !important;
    border-bottom: 1px solid rgba(52, 211, 153, 0.12) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .brand {
    color: #f0fdf7 !important;
}

[data-theme="dark"] .brand-full,
[data-theme="dark"] .brand-short {
    color: #f0fdf7 !important;
}

[data-theme="dark"] .nav-menu a,
[data-theme="dark"] .nav-dropdown-toggle {
    color: #cbdad2 !important;
}

[data-theme="dark"] .nav-menu a:hover,
[data-theme="dark"] .nav-dropdown-toggle:hover,
[data-theme="dark"] .nav-item.has-dropdown:hover .nav-dropdown-toggle,
[data-theme="dark"] .nav-item.has-dropdown.is-open .nav-dropdown-toggle {
    color: #34d399 !important;
}

[data-theme="dark"] .dropdown-chevron {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .nav-dropdown {
    background: rgba(14, 25, 20, 0.98) !important;
    border: 1px solid rgba(52, 211, 153, 0.22) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
}

[data-theme="dark"] .dropdown-item {
    color: #d1e2da !important;
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
    background: rgba(16, 185, 129, 0.16) !important;
    color: #34d399 !important;
}

[data-theme="dark"] .nav-cta-btn {
    background: #10b981 !important;
    color: #071510 !important;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.42) !important;
}

[data-theme="dark"] .nav-cta-btn:hover {
    background: #34d399 !important;
    color: #071510 !important;
    box-shadow: 0 6px 24px rgba(52, 211, 153, 0.58) !important;
}

[data-theme="dark"] .menu-toggle {
    color: #f0fdf7 !important;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.22);
}

/* Mobile Nav Drawer */
@media (max-width: 800px) {
    [data-theme="dark"] .nav-menu {
        background: #0d1a15 !important;
        border-top: 1px solid rgba(52, 211, 153, 0.16) !important;
        border-bottom: 1px solid rgba(52, 211, 153, 0.16) !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75) !important;
    }

    [data-theme="dark"] .nav-menu a {
        color: #d1e2da !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    }

    [data-theme="dark"] .nav-item.has-dropdown {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    }
}

/* General Sections */
[data-theme="dark"] .section:not(.hero):not(.page-banner) {
    background-color: #09110e;
}

[data-theme="dark"] section[style*="background"] {
    background: #0d1915 !important;
}

/* Hero Section */
[data-theme="dark"] .hero-floating-badge {
    background: rgba(14, 28, 22, 0.88) !important;
    border: 1px solid rgba(52, 211, 153, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
[data-theme="dark"] .hero-floating-badge strong {
    color: #f0fdf7 !important;
}
[data-theme="dark"] .hero-floating-badge small {
    color: #9cb3a7 !important;
}

/* Buttons */
[data-theme="dark"] .btn-primary {
    background: #10b981 !important;
    color: #081611 !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35) !important;
}
[data-theme="dark"] .btn-primary:hover {
    background: #34d399 !important;
    color: #081611 !important;
    box-shadow: 0 12px 30px rgba(52, 211, 153, 0.5) !important;
}

[data-theme="dark"] .btn-outline {
    border-color: #34d399 !important;
    color: #34d399 !important;
}
[data-theme="dark"] .btn-outline:hover {
    background: #34d399 !important;
    color: #081611 !important;
}

/* About Section & District Map */
[data-theme="dark"] .about-section {
    background: #09110e !important;
}

[data-theme="dark"] .about-location-card {
    background: linear-gradient(135deg, #0d281e 0%, #071f16 100%) !important;
    border: 1px solid rgba(52, 211, 153, 0.25) !important;
}

[data-theme="dark"] .district-map {
    background: linear-gradient(145deg, #10211a 0%, #152c22 100%) !important;
    border: 2px solid rgba(52, 211, 153, 0.3) !important;
    outline: none !important;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .district-map:hover {
    border-color: rgba(52, 211, 153, 0.6) !important;
    box-shadow: 0 28px 58px rgba(0, 0, 0, 0.65), 0 0 25px rgba(16, 185, 129, 0.2) !important;
}

[data-theme="dark"] .district-map img {
    filter: drop-shadow(0 0 1px rgba(52, 211, 153, 0.6))
            drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5)) !important;
}

[data-theme="dark"] .district-map .map-img-light {
    display: none !important;
}

[data-theme="dark"] .district-map .map-img-dark {
    display: block !important;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .district-map .map-img-light {
        display: none !important;
    }
    :root:not([data-theme="light"]) .district-map .map-img-dark {
        display: block !important;
    }
}

[data-theme="dark"] .map-label {
    color: #34d399 !important;
    background: rgba(16, 185, 129, 0.2) !important;
    border-color: rgba(52, 211, 153, 0.35) !important;
}

[data-theme="dark"] .location-info h3 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .location-info p {
    color: #d1e2da !important;
}

/* Impact Section */
[data-theme="dark"] .impact-section {
    background: #0d1915 !important;
}

[data-theme="dark"] .impact-card {
    background: #12211c !important;
    border: 1px solid rgba(52, 211, 153, 0.16) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .impact-card:hover {
    background: #172a23 !important;
    border-color: rgba(52, 211, 153, 0.5) !important;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65), 0 0 25px rgba(16, 185, 129, 0.22) !important;
}

[data-theme="dark"] .impact-number {
    color: #34d399 !important;
    text-shadow: 0 0 22px rgba(52, 211, 153, 0.28);
}

[data-theme="dark"] .impact-label {
    color: #9cb3a7 !important;
}

/* Service Menu / Focus Areas Section */
[data-theme="dark"] .rebel-menu-section {
    background: #09110e !important;
    border-bottom-color: rgba(52, 211, 153, 0.15) !important;
}

[data-theme="dark"] .rebel-menu-card {
    background: #12211c !important;
    border: 1px solid rgba(52, 211, 153, 0.16) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .rebel-menu-card.featured {
    background: linear-gradient(180deg, #162c23 0%, #11211b 100%) !important;
    border-color: rgba(52, 211, 153, 0.35) !important;
}

[data-theme="dark"] .rebel-menu-card:hover {
    border-color: rgba(52, 211, 153, 0.5) !important;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65), 0 0 25px rgba(16, 185, 129, 0.22) !important;
}

[data-theme="dark"] .rebel-menu-card h3 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .area-intro-desc {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .rebel-badge {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
    border: 1px solid rgba(52, 211, 153, 0.3) !important;
}

[data-theme="dark"] .rebel-badge.popular {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fcd34d !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

[data-theme="dark"] .focus-project-item {
    background: #162721 !important;
    border-color: rgba(52, 211, 153, 0.2) !important;
}

[data-theme="dark"] .focus-project-item:hover {
    background: #1c322b !important;
    border-color: rgba(52, 211, 153, 0.45) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="dark"] .focus-project-title {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .focus-project-desc {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .focus-project-btn {
    background: linear-gradient(135deg, #0d3829 0%, #10b981 100%) !important;
    border-color: rgba(52, 211, 153, 0.6) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .wash-card {
    background: linear-gradient(180deg, #102422 0%, #0d1e1c 100%) !important;
    border-color: rgba(6, 182, 212, 0.35) !important;
}

[data-theme="dark"] .wash-teaser-box {
    background: rgba(6, 182, 212, 0.1) !important;
    border-color: rgba(6, 182, 212, 0.4) !important;
}

[data-theme="dark"] .wash-teaser-box h4 {
    color: #67e8f9 !important;
}

[data-theme="dark"] .wash-teaser-box p {
    color: #a5f3fc !important;
}

/* Board of Directors Section */
[data-theme="dark"] .board-section {
    background: #0d1915 !important;
}

[data-theme="dark"] .board-card {
    background: #12211c !important;
    border: 1px solid rgba(52, 211, 153, 0.16) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .board-card:hover {
    background: #172a23 !important;
    border-color: rgba(52, 211, 153, 0.45) !important;
}

[data-theme="dark"] .member-photo {
    background: #162822 !important;
}

[data-theme="dark"] .member-info h3 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .member-role {
    color: #34d399 !important;
}

[data-theme="dark"] .member-info p:last-child {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .placeholder {
    background: linear-gradient(135deg, #12231d, #182e26) !important;
    color: #6d887b !important;
}

/* Our People Section */
[data-theme="dark"] .people-section {
    background: #09110e !important;
}

[data-theme="dark"] .people-category {
    background: #12211c !important;
    border-color: rgba(52, 211, 153, 0.16) !important;
}

[data-theme="dark"] .people-category:hover {
    background: #172a23 !important;
}

[data-theme="dark"] .people-category.active {
    background: #193128 !important;
    border-color: #34d399 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.25) !important;
}

[data-theme="dark"] .people-category h3 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .category-label {
    color: #34d399 !important;
}

[data-theme="dark"] .category-action {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .category-icon {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #34d399 !important;
}

[data-theme="dark"] .people-card {
    background: #12211c !important;
    border-color: rgba(52, 211, 153, 0.16) !important;
}

[data-theme="dark"] .people-card:hover {
    background: #172a23 !important;
    border-color: rgba(52, 211, 153, 0.45) !important;
}

[data-theme="dark"] .people-photo {
    background: #162822 !important;
}

[data-theme="dark"] .people-name,
[data-theme="dark"] .people-info h4 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .people-role,
[data-theme="dark"] .people-designation {
    color: #34d399 !important;
}

[data-theme="dark"] .people-meta {
    color: #8da79b !important;
}

/* Avatar Fallbacks */
[data-theme="dark"] .member-photo.avatar-fallback,
[data-theme="dark"] .people-photo.avatar-fallback {
    background: linear-gradient(135deg, #0d1e18 0%, #122820 50%, #163228 100%) !important;
}

[data-theme="dark"] .avatar-fallback-initials {
    background: linear-gradient(135deg, #183329 0%, #1c3d31 100%) !important;
    color: #6ee7b7 !important;
    border-color: rgba(52, 211, 153, 0.45) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

/* Projects Section */
[data-theme="dark"] .projects-section {
    background: #0d1915 !important;
}

[data-theme="dark"] .project-filters {
    margin-bottom: 30px;
}

[data-theme="dark"] .project-filter {
    background: #142721 !important;
    border-color: rgba(52, 211, 153, 0.25) !important;
    color: #9cb3a7 !important;
}

[data-theme="dark"] .project-filter:hover {
    color: #34d399 !important;
    border-color: #34d399 !important;
}

[data-theme="dark"] .project-filter.active {
    background: var(--emerald-strong) !important;
    border-color: #34d399 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .project-card {
    background: #12211c !important;
    border: 1px solid rgba(52, 211, 153, 0.16) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .project-card:hover {
    background: #172a23 !important;
    border-color: rgba(52, 211, 153, 0.45) !important;
}

[data-theme="dark"] .project-content h3 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .project-content > p {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .project-meta span {
    color: #8da79b !important;
}

[data-theme="dark"] .project-image {
    background: #152721 !important;
}

[data-theme="dark"] .project-tag {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #93c5fd !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

[data-theme="dark"] .project-tag.district {
    background: rgba(139, 92, 246, 0.2) !important;
    color: #c4b5fd !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
}

[data-theme="dark"] .project-tag.joint {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
    border: 1px solid rgba(52, 211, 153, 0.3) !important;
}

/* Events Section */
[data-theme="dark"] .events-section {
    background: #09110e !important;
}

[data-theme="dark"] .event-card {
    background: #12211c !important;
    border: 1px solid rgba(52, 211, 153, 0.16) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .event-card:hover {
    background: #172a23 !important;
    border-color: rgba(52, 211, 153, 0.45) !important;
}

[data-theme="dark"] .event-title {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .event-desc {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .event-meta-item {
    color: #cbdad2 !important;
}

[data-theme="dark"] .event-meta-label {
    color: #8da79b !important;
}

[data-theme="dark"] .event-badge {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
}

[data-theme="dark"] .event-placeholder {
    background: #12211c !important;
    border: 1px dashed rgba(52, 211, 153, 0.3) !important;
    color: #9cb3a7 !important;
}

/* Gallery Section */
[data-theme="dark"] .gallery-section {
    background: #09110e !important;
}

[data-theme="dark"] .gallery-filter {
    background: #142721 !important;
    border-color: rgba(52, 211, 153, 0.25) !important;
    color: #9cb3a7 !important;
}

[data-theme="dark"] .gallery-filter:hover {
    color: #34d399 !important;
    border-color: #34d399 !important;
}

[data-theme="dark"] .gallery-filter.active {
    background: var(--emerald-strong) !important;
    border-color: #34d399 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .gallery-item {
    background: #152721 !important;
}

/* Recognition & Achievements Section */
[data-theme="dark"] .achievements-section {
    background: #09110e !important;
}

[data-theme="dark"] .achievement-card {
    background: #12211c !important;
    border: 1px solid rgba(52, 211, 153, 0.16) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .achievement-card:hover {
    background: #172a23 !important;
    border-color: rgba(52, 211, 153, 0.45) !important;
}

[data-theme="dark"] .achievement-content h4 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .achievement-content p {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .achievement-type {
    color: #34d399 !important;
}

[data-theme="dark"] .achievement-image {
    background: #152721 !important;
}

/* Publications Section */
[data-theme="dark"] .publications-section {
    background: #0d1915 !important;
}

[data-theme="dark"] .publication-card {
    background: #12211c !important;
    border: 1px solid rgba(52, 211, 153, 0.16) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .publication-card:hover {
    background: #172a23 !important;
    border-color: rgba(52, 211, 153, 0.45) !important;
}

[data-theme="dark"] .publication-content h4 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .publication-content p {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .publication-type {
    color: #34d399 !important;
}

[data-theme="dark"] .publication-meta span {
    color: #8da79b !important;
}

[data-theme="dark"] .publication-cover {
    background: #152721 !important;
}

/* Website Creator Section */
[data-theme="dark"] .website-creator-section {
    background: #0d1915 !important;
}

[data-theme="dark"] .website-creator-card {
    background: #12211c !important;
    border: 1px solid rgba(52, 211, 153, 0.2) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .website-creator-card:hover {
    background: #172a23 !important;
    border-color: rgba(52, 211, 153, 0.5) !important;
}

[data-theme="dark"] .creator-content h2 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .creator-content p {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .creator-photo-wrap {
    border-color: rgba(52, 211, 153, 0.3) !important;
}

[data-theme="dark"] .creator-role {
    color: #34d399 !important;
}

/* Join Us Section */
[data-theme="dark"] .join-section {
    background: #06130e !important;
    color: #f0fbf5 !important;
}

[data-theme="dark"] .join-text h2 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .join-text h2 span {
    color: #34d399 !important;
}

[data-theme="dark"] .join-description {
    color: #a3bbb0 !important;
}

[data-theme="dark"] .join-button {
    background: #10b981 !important;
    color: #06130e !important;
    font-weight: 800;
    border: none;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4) !important;
}

[data-theme="dark"] .join-button:hover {
    background: #34d399 !important;
    color: #06130e !important;
    box-shadow: 0 6px 24px rgba(52, 211, 153, 0.6) !important;
}

[data-theme="dark"] .join-highlight {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(52, 211, 153, 0.2) !important;
}

[data-theme="dark"] .join-highlight h3 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .join-highlight p {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .join-number {
    color: #34d399 !important;
}

/* Contact Section */
[data-theme="dark"] .contact-section {
    background: #0d1915 !important;
}

[data-theme="dark"] .contact-card {
    background: #12211c !important;
    border: 1px solid rgba(52, 211, 153, 0.16) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .contact-card:hover {
    background: #172a23 !important;
    border-color: rgba(52, 211, 153, 0.45) !important;
}

[data-theme="dark"] .contact-info h3 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .contact-info p {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .contact-info a {
    color: #34d399 !important;
}

[data-theme="dark"] .contact-icon {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #34d399 !important;
}

[data-theme="dark"] .contact-type {
    color: #34d399 !important;
}

/* Footer */
[data-theme="dark"] .footer {
    background: #050a08 !important;
    border-top: 1px solid rgba(52, 211, 153, 0.12) !important;
}

[data-theme="dark"] .footer-brand h3 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .footer-brand p {
    color: #8da79b !important;
}

[data-theme="dark"] .footer-col h4 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .footer-links a {
    color: #8da79b !important;
}

[data-theme="dark"] .footer-links a:hover {
    color: #34d399 !important;
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #6d887a !important;
}

/* =========================================================
   ROTARY YEAR ARCHIVES & AVENUE CHARTS IN DARK MODE
   ========================================================= */

/* Year Subnavigation Pills */
[data-theme="dark"] .year-subnav-wrapper {
    background: #09110e !important;
    border-bottom: 1px solid rgba(52, 211, 153, 0.15) !important;
}

[data-theme="dark"] .year-nav-pill {
    background: #142721 !important;
    color: #cbdad2 !important;
    border: 1px solid rgba(52, 211, 153, 0.2) !important;
}

[data-theme="dark"] .year-nav-pill:hover,
[data-theme="dark"] .year-nav-pill.active {
    background: var(--emerald-strong) !important;
    color: #ffffff !important;
    border-color: #34d399 !important;
}

[data-theme="dark"] .year-nav-pill[style*="background"] {
    background: #183328 !important;
    color: #6ee7b7 !important;
    border-color: rgba(52, 211, 153, 0.35) !important;
}

[data-theme="dark"] .year-nav-pill[style*="background"]:hover {
    background: var(--emerald-strong) !important;
    color: #ffffff !important;
}

/* Avenue Donut Chart */
[data-theme="dark"] .avenue-chart-wrapper {
    background: #101e19 !important;
    border-color: rgba(52, 211, 153, 0.2) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .avenue-chart-title {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .avenue-chart-subtitle {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .donut-track {
    stroke: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .avenue-donut-center {
    background: #142721 !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(52, 211, 153, 0.25) !important;
}

[data-theme="dark"] .center-number {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .center-label {
    color: #8da79b !important;
}

[data-theme="dark"] .hover-label {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .avenue-chart-hint {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #8da79b !important;
}

[data-theme="dark"] .avenue-stat-card {
    background: #142721 !important;
    border-color: rgba(52, 211, 153, 0.15) !important;
}

[data-theme="dark"] .avenue-stat-card:hover,
[data-theme="dark"] .avenue-stat-card.active {
    background: #1a332b !important;
    border-color: rgba(52, 211, 153, 0.4) !important;
    box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .stat-number {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .stat-unit {
    color: #8da79b !important;
}

[data-theme="dark"] .stat-card-desc {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .stat-card-bar-track {
    background: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .stat-percent-badge {
    background: rgba(255, 255, 255, 0.06);
    color: #cbdad2;
}

/* Event Archive Ribbon, Search, Filters & Cards */
[data-theme="dark"] .archive-stats-ribbon {
    border-bottom-color: rgba(52, 211, 153, 0.15) !important;
}

[data-theme="dark"] .archive-stat-card {
    background: #12211c !important;
    border-color: rgba(52, 211, 153, 0.18) !important;
}

[data-theme="dark"] .archive-stat-card:hover {
    border-color: rgba(52, 211, 153, 0.45) !important;
}

[data-theme="dark"] .archive-stat-number {
    color: #34d399 !important;
}

[data-theme="dark"] .archive-stat-label {
    color: #8da79b !important;
}

[data-theme="dark"] .archive-controls-bar {
    background: #12211c !important;
    border-color: rgba(52, 211, 153, 0.18) !important;
}

[data-theme="dark"] .archive-search-input {
    background: #172c24 !important;
    border-color: rgba(52, 211, 153, 0.25) !important;
    color: #f0fbf5 !important;
}

[data-theme="dark"] .archive-search-input:focus {
    border-color: #34d399 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
}

[data-theme="dark"] .archive-search-input::placeholder {
    color: #6d887a !important;
}

[data-theme="dark"] .archive-search-icon {
    color: #8da79b !important;
}

[data-theme="dark"] .archive-counter-text {
    color: #8da79b !important;
}

[data-theme="dark"] .archive-filter-btn {
    background: #172c24 !important;
    border-color: rgba(52, 211, 153, 0.2) !important;
    color: #cbdad2 !important;
}

[data-theme="dark"] .archive-filter-btn:hover {
    border-color: #34d399 !important;
    color: #34d399 !important;
}

[data-theme="dark"] .archive-filter-btn.active {
    background: var(--emerald-strong) !important;
    color: #ffffff !important;
    border-color: #34d399 !important;
}

[data-theme="dark"] .archive-filter-badge {
    background: rgba(255, 255, 255, 0.12) !important;
    color: inherit !important;
}

[data-theme="dark"] .archive-event-card {
    background: #12211c !important;
    border-color: rgba(52, 211, 153, 0.16) !important;
}

[data-theme="dark"] .archive-event-card:hover {
    border-color: rgba(52, 211, 153, 0.45) !important;
}

[data-theme="dark"] .archive-event-title {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .archive-event-desc {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .archive-event-meta-item {
    color: #8da79b !important;
}

[data-theme="dark"] .archive-event-footer {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .archive-event-tag {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #6ee7b7 !important;
    border-color: rgba(52, 211, 153, 0.25) !important;
}

[data-theme="dark"] .archive-event-tag.special {
    background: rgba(245, 158, 11, 0.18) !important;
    color: #fcd34d !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

[data-theme="dark"] .archive-event-award-tag {
    color: #fcd34d !important;
}

[data-theme="dark"] .archive-placeholder-card {
    background: #12211c !important;
    border-color: rgba(52, 211, 153, 0.2) !important;
}

[data-theme="dark"] .archive-placeholder-card h4 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .archive-placeholder-card p {
    color: #8da79b !important;
}

[data-theme="dark"] .archive-template-card {
    background: #12211c !important;
    border-color: rgba(52, 211, 153, 0.16) !important;
}

[data-theme="dark"] .archive-template-card h4 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .archive-project-card {
    background: #12211c !important;
    border-color: rgba(52, 211, 153, 0.16) !important;
}

[data-theme="dark"] .archive-project-body h4 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .archive-project-body p {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .archive-no-results {
    background: #12211c !important;
    border-color: rgba(52, 211, 153, 0.25) !important;
    color: #8da79b !important;
}

[data-theme="dark"] .archive-no-results h4 {
    color: #f0fbf5 !important;
}

/* Modals & Dialogs */
[data-theme="dark"] .project-modal-panel {
    background: #11211b !important;
    border: 1px solid rgba(52, 211, 153, 0.25) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85) !important;
}

[data-theme="dark"] .project-modal-body {
    background: #11211b !important;
    color: #d6e4dc !important;
}

[data-theme="dark"] .project-modal-body h3 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .project-modal-body p {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .project-modal-meta .pm-date {
    color: #8da79b !important;
}

[data-theme="dark"] .project-modal-meta .pm-avenue {
    color: #34d399 !important;
}

[data-theme="dark"] .project-modal-close {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #f0fbf5 !important;
}

[data-theme="dark"] .project-modal-close:hover {
    background: rgba(245, 158, 11, 0.25) !important;
    color: #fbbf24 !important;
}

/* Floating Minimap & Scroll Dial */
[data-theme="dark"] .section-minimap {
    background: rgba(18, 32, 26, 0.88) !important;
    border-color: rgba(52, 211, 153, 0.25) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55) !important;
}

[data-theme="dark"] .minimap-dot {
    background: rgba(255, 255, 255, 0.22) !important;
}

[data-theme="dark"] .minimap-dot.active {
    background: #34d399 !important;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.8) !important;
}

[data-theme="dark"] .minimap-tooltip {
    background: #142721 !important;
    color: #f0fbf5 !important;
    border: 1px solid rgba(52, 211, 153, 0.25) !important;
}

[data-theme="dark"] .scroll-top-dial .dial-bg {
    stroke: rgba(255, 255, 255, 0.1) !important;
    fill: #12211c !important;
}

[data-theme="dark"] .scroll-top-dial .dial-progress {
    stroke: #34d399 !important;
}

[data-theme="dark"] .scroll-top-dial .dial-arrow {
    color: #34d399 !important;
}

/* Event Archive Description & Bullet Lists */
[data-theme="dark"] .archive-event-desc {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .archive-event-bullets li {
    color: #cbdad2 !important;
}

[data-theme="dark"] .archive-event-bullets li::before {
    color: #34d399 !important;
}

[data-theme="dark"] .archive-event-awards-list {
    background: rgba(245, 158, 11, 0.12) !important;
    border-color: rgba(245, 158, 11, 0.35) !important;
}

[data-theme="dark"] .archive-event-awards-title {
    color: #fcd34d !important;
}

[data-theme="dark"] .archive-event-award-tag {
    color: #fef08a !important;
}

/* Focus outlines in dark mode */
[data-theme="dark"] :focus-visible {
    outline-color: #34d399 !important;
}

/* =========================================================
   WEBSITE UPDATES & NOTIFICATION POPUP IN DARK MODE
   ========================================================= */

/* Floating Notification Bell Button */
[data-theme="dark"] .notification-button {
    background: #11221b !important;
    color: #34d399 !important;
    border: 1.5px solid rgba(52, 211, 153, 0.35) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 18px rgba(52, 211, 153, 0.22) !important;
}

[data-theme="dark"] .notification-button:hover {
    background: #183328 !important;
    border-color: rgba(52, 211, 153, 0.65) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65), 0 0 24px rgba(52, 211, 153, 0.38) !important;
}

[data-theme="dark"] .notification-count {
    background: #ef4444 !important;
    color: #ffffff !important;
    border: 2px solid #11221b !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5) !important;
}

/* Notification Panel Modal */
[data-theme="dark"] .notification-panel {
    background: #10201a !important;
    border: 1px solid rgba(52, 211, 153, 0.25) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(16px);
}

[data-theme="dark"] .notification-header {
    border-bottom: 1px solid rgba(52, 211, 153, 0.16) !important;
}

[data-theme="dark"] .notification-label {
    color: #34d399 !important;
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.25);
}

[data-theme="dark"] .notification-header h3 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .notification-close {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #cbdad2 !important;
    border: 1px solid rgba(52, 211, 153, 0.15) !important;
}

[data-theme="dark"] .notification-close:hover {
    background: rgba(52, 211, 153, 0.22) !important;
    color: #34d399 !important;
    border-color: #34d399 !important;
}

[data-theme="dark"] .notification-item {
    border-bottom: 1px solid rgba(52, 211, 153, 0.12) !important;
}

[data-theme="dark"] .notification-item:hover {
    background: rgba(52, 211, 153, 0.04) !important;
}

[data-theme="dark"] .notification-item:last-child {
    border-bottom: none !important;
}

[data-theme="dark"] .notification-dot {
    background: rgba(255, 255, 255, 0.22) !important;
}

[data-theme="dark"] .notification-dot.new {
    background: #10b981 !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25), 0 0 10px rgba(16, 185, 129, 0.4) !important;
}

[data-theme="dark"] .notification-status {
    color: #34d399 !important;
}

[data-theme="dark"] .notification-item h4 {
    color: #f0fbf5 !important;
}

[data-theme="dark"] .notification-item p {
    color: #9cb3a7 !important;
}

[data-theme="dark"] .notification-item small {
    color: #6d887a !important;
}

[data-theme="dark"] .notification-list::-webkit-scrollbar-track {
    background: #0d1915 !important;
}

[data-theme="dark"] .notification-list::-webkit-scrollbar-thumb {
    background: rgba(52, 211, 153, 0.25) !important;
    border-radius: 4px;
}

[data-theme="dark"] .notification-list::-webkit-scrollbar-thumb:hover {
    background: rgba(52, 211, 153, 0.45) !important;
}




