/* 
=========================================
   Mazhalai Preschool — Premium Stylesheet
   Brand: Yellow #FFE600, Black #111111
=========================================
*/

/* ==================== VARIABLES ==================== */
:root {
    --primary-yellow: #FFE600;
    --primary-yellow-dark: #F5C800;
    --primary-black: #111111;
    --white: #FFFFFF;
    --light-bg: #FFFDF0;
    --soft-bg: #FFF9D6;
    --gray-text: #4B5563;
    --gray-border: #E5E7EB;
    --gray-light: #F3F4F6;
    --font-heading: 'Baloo 2', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --nav-height: 80px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
    --shadow-yellow: 0 8px 30px rgba(255,230,0,0.35);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-pill: 50px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* No CSS `scroll-behavior: smooth` here on purpose — it makes scroll
   position changes asynchronous, which fights GSAP ScrollTrigger's pinned
   windmill (the Vision & Mission section) and reads as the page freezing
   mid-scroll. Anchor-link smooth scrolling is already handled explicitly
   in js/main.js via window.scrollTo({ behavior: 'smooth' }), which doesn't
   have this conflict. */

html {
    overflow-x: hidden;
}

body {
    padding-top: var(--nav-height);
    font-family: var(--font-body);
    color: var(--primary-black);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

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

p {
    color: var(--gray-text);
    margin-bottom: 0.75rem;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 90px 0;
}

.text-center {
    text-align: center;
}

/* ==================== TYPOGRAPHY HELPERS ==================== */
.section-label {
    display: inline-block;
    background: var(--primary-yellow);
    color: var(--primary-black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

.white-label {
    background: rgba(255,255,255,0.25);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.4);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 16px;
    color: var(--primary-black);
}

.highlight {
    position: relative;
    display: inline-block;
    padding: 0 6px;
    z-index: 0;
    color: var(--primary-black);
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 40%;
    background: var(--primary-yellow);
    z-index: -1;
    border-radius: 4px;
}

.highlight-yellow {
    color: var(--primary-yellow);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    border: 2.5px solid transparent;
    letter-spacing: 0.3px;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--primary-black);
    box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(255,230,0,0.55);
    background: var(--primary-yellow-dark);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary-black);
    color: var(--primary-black);
}

.btn-outline:hover {
    background: var(--primary-black);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-black {
    background: var(--primary-black);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-black:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
    transform: translateY(-3px);
    box-shadow: var(--shadow-yellow);
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* ==================== NEON LIQUID ENQUIRE BUTTON ====================
   Full styling for .btn-enquire now lives in css/enquireButton.css
   (linked in <head>), driven by js/enquireButtonFX.js. */

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    border-bottom-color: var(--gray-border);
    height: 70px;
}

.navbar .container {
    max-width: 1440px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 80px;
    width: 80px;
    object-fit: contain;
    border-radius: 14px;
    transition: transform var(--transition);
}

.logo-wordmark-img {
    height: 65px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: transform var(--transition);
}

.logo:hover .logo-wordmark-img {
    transform: scale(1.04);
}

.logo-full-img {
    height: 60px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    transition: transform var(--transition);
}

.logo:hover .logo-full-img {
    transform: scale(1.04);
}

.logo:hover .logo-img {
    transform: rotate(-5deg) scale(1.08);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: 'Sour Gummy', 'Baloo 2', cursive, sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-black);
    line-height: 1;
    letter-spacing: -0.3px;
}

.i-foot {
    position: relative;
    display: inline-block;
    line-height: 1;
    vertical-align: baseline;
}

.i-foot::before {
    content: '';
    position: absolute;
    top: -0.36em;
    left: 0.04em;
    width: 0.52em;
    height: 0.52em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 90'%3E%3Cellipse cx='24' cy='58' rx='19' ry='26'/%3E%3Ccircle cx='9' cy='16' r='8'/%3E%3Ccircle cx='24' cy='7' r='9'/%3E%3Ccircle cx='40' cy='6' r='8.5'/%3E%3Ccircle cx='54' cy='13' r='7'/%3E%3Ccircle cx='65' cy='24' r='5.5'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 90'%3E%3Cellipse cx='24' cy='58' rx='19' ry='26'/%3E%3Ccircle cx='9' cy='16' r='8'/%3E%3Ccircle cx='24' cy='7' r='9'/%3E%3Ccircle cx='40' cy='6' r='8.5'/%3E%3Ccircle cx='54' cy='13' r='7'/%3E%3Ccircle cx='65' cy='24' r='5.5'/%3E%3C/svg%3E") no-repeat center / contain;
    transform: rotate(18deg);
    pointer-events: none;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    color: #4B5563;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 26px;
    flex-shrink: 0;
}

.nav-links a {
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--primary-black);
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-yellow);
    transition: width var(--transition);
    border-radius: 2px;
}

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

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary-black);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==================== GRAND OPENING BANNER ==================== */
.grand-opening-banner {
    position: relative;
    width: 100%;
    z-index: 1;
    background: linear-gradient(90deg, #FFE600 0%, #FFC107 50%, #FFE600 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 9px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-black);
    flex-wrap: wrap;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.go-badge {
    background: var(--primary-black);
    color: var(--white);
    padding: 3px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}

.go-badge.pulse {
    animation: pulseBadge 1.8s ease-in-out infinite;
    background: #e53e3e;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.07); }
}

/* ==================== HERO ==================== */
.hero {
    padding-top: 80px;
    padding-bottom: 140px;
    background: linear-gradient(145deg, #FFFBCC 0%, #FFF9E3 40%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

/* Hero blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    animation: blobFloat 8s ease-in-out infinite;
    pointer-events: none;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(255,230,0,0.5);
    top: -150px;
    right: -100px;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: rgba(255,193,7,0.4);
    bottom: 0;
    left: -80px;
    animation-delay: 2s;
}

.blob-3 {
    width: 220px;
    height: 220px;
    background: rgba(17,17,17,0.06);
    top: 50%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-10px, 15px) scale(0.97); }
}

.hero .container {
    /* Wider than the sitewide 1200px container — needed to fit three
       columns (text, image, admission form) without cramming any of
       them. Scoped to the hero only. */
    max-width: 1360px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.8fr 1fr;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pill-badge {
    display: inline-block;
    background: var(--primary-black);
    color: var(--primary-yellow);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 7px 20px;
    border-radius: var(--radius-pill);
    margin-bottom: 22px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 22px;
    color: var(--primary-black);
}

.hero-highlight {
    display: inline-block;
    color: var(--primary-black);
    background: var(--primary-yellow);
    padding: 4px 16px;
    border-radius: 12px;
    position: relative;
    animation: highlightPop 0.6s ease forwards;
}

@keyframes highlightPop {
    from { transform: scaleX(0); transform-origin: left; }
    to { transform: scaleX(1); }
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 500px;
    margin-bottom: 36px;
    color: var(--gray-text);
}

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

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-border);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    width: fit-content;
    box-shadow: var(--shadow-sm);
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-black);
    line-height: 1;
}

.stat-item span {
    font-size: 0.78rem;
    color: var(--gray-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* Hero social row — slides in under the stats card, one icon after
   another; links out to Instagram/Facebook/mail so hover only needs
   a color-invert (no transform) to avoid fighting the entrance animation. */
.hero-social {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.hero-social a {
    width: 44px;
    height: 44px;
    background: var(--primary-black);
    color: var(--primary-yellow);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateX(-28px);
    animation: heroSocialSlide 0.55s ease forwards;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.hero-social a:nth-child(1) { animation-delay: 0.9s; }
.hero-social a:nth-child(2) { animation-delay: 1.05s; }
.hero-social a:nth-child(3) { animation-delay: 1.2s; }

.hero-social a:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
    box-shadow: var(--shadow-yellow);
}

@keyframes heroSocialSlide {
    from { opacity: 0; transform: translateX(-28px); }
    to   { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-social a {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Hero image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 0 0 8px var(--white), 0 0 0 12px var(--primary-yellow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero-img-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0,0,0,0.2), 0 0 0 8px var(--white), 0 0 0 12px var(--primary-yellow);
}

.hero-img {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    filter: brightness(1.05) contrast(1.05) saturate(1.1);
}

/* Always-visible admission form card — sits in the hero's third column.
   Reuses the same .admission-field/.admission-input/.admission-submit
   classes as the floating widget (js/admissionForm.js) for a consistent
   look; only the outer card here is new, and it's laid out in normal
   flow (not position:fixed like .admission-panel) since it's part of
   the page, not a toggleable overlay. */
.hero-admission-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 24px 22px 20px;
    align-self: start;
}

.hero-admission-card .admission-form-title {
    font-size: 1.15rem;
    padding-right: 0;
}

.hero-admission-card .admission-field {
    margin-bottom: 12px;
}

/* Floating badges on hero image */
/* Hero image wrapper clean styles */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wave separator */
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.wave-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.wave-bottom .shape-fill {
    fill: var(--white);
}

/* ==================== REVEAL ANIMATION ==================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-delay {
    transition-delay: 0.18s;
}

.reveal.active {
    opacity: 1;
    /* `none`, not translateY(0)/scale(1) below — an identity transform still
       establishes a new containing block for `position: fixed` descendants,
       which breaks GSAP's pinned windmill in the Vision/Mission divider. */
    transform: none;
}

/* ==================== ABOUT ==================== */
.about {
    background: var(--white);
}

.about-header {
    max-width: 700px;
    margin: 0 auto 50px;
}

.about-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Full-width image frame */
.about-hero-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 6px var(--white), 0 0 0 10px var(--primary-yellow);
    margin-bottom: 50px;
}

.about-hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    filter: brightness(1.05) saturate(1.1);
    transition: transform 0.6s ease;
}

.about-hero-img-wrap:hover .about-hero-img {
    transform: scale(1.03);
}

/* Overlay gradient & chips */
.about-hero-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 55%);
    pointer-events: none;
}

