﻿/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    /* Playful & Premium Color Palette */
    --primary: #9b51e0;
    /* Vibrant Purple */
    --primary-light: #c48bf5;
    --secondary: #ff6b6b;
    /* Coral / Pinkish Red */
    --accent-1: #4ecdc4;
    /* Teal */
    --accent-2: #ffe66d;
    /* Sunny Yellow */
    --accent-3: #ff9f43;
    /* Orange */

    /* Neurtals & Dark Modish Tones */
    --dark: #2d3436;
    --dark-alt: #1e272e;
    --text-main: #4a4e69;
    --text-muted: #8395a7;
    --white: #ffffff;
    --bg-main: #f8f9fa;
    --bg-surface: #ffffff;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.07);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Quicksand', sans-serif;

    /* Spacing & Utilities */
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================================================
   Welcome Loader
   ========================================================================== */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-main);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-container.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo {
    max-height: 120px;
    animation: pulse 1.5s infinite;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(155, 81, 224, 0.2);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(0.95); }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   Typography & Shared Elements
   ========================================================================== */
.section-title {
    margin-bottom: 40px;
}

.section-title .subtitle {
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.section-title .subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--accent-2);
    border-radius: 50%;
}

.section-title h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 10px 20px rgba(155, 81, 224, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(155, 81, 224, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   Navigation (Glassmorphism)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 10px 0;
    /* Reduced padding to balance larger logo */
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 5px 0;
    /* Reduced padding for scrolled state */
    box-shadow: var(--glass-shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    background: transparent;
    padding: 0;
    box-shadow: none;
    flex-shrink: 0;
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
    color: var(--dark);
}

.navbar:not(.scrolled) .logo {
    color: var(--dark);
    /* Keep logo text dark even when not scrolled since background is white */
}

.navbar:not(.scrolled) .nav-links a,
.navbar:not(.scrolled) .mobile-menu-btn {
    color: var(--white);
}

.logo-img {
    max-height: 120px;
    /* Increased layout size */
    width: auto;
    max-width: none;
    /* Prevent container from shrinking wide images */
    object-fit: contain;
    transform: scale(1.4);
    /* Visually enlarge it beyond layout constraints */
    transform-origin: left center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
}

.logo:hover .logo-img {
    transform: scale(1.5) rotate(-2deg);
    filter: drop-shadow(0 10px 15px rgba(155, 81, 224, 0.4));
}

.navbar.scrolled .logo-img {
    max-height: 80px;
    /* Increased size for scrolled state */
    transform: scale(1.3);
    /* Keep it visually prominent when scrolled */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-2);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    transition: var(--transition);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.mobile-nav.open {
    left: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-position: center;
    transform: scale(1.05);
    /* For slight zoom effect if needed */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(20, 20, 30, 0.8) 0%, rgba(20, 20, 30, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    color: var(--accent-2);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--primary);
    z-index: -1;
    opacity: 0.8;
    border-radius: 4px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: 100px 0;
    background-color: var(--bg-surface);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 500px;
}

.img-card {
    position: absolute;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.img-card:hover {
    transform: translateY(-10px);
}

.img-1 {
    width: 70%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 1;
    border: 8px solid var(--white);
}

.img-2 {
    width: 60%;
    height: 70%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 8px solid var(--white);
}

.img-card img {
    height: 100%;
    transition: transform 0.5s ease;
}

.img-card:hover img {
    transform: scale(1.1);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 15px 25px;
    border-radius: 50px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--glass-shadow);
    font-weight: 700;
    color: var(--dark);
    animation: float 4s ease-in-out infinite;
}

.experience-badge i {
    color: var(--accent-2);
    font-size: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.icon-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(155, 81, 224, 0.1);
    color: var(--primary);
    border-radius: var(--border-radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.feature-item:hover .icon-box {
    background: var(--primary);
    color: var(--white);
    transform: rotate(10deg);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

/* ==========================================================================
   Services / Programs Section
   ========================================================================== */
.services {
    padding: 100px 0;
    background-color: var(--bg-main);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.program-card {
    background: var(--bg-surface);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    border-bottom: 4px solid transparent;
}

.program-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Add lovely colors to card bottom border on hover */
.program-card:nth-child(1):hover {
    border-color: var(--primary);
}

.program-card:nth-child(2):hover {
    border-color: var(--secondary);
}

.program-card:nth-child(3):hover {
    border-color: var(--accent-1);
}

.program-card:nth-child(4):hover {
    border-color: var(--accent-2);
}

.program-card:nth-child(5):hover {
    border-color: var(--accent-3);
}

.card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease;
}

.program-card:hover .card-img img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.card-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.age-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(155, 81, 224, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* ==========================================================================
   Call to Action / Banner
   ========================================================================== */
.cta {
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

.parallax-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 52, 54, 0.7);
    backdrop-filter: blur(2px);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
}

/* ==========================================================================
   Admissions / Contact Section
   ========================================================================== */
.contact {
    padding: 100px 0;
    background: var(--bg-surface);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50px;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 60%);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.info-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.info-list li:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.05);
    transform: translateX(10px);
}

.icon-round {
    width: 50px;
    height: 50px;
    min-width: 50px; /* Prevent shrinking width */
    flex-shrink: 0;  /* Prevent shrinking overall */
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-list li:hover .icon-round {
    transform: scale(1.15) rotate(-10deg);
    background: var(--primary);
    box-shadow: 0 15px 25px rgba(155, 81, 224, 0.4);
}

.info-list h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.info-list span {
    color: var(--text-muted);
}

/* Glassmorphism Form */
.glass-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 40px;
    border-radius: var(--border-radius-lg);
}

.glass-form h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(155, 81, 224, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--dark-alt);
    color: var(--white);
    padding: 80px 0 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--white) !important;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-2);
    padding-left: 5px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

.legal-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.legal-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--accent-2);
}

