/* =========================================
   CACAO Design System — Vibrant Caribbean Edition
   ========================================= */
:root {
    --color-primary: #006C67;
    --color-accent: #FFC857;
    --color-sunset: #E9724C;
    --color-lush: #1B4332;
    --color-magenta: #C2185B;
    --color-ocean: #0077B6;
    --color-gold: #FFB703;
    --color-coral: #FF6B6B;
    --color-bg: #FAF5EB;
    --color-text: #1A1A2E;
    --color-dark: #1A1A2E;
    --color-white: #FFFFFF;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 14px;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.2);
}

/* =========================================
   Reset & Basics
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    /* Clean, premium background to let the images and content shine */
    background-color: var(--color-bg);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 0.5em;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.4rem; }

a { text-decoration: none; color: var(--color-primary); transition: all 0.3s ease; }

p.lead {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-white.lead { color: rgba(255,255,255,0.9); }

/* =========================================
   Layout & Utility
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-sm { max-width: 820px; }

/* Each section is a frosted glass card or clean block */
.section {
    padding: 90px 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0; /* responsive reduction for mobile */
    }
}

/* Glassmorphism section panels */
.section-panel {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 3px solid rgba(255, 199, 87, 0.6);
    border-bottom: 3px solid rgba(255, 199, 87, 0.3);
    box-shadow: 0 4px 40px rgba(0,0,0,0.08); /* Softer shadow against cream bg */
}

.section-glass-dark {
    background: var(--color-lush); /* Solid dark instead of glass to stand out on cream */
    color: var(--color-white);
    border-top: 3px solid rgba(255, 199, 87, 0.5);
    border-bottom: 3px solid rgba(255, 199, 87, 0.3);
}

.section-glass-ocean {
    background: var(--color-primary); /* Solid ocean to stand out */
    color: var(--color-white);
    border-top: 3px solid rgba(0, 255, 200, 0.3);
    border-bottom: 3px solid rgba(255, 183, 3, 0.4);
}

.section-glass-sunset {
    background: rgba(160, 50, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 3px solid rgba(255, 160, 80, 0.5);
    border-bottom: 3px solid rgba(255, 107, 107, 0.4);
}

/* Membership page — sponsorship callout */
.section-sponsorship-red {
    background: linear-gradient(165deg, #7f1d1d 0%, #b91c1c 45%, #991b1b 100%);
    color: var(--color-white);
    border-top: 3px solid rgba(255, 199, 87, 0.55);
    border-bottom: 3px solid rgba(254, 202, 202, 0.35);
}

.section-sponsorship-red .text-white.lead {
    color: rgba(255, 255, 255, 0.92);
}

/* 2026 Festival — flyer below hero; scrim + panels keep copy readable */
.section-festival-flyer-bg {
    background-color: #120810;
    background-image: url('assets/images/2026-festival-flyer.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-top: 3px solid rgba(255, 160, 80, 0.45);
    border-bottom: 3px solid rgba(255, 107, 107, 0.35);
    overflow: hidden;
}
.section-festival-flyer-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.5) 28%,
        rgba(0, 0, 0, 0.72) 55%,
        rgba(0, 0, 0, 0.88) 100%
    );
    z-index: 0;
    pointer-events: none;
}
.section-festival-flyer-bg > .container {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.section-festival-flyer-bg h2.text-white {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85), 0 8px 32px rgba(0, 0, 0, 0.6);
}