.about-overlay-chips {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
}

.chip {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: 0.3px;
}

.chip-black {
    background: rgba(17,17,17,0.85);
    color: var(--primary-yellow);
    border: 1px solid rgba(255,230,0,0.3);
}

.chip-yellow {
    background: rgba(255,230,0,0.92);
    color: var(--primary-black);
    border: 1px solid rgba(255,255,255,0.4);
}

/* Pills row */
.about-pills-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.about-pill {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--light-bg);
    border: 1.5px solid #FFF3B0;
    border-radius: var(--radius-md);
    padding: 24px 22px;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.about-pill:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-yellow);
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

.pill-icon {
    font-size: 2rem;
    min-width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.about-pill:hover .pill-icon {
    transform: scale(1.15) rotate(8deg);
}

.about-pill strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary-black);
    margin-bottom: 4px;
}

.about-pill p {
    font-size: 0.87rem;
    margin: 0;
    line-height: 1.55;
    color: var(--gray-text);
}

.about-pill:hover p {
    color: rgba(17,17,17,0.75);
}


/* ==================== VISION & MISSION ==================== */
.vm-section {
    background: var(--primary-black);
    position: relative;
    overflow: hidden;
}

.vm-section .section-label {
    background: rgba(255,230,0,0.15);
    color: var(--primary-yellow);
    border: 1px solid rgba(255,230,0,0.3);
}

