/* ============================================
   MSV Kids Preschool – Main Stylesheet
   Theme: Yellow (#FFD900) + Purple (#6A0DAD)
   Font: Nunito + Bubblegum Sans + Fredoka One
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --primary: #FFD900;
    --primary-light: #fff7b0;
    --primary-dark: #e6c400;
    --secondary: #6A0DAD;
    --secondary-light: #9b4dca;
    --secondary-dark: #4a0080;
    --accent-blue: #00A8E8;
    --accent-green: #28B463;
    --accent-red: #E74C3C;
    --accent-orange: #F39C12;
    --white: #ffffff;
    --light-bg: #f8f8f5;
    --text-dark: #1a1a2e;
    --text-mid: #464660;
    --text-light: #7b7b9a;
    --border-light: rgba(106, 13, 173, 0.1);
    --shadow-sm: 0 4px 15px rgba(106, 13, 173, 0.08);
    --shadow-md: 0 8px 30px rgba(106, 13, 173, 0.12);
    --shadow-lg: 0 20px 50px rgba(106, 13, 173, 0.18);
    --shadow-yellow: 0 8px 30px rgba(255, 217, 0, 0.35);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 50px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Global Material Icon size */
.material-symbols-outlined { font-size: 28px; }

/* ---- Typography ---- */
h1, h2, h3 { font-family: 'Fredoka One', cursive; letter-spacing: 0.5px; line-height: 1.2; }
h4, h5, h6 { font-family: 'Nunito', sans-serif; font-weight: 800; }
.display-font { font-family: 'Bubblegum Sans', cursive; }

/* ---- Container ---- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 4px 4px 0;
}

/* ============================================
   FLOATING DECORATIVE EMOJIS
   ============================================ */
.floating-decors {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.decor-emoji {
    position: absolute;
    font-size: 1.8rem;
    opacity: 0.15;
    animation: floatDecor 8s ease-in-out infinite;
    user-select: none;
    filter: drop-shadow(0 0 4px rgba(255,217,0,0.3));
}
@keyframes floatDecor {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.12; }
    50% { transform: translateY(-20px) rotate(10deg); opacity: 0.2; }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(255,217,0,0.3);
    box-shadow: 0 2px 20px rgba(106, 13, 173, 0.06);
    transition: var(--transition);
}
.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(106, 13, 173, 0.12);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 16px;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    transition: var(--transition-bounce);
}
.logo-link:hover { transform: scale(1.05); }
.logo-img-wrap {
    width: 56px; height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 2px var(--secondary);
    background: var(--white);
    flex-shrink: 0;
    transition: var(--transition-bounce);
}
.logo-link:hover .logo-img-wrap { transform: rotate(10deg); }
.logo-img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-family: 'Fredoka One', cursive; font-size: 1.4rem; color: var(--secondary); line-height: 1; }
.logo-sub { font-size: 0.7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--primary-dark); }

/* Desktop Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}
.nav-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-mid);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav-link:hover { color: var(--secondary); background: var(--primary-light); }
.nav-link.active { color: var(--secondary); font-weight: 900; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.hamburger span {
    display: block;
    width: 24px; height: 2.5px;
    background: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    backdrop-filter: blur(4px);
}
.mobile-overlay.open { display: block; }
.mobile-nav {
    position: fixed;
    top: 0; right: -320px;
    width: 300px; height: 100%;
    background: var(--white);
    z-index: 1002;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(106,13,173,0.15);
    overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav-close {
    align-self: flex-end;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--secondary);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 8px;
    transition: var(--transition-bounce);
}
.mobile-nav-close:hover { background: var(--primary); transform: rotate(90deg) scale(1.1); }
.mobile-logo {
    display: flex; align-items: center; gap: 10px;
    padding: 12px; margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-light), white);
    border-radius: var(--radius-md);
}
.mobile-logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; border: 2px solid var(--primary); }
.mobile-logo span { font-family: 'Fredoka One', cursive; color: var(--secondary); font-size: 1.1rem; }
.mobile-nav-link {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-weight: 700;
    color: var(--text-dark);
    transition: var(--transition-bounce);
    font-size: 0.95rem;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
    background: linear-gradient(135deg, var(--primary-light), rgba(106,13,173,0.08));
    color: var(--secondary);
    transform: translateX(4px);
}
.mobile-enroll-btn {
    display: block;
    text-align: center;
    margin-top: 16px;
    padding: 16px;
    font-size: 1rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.95rem;
    font-family: 'Nunito', sans-serif;
    transition: var(--transition-bounce);
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.3s;
}
.btn:active::after { background: rgba(255,255,255,0.15); }
.btn:hover { transform: translateY(-4px) scale(1.04); }
.btn:active { transform: scale(0.96); }

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(106,13,173,0.3);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(106,13,173,0.45); background: var(--secondary-dark); }

.btn-yellow {
    background: var(--primary);
    color: var(--secondary);
    box-shadow: var(--shadow-yellow);
}
.btn-yellow:hover { box-shadow: 0 12px 35px rgba(255,217,0,0.5); background: var(--primary-dark); }

.btn-outline {
    background: transparent;
    border: 3px solid var(--white);
    color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--secondary); }

.btn-outline-purple {
    background: transparent;
    border: 3px solid var(--secondary);
    color: var(--secondary);
}
.btn-outline-purple:hover { background: var(--secondary); color: var(--white); }

.btn-enroll .material-symbols-outlined { font-size: 1.1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 44px; font-size: 1.1rem; }

/* ============================================
   SECTION STYLES
   ============================================ */
