/* ==========================================
   SUPER KIDS PRE SCHOOL - MAIN STYLES
   ========================================== */

:root {
  --primary: #ff6b6b;
  --primary-dark: #ee5a24;
  --secondary: #6c5ce7;
  --accent: #00cec9;
  --yellow: #fdcb6e;
  --green: #00b894;
  --pink: #fd79a8;
  --blue: #0984e3;
  --purple: #a29bfe;
  --dark: #1a1a2e;
  --darker: #16213e;
  --light: #ffffff;
  --off-white: #f8f9fa;
  --gray: #636e72;
  --gray-light: #dfe6e9;
  --font-main: 'Nunito', sans-serif;
  --font-heading: 'Fredoka One', cursive;
  --font-fun: 'Bubblegum Sans', cursive;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-md: 0 5px 25px rgba(0,0,0,0.12);
  --shadow-lg: 0 15px 50px rgba(0,0,0,0.15);
  --shadow-xl: 0 25px 80px rgba(0,0,0,0.2);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--light);
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; cursor: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: var(--font-main);
  cursor: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Custom Cursor */
.custom-cursor {
  width: 20px; height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.15s ease, background 0.15s ease;
  transform: translate(-50%, -50%);
}
.custom-cursor.hover {
  transform: translate(-50%, -50%) scale(1.8);
  background: rgba(255,107,107,0.2);
}
.custom-cursor-trail {
  width: 6px; height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease;
}

/* Preloader */
.preloader {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  z-index: 999999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-elephant {
  font-size: 60px;
  animation: preloaderBounce 0.6s ease-in-out infinite alternate;
}
.preloader-text {
  color: var(--light);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 15px 0;
}
.preloader-bar {
  width: 200px; height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader-bar-fill {
  width: 0; height: 100%;
  background: var(--light);
  border-radius: 3px;
  animation: preloaderFill 2s ease forwards;
}

/* Particle Canvas */
#particleCanvas {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Background Animals Layer */
.bg-animals-layer {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bg-animal {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  user-select: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}
.animal-body {
  display: inline-block;
  will-change: transform;
  transform-origin: center bottom;
  line-height: 0;
}
.presenter-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.animal-flipped .presenter-wrap {
  align-items: flex-end;
}
.animal-flipped .presenter-bubble {
  transform: scaleX(-1);
}
.animal-flipped .presenter-bubble .bubble-text {
  transform: scaleX(-1);
}
.presenter-bubble {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 20px;
  padding: 5px 12px 5px 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  font-family: var(--font-heading);
  white-space: nowrap;
  animation: bubbleFloat 3s ease-in-out infinite;
}
.bubble-icon {
  font-size: 1.1rem;
}
.bubble-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: #2d3436;
}
@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 10000;
  padding: 15px 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 5px 30px rgba(0,0,0,0.1);
  padding: 8px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--light);
  transition: var(--transition);
  transform-style: preserve-3d;
}
.nav-logo-img {
  height: 45px;
  width: auto;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-logo:hover .nav-logo-img {
  transform: perspective(500px) rotateY(10deg) scale(1.08);
}
.navbar.scrolled .nav-logo { color: var(--dark); }
.nav-logo:hover { transform: perspective(500px) rotateY(10deg) scale(1.05); }
.nav-menu {
  display: flex; align-items: center; gap: 5px;
}
.nav-link {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--light);
  transition: var(--transition);
  transform-style: preserve-3d;
  position: relative;
}
.navbar.scrolled .nav-link { color: var(--dark); }
.nav-link:hover {
  transform: perspective(500px) rotateY(8deg);
  background: rgba(255,255,255,0.15);
}
.navbar.scrolled .nav-link:hover {
  background: rgba(108,92,231,0.1);
  color: var(--secondary);
}
.nav-link.active::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 30px; height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  animation: activeIndicator 0.3s ease;
}
.nav-cta {
  background: var(--primary) !important;
  color: var(--light) !important;
  border-radius: var(--radius-lg) !important;
  padding: 10px 24px !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: perspective(500px) rotateY(5deg) scale(1.05) !important; }
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; padding: 5px;
}
.nav-toggle span {
  width: 25px; height: 3px;
  background: var(--light);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--dark); }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #f093fb 60%, #f5576c 100%);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
}
.hero-bg-layer {
  position: absolute; inset: 0;
  pointer-events: none;
}
.cloud {
  position: absolute;
  background: rgba(255,255,255,0.25);
  border-radius: 100px;
  filter: blur(2px);
}
.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud-1 { width: 200px; height: 60px; top: 15%; left: -200px; animation: cloudDrift 25s linear infinite; }
.cloud-1::before { width: 80px; height: 80px; top: -40px; left: 40px; }
.cloud-1::after { width: 100px; height: 70px; top: -30px; left: 90px; }
.cloud-2 { width: 160px; height: 50px; top: 30%; left: -160px; animation: cloudDrift 30s linear infinite 5s; opacity: 0.7; }
.cloud-2::before { width: 60px; height: 60px; top: -30px; left: 30px; }
.cloud-2::after { width: 80px; height: 55px; top: -25px; left: 70px; }
.cloud-3 { width: 180px; height: 55px; top: 50%; left: -180px; animation: cloudDrift 35s linear infinite 10s; opacity: 0.5; }
.cloud-3::before { width: 70px; height: 70px; top: -35px; left: 35px; }
.cloud-3::after { width: 90px; height: 60px; top: -28px; left: 80px; }