.vm-section .section-title {
    color: var(--white);
}
/* I write */
.vm-section .section-title span {
    color: #ffffff;
}
.vm-section > .container > .section-header p {
    color: rgba(255,255,255,0.6);
}

/* Background shapes */
.vm-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.vm-shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(255,230,0,0.08);
    top: -200px;
    left: -100px;
}

.vm-shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(255,230,0,0.06);
    bottom: -100px;
    right: -80px;
}

/* Grid layout */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0 32px;
    align-items: stretch;
    margin-bottom: 60px;
}

/* Cards */
.vm-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 48px 40px 40px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.vm-card:hover {
    transform: translateY(-8px);
}

.vm-vision {
    background: var(--primary-yellow);
    border: 2px solid rgba(255,230,0,0.5);
}

.vm-mission {
    background: #1a1a1a;
    border: 2px solid rgba(255,230,0,0.15);
}

/* Card glow */
.vm-card-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    filter: blur(60px);
    top: -80px;
    right: -60px;
    pointer-events: none;
    transition: opacity var(--transition);
}

.vm-glow-dark {
    background: rgba(255,230,0,0.12);
}

.vm-card:hover .vm-card-glow {
    opacity: 1.5;
}

/* Icon ring */
.vm-icon-ring {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 2px solid rgba(0,0,0,0.1);
    transition: transform var(--transition);
}