.section-festival-flyer-bg .text-white.lead {
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 4px 24px rgba(0, 0, 0, 0.55);
    line-height: 1.55;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.section-festival-flyer-bg .festival-highlights {
    font-size: clamp(0.8125rem, 2.2vw, 0.9375rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.02em;
}

.section-festival-flyer-bg .festival-details-card {
    background: rgba(6, 4, 10, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.section-festival-flyer-bg .festival-details-card p {
    font-size: clamp(0.9375rem, 2.4vw, 1rem);
    line-height: 1.5;
}

.section-festival-flyer-bg .festival-actions {
    justify-content: center;
    gap: 14px;
}

@media (max-width: 640px) {
    .section-festival-flyer-bg {
        background-position: center top;
        min-height: 0;
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
    .section-festival-flyer-bg::before {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.68) 40%,
            rgba(0, 0, 0, 0.9) 100%
        );
    }
    .section-festival-flyer-bg > .container {
        background: rgba(0, 0, 0, 0.52);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-radius: var(--border-radius);
        padding: 2rem 1.25rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    }
    .section-festival-flyer-bg .festival-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .section-festival-flyer-bg .festival-actions .btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

@media (min-width: 641px) {
    .section-festival-flyer-bg > .container {
        padding: 2.25rem 2.5rem 2.5rem;
        background: rgba(0, 0, 0, 0.38);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: var(--border-radius);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    }
}

/* =========================================
   Festival countdown (home + festival page; main.js drives [data-festival-countdown])
   ========================================= */
.section-countdown-bridge {
    padding: 48px 0 52px;
    background: linear-gradient(180deg, #f0ebe2 0%, var(--color-bg) 100%);
    border-top: 1px solid rgba(27, 67, 50, 0.12);
    border-bottom: 1px solid rgba(194, 24, 91, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .section-countdown-bridge {
        padding: 36px 0 40px;
    }
}

.festival-countdown {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.festival-countdown-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    color: var(--color-lush);
    margin-bottom: 0.65em;
    font-weight: 700;
}

.festival-countdown--bridge .festival-countdown-heading {
    color: var(--color-lush);
}

.text-center .festival-countdown-heading::after {
    margin-left: auto;
    margin-right: auto;
}

.countdown-units {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 3vw, 18px);
    max-width: 520px;
    margin: 0 auto 1rem;
}

.cd-unit {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(27, 67, 50, 0.12);
    border-radius: var(--border-radius);
    padding: 14px 8px 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.festival-countdown--bridge .cd-unit {
    border-color: rgba(194, 24, 91, 0.15);
}

.cd-value {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 5vw, 2.35rem);
    font-weight: 700;
    color: var(--color-magenta);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.cd-label {
    display: block;
    margin-top: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(26, 26, 46, 0.65);
}

.festival-countdown-sub {
    font-size: 0.9rem;
    color: rgba(26, 26, 46, 0.75);
    margin: 0.5rem 0 0;
    line-height: 1.45;
}

.festival-countdown-msg {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-lush);
    margin: 1rem 0 0;
    line-height: 1.45;
}

.festival-countdown--home {
    margin: 0 auto 2.75rem;
    padding: 1.75rem 1.5rem 1.5rem;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(0, 108, 103, 0.15);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.festival-countdown--home .festival-countdown-heading {
    margin-top: 0;
}

.festival-countdown--home .cd-value {
    color: var(--color-primary);
}

.festival-countdown--home .festival-countdown-sub {
    margin-top: 0.75rem;
}

.festival-countdown-cta {
    margin: 1.25rem 0 0;
}

.festival-countdown-cta .btn {
    margin: 0;
}

@media (max-width: 420px) {
    .countdown-units {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.festival-countdown.countdown--live .festival-countdown-sub,
.festival-countdown.countdown--ended .festival-countdown-sub {
    display: none;
}

.festival-countdown.countdown--live .festival-countdown-msg[data-cd-live],
.festival-countdown.countdown--ended .festival-countdown-msg[data-cd-ended] {
    margin-top: 0.5rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 15px;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-accent {
    background: linear-gradient(135deg, #FFC857, #FFB703);
    color: #1A1A2E;
    box-shadow: 0 4px 20px rgba(255, 183, 3, 0.5);
}
.btn-accent:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(255, 183, 3, 0.65);
}

.btn-secondary {
    background: transparent;
    border: 2.5px solid rgba(255,255,255,0.85);
    color: white;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    transform: translateY(-2px);
}

.btn-lush {
    background: linear-gradient(135deg, #2D6A4F, #1B4332);
    color: white;
    box-shadow: 0 4px 15px rgba(27,67,50,0.4);
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(27, 67, 50, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 2px solid rgba(255, 199, 87, 0.4);
}

.nav-content {
    display: flex;
    justify-content: space-between; /* Pushes the logo to left, links to right */
    align-items: center;
    position: relative;
    min-height: 54px;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.03);
}

.logo-img {
    height: 54px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    letter-spacing: 0.5px;
}
.nav-links a:hover { color: var(--color-accent); }

/* =========================================
   Hero Section — FIXED for full-screen flag visibility
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 650px;
    background-image: url('assets/images/hero-carnival-new.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    padding-top: 70px;
}


/* Sub-page hero banner — shorter, themed per page */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 340px;
    background-image: url('assets/images/hero-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    padding-top: 90px;
    padding-bottom: 40px;
}

.page-hero .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(27, 67, 50, 0.5) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 1;
}

.page-hero .hero-content {
    margin-top: 0;
    padding-bottom: 0;
}

.page-hero .hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 10px;
}

.page-hero .hero-content p {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
}

/* ---- Per-Page Themed Heroes ---- */

/* About → Beach (turquoise tint) */
.page-hero-about {
    background-image: url('assets/images/hero-about.png');
    background-position: center 30%;
}
.page-hero-about .overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 119, 182, 0.25) 0%,
        rgba(0, 77, 122, 0.55) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

/* Leadership → Caribbean nature (tropical plants scene) */
.page-hero-leadership {
    background-image: url('assets/images/hero-leadership.png');
    background-position: center 55%;
}
.page-hero-leadership .overlay {
    background: linear-gradient(
        to bottom,
        rgba(20, 70, 40, 0.18) 0%,
        rgba(18, 58, 34, 0.5) 50%,
        rgba(0, 0, 0, 0.82) 100%
    );
}

/* Scholarship → Education (golden tint) */
.page-hero-scholarship {
    background-image: url('assets/images/hero-scholarship.png');
    background-position: center 40%;
}
.page-hero-scholarship .overlay {
    background: linear-gradient(
        to bottom,
        rgba(140, 100, 10, 0.15) 0%,
        rgba(27, 67, 50, 0.5) 50%,
        rgba(0, 0, 0, 0.82) 100%
    );
}

/* Festival → Carnival (vibrant magenta tint) */
.page-hero-festival {
    background-image: url('assets/images/hero-festival.png');
    background-position: center 25%;
}
.page-hero-festival .overlay {
    background: linear-gradient(
        to bottom,
        rgba(194, 24, 91, 0.2) 0%,
        rgba(233, 114, 76, 0.45) 50%,
        rgba(0, 0, 0, 0.82) 100%
    );
}

/* Membership → Music (deep indigo tint) */
.page-hero-membership {
    background-image: url('assets/images/hero-membership.png');
    background-position: center 35%;
}
.page-hero-membership .overlay {
    background: linear-gradient(
        to bottom,
        rgba(50, 20, 80, 0.2) 0%,
        rgba(0, 77, 122, 0.5) 50%,
        rgba(0, 0, 0, 0.82) 100%
    );
}

/* Active nav link styling */
.nav-links a.active {
    color: var(--color-accent);
    font-weight: 700;
}

.hero .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.15) 20%,
        rgba(0, 0, 0, 0.25) 40%,
        rgba(27, 67, 50, 0.35) 60%,
        rgba(0, 0, 0, 0.82) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 870px;
    margin-top: 40vh; /* Pushes text downward below her face */
    padding-bottom: 60px;
}

.hero-content h1 {
    color: white;
    text-shadow: 0 3px 20px rgba(0,0,0,0.65), 0 1px 2px rgba(0,0,0,0.7);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.92);
    text-shadow: 0 2px 12px rgba(0,0,0,0.62);
    margin-bottom: 10px;
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll-down cue */
.scroll-cue {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-cue .arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255,255,255,0.6);
    border-bottom: 2px solid rgba(255,255,255,0.6);
    transform: rotate(45deg);
    animation: scrollBounce 1.8s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

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

.about-text h2 { color: var(--color-lush); }
.about-text p { color: #333; }

/* Accent bar under headings */
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-sunset));
    border-radius: 2px;
    margin-top: 12px;
    margin-bottom: 20px;
}
.text-center h2::after { margin-left: auto; margin-right: auto; }

.rounded-shadow {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: block;
    border: 4px solid rgba(255,199,87,0.4);
}

/* Keep wider mission group photo from feeling stretched */
.mission-photo {
    width: min(100%, 560px);
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   Scholarships Section
   ========================================= */
.scholarship-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.scholarship-stat-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-accent);
    line-height: 1;
}
.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   Events Grid
   ========================================= */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: rgba(255,255,255,0.97);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    border: 1px solid rgba(255,199,87,0.3);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.card-content { padding: 26px; }

.card-content .date {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-sunset), var(--color-coral));
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}
.card-content h3 { color: var(--color-lush); margin-bottom: 8px; }
.card-content p { color: #555; font-size: 14px; }

/* =========================================
   Cultural Memories Slideshow (album stack)
   ========================================= */
.gallery-slideshow {
    position: relative;
    width: min(100%, 1100px);
    min-height: clamp(340px, 55vw, 700px);
    margin: 50px auto 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.8s ease, transform 0.8s ease;
    border-radius: inherit;
    border: 3px solid rgba(255, 199, 87, 0.35);
    box-shadow: var(--shadow-lg);
}

.gallery-slide.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    z-index: 4;
}

