:root {
    /* Brand Colors */
    --brand-50: #e6f5eb;
    --brand-100: #b8e6c9;
    --brand-400: #2eb963;
    --brand-600: #017a35;
    --brand-700: #015d28;
    --brand-800: #01401b;
    --brand-900: #00230e;
    
    --gold-400: #FFD84D;
    --gold-500: #FFCB09;
    
    /* Surface Colors */
    --surface-light: #f4f7f5;
    --surface-white: #ffffff;
    --surface-dark: #0a0f0c;
    
    /* Layout & Sizing */
    --radius-lg: clamp(20px, 3vw, 32px);
    --radius-md: clamp(16px, 2vw, 24px);
    --gap-bento: clamp(16px, 2vw, 28px);
    
    /* Typography */
    --text-main: clamp(2.5rem, 5vw + 1rem, 5.2rem);
    --text-banner-title: clamp(2rem, 4vw, 3.5rem);
    --text-banner-stat: clamp(3rem, 6vw, 5.5rem);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--surface-light);
    color: var(--surface-dark);
    min-height: 100vh;
    padding: clamp(12px, 2vw, 24px) clamp(12px, 2vw, 24px) 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* --- Enhanced Premium Split Preloader --- */
.premium-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: all;
}

/* Split Backgrounds */
.preloader-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50vh;
    background-color: var(--surface-light);
    transition: transform 1s cubic-bezier(0.8, 0, 0.1, 1);
    z-index: 1;
}

.preloader-bg-top { top: 0; }
.preloader-bg-bottom { bottom: 0; }

.preloader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transition: opacity 0.4s ease;
}

/* Logo Reveal Animation */
.logo-reveal {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 1px;
}

.mask-text {
    overflow: hidden; /* Hides the text before it slides up */
    display: block;
}

.mask-text span {
    display: block;
    transform: translateY(110%);
    opacity: 0;
    animation: textSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.text-green {
    color: #72C759; /* Brand Green */
    font-size: clamp(1.8rem, 5vw, 3rem);
}

.text-grey {
    color: #6D6C6C; /* Brand Grey */
    font-size: clamp(0.9rem, 2.5vw, 1.5rem);
}

.text-grey span {
    animation-delay: 0.2s; /* Staggers the second line */
}

/* Glowing Loading Line */
.loading-line-wrapper {
    width: 250px;
    height: 2px;
    background: rgba(109, 108, 108, 0.15);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: fadeInLine 0.5s ease forwards;
    animation-delay: 0.6s;
}

.loading-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-400), var(--gold-500));
    box-shadow: 0 0 10px var(--gold-500);
    animation: fillLine 1.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    animation-delay: 0.6s;
}

/* Exit Animations (Triggered by JS adding .loaded class) */
.premium-preloader.loaded .preloader-bg-top {
    transform: translateY(-100%);
}

.premium-preloader.loaded .preloader-bg-bottom {
    transform: translateY(100%);
}

.premium-preloader.loaded .preloader-content {
    opacity: 0;
    transform: scale(0.95);
}