.vm-card:hover .vm-icon-ring {
    transform: scale(1.1) rotate(8deg);
}

.vm-icon-dark {
    background: rgba(255,230,0,0.12);
    border-color: rgba(255,230,0,0.2);
}

.vm-main-icon {
    font-size: 2rem;
    line-height: 1;
}

/* Decorative quote */
.vm-quote-mark {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 7rem;
    line-height: 1;
    color: rgba(0,0,0,0.08);
    font-family: Georgia, serif;
    pointer-events: none;
    user-select: none;
}

.vm-quote-dark {
    color: rgba(255,230,0,0.07);
}

/* Label tag */
.vm-label-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    background: rgba(0,0,0,0.12);
    color: var(--primary-black);
}

.vm-tag-dark {
    background: rgba(255,230,0,0.15);
    color: var(--primary-yellow);
}

/* Card title */
.vm-card-title {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: var(--primary-black);
    margin-bottom: 20px;
    line-height: 1.25;
}

.vm-mission .vm-card-title {
    color: var(--white);
}

/* Card text */
.vm-card-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(17,17,17,0.75);
    margin-bottom: 28px;
}

.vm-mission .vm-card-text {
    color: rgba(255,255,255,0.65);
}

/* Pillars */
.vm-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vm-pillar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.1);
    color: var(--primary-black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0,0,0,0.08);
    transition: all var(--transition);
}

.vm-pillar:hover {
    background: rgba(0,0,0,0.18);
    transform: translateY(-2px);
}

.vm-pillar-dark {
    background: rgba(255,230,0,0.1);
    color: var(--primary-yellow);
    border-color: rgba(255,230,0,0.2);
}

.vm-pillar-dark:hover {
    background: rgba(255,230,0,0.2);
}

/* Divider */
.vm-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
}

.vm-divider-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255,230,0,0.4), transparent);
    min-height: 40px;
}

/* Values strip */
.vm-values-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,230,0,0.12);
    border-radius: var(--radius-lg);
    padding: 24px 36px;
    backdrop-filter: blur(10px);
}

.vm-value-item {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--transition);
}

.vm-value-item:hover {
    transform: translateY(-3px);
}

.vm-value-icon {
    font-size: 1.4rem;
}

.vm-value-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
}

.vm-value-sep {
    color: rgba(255,230,0,0.4);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .vm-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .vm-divider {
        flex-direction: row;
        padding: 0 20px;
    }
    .vm-divider-line {
        flex: 1;
        height: 2px;
        width: auto;
        min-height: unset;
        background: linear-gradient(to right, transparent, rgba(255,230,0,0.4), transparent);
    }
    .vm-card {
        padding: 36px 28px;
    }
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    background: var(--white);
    overflow: hidden;
}

.testimonials-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 10px 22px;
    background: var(--light-bg);
    border: 1.5px solid var(--gray-border);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
}