.album-stack .gallery-slide:nth-child(3n+1) { transform: rotate(-1.5deg) scale(0.975); }
.album-stack .gallery-slide:nth-child(3n+2) { transform: rotate(1.2deg) scale(0.975); }
.album-stack .gallery-slide:nth-child(3n) { transform: rotate(-0.6deg) scale(0.975); }

.album-stack .gallery-slide.is-active {
    transform: rotate(0deg) translateY(0) scale(1);
}

/* =========================================
   Contact / Google Form
   ========================================= */
.contact-form {
    background: rgba(255,255,255,0.12);
    padding: 40px;
    border-radius: var(--border-radius);
    margin-top: 30px;
    border: 1px solid rgba(255,255,255,0.25);
    text-align: left;
    box-shadow: var(--shadow-lg);
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.15);
    color: white;
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 10px rgba(255, 199, 87, 0.3);
}

.btn-full {
    width: 100%;
    display: block;
    margin-top: 10px;
    font-size: 16px;
    padding: 16px;
}

/* =========================================
   Hero Badge & Established
   ========================================= */
.nonprofit-badge {
    display: inline-block;
    background: rgba(255, 199, 87, 0.2);
    border: 1.5px solid rgba(255, 199, 87, 0.6);
    color: var(--color-accent);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.hero-established {
    font-size: 14px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65) !important;
    font-weight: 500;
    margin-top: 4px;
}