.section { padding: 96px 0; position: relative; overflow: hidden; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--secondary); color: var(--white); }
.section-yellow { background: var(--primary); }
.section-purple-light { background: rgba(106,13,173,0.04); }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    position: relative;
    margin-bottom: 12px;
}
.section-label::before, .section-label::after {
    content: '★';
    margin: 0 8px;
    color: var(--primary);
}
.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 16px;
}
.section-title .highlight { color: var(--secondary); }
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ============================================
   HERO PAGE BANNER (Inner pages)
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255,217,0,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 30%, rgba(255,217,0,0.1) 0%, transparent 60%);
}
.page-hero-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.page-hero-stars span {
    position: absolute;
    font-size: 2.2rem;
    animation: starTwinkle 3s ease-in-out infinite;
    opacity: 0.5;
    filter: drop-shadow(0 0 6px rgba(255,217,0,0.4));
}
@keyframes starTwinkle {
    0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.8; transform: scale(1.3) rotate(20deg); }
}
.page-hero-badge {
    display: inline-block;
    background: rgba(255,217,0,0.2);
    border: 2px solid rgba(255,217,0,0.4);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.page-hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2.4rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.page-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-scale.active { opacity: 1; transform: scale(1); }

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}
.card-yellow:hover { border-color: var(--primary); box-shadow: 0 20px 50px rgba(255,217,0,0.2); }
.card-purple:hover { border-color: var(--secondary); box-shadow: 0 20px 50px rgba(106,13,173,0.15); }
.card-icon {
    width: 88px; height: 88px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    transition: var(--transition-bounce);
}
.card-icon .material-symbols-outlined { font-size: 2.5rem; }
.card:hover .card-icon { transform: scale(1.25) rotate(15deg); }
.card-icon-yellow { background: var(--primary-light); color: var(--secondary); }
.card-icon-purple { background: rgba(106,13,173,0.1); color: var(--secondary); }
.card-icon-blue { background: rgba(0,168,232,0.1); color: var(--accent-blue); }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* ============================================
   PROGRAM CARDS
   ============================================ */
.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
}
.program-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}
.program-card-img {
    width: 100%; height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.program-card:hover .program-card-img { transform: scale(1.08); }
.program-img-wrap { overflow: hidden; }
.program-card-body { padding: 24px; }
.program-age-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 8px;
}
.program-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.program-features { display: flex; flex-direction: column; gap: 8px; }
.program-feature {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.9rem; color: var(--text-mid);
}
.program-feature .material-symbols-outlined {
    font-size: 1rem; color: var(--secondary);
    transition: var(--transition-bounce);
}
.program-card:hover .program-feature .material-symbols-outlined { transform: rotate(12deg) scale(1.2); }

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-lg); }
.testimonial-quote-icon {
    font-size: 4rem;
    color: rgba(255,217,0,0.3);
    position: absolute;
    top: 16px; right: 16px;
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-stars { color: var(--primary); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-style: italic; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; font-size: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--border-light); }
.testimonial-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}
.testimonial-name { font-weight: 900; color: var(--secondary); font-size: 1rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-light); font-weight: 600; }