.floating-star {
  position: absolute;
  font-size: 1.5rem;
  animation: twinkle 3s ease-in-out infinite;
}
.star-1 { top: 10%; left: 10%; animation-delay: 0s; }
.star-2 { top: 20%; right: 15%; animation-delay: 0.5s; }
.star-3 { top: 40%; left: 5%; animation-delay: 1s; }
.star-4 { top: 60%; right: 10%; animation-delay: 1.5s; }
.star-5 { top: 75%; left: 20%; animation-delay: 2s; }

.rainbow-orbit {
  position: absolute;
  width: 500px; height: 500px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.15;
}
.rainbow-band {
  position: absolute; inset: 0;
  border: 8px solid transparent;
  border-radius: 50%;
}
.band-1 { border-top-color: #ff6b6b; animation: orbitSpin 6s linear infinite; }
.band-2 { border-right-color: #fdcb6e; inset: 30px; animation: orbitSpin 5s linear infinite reverse; }
.band-3 { border-bottom-color: #00cec9; inset: 60px; animation: orbitSpin 7s linear infinite; }

.hero-content {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  width: 100%;
  gap: 40px;
}
.hero-text-wrapper { flex: 1; z-index: 5; }
.hero-title {
  font-family: var(--font-heading);
  color: var(--light);
  line-height: 1.1;
  margin-bottom: 20px;
}
.title-line {
  display: block;
  opacity: 0;
  transform: translateZ(-100px);
}
.title-highlight {
  font-size: clamp(3rem, 7vw, 5.5rem);
  background: linear-gradient(to right, var(--yellow), var(--primary), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.hero-tagline {
  font-family: var(--font-fun);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
  opacity: 0;
}
.hero-cta-group {
  display: flex; gap: 15px;
  opacity: 0;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: var(--transition);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #e74c3c);
  color: var(--light);
  box-shadow: 0 5px 20px rgba(255,107,107,0.4);
}
.btn-primary:hover {
  transform: perspective(500px) rotateX(-5deg) translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,107,107,0.6);
}
.btn-secondary {
  background: rgba(255,255,255,0.2);
  color: var(--light);
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.35);
  transform: perspective(500px) rotateX(-5deg) translateY(-3px);
}
.btn-glow {
  animation: btnGlow 2s ease-in-out infinite alternate;
}
.btn-arrow {
  transition: transform 0.3s ease;
  display: inline-block;
}
.btn:hover .btn-arrow { transform: translateX(5px); }

/* Elephant Mascot */
.hero-mascot {
  flex: 0 0 auto;
  z-index: 5;
  perspective: 800px;
}
.elephant-img {
  width: 320px;
  height: auto;
  animation: elephantFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
  transition: transform 0.3s ease;
  cursor: none;
}
.elephant-img:hover {
  transform: scale(1.05);
}

.hero-wave {
  position: absolute; bottom: -2px; left: 0; right: 0;
  z-index: 4;
}
.hero-wave svg { width: 100%; display: block; }

/* ==========================================
   SECTIONS
   ========================================== */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  margin-bottom: 10px;
}
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  font-size: 1.15rem;
  color: var(--gray);
  font-weight: 600;
}

/* Section Dividers */
.section-divider { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.section-divider svg { width: 100%; }
.zigzag-divider {
  height: 40px;
  background: linear-gradient(135deg, var(--off-white) 25%, transparent 25%) -14px 0,
    linear-gradient(225deg, var(--off-white) 25%, transparent 25%) -14px 0;
  background-size: 28px 40px;
}

/* Rotating Background Shapes */
.section-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rotating-shape {
  position: absolute;
  font-size: 3rem;
  opacity: 0.06;
  animation: shapeFloat 15s ease-in-out infinite;
}
.shape-1 { top: 10%; left: 5%; animation-delay: 0s; }
.shape-2 { top: 50%; right: 8%; animation-delay: 3s; }
.shape-3 { bottom: 15%; left: 15%; animation-delay: 6s; }

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section { background: var(--light); }

/* Dino Presenter */
.dino-presenter {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.dino-image-wrap {
  flex: 0 0 280px;
  position: relative;
}
.dino-img {
  width: 100%;
  height: auto;
  animation: dinoBreathe 3s ease-in-out infinite;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
}
.dino-img:hover {
  transform: scale(1.05) rotate(-2deg);
}
.dino-shadow {
  width: 70%;
  height: 15px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.12) 0%, transparent 70%);
  border-radius: 50%;
  margin: -8px auto 0;
}
.dino-speech-area {
  flex: 1;
  padding-top: 10px;
}
.speech-bubble {
  background: var(--light);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 25px 30px;
  position: relative;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.speech-bubble:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.bubble-pointer {
  position: absolute;
  left: -15px;
  top: 30px;
  width: 0; height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 15px solid var(--gray-light);
}
.bubble-pointer::after {
  content: '';
  position: absolute;
  left: 4px; top: -11px;
  width: 0; height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-right: 13px solid var(--light);
}
.dino-greeting {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 10px;
  font-weight: 700;
}
.speech-bubble > p:last-child {
  color: var(--gray);
  line-height: 1.8;
  font-size: 1rem;
}
.dino-fun-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fun-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(108,92,231,0.05);
  border: 1px solid rgba(108,92,231,0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
}
.fun-fact:hover {
  background: rgba(108,92,231,0.1);
  transform: translateX(5px);
}
.fact-emoji {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.fun-fact span:last-child {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}
@keyframes dinoBreathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}
.about-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  transform-style: preserve-3d;
  border: 2px solid transparent;
}
.about-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.about-card-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: inline-block;
  animation: iconFloat 3s ease-in-out infinite;
}
.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--dark);
}
.about-card p { color: var(--gray); line-height: 1.7; }