/* =========================================
   History Section
   ========================================= */
.history-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.85;
}

.history-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}

.founder-credit {
    margin-top: 16px;
    padding: 20px 24px;
    background: rgba(255, 199, 87, 0.12);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 10px 10px 0;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* =========================================
   Board of Directors
   ========================================= */
.board-subheading {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-top: 50px;
    margin-bottom: 28px;
}

.board-subheading::after {
    background: transparent;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
    margin-bottom: 10px;
}

.board-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.board-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius);
    padding: 22px 18px 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    text-align: center;
}

.board-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 199, 87, 0.35);
}

.board-card h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.board-card-mini {
    padding: 18px 16px;
}

.board-card-mini h4 {
    margin-bottom: 2px;
}

/* Avatar with initials */
.board-avatar {
    width: min(100%, 190px);
    aspect-ratio: 1;
    border-radius: 12px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(
        135deg,
        hsl(var(--avatar-hue, 200), 55%, 40%),
        hsl(var(--avatar-hue, 200), 65%, 30%)
    );
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.board-avatar::after {
    content: attr(data-initials);
}

.board-avatar--photo {
    padding: 0;
    overflow: hidden;
    background: rgba(26, 26, 46, 0.5);
}

.board-avatar--photo::after {
    content: none;
}

.board-avatar--photo .board-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Fine-tune Karisa crop so face sits centered in circular frame */
.board-avatar--photo .board-photo-karisa {
    object-position: center center;
}

.board-card:hover .board-avatar {
    transform: scale(1.02);
    border-color: rgba(255, 199, 87, 0.6);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Special gold ring for the founder */
.founder-avatar {
    border: 3px solid var(--color-accent);
    box-shadow: 0 0 20px rgba(255, 199, 87, 0.35), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.board-role {
    display: block;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.board-origin {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* =========================================
   Scholarship Recipients & Priority 2 Sections
   ========================================= */
.scholars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.scholar-card {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    padding: 20px 16px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scholar-card-photo {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    margin-bottom: 14px;
    border: 2px solid rgba(0, 108, 103, 0.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.scholar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.scholar-card h4 {
    color: var(--color-dark);
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 700;
}

.scholar-card p {
    font-size: 14px;
    color: rgba(0,0,0,0.6);
    margin: 0;
}
.scholar-card .scholar-year {
    display: inline-block;
    background: rgba(45, 106, 79, 0.1);
    color: var(--color-primary);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

/* Membership page */
.membership-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(245, 241, 232, 0.95) 100%);
    border-top-color: rgba(0, 108, 103, 0.2);
    border-bottom-color: rgba(255, 199, 87, 0.35);
}

.membership-section-inner {
    max-width: 1040px;
    margin: 0 auto;
}

.membership-section .text-center h2 {
    color: var(--color-lush);
}

/* Membership plans */
.membership-intro {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(26, 26, 46, 0.88);
}

.membership-plans-heading {
    margin-top: 2.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
    color: var(--color-lush);
}

.membership-plans-sub {
    max-width: 560px;
    margin: 0 auto 1.75rem;
    font-size: 15px;
    color: rgba(26, 26, 46, 0.72);
    line-height: 1.55;
}

.membership-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
    gap: 22px;
    margin-top: 8px;
    text-align: left;
    align-items: stretch;
}

.membership-plan-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 108, 103, 0.14);
    border-radius: var(--border-radius);
    padding: 22px 20px 24px;
    box-shadow: 0 2px 14px rgba(27, 67, 50, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.membership-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(27, 67, 50, 0.1);
    border-color: rgba(0, 108, 103, 0.22);
}

.membership-plan-card--highlight {
    border-color: rgba(0, 108, 103, 0.28);
    box-shadow: 0 4px 20px rgba(0, 108, 103, 0.1);
    background: linear-gradient(165deg, #ffffff 0%, rgba(0, 108, 103, 0.04) 100%);
}

.membership-plan-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-lush);
    line-height: 1.35;
}

.membership-plan-desc {
    margin: 0 0 auto;
    padding-bottom: 14px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(26, 26, 46, 0.68);
    flex-grow: 1;
}

.membership-plan-dues {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.membership-plan-dues--free {
    color: var(--color-primary);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.membership-plan-card--highlight .membership-plan-dues--free {
    color: var(--color-lush);
}

.membership-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 2.5rem;
    margin-bottom: 0;
}

.btn-membership-outline {
    background: transparent;
    border: 2px solid var(--color-lush);
    color: var(--color-lush);
    box-shadow: none;
}

.btn-membership-outline:hover {
    background: rgba(27, 67, 50, 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.membership-contact-note {
    font-size: 14px;
    color: rgba(26, 26, 46, 0.62);
    max-width: 480px;
    margin: 2rem auto 0;
}

.membership-contact-note a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.membership-contact-note a:hover {
    color: var(--color-lush);
}

/* Membership payment QR codes */
.membership-payment-wrap {
    margin-top: 2.5rem;
    padding-top: 2.25rem;
    border-top: 1px solid rgba(0, 108, 103, 0.12);
}

.membership-payment-heading {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    color: var(--color-lush);
}

.membership-payment-intro {
    max-width: 520px;
    margin: 0 auto 1.75rem;
    font-size: 15px;
    color: rgba(26, 26, 46, 0.72);
    line-height: 1.55;
}

.membership-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 560px;
    margin: 0 auto;
    align-items: stretch;
}

.membership-payment-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 108, 103, 0.14);
    border-radius: var(--border-radius);
    padding: 22px 18px 24px;
    box-shadow: 0 2px 14px rgba(27, 67, 50, 0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.membership-payment-card-title {
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-lush);
}

.membership-payment-qr-frame {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid rgba(0, 108, 103, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 1);
}

.membership-payment-qr {
    width: 100%;
    height: 100%;
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

@media (max-width: 560px) {
    .membership-payment-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
}

.festival-details-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 24px;
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
    color: white;
    backdrop-filter: blur(8px);
}

.festival-details-card p {
    font-size: 16px;
    margin-bottom: 12px;
}
.festival-details-card p:last-child {
    margin-bottom: 0;
}

.festival-hotel-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 26px;
    margin-top: 34px;
    align-items: stretch;
}

.festival-hotel-main,
.festival-hotel-qr-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.festival-hotel-main {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 1.2fr;
    overflow: hidden;
}

.festival-hotel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.festival-hotel-details {
    padding: 22px;
    color: var(--color-white);
}

.festival-hotel-details h3 {
    margin-bottom: 12px;
}

.festival-hotel-details p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.festival-hotel-details .btn {
    margin-top: 8px;
}

.festival-hotel-qr-card {
    padding: 20px;
    text-align: center;
    color: var(--color-white);
}

.festival-hotel-qr-card h4 {
    margin-bottom: 10px;
}

.festival-hotel-qr {
    width: min(100%, 220px);
    height: auto;
    border-radius: 10px;
    background: #fff;
    padding: 8px;
    margin: 6px auto 10px;
    display: block;
}

.festival-hotel-qr-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
}

.festival-application-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.festival-application-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--border-radius);
    padding: 26px 22px;
    text-align: left;
    color: var(--color-white);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.festival-application-card h3 {
    margin-bottom: 10px;
    color: var(--color-accent);
}

.festival-application-card p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.92);
}