.testimonials-google-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.testimonials-stars {
    color: var(--primary-yellow-dark);
    letter-spacing: 2px;
    font-size: 0.95rem;
}

.testimonials-rating-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-black);
}

/* Marquee: the track holds the card set twice back-to-back (see HTML),
   and the keyframe below only ever slides it by exactly half its width —
   so the moment the first copy scrolls fully out of view, the second
   copy is sitting in the exact start position and the loop looks
   continuous instead of snapping/jumping. */
.testimonials-marquee-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 48px 0 12px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.testimonials-track {
    display: flex;
    width: max-content;
    gap: 26px;
    padding: 0 26px;
    animation: testimonialsScroll 46s linear infinite;
}

.testimonials-marquee-wrap:hover .testimonials-track,
.testimonials-marquee-wrap:focus-within .testimonials-track {
    animation-play-state: paused;
}

@keyframes testimonialsScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.testimonial-card {
    flex: 0 0 340px;
    background: var(--light-bg);
    border: 1.5px solid var(--gray-border);
    border-radius: var(--radius-md);
    padding: 32px 28px 26px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-yellow);
}

.testimonial-quote-mark {
    position: absolute;
    top: 6px;
    right: 22px;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--primary-yellow);
    opacity: 0.7;
}

.testimonial-stars {
    color: var(--primary-yellow-dark);
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-text);
    line-height: 1.7;
    min-height: 96px;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-border);
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-black);
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-yellow-dark));
}

.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-black);
}

.testimonial-source {
    font-size: 0.78rem;
    color: var(--gray-text);
}

.testimonials-cta {
    margin-top: 8px;
}

@media (prefers-reduced-motion: reduce) {
    .testimonials-track {
        animation: none;
    }
}

@media (max-width: 600px) {
    .testimonial-card {
        flex-basis: 280px;
        padding: 26px 22px 22px;
    }
}

/* ==================== PROGRAMS ==================== */
.programs {
    background: var(--light-bg);
}

.section-header {
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-header p {
    font-size: 1.05rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--gray-border);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon-wrap {
    position: absolute;
    top: -1px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 0 0 50% 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.yellow-wrap { background: var(--primary-yellow); }
.black-wrap { background: var(--primary-black); }

.card-header {
    padding: 36px 24px 24px;
}

.card-header h3 {
    font-size: 1.5rem;
}

.bg-yellow {
    background: var(--primary-yellow);
}

.bg-black {
    background: var(--primary-black);
}

.text-white {
    color: var(--white) !important;
}

.text-yellow {
    color: var(--primary-yellow) !important;
}

.age-tag {
    display: inline-block;
    margin-top: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    opacity: 0.85;
    background: rgba(0,0,0,0.1);
    padding: 3px 12px;
    border-radius: var(--radius-pill);
}

.bg-black .age-tag {
    background: rgba(255,255,255,0.15);
}

.card-body {
    padding: 24px;
}

.card-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--light-bg);
    color: var(--primary-black);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--gray-border);
    font-family: var(--font-heading);
}

/* ==================== WHY US ==================== */
.why-us {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.why-card {
    background: var(--light-bg);
    border: 1.5px solid #FFF3B0;
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.why-card:hover {
    transform: translateY(-8px);
    background: var(--primary-yellow);
    box-shadow: var(--shadow-yellow);
    border-color: var(--primary-yellow);
}

.why-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
    display: block;
    transition: transform var(--transition);
}

.why-card:hover .why-icon {
    transform: scale(1.2) rotate(10deg);
}

.why-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-black);
}

.why-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

/* ==================== ACADEMY ==================== */
.academy-subhead {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-black);
    margin: 50px 0 24px;
    text-align: center;
}

.why-grid + .academy-subhead,
.programs-grid + .academy-subhead {
    margin-top: 60px;
}

.academy-values-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.academy-cta {
    margin-top: 44px;
}

/* ==================== CTA / ADMISSIONS ==================== */
.cta {
    padding: 0;
}