/* Stats */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-circle {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  color: var(--light);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  box-shadow: 0 8px 25px rgba(108,92,231,0.3);
  transition: transform 0.3s ease;
}
.stat-circle:hover { transform: scale(1.1) rotate(5deg); }
.stat-number { font-size: 1.8rem; }
.stat-suffix { font-size: 1.2rem; }
.stat-item p { font-weight: 700; color: var(--gray); font-size: 0.95rem; }

/* ==========================================
   CLASSES SECTION
   ========================================== */
.classes-section { background: #f0f7ff; }
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.class-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  transition: var(--transition);
  transform-style: preserve-3d;
}
.class-card-bg {
  position: absolute; inset: 0;
  transition: var(--transition);
}
.class-card:nth-child(1) .class-card-bg { background: linear-gradient(135deg, #ff9a9e, #fecfef); }
.class-card:nth-child(2) .class-card-bg { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.class-card:nth-child(3) .class-card-bg { background: linear-gradient(135deg, #84fab0, #8fd3f4); }
.class-card:nth-child(4) .class-card-bg { background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.class-card-content {
  position: relative; z-index: 2;
  padding: 30px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  height: 100%;
}
.class-age {
  display: inline-block;
  background: var(--primary);
  color: var(--light);
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 15px;
}
.class-icon {
  font-size: 3rem;
  margin-bottom: 10px;
  display: inline-block;
}
.class-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.class-card p { color: var(--gray); line-height: 1.6; margin-bottom: 15px; font-size: 0.95rem; }
.class-features { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 15px; }
.feature-tag {
  background: rgba(108,92,231,0.1);
  color: var(--secondary);
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
}
.class-capacity { margin-top: auto; }
.capacity-bar {
  height: 6px; background: var(--gray-light);
  border-radius: 3px; margin-bottom: 6px; overflow: hidden;
  position: relative;
}
.capacity-bar::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--accent));
  border-radius: 3px;
  transition: width 1.5s ease;
}
.capacity-bar.animated::after { width: var(--fill); }
.class-capacity span { font-size: 0.8rem; color: var(--gray); }

/* ==========================================
   ACTIVITIES SECTION
   ========================================== */
.activities-section { background: var(--light); }
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}
.activity-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  transform-style: preserve-3d;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.activity-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary);
}
.activity-icon-wrap {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(108,92,231,0.1), rgba(108,92,231,0.05));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.activity-icon {
  font-size: 2.5rem;
  position: relative; z-index: 2;
  transition: transform 0.5s ease;
}
.activity-card:hover .activity-icon { transform: scale(1.2) rotate(10deg); }
.activity-bg-anim {
  position: absolute; inset: -20px;
  pointer-events: none;
}
.activity-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.activity-card > p { color: var(--gray); line-height: 1.6; margin-bottom: 15px; }
.activity-list { margin-top: 15px; }
.activity-list li {
  padding: 5px 0;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Activity-specific animations */
.yoga-anim .sun-rotate {
  position: absolute; top: -10px; right: -10px;
  width: 30px; height: 30px;
  background: var(--yellow);
  border-radius: 50%;
  animation: sunSpin 8s linear infinite;
  box-shadow: 0 0 15px rgba(253,203,110,0.5);
}
.yoga-anim .lotus-float {
  position: absolute; bottom: 0; left: 5px;
  font-size: 1.2rem;
  animation: lotusFloat 3s ease-in-out infinite;
}
.mandala-spin {
  position: absolute; top: 50%; left: 50%;
  width: 50px; height: 50px;
  border: 2px dashed rgba(108,92,231,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: mandalaSpin 10s linear infinite;
}

.art-anim .paint-stroke {
  position: absolute; height: 4px; border-radius: 2px;
  opacity: 0.3;
}
.stroke-1 { width: 30px; background: var(--primary); top: 10px; left: 10px; animation: paintStroke 2s ease-in-out infinite; }
.stroke-2 { width: 25px; background: var(--blue); top: 25px; right: 5px; animation: paintStroke 2s ease-in-out infinite 0.5s; }
.stroke-3 { width: 35px; background: var(--yellow); bottom: 10px; left: 5px; animation: paintStroke 2s ease-in-out infinite 1s; }
.color-blob {
  position: absolute; border-radius: 50%; opacity: 0.15;
}
.blob-1 { width: 20px; height: 20px; background: var(--green); top: 5px; right: 10px; animation: blobMorph 4s ease-in-out infinite; }
.blob-2 { width: 15px; height: 15px; background: var(--pink); bottom: 5px; left: 15px; animation: blobMorph 4s ease-in-out infinite 1s; }

.science-anim .test-tube {
  position: absolute; bottom: 5px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 40px;
  border: 2px solid rgba(0,206,201,0.3);
  border-top: none;
  border-radius: 0 0 8px 8px;
}
.liquid {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,206,201,0.4), rgba(0,206,201,0.1));
  border-radius: 0 0 6px 6px;
  animation: liquidBubble 2s ease-in-out infinite;
}
.bubble {
  position: absolute; width: 4px; height: 4px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: bubbleRise 1.5s ease-in infinite;
}
.b1 { left: 3px; animation-delay: 0s; }
.b2 { left: 7px; animation-delay: 0.5s; }
.b3 { left: 5px; animation-delay: 1s; }