.festival-application-inline-link {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.festival-application-inline-link:hover {
    color: #fff;
}

.festival-application-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

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

/* =========================================
   Parade Registration Modal
   ========================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    background: linear-gradient(170deg, #1a1a2e 0%, #16213e 40%, #1b4332 100%);
    border: 1px solid rgba(255, 199, 87, 0.3);
    border-radius: var(--border-radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 199, 87, 0.08);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 36px;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s ease;
}

.modal-overlay.is-open .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    line-height: 1;
    padding: 4px;
}

.modal-close:hover {
    color: var(--color-accent);
    transform: scale(1.15);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--color-white);
    margin-bottom: 8px;
}

.modal-header h2::after {
    margin-left: auto;
    margin-right: auto;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

/* Form elements */
.modal-form label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.modal-form .required {
    color: var(--color-sunset);
}

.modal-form input[type="text"],
.modal-form input[type="email"],
.modal-form input[type="tel"],
.modal-form input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.modal-form input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(255, 199, 87, 0.25);
}

.modal-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

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

.modal-form .form-group {
    margin-bottom: 18px;
}

/* Radio buttons */
.radio-group {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
    flex: 1;
    justify-content: center;
}

.radio-option:hover {
    border-color: rgba(255, 199, 87, 0.5);
    background: rgba(255, 199, 87, 0.08);
}