/* ============================================
   STATS COUNTER
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
    display: block;
}
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.8); font-weight: 700; margin-top: 6px; }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.form-label .required { color: var(--accent-red); margin-left: 2px; }
.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid rgba(106,13,173,0.15);
    border-radius: var(--radius-md);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(106,13,173,0.1);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236A0DAD'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 24px; padding-right: 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: rgba(40,180,99,0.1); border: 2px solid var(--accent-green); color: #1a6b3a; }
.alert-error { background: rgba(231,76,60,0.1); border: 2px solid var(--accent-red); color: #8b1a11; }

/* ============================================
   GALLERY
   ============================================ */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.85rem;
    border: 2px solid rgba(106,13,173,0.2);
    color: var(--text-mid);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition-bounce);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106,13,173,0.25);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}
.gallery-item:hover { transform: scale(1.04); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(106,13,173,0.7), transparent);
    display: flex; align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label { color: var(--white); font-weight: 700; font-size: 0.9rem; }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.lightbox-close:hover { background: var(--primary); color: var(--secondary); }

/* ============================================
   FEATURES / USP GRID
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: default;
}
.feature-item:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    font-size: 2.8rem;
    flex-shrink: 0;
    width: 68px; height: 68px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    transition: var(--transition-bounce);
}
.feature-item:hover .feature-icon { transform: scale(1.3) rotate(15deg); }
.feature-item h4 { font-size: 1.1rem; font-weight: 900; margin-bottom: 6px; }
.feature-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ============================================
   PROCESS STEPS (Admissions)
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    position: relative;
}
.step-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}
.step-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.step-number {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    font-family: 'Fredoka One', cursive;
    font-size: 1.6rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 20px rgba(106,13,173,0.3);
    transition: var(--transition-bounce);
}
.step-card:hover .step-number { transform: scale(1.25) rotate(12deg); background: var(--primary); color: var(--secondary); }
.step-icon { font-size: 3rem; margin-bottom: 16px; }
.step-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--secondary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,217,0,0.15) 0%, transparent 60%);
}
.cta-ornament {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    background: var(--primary);
}
.cta-section h2 { color: var(--white); font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.15rem; max-width: 600px; margin: 0 auto 36px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ============================================
   TABLE (Fee Structure)
   ============================================ */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.fee-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.fee-table th {
    background: var(--secondary);
    color: var(--white);
    padding: 16px 20px;
    text-align: left;
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    letter-spacing: 0.5px;
}
.fee-table td { padding: 16px 20px; border-bottom: 1px solid var(--border-light); font-size: 0.95rem; }
.fee-table tr:last-child td { border-bottom: none; }
.fee-table tr:nth-child(even) td { background: rgba(255,217,0,0.05); }
.fee-table tr:hover td { background: rgba(106,13,173,0.04); }
.fee-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
}
.fee-badge-popular { background: var(--primary); color: var(--secondary); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--secondary); position: relative; }
.footer-wave { margin-bottom: -2px; line-height: 0; }
.footer-wave svg { display: block; width: 100%; }
.footer-body { padding: 80px 0 60px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}
.footer-logo {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 20px;
}
.footer-logo-img { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; border: 2px solid var(--primary); }
.footer-logo-text { font-family: 'Fredoka One', cursive; font-size: 1.6rem; color: var(--primary); }
.footer-desc { color: rgba(255,255,255,0.7); font-size: 0.92rem; line-height: 1.8; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.social-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-bounce);
}
.social-btn:hover {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
    transform: scale(1.2) rotate(-5deg);
}
.footer-heading {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}
.footer-links a .material-symbols-outlined { font-size: 0.75rem; transition: transform 0.3s; }
.footer-links a:hover { color: var(--primary); }
.footer-links a:hover .material-symbols-outlined { transform: translateX(4px); }
.footer-contact-list { display: flex; flex-direction: column; gap: 16px; }
.footer-contact-list li {
    display: flex; align-items: flex-start; gap: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    line-height: 1.5;
}
.footer-contact-list .material-symbols-outlined { color: var(--primary); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: rgba(255,255,255,0.7); transition: color 0.3s; }
.footer-contact-list a:hover { color: var(--primary); }
.footer-cta-box {
    background: rgba(255,255,255,0.07);
    border: 2px solid rgba(255,217,0,0.25);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
}
.footer-cta-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255,217,0,0.15);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    animation: bounceSlow 3s ease-in-out infinite;
}
.footer-cta-icon .material-symbols-outlined { font-size: 1.8rem; color: var(--primary); }
.footer-cta-box h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 10px; }
.footer-cta-box p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 20px; }
.footer-cta-btn { width: 100%; display: block; text-align: center; padding: 14px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
}
.footer-bottom p { text-align: center; color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-bottom span { color: var(--primary); }

/* ============================================
   FLOATING UTILS
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 100px; right: 24px;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 25px rgba(37,211,102,0.5);
    z-index: 999;
    transition: var(--transition-bounce);
    animation: bounceSlow 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.2); box-shadow: 0 12px 35px rgba(37,211,102,0.6); }

.back-to-top {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-bounce);
    cursor: pointer;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); color: var(--secondary); transform: translateY(-4px) scale(1.1); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes bounceSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}
@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}
@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes pop-in {
    0% { opacity: 0; transform: scale(0.7) translateY(20px); }
    80% { transform: scale(1.05) translateY(0); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
/* ── NEW FUN ANIMATIONS ── */
@keyframes jelly {
    0% { transform: scale(1, 1); }
    25% { transform: scale(0.9, 1.1); }
    50% { transform: scale(1.1, 0.9); }
    75% { transform: scale(0.95, 1.05); }
    100% { transform: scale(1, 1); }
}
@keyframes wobble {
    0% { transform: translateX(0) rotate(0deg); }
    15% { transform: translateX(-8px) rotate(-5deg); }
    30% { transform: translateX(6px) rotate(3deg); }
    45% { transform: translateX(-4px) rotate(-3deg); }
    60% { transform: translateX(2px) rotate(2deg); }
    75% { transform: translateX(-1px) rotate(-1deg); }
    100% { transform: translateX(0) rotate(0deg); }
}
@keyframes rainbowGlow {
    0% { box-shadow: 0 0 20px rgba(255,217,0,0.5); }
    33% { box-shadow: 0 0 20px rgba(106,13,173,0.5); }
    66% { box-shadow: 0 0 20px rgba(0,168,232,0.5); }
    100% { box-shadow: 0 0 20px rgba(255,217,0,0.5); }
}
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}
@keyframes swing {
    0%, 100% { transform: rotate(0deg); transform-origin: top center; }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.15); }
    28% { transform: scale(1); }
    42% { transform: scale(1.15); }
    70% { transform: scale(1); }
}
@keyframes rubberBand {
    0% { transform: scaleX(1) scaleY(1); }
    30% { transform: scaleX(1.25) scaleY(0.75); }
    40% { transform: scaleX(0.75) scaleY(1.25); }
    50% { transform: scaleX(1.15) scaleY(0.85); }
    65% { transform: scaleX(0.95) scaleY(1.05); }
    75% { transform: scaleX(1.05) scaleY(0.95); }
    100% { transform: scaleX(1) scaleY(1); }
}
@keyframes colorShift {
    0% { color: var(--secondary); }
    33% { color: var(--accent-blue); }
    66% { color: var(--primary-dark); }
    100% { color: var(--secondary); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes tada {
    0%, 100% { transform: scale(1) rotate(0deg); }
    10%, 20% { transform: scale(0.9) rotate(-3deg); }
    30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
    40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
}

.animate-float { animation: float 5s ease-in-out infinite; }
.animate-bounce { animation: bounceSlow 3s ease-in-out infinite; }
.animate-wiggle { animation: wiggle 2s ease-in-out infinite; }
.animate-spin-slow { animation: spinSlow 12s linear infinite; }
.animate-pulse { animation: pulse 3s ease-in-out infinite; }
.animate-pop-in { animation: pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.animate-jelly { animation: jelly 0.8s ease both; }
.animate-wobble { animation: wobble 1s ease both; }
.animate-rainbow { animation: rainbowGlow 4s linear infinite; }
.animate-swing { animation: swing 2s ease-in-out infinite; }
.animate-heartbeat { animation: heartbeat 1.5s ease-in-out infinite; }
.animate-rubber { animation: rubberBand 1s ease both; }
.animate-tada { animation: tada 1s ease both; }
.animate-color { animation: colorShift 5s ease-in-out infinite; }

/* Hover-triggered animations */
.hover-jelly:hover { animation: jelly 0.6s ease; }
.hover-wobble:hover { animation: wobble 0.8s ease; }
.hover-tada:hover { animation: tada 0.8s ease; }
.hover-rubber:hover { animation: rubberBand 0.8s ease; }
.hover-heartbeat:hover { animation: heartbeat 1s ease; }

/* ============================================
   CONFETTI CANVAS
   ============================================ */
#confettiCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9998;
}

/* ============================================
   RESPONSIVE – COMPREHENSIVE ALL DEVICES
   ============================================ */

/* ── Large Desktop ≤ 1200px ── */
@media (max-width: 1200px) {
    .container { max-width: 1080px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
    .home-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
}

/* ── Tablet Landscape ≤ 1024px ── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .main-nav { gap: 2px; }
    .nav-link { padding: 8px 10px; font-size: 0.82rem; }
    .home-hero-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    .home-hero-img-wrap { max-width: 500px; margin: 0 auto; }
    .home-hero { min-height: auto; padding: 100px 0 60px; }
    .home-hero-content { text-align: center; }
    .home-hero-badges { justify-content: center; }
    .home-hero-buttons { justify-content: center; }
    .home-hero p { margin-left: auto; margin-right: auto; }
    .programs-home-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .section { padding: 80px 0; }
}

/* ── Tablet Portrait ≤ 768px ── */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .header-inner { height: 68px; }
    .btn-enroll { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .page-hero { padding: 60px 20px; }
    .page-hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .logo-text { display: none; }
    .floating-decors { display: none; }
    .cta-section { padding: 72px 20px; }
    .cta-section h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
    .why-grid { grid-template-columns: 1fr !important; }
    .testimonial-card { padding: 28px; }
    .card { padding: 28px; }
    .home-hero h1 { font-size: clamp(1.6rem, 5vw, 2.6rem); }
    .hero-badge { font-size: 0.72rem; padding: 6px 12px; }
    .hero-floating-card { display: none; }
    .section-title { font-size: clamp(1.6rem, 4.5vw, 2.5rem); }
    /* Fix inline grid overrides from PHP */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns: repeat(4"],
    div[style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr 1fr !important; }
    div[style*="grid-template-columns: repeat(3"],
    div[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns: 1fr 1.4fr"],
    div[style*="grid-template-columns:1fr 1.4fr"] { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns: 1.2fr 1fr"],
    div[style*="grid-template-columns:1.2fr 1fr"] { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns:repeat(5,1fr)"] { grid-template-columns: repeat(3, 1fr) !important; }
    div[style*="gap:64px"] { gap: 32px !important; }
    div[style*="gap: 64px"] { gap: 32px !important; }
    /* Founder box responsive */
    div[style*="display:flex;gap:60px"] { flex-direction: column !important; }
    div[style*="display:flex;gap:60px"] > div:first-child { width: 100% !important; }
}

/* ── Large Phone ≤ 600px ── */
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .programs-home-grid { grid-template-columns: 1fr 1fr !important; }
    div[style*="grid-template-columns:repeat(5,1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
    .section { padding: 48px 0; }
    .section-label { font-size: 0.68rem; letter-spacing: 2px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .gallery-item img { height: 160px; }
    .filter-btn { padding: 8px 16px; font-size: 0.78rem; }
    div[style*="grid-template-columns: repeat(4"],
    div[style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr !important; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .card { padding: 24px 20px; }
    .btn-lg { padding: 14px 28px; font-size: 1rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 320px; }
    .hero-star { font-size: 1.8rem; }
    .decor-emoji { font-size: 1.4rem; }
    .page-hero-stars span { font-size: 1.6rem; }
    .table-wrap { font-size: 0.85rem; }
    .fee-table th, .fee-table td { padding: 12px 10px; font-size: 0.82rem; }
    .testimonial-card { padding: 20px; }
    .testimonial-quote-icon { font-size: 2.5rem; }
    .footer-body { padding: 48px 0 36px; }
}

/* ── Phone ≤ 480px ── */
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item img { height: 200px; }
    .programs-home-grid { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns:repeat(5,1fr)"] { grid-template-columns: 1fr !important; }
    .program-card-img { height: 160px; }
    .btn { padding: 12px 24px; font-size: 0.88rem; }
    .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
    .stat-number { font-size: 2.4rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .page-hero { padding: 48px 16px; }
    .page-hero h1 { font-size: 1.6rem; }
    .page-hero p { font-size: 0.95rem; }
    .home-hero { padding: 80px 0 40px; }
    .home-hero h1 { font-size: 1.5rem; }
    .home-hero p { font-size: 0.95rem; }
    .section-title { font-size: 1.4rem; }
    .footer-heading { font-size: 1rem; }
    .footer-logo-text { font-size: 1.2rem; }
    .mobile-nav { width: 85vw; max-width: 300px; }
    .whatsapp-float { bottom: 80px; right: 16px; width: 52px; height: 52px; }
    .back-to-top { bottom: 16px; right: 16px; width: 42px; height: 42px; }
    .card-icon { width: 72px; height: 72px; font-size: 2rem; }
    .feature-icon { width: 56px; height: 56px; font-size: 2rem; }
    .step-number { width: 52px; height: 52px; font-size: 1.3rem; }
    .step-icon { font-size: 2.2rem; }
}

/* ── Small Phone ≤ 360px ── */
@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .home-hero h1 { font-size: 1.3rem; }
    .page-hero h1 { font-size: 1.4rem; }
    .section-title { font-size: 1.25rem; }
    .btn { padding: 10px 20px; font-size: 0.82rem; }
    .header-inner { height: 60px; }
    .logo-img-wrap { width: 44px; height: 44px; }
}

/* ── Prefers Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1; transform: none;
    }
    .floating-decors, .bubble-bg { display: none !important; }
}

/* ============================================
   INDEX PAGE – HERO SECTION
   ============================================ */
.home-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fffdf0 0%, #f0e6ff 100%);
    padding: 80px 0;
}
.home-hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.08;
    pointer-events: none;
}
.home-hero-content { position: relative; z-index: 2; }
.home-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,217,0,0.25);
    border: 2px solid rgba(255,217,0,0.5);
    color: var(--secondary);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    transition: var(--transition-bounce);
}
.hero-badge:hover { transform: scale(1.08) translateY(-2px); background: var(--primary); }
.home-hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
}
.home-hero h1 .purple { color: var(--secondary); }
.home-hero h1 .yellow-underline {
    position: relative;
    display: inline-block;
}
.home-hero h1 .yellow-underline::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 100%; height: 8px;
    background: var(--primary);
    border-radius: 4px;
    opacity: 0.4;
}
.home-hero p { font-size: 1.1rem; color: var(--text-mid); max-width: 520px; line-height: 1.8; margin-bottom: 36px; }
.home-hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.home-hero-img-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
}
.home-hero-img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 14px solid var(--white);
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: transform 0.6s ease;
}
.home-hero-img-wrap:hover .home-hero-img { transform: rotate(0deg); }
.hero-floating-card {
    position: absolute;
    background: var(--secondary);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    animation: float 5s ease-in-out infinite;
}
.hero-floating-card.bottom-right { bottom: -24px; right: -24px; transform: rotate(-3deg); }
.hero-card-year { font-family: 'Fredoka One', cursive; font-size: 2rem; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.hero-card-text { font-size: 0.75rem; opacity: 0.85; font-weight: 700; }

/* Decorative Stars on Hero */
.hero-star {
    position: absolute;
    pointer-events: none;
    font-size: 2.6rem;
    animation: starTwinkle 4s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255,217,0,0.5));
}
/* Why Choose grid inside homepage */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 40px 0; }
.why-item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius-md);
    background: transparent;
    transition: var(--transition);
    cursor: default;
}
.why-item:hover { background: rgba(255,217,0,0.08); }
.why-item-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    width: 52px; height: 52px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-bounce);
}
.why-item:hover .why-item-icon { transform: scale(1.2) rotate(-8deg); background: var(--primary); }
.why-item h4 { font-size: 1rem; font-weight: 900; margin-bottom: 6px; }
.why-item p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

/* Bubble Animation for Programs page */
@keyframes bubbleRise {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    20% { opacity: 0.3; }
    100% { transform: translateY(-100vh) scale(1.5); opacity: 0; }
}
.bubble-bg {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    background: rgba(255,217,0,0.15);
    animation: bubbleRise linear infinite;
}