.atom {
  position: absolute; top: 5px; right: 0;
  width: 30px; height: 30px;
}
.electron-orbit {
  position: absolute; inset: 0;
  border: 1px solid rgba(0,206,201,0.2);
  border-radius: 50%;
}
.o1 { animation: orbitSpin 2s linear infinite; }
.o2 { transform: rotate(60deg); animation: orbitSpin 2.5s linear infinite reverse; }
.electron {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute; top: -2px; left: 50%;
  transform: translateX(-50%);
}
.nucleus {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.dance-anim .music-note {
  position: absolute; font-size: 1rem;
  color: var(--secondary);
  opacity: 0.4;
  animation: noteFloat 2s ease-in-out infinite;
}
.n1 { top: 5px; left: 10px; animation-delay: 0s; }
.n2 { top: 10px; right: 5px; animation-delay: 0.7s; }
.n3 { bottom: 5px; left: 15px; animation-delay: 1.4s; }
.sound-wave {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 20px;
  border-bottom: 2px solid rgba(108,92,231,0.2);
  border-radius: 0 0 50% 50%;
  animation: soundPulse 1s ease-in-out infinite;
}

.games-anim .bouncing-ball {
  position: absolute; width: 12px; height: 12px;
  border-radius: 50%;
  animation: gameBallBounce 1s ease-in-out infinite;
}
.ball-1 { background: var(--primary); top: 10px; left: 10px; animation-delay: 0s; }
.ball-2 { background: var(--blue); top: 5px; right: 10px; animation-delay: 0.3s; }
.puzzle-piece { position: absolute; bottom: 5px; left: 10px; font-size: 1rem; animation: puzzleWiggle 2s ease-in-out infinite; }
.dice { position: absolute; top: 5px; right: 5px; font-size: 1rem; animation: diceRoll 3s ease-in-out infinite; }

.sports-anim .sports-ball {
  position: absolute; font-size: 0.8rem;
  animation: sportsBallMove 2s ease-in-out infinite;
}
.sb1 { top: 10px; left: 10px; }
.sb2 { top: 5px; right: 10px; animation-delay: 0.5s; }
.swing-set {
  position: absolute; bottom: 5px; right: 10px;
  width: 20px; height: 25px;
}
.swing {
  position: absolute; top: 0; left: 50%;
  transform-origin: top center;
  animation: swingMotion 2s ease-in-out infinite;
}
.seat {
  width: 10px; height: 3px;
  background: var(--dark);
  border-radius: 1px;
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
}

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery-section { background: var(--off-white); }
.gallery-filters {
  display: flex; justify-content: center; gap: 10px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 22px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-lg);
  background: var(--light);
  font-weight: 700;
  color: var(--gray);
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--secondary);
  color: var(--light);
  border-color: var(--secondary);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: none;
  transition: var(--transition);
}
.gallery-item.hidden {
  display: none;
}
.gallery-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.gallery-placeholder { font-size: 4rem; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,46,0.7);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: var(--transition);
  transform-style: preserve-3d;
}
.gallery-overlay span {
  color: var(--light);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.gallery-expand {
  background: var(--primary);
  color: var(--light);
  border: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 1.3rem;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay span,
.gallery-item:hover .gallery-expand { transform: translateY(0) scale(1); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 99990;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.4s ease;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.85);
}
.lightbox-content {
  position: relative;
  max-width: 800px; width: 90%;
  background: var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: scale(0.8);
  transition: transform 0.4s ease;
}
.lightbox.active .lightbox-content { transform: scale(1); }
.lightbox-img {
  width: 100%;
  min-height: 400px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.lightbox-caption {
  padding: 20px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(0,0,0,0.5);
  color: var(--light);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  z-index: 5;
  transition: var(--transition);
  cursor: none;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--primary);
  transform: scale(1.1);
}
.lightbox-close { top: 10px; right: 10px; }
.lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 100px 0;
}
.testimonials-section .section-title { color: var(--light); }
.testimonials-section .section-title .text-gradient {
  background: linear-gradient(135deg, #ffffff, #f8e8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.7); }
.testimonials-slider {
  position: relative;
  overflow: hidden;
  padding: 0 50px;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  min-width: 100%;
  padding: 40px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.15);
  margin: 0 15px;
}
.testimonial-stars { font-size: 1.2rem; margin-bottom: 15px; }
.testimonial-text {
  color: var(--light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 15px;
}
.author-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--light);
  font-weight: 800;
  font-size: 1rem;
}
.testimonial-author strong {
  display: block;
  color: var(--light);
  font-size: 1rem;
}
.testimonial-author span {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}
.testimonial-dots {
  display: flex; justify-content: center; gap: 10px;
  margin-top: 30px;
}
.testimonial-dots .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  transition: var(--transition);
  cursor: none;
}
.testimonial-dots .dot.active {
  background: var(--yellow);
  transform: scale(1.2);
}
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: var(--light);
  border: none;
  width: 45px; height: 45px;
  border-radius: 50%;
  font-size: 1rem;
  transition: var(--transition);
  cursor: none;
  z-index: 5;
}
.slider-btn:hover { background: rgba(255,255,255,0.4); }
.slider-prev { left: 0; }
.slider-next { right: 0; }

