/* ==========================================================================
   Design System & Tokens
   ========================================================================== */
:root {
    /* Colors */
    --clr-bg-base: #050505;
    --clr-bg-surface: rgba(20, 20, 25, 0.7);
    --clr-bg-glass: rgba(255, 255, 255, 0.03);
    --clr-bg-glass-hover: rgba(255, 255, 255, 0.08);
    
    --clr-accent-primary: #00ff66; /* Vibrant Neon Green */
    --clr-accent-primary-glow: rgba(0, 255, 102, 0.5);
    --clr-accent-secondary: #00a8ff; /* Vibrant Blue */
    
    --clr-text-primary: #ffffff;
    --clr-text-secondary: #a0a0ab;
    --clr-text-muted: #6b6b75;
    
    --clr-border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-base);
    color: var(--clr-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--clr-accent-primary), var(--clr-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--clr-accent-primary);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Background Effects
   ========================================================================== */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.bg-glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--clr-accent-primary-glow) 0%, transparent 70%);
}

.bg-glow-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.3) 0%, transparent 70%);
}

.bg-noise {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--clr-accent-primary);
    color: #000;
}

.btn-primary:hover {
    background: #00e65c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--clr-bg-glass);
    color: var(--clr-text-primary);
    border: 1px solid var(--clr-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--clr-bg-glass-hover);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--clr-accent-primary);
    border: 1px solid var(--clr-accent-primary);
}

.btn-outline:hover {
    background: var(--clr-accent-primary-glow);
}

.btn-glow {
    box-shadow: 0 0 20px var(--clr-accent-primary-glow);
}

.pulse-animation {
    animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 255, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 102, 0); }
}

/* Glass Card */
.glass-card {
    background: var(--clr-bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--clr-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--clr-accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--clr-text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
}
.text-center .section-desc {
    margin: 0 auto;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
}

/* ── Logo Image Effects ── */
.logo-img {
    height: 54px;
    width: auto;
    position: relative;
    display: block;

    /* Floating + glow animation */
    animation: logo-float 3.5s ease-in-out infinite,
               logo-glow  3.5s ease-in-out infinite;

    /* Smooth hover transition */
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter    0.35s ease;

    /* Shimmer via pseudo isn't possible on img — use filter */
    filter:
        drop-shadow(0 0 6px rgba(0, 255, 102, 0.45))
        drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.logo-img:hover {
    transform: scale(1.15) rotate(-4deg);
    filter:
        drop-shadow(0 0 14px rgba(0, 255, 102, 0.85))
        drop-shadow(0 0 28px rgba(0, 255, 102, 0.4))
        drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
    animation-play-state: paused;
}

/* Subtle vertical float */
@keyframes logo-float {
    0%,  100% { transform: translateY(0px); }
    50%        { transform: translateY(-5px); }
}

/* Breathing green glow */
@keyframes logo-glow {
    0%,  100% {
        filter:
            drop-shadow(0 0 4px  rgba(0, 255, 102, 0.3))
            drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
    }
    50% {
        filter:
            drop-shadow(0 0 12px rgba(0, 255, 102, 0.75))
            drop-shadow(0 0 22px rgba(0, 255, 102, 0.3))
            drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    }
}

/* Footer logo — same effects but slightly smaller */
.footer .logo-img {
    height: 48px;
}

.logo-spring { color: #fff; }
.logo-soca { color: var(--clr-accent-primary); }
.logo-fc { font-weight: 400; color: var(--clr-text-muted); font-size: 1rem; margin-left: 0.2rem;}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--clr-text-secondary);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-accent-primary);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.5) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--clr-accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--clr-accent-primary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    background: var(--clr-bg-glass);
    border: 1px solid var(--clr-border);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--clr-accent-primary);
    display: inline-block;
}