.legal-links .separator {
    opacity: 0.5;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-up.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .about-wrapper {
        gap: 40px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-images {
        height: 400px;
        margin-bottom: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .logo-img {
        max-height: 65px;
        /* Larger mobile logo */
    }

    .gallery-img {
        width: 140px;
        height: 100px;
    }

    /* Interactive Horizontal Scrolling Gallery on Mobile */
    .gallery-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 25px;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-left: 20px;
        padding-right: 20px;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for cleaner look */
    }

    .gallery-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .gallery-grid .gallery-img {
        flex: 0 0 75%;
        /* take up 75% screen width so next image peeks */
        scroll-snap-align: center;
        height: 250px;
        width: auto;
        border-radius: var(--border-radius-md);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .gallery-grid .gallery-img:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .logo-img {
        max-height: 55px;
        /* Larger mobile logo */
    }
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.gallery-img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* ==========================================================================
   Aadhyiras Academy Section
   ========================================================================== */
.academy {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.academy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.academy-item {
    background: linear-gradient(135deg, rgba(155, 81, 224, 0.05), rgba(78, 205, 196, 0.05));
    border: 2px solid rgba(155, 81, 224, 0.1);
    border-radius: var(--border-radius-md);
    padding: 30px 15px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.academy-item i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--secondary), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 15px;
    transition: var(--transition);
}

.academy-item span {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.1rem;
}

.academy-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 15px 30px rgba(155, 81, 224, 0.2);
}

.academy-item:hover i {
    background: var(--white);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: rotate(10deg);
}

.academy-item:hover span {
    color: var(--white);
}

.summer-camp-banner {
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    border-radius: var(--border-radius-lg);
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 159, 67, 0.2);
}

.camp-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.camp-content h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.camp-content p {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.camp-graphics {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 30px;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.floating-icon {
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .summer-camp-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .camp-graphics {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        margin-top: 30px;
        justify-content: center;
        font-size: 3.5rem;
    }
}

/* ==========================================================================
   Fun Game Section (Balloon Pop)
   ========================================================================== */
.game-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-surface), #f0f4ff);
    position: relative;
}

#game-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.score-display {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 20px;
}

#game-area {
    width: 100%;
    height: 300px;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23f0f8ff"/><circle cx="50" cy="50" r="10" fill="%23e6f2ff"/></svg>');
    border: 3px dashed var(--accent-1);
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.balloon {
    position: absolute;
    bottom: -60px;
    width: 40px;
    height: 50px;
    background: radial-gradient(circle at 10px 10px, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    cursor: pointer;
    box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.1);
    animation: floatUp linear forwards;
}

.balloon::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 18px;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-bottom: 5px solid rgba(0, 0, 0, 0.2);
}

.balloon-string {
    position: absolute;
    bottom: -50px;
    left: 19px;
    width: 2px;
    height: 40px;
    background: rgba(0, 0, 0, 0.2);
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-400px) scale(1);
    }
}

.balloon.pop {
    animation: pop 0.2s ease-out forwards !important;
}

@keyframes pop {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* ==========================================================================
   Lightbox (Gallery Zoom)
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--border-radius-md);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    animation: zoom 0.3s ease;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--secondary);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==========================================================================
   Admin Panel Styles â€” moved to admin/admin.css
   ========================================================================== */