/* Keyframes */
@keyframes textSlideUp {
    0% { transform: translateY(110%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInLine {
    to { opacity: 1; }
}

@keyframes fillLine {
    0% { width: 0%; }
    50% { width: 80%; }
    100% { width: 100%; }
}
/* --- Super Enhanced Sticky Navigation --- */
/* Make the placeholder sticky, so it holds the header at the top */
#header-placeholder {
    position: sticky;
    top: 24px;
    z-index: 1000;
    width: 100%;
    pointer-events: none; /* Lets you click things beneath the empty space */
}

header {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 9999px;
    padding: 12px 12px 12px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px -10px rgba(1, 151, 66, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    margin: 0 auto clamp(30px, 5vw, 50px) auto;
    
    /* Removed sticky from here, let the placeholder handle it */
    position: relative; 
    width: 100%;
    max-width: 1550px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto; /* Re-enables clicking on the actual header */
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

header.scrolled { 
    transform: translateY(-8px); /* Moves it slightly up instead of top: 16px */
    max-width: 1400px;
    padding: 8px 8px 8px 24px; 
    box-shadow: 0 15px 45px -10px rgba(1, 151, 66, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.9); 
    background: rgba(255, 255, 255, 0.98);
}

.logo { 
    display: flex; 
    align-items: center; 
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.logo img {
    height: clamp(38px, 4vw, 52px);
    width: auto;
    object-fit: contain;
    transition: height 0.4s ease;
}

header.scrolled .logo img {
    height: clamp(34px, 3.5vw, 45px);
}

.nav-links { 
    display: flex; 
    align-items: center; 
    gap: 2px; 
}

.nav-links a {
    text-decoration: none;
    color: var(--surface-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a:not(.btn-register):hover { 
    color: var(--brand-700);
    background: rgba(1, 122, 53, 0.05);
}

.nav-links a:not(.btn-register)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--brand-600);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:not(.btn-register):hover::after {
    transform: translateX(-50%) scale(1);
}

.btn-register, .btn-primary {
    padding: clamp(12px, 1.5vw, 16px) clamp(24px, 3vw, 36px);
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-register {
    background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
    color: white !important;
    box-shadow: 0 4px 15px rgba(1, 93, 40, 0.25);
    padding: 12px 26px !important;
    margin-left: 10px;
}

.btn-register:hover {
    background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 93, 40, 0.35);
}

.btn-primary {
    background: var(--brand-600);
    color: white;
    box-shadow: 0 12px 35px rgba(1, 151, 66, 0.25);
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: var(--brand-700);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(1, 151, 66, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--brand-700);
    border: 2px solid var(--brand-600);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--brand-600);
    color: white;
    box-shadow: 0 10px 25px rgba(1, 151, 66, 0.2);
}

/* --- Mobile Menu --- */
.menu-btn {
    display: none;
    font-size: 1.4rem;
    background: var(--surface-white);
    border: 1px solid #eef2f0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: var(--brand-700);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-right: 4px;
    pointer-events: auto; /* Ensure button is clickable */
}

.side-menu {
    position: fixed;
    top: 0; 
    right: -100%;
    width: min(320px, 85vw); 
    height: 100vh;
    background: var(--surface-white);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 2000;
    padding: 80px 32px 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    pointer-events: auto; /* CRITICAL: Re-enables clicking inside the menu */
}

.side-menu.open { right: 0; }

.side-menu a {
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--surface-dark);
    text-decoration: none;
    border-bottom: 1px solid #eef2f0;
    transition: all 0.3s ease;
}

.side-menu a:hover { 
    color: var(--brand-600); 
    padding-left: 12px; 
}

.side-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 12, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1990;
    pointer-events: auto; /* CRITICAL: Re-enables clicking the overlay */
}

.side-overlay.show { 
    opacity: 1; 
    visibility: visible; 
}

/* Force the close button to be clickable and above everything */
#closeMenu {
    pointer-events: auto;
    z-index: 2005;
}

/* --- Bento Grid System --- */
.bento-hero {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gap-bento);
    max-width: 1480px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 60px;
}

.bento-card {
    background: var(--surface-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px -15px rgba(1, 151, 66, 0.08);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.bento-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 30px 60px -15px rgba(1, 151, 66, 0.15); 
}

/* 1. Main Text Card */
.card-main-text { 
    grid-column: span 7;
    padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.badge {
    background: var(--brand-100);
    color: var(--brand-800);
    padding: 8px 20px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    margin-bottom: clamp(20px, 3vw, 32px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.main-title {
    font-size: var(--text-main);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: clamp(16px, 2vw, 24px);
}

.title-yellow { color: var(--gold-500); }

.subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: clamp(24px, 3vw, 40px);
    max-width: 90%;
}

/* --- Ultra-Enhanced YSAK Typographic Logo --- */
.ysak-title {
    line-height: 1.05; /* Tighter line height for a solid block feel */
    margin-bottom: clamp(24px, 3.5vw, 40px);
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    position: relative;
    /* Prevents the glowing shadows from clipping */
    padding-bottom: 10px; 
}

.title-green {
    /* Brand Green upgraded with a subtle gradient and drop shadow */
    background: linear-gradient(135deg, #72C759 0%, #4da336 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(2.4rem, 4.8vw, 5.2rem);
    letter-spacing: 1px;
    font-weight: 800;
    /* Creates a beautiful soft glow behind the text */
    filter: drop-shadow(0 8px 20px rgba(114, 199, 89, 0.3));
    
    /* Cinematic Intro Animation */
    opacity: 0;
    transform-origin: left bottom;
    animation: titleReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-grey {
    /* Brand Grey upgraded with a sleek metallic gradient */
    background: linear-gradient(135deg, #8a8a8a 0%, #555555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(1.5rem, 3vw, 3.2rem);
    letter-spacing: 1.5px;
    font-weight: 800;
    margin-top: -4px; /* Pulls it slightly closer to the green text */
    
    /* Cinematic Intro Animation with a slight delay */
    opacity: 0;
    transform-origin: left bottom;
    animation: titleReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

/* Smooth, premium text entry animation */
@keyframes titleReveal {
    0% { 
        opacity: 0; 
        transform: translateY(20px) scale(0.98); 
        filter: blur(8px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
        filter: blur(0); 
    }
}

/* 2. Visual Card */
.card-visual {
    grid-column: span 5;
    background: linear-gradient(135deg, var(--brand-800), var(--brand-900));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(32px, 5vw, 48px);
    min-height: clamp(350px, 40vw, 520px);
    perspective: 1000px;
}

.kerala-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255,235,59,0.2), transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(74,222,128,0.2), transparent 50%);
    animation: keralaRotate 25s linear infinite;
}

@keyframes keralaRotate {
    from { transform: rotate(0deg) scale(1.2); }
    to { transform: rotate(360deg) scale(1.2); }
}

.kerala-overlay {
    position: absolute;
    inset: 0;
    background: url('https://via.placeholder.com/800x600/ffffff08/00000008?text=🌴+🪔') center/cover;
    opacity: 0.15;
    animation: drift 40s linear infinite;
}

@keyframes drift {
    0% { background-position: 0% 0%; }
    100% { background-position: 100px 100px; }
}

.hero-graphic {
    width: 85%;
    max-width: 400px;
    animation: hero3DFloat 8s ease-in-out infinite, heroGlowPulse 4s alternate infinite;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    will-change: transform, filter;
}

@keyframes hero3DFloat {
    0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-2deg); }
    25% { transform: translateY(-15px) rotateX(-4deg) rotateY(4deg) scale(1.02); }
    50% { transform: translateY(0) rotateX(-2deg) rotateY(6deg); }
    75% { transform: translateY(10px) rotateX(4deg) rotateY(0deg) scale(0.98); }
}

@keyframes heroGlowPulse {
    0% { filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(46, 185, 99, 0.2)); }
    100% { filter: drop-shadow(0 35px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 40px rgba(255, 203, 9, 0.4)); }
}

/* 3. Enhanced Cinematic YSAK Banner */
.ysak-premium-banner {
    grid-column: span 12;
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 64px);
    display: flex;
    align-items: center;
    min-height: 280px;
    /* Base fallback color */
    background-color: var(--brand-900);
}

/* Moving Background Image blended into the gradient */
.banner-bg-image {
    position: absolute;
    inset: -20%; /* Larger than container for panning room */
    background: url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&w=1600&q=80') center/cover;
    opacity: 0.15;
    mix-blend-mode: luminosity;
    z-index: 1;
    animation: slowPan 25s linear infinite alternate;
}

@keyframes slowPan {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, -20px) scale(1.05); }
}