.cta-inner {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1f1f1f 60%, #333 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.cta-doodle {
    display: block;
    font-size: 3.5rem;
    line-height: 1;
    animation: floatBadge 4s ease-in-out infinite;
    opacity: 0.12;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 18px;
}

.cta-desc {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

/* ==================== CONTACT & LEADERSHIP SECTION ==================== */
.contact {
    background: var(--soft-bg);
    position: relative;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 44px;
}

.leadership-card {
    background: var(--white);
    border: 2px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.leadership-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-yellow);
}

.leadership-card.featured {
    border-color: var(--primary-black);
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF0 100%);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.lc-badge {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary-black);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--gray-border);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lc-badge.featured-badge {
    background: var(--primary-black);
    color: var(--primary-yellow);
    border-color: var(--primary-black);
}

.lc-icon-wrap {
    font-size: 2.6rem;
    width: 76px;
    height: 76px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 6px 20px rgba(255,230,0,0.4);
    transition: transform var(--transition);
}

.leadership-card:hover .lc-icon-wrap {
    transform: scale(1.1) rotate(6deg);
}

.leadership-card h3 {
    font-size: 1.4rem;
    color: var(--primary-black);
    margin-bottom: 6px;
}

.lc-role {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 18px;
    line-height: 1.5;
}

.lc-divider {
    width: 100%;
    height: 1px;
    background: var(--gray-border);
    margin-bottom: 20px;
}

.lc-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
}

.lc-phone-display {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-black);
    letter-spacing: 0.5px;
}

/* Campus info card */
.campus-info-card {
    background: var(--primary-black);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.cic-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cic-icon {
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-yellow);
}

.cic-item h4 {
    color: var(--primary-yellow);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.cic-item p {
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.5;
}

.cic-item a {
    color: var(--white);
    text-decoration: underline;
}

.cic-hours {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
}

.cic-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.15);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary-black);
    color: var(--white);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: auto;
    width: 180px;
    max-width: 220px;
    object-fit: contain;
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
    line-height: 1.4;
}

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

.footer h4 {
    font-family: var(--font-heading);
    color: var(--primary-yellow);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-6px);
    transition: all var(--transition);
}

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

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all var(--transition);
}

.social-icons a:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
    border-color: var(--primary-yellow);
    transform: translateY(-3px);
    box-shadow: var(--shadow-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.88rem;
    margin: 0;
}

/* Nav Actions & Admin Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-admin-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    background: rgba(17,17,17,0.06);
    color: var(--primary-black);
    border: 1.5px solid var(--primary-black);
    transition: all var(--transition);
    text-decoration: none;
}

.btn-admin-nav:hover {
    background: var(--primary-black);
    color: var(--primary-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.mobile-admin-link {
    color: #e53e3e !important;
    font-weight: 800 !important;
}

.btn-admin-footer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-black);
    background: var(--primary-yellow);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1.5px solid var(--primary-yellow);
    transition: all var(--transition);
    text-decoration: none;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255,230,0,0.3);
}

.btn-admin-footer:hover {
    color: var(--primary-yellow);
    background: var(--primary-black);
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,230,0,0.4);
}

/* ==================== BACKGROUND COLORS ==================== */
.bg-light {
    background-color: var(--light-bg);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-admission-card {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }

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

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .section {
        padding: 60px 0;
    }

    .about-hero-img {
        height: 280px;
    }

    .btn-admin-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: var(--nav-height);
        flex-direction: column;
        background: var(--white);
        width: 100%;
        gap: 0;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        padding: 20px 0 30px;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-border);
    }

    .nav-cta {
        display: none;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 38px + 80px);
        padding-bottom: 100px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        margin: 0 auto;
    }

    .hero-social {
        justify-content: center;
        margin: 24px auto 0;
    }

    .hero-img-frame {
        max-width: 360px;
        margin: 0 auto;
    }



    .about-text {
        text-align: center;
    }

    .feature-list li {
        justify-content: center;
    }

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

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

    /* The floating admission FAB (position:fixed, bottom-right) otherwise
       sits directly on top of the copyright line at the very end of the
       page on mobile — this padding just gives the text room to clear it. */
    .footer-bottom {
        padding-bottom: 80px;
    }

    .grand-opening-banner {
        font-size: 0.82rem;
        gap: 10px;
    }

    .campus-info-card {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 20px;
    }

    .cic-divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 48px 0;
    }

    .about-hero-img {
        height: 220px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

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

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

    .section-title {
        font-size: 1.7rem;
    }

    .cta-title {
        font-size: 1.7rem;
    }
}