.radio-option input[type="radio"] {
    accent-color: var(--color-accent);
    width: 16px;
    height: 16px;
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: var(--color-accent);
    font-weight: 700;
}

.radio-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

/* Payment callout */
.modal-payment-notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(255, 199, 87, 0.1);
    border: 1px solid rgba(255, 199, 87, 0.35);
    border-radius: 10px;
    padding: 16px 18px;
    margin: 22px 0;
}

.modal-payment-notice .payment-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-payment-notice strong {
    color: var(--color-accent);
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.modal-payment-notice p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* Success state */
.modal-success {
    text-align: center;
    padding: 20px 0;
}

.modal-success .success-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.modal-success h3 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.modal-success h3::after {
    margin-left: auto;
    margin-right: auto;
}

.modal-success > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-bottom: 0;
}

.modal-success .btn {
    margin-top: 24px;
}

/* Group fields slide-in */
.group-fields {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modal responsive */
@media (max-width: 600px) {
    .modal-container {
        padding: 40px 20px;
        max-height: 85vh;
        max-height: 85dvh;
    }
    .modal-close {
        top: 8px;
        right: 8px;
        padding: 12px;
        font-size: 32px;
        z-index: 10;
    }
    .modal-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 15px;
}

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* =========================================
   Footer
   ========================================= */
.footer {
    background: rgba(26, 26, 46, 0.97);
    color: var(--color-white);
    padding: 60px 0 30px;
    border-top: 3px solid rgba(255, 199, 87, 0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
    margin-bottom: 24px;
}

.footer-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 16px;
}
.footer-brand p { opacity: 0.65; font-size: 14px; }

.footer-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.footer-links a {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-accent); }

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 13px;
    opacity: 0.5;
}