.stat-plus {
    font-size: 2rem;
    color: var(--clr-accent-primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

.stat-item p {
    color: var(--clr-text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--clr-border);
}

/* ==========================================================================
   Marquee Ticker
   ========================================================================== */
.ticker-wrap {
    width: 100%;
    background: var(--clr-accent-primary);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    transform: rotate(-1deg) scale(1.02);
}

.ticker {
    display: flex;
    width: max-content;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #000;
    padding: 0 2rem;
    white-space: nowrap;
    text-transform: uppercase;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--clr-text-secondary);
    margin-bottom: 1.5rem;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-list i {
    margin-top: 5px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-accent-primary);
    font-family: var(--font-heading);
    font-weight: 600;
}

.link-arrow:hover {
    gap: 0.8rem;
}

.about-visuals {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.objective-card .icon-box {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.objective-card.primary .icon-box {
    background: rgba(0, 255, 102, 0.1);
    color: var(--clr-accent-primary);
}

.objective-card.secondary .icon-box {
    background: rgba(0, 168, 255, 0.1);
    color: var(--clr-accent-secondary);
}

.objective-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.objective-card p {
    color: var(--clr-text-secondary);
}

/* ==========================================================================
   Programs Section
   ========================================================================== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-icon {
    width: 60px; height: 60px;
    border-radius: 15px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    transition: var(--transition-normal);
}

.program-card:hover .program-icon {
    background: var(--clr-accent-primary);
    color: #000;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--clr-text-secondary);
    flex-grow: 1;
}

.program-card.highlight {
    background: linear-gradient(145deg, rgba(20,20,25,0.9), rgba(0,255,102,0.05));
    border-color: rgba(0,255,102,0.2);
}

.card-glow {
    position: absolute;
    bottom: -20px; right: -20px;
    width: 100px; height: 100px;
    background: var(--clr-accent-primary);
    filter: blur(50px);
    opacity: 0;
    transition: var(--transition-normal);
}

.program-card:hover .card-glow {
    opacity: 0.2;
}

/* ==========================================================================
   Matches Section
   ========================================================================== */
.matches-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.match-card {
    padding: 1.5rem 2rem;
}

.match-info {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.match-stadium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.05);
    padding: 0.3rem 1rem;
    border-radius: 20px;
}

.match-scoreline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.team-home { justify-content: flex-end; }
.team-away { justify-content: flex-start; }

.team h4 {
    font-size: 1.5rem;
}

.team-shield {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
}

.team-shield.jakarta { background: #ff3366; color: white; }
.team-shield.bandung { background: #3366ff; color: white; }
.team-shield.solo { background: #ffaa00; color: white; }
.team-shield.malang { background: #00cc66; color: white; }

.scorebox {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
}

.score.win { color: var(--clr-accent-primary); }
.score.lose { color: var(--clr-text-muted); }
.divider { color: var(--clr-border); }

/* ==========================================================================
   CTA & Footer
   ========================================================================== */
.cta-section {
    position: relative;
    padding: 8rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.cta-image-col {
    position: relative;
}

.cta-img-stack {
    position: relative;
    height: 520px;
}

.cta-img-main {
    width: 85%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    display: block;
}

.cta-img-accent {
    position: absolute;
    bottom: -40px;
    right: -20px;
    width: 52%;
    height: 55%;
    object-fit: cover;
    border-radius: 18px;
    border: 3px solid var(--clr-bg-base);
    box-shadow: 0 10px 40px rgba(0, 255, 102, 0.2);
}

.cta-content-col {
    padding: 2rem 0;
}

.cta-content-col .section-title {
    margin-bottom: 1.5rem;
}


.footer {
    background: #000;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--clr-border);
    position: relative;
    z-index: 2;
}

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

.footer-brand p {
    color: var(--clr-text-secondary);
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-normal);
}

.social-icon:hover {
    background: var(--clr-accent-primary);
    color: #000;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
    color: var(--clr-text-secondary);
}

.footer-links ul li a:hover {
    color: var(--clr-accent-primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar {
    position: relative;
    z-index: 2;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.stats-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 3rem;
    gap: 0.2rem;
}

.stat-pill-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--clr-accent-primary);
    line-height: 1;
}

.stat-pill-label {
    font-size: 0.8rem;
    color: var(--clr-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.stat-pill-divider {
    width: 1px;
    height: 40px;
    background: var(--clr-border);
    flex-shrink: 0;
}

/* ==========================================================================
   Photo Reel Strip
   ========================================================================== */
.photo-reel-wrap {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 1rem 0;
    background: var(--clr-bg-base);
}

.photo-reel-wrap::before,
.photo-reel-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.photo-reel-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--clr-bg-base), transparent);
}

.photo-reel-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--clr-bg-base), transparent);
}

.photo-reel {
    overflow: hidden;
}

.photo-reel-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: reel-scroll 40s linear infinite;
}

.photo-reel-track:hover {
    animation-play-state: paused;
}

.reel-img {
    height: 200px;
    width: 300px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    filter: brightness(0.85) saturate(1.1);
}

.reel-img:hover {
    transform: scale(1.04);
    filter: brightness(1) saturate(1.2);
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.25);
}

@keyframes reel-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Photo Mosaic / Bento Grid
   ========================================================================== */