/* ==========================================
   ADMISSION SECTION
   ========================================== */
.admission-section { background: var(--off-white); }
.admission-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.info-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-md);
}
.info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark);
}
.check-list li {
  padding: 10px 0;
  display: flex; align-items: center; gap: 12px;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid var(--gray-light);
}
.check-list li:last-child { border: none; }
.check-icon { font-size: 1.2rem; }

/* Form */
.admission-form-wrap {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.form-progress {
  position: relative;
  margin-bottom: 30px;
  height: 4px;
  background: var(--gray-light);
  border-radius: 2px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  width: 33.33%;
  transition: width 0.5s ease;
}
.progress-steps {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: -10px; left: 0; right: 0;
}
.step {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gray-light);
  color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  transition: var(--transition);
}
.step.active {
  background: var(--primary);
  color: var(--light);
  box-shadow: 0 0 0 4px rgba(255,107,107,0.2);
}
.step.completed {
  background: var(--green);
  color: var(--light);
}
.form-step {
  display: none;
}
.form-step.active { display: block; animation: formStepIn 0.4s ease; }
.form-step h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--dark);
}
.form-group {
  position: relative;
  margin-bottom: 20px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(108,92,231,0.1);
}
.form-group label {
  position: absolute;
  left: 18px; top: 14px;
  color: var(--gray);
  font-weight: 600;
  transition: all 0.3s ease;
  pointer-events: none;
}
.form-group select + label {
  top: -10px; left: 12px;
  font-size: 0.75rem;
  background: var(--light);
  padding: 0 6px;
  color: var(--secondary);
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px; left: 12px;
  font-size: 0.75rem;
  background: var(--light);
  padding: 0 6px;
  color: var(--secondary);
}
.field-check {
  position: absolute;
  right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--green);
  font-weight: 800;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.form-group.valid .field-check { opacity: 1; transform: translateY(-50%) scale(1.3); }