/* Breathing Gradient Overlay */
.banner-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 50%, #013315 100%);
    background-size: 200% 200%;
    z-index: 2;
    opacity: 0.95;
    animation: gradientShift 8s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Floating Geometric Shapes */
.banner-css-shape {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morphShape 12s ease-in-out infinite alternate;
}

.ysak-premium-banner .shape-1 {
    width: clamp(300px, 30vw, 500px);
    height: clamp(300px, 30vw, 500px);
    right: -10%;
    top: -50%;
    background: radial-gradient(circle, rgba(255,203,9,0.15) 0%, transparent 70%);
}

.ysak-premium-banner .shape-2 {
    width: clamp(200px, 20vw, 400px);
    height: clamp(200px, 20vw, 400px);
    left: 10%;
    bottom: -40%;
    background: radial-gradient(circle, rgba(46,185,99,0.2) 0%, transparent 70%);
    animation-delay: -4s;
    animation-direction: alternate-reverse;
}

.ysak-premium-banner .shape-3 {
    width: 150px;
    height: 150px;
    left: 45%;
    top: 20%;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    animation-duration: 20s;
}

@keyframes morphShape {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg); }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(180deg); }
}

/* ============================================================
   LIVE badge on the Results nav link
   ============================================================ */
.nav-live {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* The pill */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px 3px 6px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 55%, #b91c1c 100%);
    border-radius: 999px;
    box-shadow:
        0 0 0 0 rgba(239, 68, 68, 0.7),
        0 2px 6px rgba(220, 38, 38, 0.35);
    text-transform: uppercase;
    animation: livePulse 1.6s ease-in-out infinite;
    transform-origin: center;
    white-space: nowrap;
    user-select: none;
    pointer-events: none; /* badge is decorative; the link handles the click */
}