.photo-mosaic-section {
    padding-bottom: 4rem;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.mosaic-item.mosaic-tall {
    grid-row: span 2;
}

.mosaic-item.mosaic-wide {
    grid-column: span 2;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    filter: brightness(0.8) saturate(1.1);
}

.mosaic-item:hover img {
    transform: scale(1.08);
    filter: brightness(1) saturate(1.3);
}

.mosaic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
}

.mosaic-item:hover .mosaic-overlay {
    opacity: 1;
}

.mosaic-overlay span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid var(--clr-accent-primary);
    padding-left: 0.6rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* ── Tablet (≤ 992px) ───────────────────────────────────────────── */
@media (max-width: 992px) {
    /* Typography */
    .hero-title    { font-size: 3rem; }
    .section-title { font-size: 2.2rem; }

    /* Layout */
    .section { padding: 4rem 0; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image img { max-height: 400px; }

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

    /* CTA */
    .cta-grid { grid-template-columns: 1fr; gap: 3rem; }
    .cta-img-stack { height: 380px; }
    .cta-img-accent { bottom: -20px; right: 0; }

    /* Mosaic */
    .mosaic-grid { grid-template-columns: repeat(2, 1fr); }
    .mosaic-item.mosaic-wide { grid-column: span 2; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

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

    /* ── Navigation ── */
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 200;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links .nav-link {
        font-size: 1.8rem;
        font-weight: 700;
    }
    .nav-actions .btn:not(.mobile-menu-btn) { display: none; }
    .mobile-menu-btn {
        display: block;
        z-index: 300;
        position: relative;
    }
    /* Close (×) icon when menu is open */
    .mobile-menu-btn.open i::before { content: "\f00d"; }

    /* ── Typography ── */
    .hero-title    { font-size: 2.2rem; letter-spacing: -0.5px; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.9rem; }
    .section-desc  { font-size: 1rem; }
    .lead-text     { font-size: 1.1rem; }

    /* ── Section spacing ── */
    .section { padding: 3.5rem 0; }
    .container { padding: 0 1.25rem; }

    /* ── Hero ── */
    .hero { min-height: 100svh; padding-top: 70px; }
    .hero::before {
        background: linear-gradient(to bottom, rgba(5,5,5,0.85) 0%, rgba(5,5,5,0.6) 100%);
    }
    .hero-content { padding: 0 1.25rem; }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    .hero-buttons .btn { width: 100%; max-width: 300px; }

    /* ── Stats bar ── */
    .stats-bar-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 0;
    }
    .stat-pill {
        padding: 1rem;
        border: 1px solid var(--clr-border);
    }
    .stat-pill-divider { display: none; }
    .stat-pill-number  { font-size: 1.6rem; }

    /* ── About section ── */
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-image { display: none; } /* hidden on mobile — photos show in reel instead */
    .section-header { margin-bottom: 2rem; }

    /* ── Photo reel ── */
    .reel-img { height: 150px; width: 210px; }

    /* ── Programs ── */
    .programs-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .program-card  { padding: 1.5rem; }

    /* ── Photo mosaic ── */
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }
    .mosaic-item.mosaic-tall  { grid-row: span 1; }
    .mosaic-item.mosaic-wide  { grid-column: span 2; }

    /* ── CTA ── */
    .cta-section { padding: 3rem 0 4rem; }
    .cta-grid { grid-template-columns: 1fr; gap: 2rem; }
    .cta-img-stack { height: 260px; }
    .cta-img-accent { width: 44%; height: 48%; bottom: -12px; right: 0; }
    .cta-content-col { padding: 0; }
    .cta-content-col .mt-5 {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    .cta-content-col .mt-5 .btn { width: 100%; margin-left: 0 !important; }

    /* ── Footer ── */
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer { padding: 3rem 0 1.5rem; }
}

/* ── Small phones (≤ 480px) ─────────────────────────────────────── */
@media (max-width: 480px) {
    .hero-title    { font-size: 1.85rem; }
    .section-title { font-size: 1.6rem; }

    .badge-tag { font-size: 0.75rem; }

    .stats-bar-inner { grid-template-columns: 1fr 1fr; }
    .stat-pill-number { font-size: 1.4rem; }

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

    .mosaic-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 120px;
    }

    .reel-img { height: 130px; width: 180px; }

    .cta-img-stack { height: 220px; }

    .glass-card { padding: 1.25rem; }

    .btn-lg { font-size: 1rem; padding: 0.85rem 1.5rem; }
}