/* ==================== GALLERY SECTION ==================== */
.gallery {
    background: var(--light-bg);
}

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

.gallery-filter-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--primary-black);
    border: 2px solid var(--gray-border);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.gallery-filter-btn:hover {
    background: var(--soft-bg);
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
}

.gallery-filter-btn.active {
    background: var(--primary-yellow);
    color: var(--primary-black);
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow-yellow);
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.gallery-card {
    transition: transform var(--transition), opacity var(--transition);
}

.gallery-card.hide {
    display: none !important;
}

.gallery-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
    background: var(--white);
    cursor: pointer;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .gallery-img-wrap img {
    transform: scale(1.08);
}

.gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(17, 17, 17, 0.85);
    color: var(--primary-yellow);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
    z-index: 2;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 230, 0, 0.3);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.92) 0%, rgba(17, 17, 17, 0.4) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 24px;
    z-index: 3;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h3 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 4px;
    line-height: 1.3;
}

.gallery-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    line-height: 1.4;
}

.gallery-date {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary-yellow);
    font-weight: 700;
    font-family: var(--font-heading);
}

.gallery-zoom-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-yellow);
    color: var(--primary-black);
    border: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: var(--shadow-yellow);
    transition: transform var(--transition);
}

.gallery-zoom-btn:hover {
    transform: scale(1.15) rotate(10deg);
}

/* ==================== LIGHTBOX MODAL ==================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 11, 0.88);
    backdrop-filter: blur(16px);
}

.lightbox-content {
    position: relative;
    z-index: 2001;
    width: 90%;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-figure {
    background: var(--primary-black);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 230, 0, 0.4);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.lightbox-figure img {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    background: #000;
}

.lightbox-caption {
    padding: 20px 28px;
    background: #18181b;
    color: var(--white);
}

.lightbox-badge {
    display: inline-block;
    background: var(--primary-yellow);
    color: var(--primary-black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 8px;
}

.lightbox-caption h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 6px;
}

.lightbox-caption p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    margin-bottom: 6px;
}

.lightbox-date {
    font-size: 0.8rem;
    color: var(--primary-yellow);
    font-family: var(--font-heading);
    font-weight: 700;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: none;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.lightbox-close:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
    z-index: 2002;
}

.lightbox-nav:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
    border-color: var(--primary-yellow);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 10px; right: 10px; z-index: 2003; }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== EVENTS SECTION ==================== */
.events-section {
    background: var(--white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--gray-border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.event-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--light-bg);
    cursor: pointer;
}

.event-card-img-wrap::after {
    content: '🔍';
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-yellow);
    color: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity var(--transition), transform var(--transition);
    box-shadow: var(--shadow-yellow);
    z-index: 2;
}

.event-card:hover .event-card-img-wrap::after {
    opacity: 1;
    transform: scale(1);
}

.event-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-card-img-wrap img {
    transform: scale(1.06);
}

.event-card-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 3.5rem;
    background: linear-gradient(135deg, #FFF9D6, #FFFBCC);
}

.event-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-black);
    color: var(--primary-yellow);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.event-card-body {
    padding: 20px 22px;
}

.event-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 8px;
    line-height: 1.3;
}