/* The dot inside the pill */
.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
    animation: liveDotBlink 1s steps(1, end) infinite;
}

/* Pulsing halo + subtle scale + gradient shimmer */
@keyframes livePulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(239, 68, 68, 0.75),
            0 2px 6px rgba(220, 38, 38, 0.35);
        transform: scale(1);
    }
    45% {
        box-shadow:
            0 0 0 8px rgba(239, 68, 68, 0),
            0 2px 10px rgba(220, 38, 38, 0.5);
        transform: scale(1.05);
    }
    100% {
        box-shadow:
            0 0 0 0 rgba(239, 68, 68, 0),
            0 2px 6px rgba(220, 38, 38, 0.35);
        transform: scale(1);
    }
}

/* Classic hard blink on the dot */
@keyframes liveDotBlink {
    0%, 49%  { opacity: 1; }
    50%, 100%{ opacity: 0.25; }
}

/* Hover: badge glows brighter while parent link is hovered */
.nav-live:hover .live-badge {
    animation-duration: 0.9s;
    filter: brightness(1.15);
}

/* Slightly smaller on mobile side menu */
.side-menu .live-badge {
    font-size: 0.58rem;
    padding: 3px 7px 3px 5px;
}

/* Accessibility: respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .live-badge,
    .live-dot {
        animation: none;
    }
    .live-badge {
        box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
    }
}

/* Banner Content Wrapper */
.banner-content-wrapper {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 32px;
}