.checkbox-group {
  display: flex; align-items: center; gap: 10px;
}
.checkbox-group input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--secondary);
}
.checkbox-group label {
  position: static;
  font-size: 0.9rem;
  color: var(--gray);
}
.form-btns { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; }
.form-next, .form-prev, .form-submit {
  font-family: var(--font-heading);
}
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  animation: successBounce 0.6s ease;
}
.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--green);
}
.form-success p { color: var(--gray); }
.confetti-container {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.confetti {
  position: absolute;
  width: 10px; height: 10px;
  opacity: 0;
}

/* Submit spinner */
.submit-spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: var(--light);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer { position: relative; background: var(--dark); }
.footer-wave { position: absolute; top: -99px; left: 0; right: 0; line-height: 0; }
.footer-wave svg { width: 100%; }
.footer-content { padding: 80px 0 20px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--light);
  margin-bottom: 15px;
}
.footer-logo-img {
  height: 55px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}
.footer-col p { color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-col h4 {
  color: var(--light);
  font-family: var(--font-heading);
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li,
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
  font-size: 0.95rem;
}
.footer-col ul li a:hover { color: var(--yellow); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.9rem; }

/* ==========================================
   HERO BADGES & TRUST
   ========================================== */
.hero-badge-row {
  margin-bottom: 20px;
  opacity: 0;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--light);
  padding: 8px 20px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.9rem;
}
.hero-trust {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
  opacity: 0;
}
.trust-badge {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}
.trust-badge:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ==========================================
   SCROLLING HIGHLIGHTS TRACK
   ========================================== */
