/* ==========================================================================
   CSS Variables - Premium Palette
   ========================================================================== */
:root {
    --primary-yellow: #FFD93D;
    --primary-blue: #4D96FF;
    --primary-pink: #FF6B6B;
    --primary-green: #6BCB77;
    
    --grad-pink: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    --grad-blue: linear-gradient(135deg, #4D96FF 0%, #6BCB77 100%);
    --grad-yellow: linear-gradient(135deg, #FFD93D 0%, #FFAD3D 100%);
    
    --text-dark: #1A1A1A;
    --text-light: #5A5A5A;
    --bg-light: #F9FBFF;
    --white: #FFFFFF;
    
    --border-radius-sm: 12px;
    --border-radius-md: 24px;
    --border-radius-lg: 40px;
    
    --shadow-sm: 0 8px 16px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 16px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.12);
    --shadow-pink: 0 10px 20px rgba(255, 107, 107, 0.3);
    --shadow-blue: 0 10px 20px rgba(77, 150, 255, 0.3);
    
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

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

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-md);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-100 { width: 100%; }
.mt-4 { margin-top: 2rem; }

.bg-light { background-color: var(--white); }
.bg-colorful {
    background: radial-gradient(circle at top left, rgba(255,107,107,0.05), transparent),
                radial-gradient(circle at bottom right, rgba(77,150,255,0.05), transparent);
}

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

.rounded-lg { border-radius: var(--border-radius-lg); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ==========================================================================
   Buttons - Reimagined
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: translateX(-100%);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover::after {
    transform: translateX(0);
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.btn:active {
    transform: translateY(-2px) scale(1);
}

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

.btn-primary:hover {
    box-shadow: 0 12px 25px rgba(255, 107, 107, 0.5);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.hero-content {
    width: 100%;
    z-index: 1;
    position: relative;
}

.hero-shapes .shape {
    position: absolute;
    z-index: -1;
    filter: blur(40px);
    opacity: 0.4;
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-pink);
    top: -100px;
    left: -100px;
    animation: floatShape 8s infinite alternate;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-blue);
    bottom: -50px;
    right: 10%;
    animation: floatShape 12s infinite alternate-reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-yellow);
    top: 20%;
    right: -50px;
    animation: floatShape 10s infinite alternate;
}

@keyframes floatShape {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(30px, 30px) scale(1.1); }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 25px 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-blue);
    letter-spacing: -1px;
}

.logo span { color: var(--primary-pink); }

.logo-icon {
    font-size: 2.2rem;
    color: var(--primary-yellow);
    filter: drop-shadow(0 4px 8px rgba(255, 217, 61, 0.4));
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links li a {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    position: relative;
}

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

.nav-links li a:hover::after { width: 100%; }
.nav-links li a:hover { color: var(--primary-pink); }

.btn-nav {
    background: var(--grad-yellow);
    color: var(--text-dark) !important;
    padding: 10px 25px !important;
    border-radius: 50px;
    box-shadow: 0 8px 15px rgba(255, 217, 61, 0.3);
}

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

.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(255, 217, 61, 0.5);
}

.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 40%, transparent 100%);
    z-index: -1;
}

.hero .badge {
    display: inline-block;
    background: var(--grad-yellow);
    color: var(--text-dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(255, 217, 61, 0.2);
}

.hero h1 {
    font-size: 5.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1.1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.hero .tagline {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-light);
    max-width: 650px;
    margin-bottom: 40px;
}

/* ==========================================================================
   Section Title
   ========================================================================== */
.section-title h2 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.underline {
    width: 100px;
    height: 8px;
    background: var(--grad-pink);
    border-radius: 10px;
    margin-bottom: 30px;
}

.section-title.text-center .underline { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   About Section
   ========================================================================== */
.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 700;
    font-size: 1.2rem;
    background: var(--white);
    padding: 15px 30px;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
    width: fit-content;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-item:hover {
    transform: translateX(15px);
    box-shadow: var(--shadow-md);
}

.feature-item i { font-size: 1.8rem; }

.about-image { position: relative; }
.about-image::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 5px dashed var(--primary-yellow);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    transform: rotate(-3deg);
}

.about-image img {
    height: 500px;
    object-fit: cover;
    border: 15px solid white;
    box-shadow: var(--shadow-lg);
    transform: rotate(3deg);
    transition: var(--transition);
}

.about-image:hover img {
    transform: rotate(0deg) scale(1.03);
}

/* ==========================================================================
   Programs Section
   ========================================================================== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.program-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: var(--transition);
}

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

.card-pink .icon-wrapper { color: var(--primary-pink); background: rgba(255, 107, 107, 0.1); }
.card-blue .icon-wrapper { color: var(--primary-blue); background: rgba(77, 150, 255, 0.1); }
.card-yellow .icon-wrapper { color: var(--primary-yellow); background: rgba(255, 217, 61, 0.1); }
.card-green .icon-wrapper { color: var(--primary-green); background: rgba(107, 203, 119, 0.1); }

.program-card h3 { font-size: 1.6rem; color: var(--text-dark); }

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 1/1;
    box-shadow: var(--shadow-md);
    border: 8px solid white;
}

.gallery-item:hover img { transform: scale(1.15) rotate(2deg); }

/* ==========================================================================
   Admission Section - Glassmorphism
   ========================================================================== */
.admission {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    position: relative;
    overflow: hidden;
}

.admission::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 40px 80px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.4);
}

.form-group input {
    padding: 18px 25px;
    border: 2px solid #EEE;
    border-radius: 100px;
    font-size: 1.1rem;
    background: #F8F9FA;
}

.form-group input:focus {
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 10px 20px rgba(77, 150, 255, 0.1);
}

/* ==========================================================================
   Floating WhatsApp & Animations
   ========================================================================== */
.floating-whatsapp {
    bottom: 40px;
    right: 40px;
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) scale(1);}
    40% {transform: translateY(-20px) scale(1.1);}
    60% {transform: translateY(-10px) scale(1.05);}
}

/* Reveal Animations */
.fade-in-up, .slide-in-left, .slide-in-right {
    opacity: 0;
    transition: all 1s ease-out;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .grid-2-col { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 4rem; }
    .hero { min-height: 800px; }
    .about-image img { height: 400px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        padding: 50px;
        transition: 0.5s;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { right: 0; }
    .hamburger { display: block; }
    .hero h1 { font-size: 3rem; }
    .glass-panel { padding: 40px 25px; }
    .admission-form { grid-template-columns: 1fr; }
}