.footer-nonprofit {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.7;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .board-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .hero {
        background-position: center 36%;
    }
}

/* Base Hamburger hiding for desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001; /* Above the mobile menu */
}
.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 950px) {
    .hamburger {
        display: flex; /* Show the hamburger */
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background: rgba(26, 26, 46, 0.98); /* Solid dark theme for contrast */
        border-left: 2px solid rgba(255, 199, 87, 0.4);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        padding-bottom: 50px;
        overflow-y: auto; /* Allow scrolling for long link list */
        transition: right 0.4s ease;
        box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.nav-active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
        display: flex;
        justify-content: center;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 18px;
    }
    
    .nav-links .btn {
        width: 80%;
        padding: 15px 0 !important;
        margin-left: 0 !important;
    }

    /* Hamburger Animation to 'X' */
    .hamburger.toggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.toggle span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 600px;
        background-position: center 44%;
    }
    .hero-actions { flex-direction: column; align-items: center; }
    .scholarship-actions { flex-direction: column; align-items: center; }
    .scholarship-stat-row { gap: 30px; }
    .stat-number { font-size: 2.2rem; }
    .board-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .board-grid-compact { grid-template-columns: repeat(2, 1fr); }
    .board-avatar { width: min(100%, 130px); font-size: 1.3rem; border-radius: 10px; }
    .board-card { padding: 20px 12px 16px; }
    .board-card h4 { font-size: 13px; }
    .board-role { font-size: 10px; }
    .board-origin { font-size: 11px; }
    .nonprofit-badge { font-size: 10px; padding: 4px 14px; letter-spacing: 1px; }
    .footer-content { flex-direction: column; }
    .footer-links { flex-direction: column; gap: 12px; }

    .festival-hotel-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .festival-hotel-main {
        grid-template-columns: 1fr;
    }

    .festival-hotel-image {
        max-height: 280px;
    }
}

/* =========================================
   Back to Top Button
   ========================================= */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-dark);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--color-sunset);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
    #back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}