.highlights-section {
  background: var(--dark);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.highlights-track {
  display: flex;
  gap: 20px;
  animation: scrollHighlights 40s linear infinite;
  width: max-content;
}
.highlight-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  color: var(--light);
  transition: var(--transition);
  min-width: 220px;
}
.highlight-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.hl-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.highlight-card h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  margin-bottom: 2px;
  white-space: nowrap;
}
.highlight-card p {
  font-size: 0.75rem;
  opacity: 0.7;
  white-space: nowrap;
}
@keyframes scrollHighlights {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.highlights-section:hover .highlights-track {
  animation-play-state: paused;
}

/* ==========================================
   CAMPUS VISIT MODAL
   ========================================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.4s ease;
  padding: 20px;
}
.modal-overlay.active {
  opacity: 1; visibility: visible;
}
.modal-content {
  background: var(--light);
  border-radius: var(--radius-lg);
  max-width: 800px; width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: scale(0.85) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-xl);
}
.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute; top: 15px; right: 20px;
  background: none; border: none;
  font-size: 2rem; color: var(--gray);
  transition: var(--transition);
  line-height: 1;
  cursor: none;
}
.modal-close:hover {
  color: var(--primary);
  transform: rotate(90deg) scale(1.2);
}
.modal-header {
  text-align: center;
  margin-bottom: 30px;
}
.modal-icon {
  font-size: 3rem;
  margin-bottom: 10px;
  display: inline-block;
  animation: iconFloat 3s ease-in-out infinite;
}
.modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.modal-header p {
  color: var(--gray);
  font-size: 0.95rem;
}
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.campus-visit-form .form-group {
  margin-bottom: 18px;
}
.campus-visit-form label {
  position: static;
  display: block;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  font-size: 0.9rem;
  pointer-events: auto;
}
.campus-visit-form input,
.campus-visit-form select,
.campus-visit-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
  font-family: var(--font-main);
}
.campus-visit-form input:focus,
.campus-visit-form select:focus,
.campus-visit-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(108,92,231,0.1);
}
.form-submit-cv {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 16px;
}
.campus-visit-success {
  text-align: center;
  padding: 30px 0;
}
.success-checkmark {
  font-size: 4rem;
  margin-bottom: 15px;
  animation: successBounce 0.6s ease;
}
.campus-visit-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 10px;
}
.campus-visit-success p {
  color: var(--gray);
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .form-row-2col { grid-template-columns: 1fr; }
  .modal-content { padding: 25px; }
  .hero-trust { flex-direction: column; align-items: flex-start; }
  .hero-badge-row { text-align: center; }
}