/* Typography Updates */
.banner-tagline {
    color: var(--gold-500);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-text h2 { 
    font-size: clamp(2.2rem, 4vw, 3.8rem); 
    font-weight: 800; 
    line-height: 1.1; 
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.banner-text p { 
    font-size: clamp(1.1rem, 1.5vw, 1.3rem); 
    font-weight: 500; 
    color: var(--brand-50);
    opacity: 0.9;
}

/* Glassmorphism Stats */
.banner-stats-group {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: clamp(20px, 3vw, 24px) clamp(24px, 4vw, 40px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.stat-box {
    text-align: center;
}

.stat-box .number { 
    font-size: clamp(2.5rem, 4vw, 3.5rem); 
    font-weight: 800; 
    color: var(--gold-500);
    line-height: 1; 
    text-shadow: 0 4px 15px rgba(255, 203, 9, 0.3);
}

.stat-box .label { 
    letter-spacing: 2px; 
    font-size: clamp(0.75rem, 1.2vw, 0.9rem); 
    margin-top: 8px; 
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.stat-divider {
    width: 2px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .banner-content-wrapper {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    
    .banner-tagline {
        justify-content: center;
    }
    
    .banner-stats-group {
        width: 100%;
        justify-content: center;
        margin-top: 16px;
    }
}
/* 4. Enhanced Image Slider Card */
.slider-card {
    grid-column: span 12;
    padding: clamp(32px, 5vw, 48px);
}

.slider-header-wrap { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.slider-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--surface-dark); letter-spacing: -0.02em; }
.slider-controls { display: flex; gap: 12px; }

.slider-btn {
    background: var(--surface-light);
    border: 1px solid #eef2f0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--brand-700);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.slider-btn:hover {
    background: var(--brand-600);
    color: white;
    border-color: var(--brand-600);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(1, 151, 66, 0.2);
}

.slider-track {
    display: flex;
    gap: clamp(16px, 2vw, 24px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 16px;
}
.slider-track::-webkit-scrollbar { display: none; }

.slide {
    flex: 0 0 clamp(280px, 35vw, 450px);
    aspect-ratio: 16/10;
    border-radius: var(--radius-md);
    scroll-snap-align: start;
    overflow: hidden;
    position: relative;
    background: var(--brand-50);
    cursor: grab;
    transition: transform 0.4s ease;
}
.slide:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.slide:hover img { transform: scale(1.08); }

.slide-overlay-text {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px 24px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}
.slide:hover .slide-overlay-text { opacity: 1; transform: translateY(0); }

/* Popup Lightbox Slider */
.lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-height: 85vh;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.lightbox-close {
    position: absolute;
    top: -20px;
    right: -20px;
    background: white;
    color: #111;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 10000;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-nav.prev { left: 30px; }
.lightbox-nav.next { right: 30px; }

.lightbox-nav:hover {
    background: rgba(1, 151, 66, 0.8);
}

/* 5. "Your Journey" Section */
.section-header-card {
    grid-column: span 12;
    text-align: center;
    padding: clamp(40px, 6vw, 60px) 20px 20px;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}
.section-header-card:hover { transform: none; box-shadow: none; }

.section-subtitle {
    color: var(--brand-600);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: inline-block;
    background: var(--brand-50);
    padding: 8px 16px;
    border-radius: 9999px;
}
.section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    color: var(--surface-dark);
    letter-spacing: -0.02em;
}

.step-card {
    grid-column: span 3;
    padding: clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    border-top: 4px solid transparent;
}
.step-card:hover { border-top-color: var(--gold-500); }

.step-number {
    width: clamp(48px, 5vw, 64px);
    height: clamp(48px, 5vw, 64px);
    background: var(--surface-light);
    color: var(--brand-700);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #eef2f0;
}
.step-card:hover .step-number {
    background: var(--brand-600);
    color: white;
    transform: scale(1.1) rotate(5deg);
    border-color: var(--brand-600);
    box-shadow: 0 10px 20px rgba(1, 151, 66, 0.2);
}

.step-title { font-size: clamp(1.2rem, 1.5vw, 1.4rem); font-weight: 800; color: var(--surface-dark); margin-bottom: 12px; }
.step-desc { font-size: 1rem; line-height: 1.6; color: #4a5568; }

/* 6. Enhanced Responsive Leadership Section (Slider on ALL screens) */
.leadership-grid-wrapper {
    grid-column: span 12;
    width: 100%;
    position: relative;
}

.leadership-track {
    display: flex;
    gap: var(--gap-bento);
    flex-wrap: nowrap; /* Forces a single horizontal line */
    justify-content: flex-start;
    overflow-x: auto; /* Enables native horizontal scrolling */
    scroll-snap-type: x mandatory; /* Enables smooth snapping */
    scrollbar-width: none; /* Hides scrollbar in Firefox */
    padding: 10px 10px 30px 10px; /* Padding for hover shadows */
    /* Add smooth scrolling for mouse wheels */
    scroll-behavior: smooth;
}

.leadership-track::-webkit-scrollbar {
    display: none; /* Hides scrollbar in Chrome/Safari */
}

.leader-card {
    /* Desktop: Shows ~4.2 cards to indicate more content to the right */
    flex: 0 0 calc(100% / 4.2);
    scroll-snap-align: start;
    text-align: center;
    padding: clamp(32px, 3vw, 48px) clamp(16px, 2vw, 24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.leader-image-wrap {
    width: clamp(120px, 10vw, 140px);
    height: clamp(120px, 10vw, 140px);
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--gold-500), var(--brand-600));
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.leader-card:hover .leader-image-wrap {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 15px 25px rgba(1, 151, 66, 0.25);
}

.leader-image-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--surface-white);
}

.leader-info h3 { 
    font-size: clamp(1.1rem, 1.4vw, 1.25rem); 
    color: var(--surface-dark); 
    font-weight: 800; 
    margin-bottom: 4px;
}

.leader-info p { 
    color: var(--brand-600); 
    font-weight: 600; 
    font-size: 0.9rem; 
}

.leadership-action {
    grid-column: span 12;
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

/* --- Responsive Slider Logic for Leadership --- */
@media (max-width: 1024px) {
    .leader-card {
        /* Medium Screens: Shows exactly 2.2 cards */
        flex: 0 0 calc(100% / 2.2);
    }
}

@media (max-width: 768px) {
    .leader-card {
        /* Small Screens: Shows exactly 1.2 cards */
        flex: 0 0 calc(100% / 1.2);
    }
}

/* 7. Enhanced Latest Happenings Section */
.latest-header-wrapper {
    grid-column: span 12;
    margin-top: clamp(20px, 4vw, 40px);
}

.latest-title {
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: clamp(30px, 5vw, 50px);
    background: linear-gradient(90deg, var(--brand-700), var(--brand-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    background: var(--surface-white);
    padding: clamp(10px, 2vw, 12px);
    border-radius: 9999px;
    box-shadow: 0 10px 30px -10px rgba(1, 151, 66, 0.1);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.tab-btn {
    padding: clamp(10px, 2vw, 14px) clamp(20px, 3vw, 30px);
    border-radius: 9999px;
    background: transparent;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: #64748b;
    position: relative;
    z-index: 2;
}

.tab-btn.active { color: white; }

.tab-btn.active::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brand-700);
    border-radius: 9999px;
    z-index: -1;
    box-shadow: 0 8px 20px rgba(1, 151, 66, 0.3);
    animation: popInTab 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popInTab {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.tab-btn:hover:not(.active) {
    color: var(--brand-700);
    background: var(--brand-50);
}

.latest-grid {
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gap-bento);
    position: relative;
    min-height: 400px;
}

.latest-card {
    grid-column: span 6;
    background: var(--surface-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 40px -15px rgba(1, 151, 66, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    will-change: transform, opacity;
}

.latest-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(1, 151, 66, 0.15);
    z-index: 5;
}

.anim-enter {
    animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.8) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.card-header {
    background: linear-gradient(135deg, var(--brand-700), var(--brand-800));
    color: white;
    padding: clamp(16px, 3vw, 24px) clamp(24px, 4vw, 32px);
    font-weight: 800;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-body { 
    padding: clamp(24px, 4vw, 32px); 
    flex: 1;
}

.card-action-footer {
    padding: 16px 24px;
    background: var(--surface-light);
    border-top: 1px dashed #eef2f0;
    text-align: center;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-700);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-all-link:hover {
    color: var(--brand-600);
    gap: 12px;
}

.update-item, .event-item {
    padding: 20px 0;
    border-bottom: 1px dashed #eef2f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.3s ease;
}

.update-item:hover, .event-item:hover {
    transform: translateX(5px);
}

.update-item:last-child, .event-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.update-item:first-child, .event-item:first-child {
    padding-top: 0;
}

.item-content { flex: 1; }
.item-content strong {
    font-size: clamp(1.05rem, 1.5vw, 1.15rem);
    color: var(--surface-dark);
    display: block;
    margin-bottom: 6px;
    line-height: 1.4;
}
.item-content small {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.new-badge {
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 9999px;
    font-weight: 800;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.event-date { 
    color: var(--brand-600); 
    font-weight: 800; 
    margin-bottom: 8px; 
    font-size: 0.95rem;
    display: inline-block;
    background: var(--brand-50);
    padding: 6px 14px;
    border-radius: 8px;
}

.no-data-wrapper {
    grid-column: span 12;
    background: var(--surface-white);
    border-radius: var(--radius-lg);
    border: 2px dashed #cbd5e1;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none;
}

.no-data-icon {
    font-size: 4rem;
    color: var(--brand-100);
    margin-bottom: 20px;
    animation: floatEmpty 3s ease-in-out infinite;
}

@keyframes floatEmpty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.no-data-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--surface-dark);
    margin-bottom: 12px;
}

.no-data-desc {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 400px;
    line-height: 1.6;
}

/* 8. Register CTA Section */
.cta-card {
    grid-column: span 12;
    position: relative;
    padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
    text-align: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: clamp(20px, 4vw, 40px);
    box-shadow: 0 20px 50px -15px rgba(1, 151, 66, 0.3);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: url('images/yoga-5.webp') center/cover;
    z-index: 1;
    transition: transform 10s ease;
}

.cta-card:hover .cta-bg {
    transform: scale(1.1);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1, 64, 27, 0.92) 0%, rgba(1, 122, 53, 0.85) 100%);
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.cta-title { 
    font-size: clamp(2.2rem, 4.5vw, 4rem); 
    font-weight: 800; 
    margin-bottom: 20px; 
    line-height: 1.1; 
    letter-spacing: -0.02em;
}

.cta-desc { 
    font-size: clamp(1.1rem, 2vw, 1.3rem); 
    margin-bottom: 40px; 
    opacity: 0.95; 
    line-height: 1.6;
}

.btn-cta {
    background: var(--gold-500);
    color: var(--brand-900);
    padding: 16px 40px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 203, 9, 0.3);
}

.btn-cta:hover {
    transform: translateY(-5px);
    background: white;
    color: var(--brand-700);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

/* 9. Enhanced Footer Section */
.site-footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: var(--brand-900);
    color: white;
    padding: clamp(60px, 8vw, 80px) clamp(24px, 5vw, 48px) 24px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.footer-bg-shape {
    position: absolute;
    top: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 185, 99, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-grid {
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: clamp(30px, 4vw, 60px);
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--gold-500);
    letter-spacing: 0.5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.95rem;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold-500);
    color: var(--brand-900);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--gold-500);
    padding-left: 8px;
}

.contact-info li {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    color: #cbd5e1;
    line-height: 1.6;
}

.contact-info i {
    color: var(--gold-500);
    font-size: 1.2rem;
    margin-top: 4px;
}

.footer-bottom {
    max-width: 1480px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: #94a3b8;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* --- Media Queries --- */
@media (max-width: 1300px) {
    header { padding: 8px 12px 8px 20px; margin-bottom: 24px; top: 12px; }
    header.scrolled { max-width: 95%; }
    .menu-btn { display: block; }
    .nav-links { display: none; }
}

@media (max-width: 1024px) {
    .card-main-text { grid-column: span 12; }
    .card-visual { grid-column: span 12; min-height: 400px; }
    .step-card { grid-column: span 6; }
    .leader-card { grid-column: span 6; }
    .latest-card { grid-column: span 12; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .card-banner { flex-direction: column; text-align: center; justify-content: center; }
    .banner-stats { text-align: center; margin-top: 16px; }
    .shape-1 { right: 50%; transform: translateX(50%); top: auto; bottom: -100px; }
    .shape-2 { left: -50px; bottom: 50px; }
    .step-card { grid-column: span 12; }
    .leader-card { grid-column: span 12; }
    .slider-header-wrap { flex-direction: column; gap: 16px; align-items: flex-start; }
    .slider-controls { align-self: flex-end; }
    .filter-bar { width: 100%; border-radius: 16px; }
    .tab-btn { flex: 1; text-align: center; padding: 12px 8px; font-size: 0.85rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links a { margin: 0 10px; }
}