.event-card-date {
    display: inline-block;
    font-size: 0.82rem;
    color: var(--gray-text);
    font-weight: 600;
    margin-bottom: 10px;
    background: var(--light-bg);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.event-card-desc {
    font-size: 0.87rem;
    color: var(--gray-text);
    line-height: 1.6;
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== GALLERY LOADING STATE ==================== */
.gallery-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-text);
}

.gallery-loading div {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    animation: galleryLoadPulse 1.5s ease-in-out infinite;
}

@keyframes galleryLoadPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.95); }
}

/* ==================== ADMIN NAV BUTTON ==================== */
.btn-admin-nav {
    background: transparent;
    color: var(--primary-black);
    border: 2px solid var(--gray-border);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
    opacity: 0.65;
}

.btn-admin-nav:hover {
    opacity: 1;
    background: var(--primary-black);
    color: var(--primary-yellow);
    border-color: var(--primary-black);
    transform: translateY(-2px);
}

/* ==================== RESPONSIVE: EVENTS ==================== */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    /* Overrides the unconditional .btn-admin-nav block above (line ~2379),
       which sets display:inline-flex and — being later in the cascade
       than the nav's own @media(max-width:768px) block — was winning over
       that block's display:none and leaving the Admin pill visible on
       mobile. Repeating the override down here, after both unconditional
       definitions, is what actually wins. */
    .btn-admin-nav {
        display: none;
    }
}

/* ==================== FLOATING ADMISSION WIDGET ==================== */
.admission-fab {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-yellow);
    color: var(--primary-black);
    border: none;
    border-radius: var(--radius-pill);
    padding: 16px 22px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-yellow);
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
}

.admission-fab:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 36px rgba(255, 230, 0, 0.45);
}

.admission-fab-icon {
    font-size: 1.15rem;
}

.admission-fab-icon-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.admission-panel {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1600;
    width: min(360px, calc(100vw - 40px));
    max-height: min(640px, calc(100vh - 56px));
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 28px 24px 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(24px) scale(0.97);
    transform-origin: bottom right;
    transition: opacity var(--transition), transform var(--transition);
}

.admission-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.admission-panel-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--gray-light);
    color: var(--primary-black);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.admission-panel-close:hover {
    background: var(--primary-yellow);
}

.admission-form-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 18px;
    padding-right: 28px;
}

.admission-field {
    margin-bottom: 14px;
}

.admission-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--primary-black);
    margin-bottom: 6px;
}

.admission-input {
    width: 100%;
    background: var(--light-bg);
    border: 1.5px solid var(--gray-border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--primary-black);
    transition: border-color var(--transition), background var(--transition);
}

.admission-input::placeholder {
    color: #9CA3AF;
}

.admission-input:focus {
    outline: none;
    border-color: var(--primary-yellow-dark);
    background: var(--white);
}

/* Custom visible dropdown arrow for <select> inputs.
   !important on the background-* props defeats browser extensions that
   inject an inline style on this field (e.g. a tiled autofill icon on focus) —
   an author !important beats an inline style that has no !important of its own. */
select.admission-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: var(--light-bg) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 18px 18px !important;
    padding-right: 40px;
    cursor: pointer;
}

select.admission-input:focus {
    background-color: var(--white) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}

.admission-textarea {
    resize: vertical;
    min-height: 44px;
}

.admission-status {
    min-height: 18px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.admission-status.success { color: #15803D; }
.admission-status.error { color: #B91C1C; }

.admission-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-yellow);
    color: var(--primary-black);
    border: none;
    border-radius: var(--radius-pill);
    padding: 15px 20px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: var(--shadow-yellow);
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.admission-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 230, 0, 0.4);
}

.admission-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.admission-form-brand {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.admission-form-logo {
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    opacity: 0.85;
}

@media (max-width: 480px) {
    .admission-fab {
        right: 16px;
        bottom: 16px;
        padding: 14px 18px;
    }

    .admission-fab-text {
        display: none;
    }

    .admission-panel {
        right: 16px;
        left: 16px;
        bottom: 16px;
        width: auto;
    }
}
