*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: #FFF8E7;
  color: #2D3436;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Fredoka One', cursive;
  letter-spacing: 0.5px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Floating Background Shapes */
.floating-shapes { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.shape { position: absolute; border-radius: 50%; opacity: 0.15; animation: floatAnim 20s infinite ease-in-out; }
.shape:nth-child(1) { width: 200px; height: 200px; background: #FF6B6B; top: 10%; left: 5%; animation-delay: 0s; }
.shape:nth-child(2) { width: 300px; height: 300px; background: #4ECDC4; top: 60%; right: 10%; animation-delay: -5s; }
.shape:nth-child(3) { width: 150px; height: 150px; background: #FFD93D; bottom: 20%; left: 30%; animation-delay: -10s; }
.shape:nth-child(4) { width: 250px; height: 250px; background: #A29BFE; top: 30%; right: 25%; animation-delay: -15s; }
.shape:nth-child(5) { width: 100px; height: 100px; background: #FF8A5C; bottom: 40%; right: 40%; animation-delay: -7s; }
.shape:nth-child(6) { width: 180px; height: 180px; background: #54A0FF; top: 70%; left: 10%; animation-delay: -12s; }
@keyframes floatAnim {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-30px) rotate(90deg) scale(1.1); }
  50% { transform: translateY(20px) rotate(180deg) scale(0.9); }
  75% { transform: translateY(-15px) rotate(270deg) scale(1.05); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08); padding: 12px 0;
  transition: all 0.3s ease;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Fredoka One', cursive; font-size: 1.4rem;
  background: linear-gradient(135deg, #FF6B6B, #FFD93D);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo i { font-size: 1.8rem; -webkit-text-fill-color: #FF6B6B; }
.logo span { color: #2D3436; -webkit-text-fill-color: #2D3436; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.nav-toggle span { width: 28px; height: 3px; background: #2D3436; border-radius: 3px; transition: 0.3s; }
.nav-links { display: flex; list-style: none; gap: 8px; align-items: center; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; color: #2D3436; font-weight: 700; font-size: 0.9rem;
  padding: 8px 16px; border-radius: 25px; transition: all 0.3s ease;
}
.nav-links a:hover { background: #FFD93D; color: #2D3436; transform: translateY(-2px); }
.nav-links .btn-nav {
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: #fff !important; padding: 10px 24px; border-radius: 25px;
}
.nav-links .btn-nav:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,107,0.4); }

/* ===== HERO ===== */
.hero {
  position: relative; z-index: 1; min-height: 100vh;
  display: flex; align-items: center; padding: 120px 0 80px;
  background: linear-gradient(135deg, #FFF8E7 0%, #FFEAA7 50%, #FFD6A5 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 150px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' d='M0,224L60,213.3C120,203,240,181,360,181.3C480,181,600,203,720,213.3C840,224,960,224,1080,213.3C1200,203,1320,181,1380,170.7L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}
.hero .container { position: relative; z-index: 2; display: flex; align-items: center; gap: 50px; }
.hero-content { flex: 1; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.8); padding: 8px 20px;
  border-radius: 25px; font-weight: 700; font-size: 0.85rem; color: #FF6B6B; margin-bottom: 20px;
  border: 2px solid rgba(255,107,107,0.2);
}
.hero-content h1 {
  font-size: 3.2rem; line-height: 1.2; margin-bottom: 20px;
  background: linear-gradient(135deg, #2D3436, #FF6B6B, #4ECDC4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p { font-size: 1.15rem; color: #636E72; margin-bottom: 30px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px;
  border-radius: 30px; font-weight: 800; font-size: 1rem; text-decoration: none;
  transition: all 0.3s ease; cursor: pointer; border: none; font-family: 'Nunito', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, #FF6B6B, #FF8E53); color: #fff;
  box-shadow: 0 6px 20px rgba(255,107,107,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,107,107,0.4); }
.btn-secondary {
  background: linear-gradient(135deg, #4ECDC4, #44B09E); color: #fff;
  box-shadow: 0 6px 20px rgba(78,205,196,0.3);
}
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(78,205,196,0.4); }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 6px 20px rgba(37,211,102,0.3); }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(37,211,102,0.4); }
.btn-outline {
  background: transparent; color: #2D3436; border: 2px solid #FFD93D;
}
.btn-outline:hover { background: #FFD93D; transform: translateY(-3px); }

.hero-visual { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; }
.hero-illustration {
  width: 100%; max-width: 500px; position: relative;
}
.floating-icons { position: absolute; animation: floatIcon 3s ease-in-out infinite; }
.floating-icons:nth-child(1) { top: 0; right: 10%; animation-delay: 0s; }
.floating-icons:nth-child(2) { bottom: 20%; left: 0; animation-delay: -1.5s; }
.floating-icons:nth-child(3) { top: 30%; right: 0; animation-delay: -0.8s; }
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ===== SECTIONS COMMON ===== */
section { position: relative; z-index: 1; padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; background: #FFD93D; padding: 6px 18px; border-radius: 20px;
  font-weight: 800; font-size: 0.8rem; color: #2D3436; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 1px;
}
.section-header h2 {
  font-size: 2.5rem; margin-bottom: 15px;
  background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p { font-size: 1.1rem; color: #636E72; max-width: 700px; margin: 0 auto; }

/* ===== ABOUT ===== */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-image-wrap {
  background: linear-gradient(135deg, #FFEAA7, #FFD6A5); border-radius: 30px;
  padding: 20px; position: relative;
}
.about-image-wrap::before {
  content: '🌈'; font-size: 4rem; position: absolute; top: -20px; left: -20px;
  animation: floatIcon 3s ease-in-out infinite;
}
.about-image-wrap::after {
  content: '⭐'; font-size: 3rem; position: absolute; bottom: -15px; right: -15px;
  animation: floatIcon 3s ease-in-out infinite; animation-delay: -1.5s;
}
.about-image-wrap img {
  width: 100%; height: auto; border-radius: 18px; display: block;
  object-fit: cover;
}
.pexels-img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 18px;
  transition: transform 0.5s ease;
}
.pexels-img:hover { transform: scale(1.03); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.stat-card {
  text-align: center; background: #FFF8E7; padding: 20px; border-radius: 20px;
  transition: all 0.3s ease;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.stat-card .num { font-family: 'Fredoka One', cursive; font-size: 2rem; background: linear-gradient(135deg, #FF6B6B, #FFD93D); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-card .label { font-size: 0.8rem; color: #636E72; font-weight: 700; margin-top: 5px; }
.about-text h3 { font-size: 1.5rem; margin-bottom: 15px; color: #2D3436; }
.about-text p { color: #636E72; line-height: 1.8; margin-bottom: 20px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-features li {
  list-style: none; display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: #2D3436;
}
.about-features li i { color: #4ECDC4; font-size: 1.2rem; }

/* ===== PROGRAMS / LEARNING AREAS ===== */
.programs { background: linear-gradient(135deg, #F8F9FF, #FFF0F5); }
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.program-card {
  background: #fff; border-radius: 24px; padding: 30px 25px;
  transition: all 0.4s ease; cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: center; position: relative; overflow: hidden;
}
.program-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
  background: linear-gradient(90deg, #FF6B6B, #FFD93D, #4ECDC4, #A29BFE);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.program-card:hover::before { transform: scaleX(1); }
.program-card:hover { transform: translateY(-10px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.program-icon {
  width: 70px; height: 70px; border-radius: 20px; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 18px; font-size: 2rem;
}
.program-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.program-card p { color: #636E72; font-size: 0.9rem; line-height: 1.6; }

/* ===== ACTIVITIES ===== */
.activities { background: #fff; }
.activities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.activity-card {
  background: #FFF8E7; border-radius: 20px; padding: 25px 20px; text-align: center;
  transition: all 0.3s ease;
}
.activity-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.activity-card .emoji { font-size: 3rem; display: block; margin-bottom: 10px; }
.activity-card h4 { font-size: 1rem; color: #2D3436; }
.activities-card-img {
  width: 100%; height: 140px; object-fit: cover; border-radius: 14px; margin-bottom: 10px;
}

/* ===== ADMISSIONS ===== */
.admissions { background: linear-gradient(135deg, #FFEAA7, #FFD6A5); }
.admissions-content { text-align: center; max-width: 800px; margin: 0 auto; }
.admissions-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.admissions-content p { font-size: 1.1rem; color: #636E72; margin-bottom: 30px; }
.admission-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin: 40px 0; }
.step-card { background: #fff; border-radius: 20px; padding: 25px 20px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.step-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.step-num { font-family: 'Fredoka One', cursive; font-size: 2.5rem; background: linear-gradient(135deg, #FF6B6B, #FFD93D); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.step-card h4 { font-size: 1rem; margin: 10px 0; }
.step-card p { font-size: 0.85rem; color: #636E72; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: #fff; }
.testimonial-slider { max-width: 800px; margin: 0 auto; position: relative; }
.testimonial-card {
  background: linear-gradient(135deg, #FFF8E7, #F8F9FF); border-radius: 24px;
  padding: 40px; text-align: center; display: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.testimonial-card.active { display: block; animation: fadeSlide 0.5s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.testimonial-card .quote { font-size: 1.1rem; color: #636E72; line-height: 1.8; margin-bottom: 25px; }
.testimonial-card .quote i { color: #FFD93D; font-size: 1.5rem; margin: 0 5px; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 15px; }
.testimonial-author img {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
  border: 3px solid #FFD93D;
}
.testimonial-author .name { font-weight: 800; color: #2D3436; }
.testimonial-author .role { font-size: 0.85rem; color: #636E72; }
.testimonial-controls { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.testimonial-controls button {
  width: 14px; height: 14px; border-radius: 50%; border: none; background: #ddd;
  cursor: pointer; transition: all 0.3s ease;
}
.testimonial-controls button.active { background: #FF6B6B; width: 40px; border-radius: 7px; }

/* ===== GALLERY ===== */
.gallery { background: linear-gradient(135deg, #F8F9FF, #FFF0F5); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.gallery-item {
  border-radius: 20px; overflow: hidden; position: relative; height: 220px;
  transition: all 0.4s ease; cursor: pointer;
}
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0;
}
.gallery-item .overlay {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 15px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5)); color: #fff;
  font-weight: 700; font-size: 0.9rem; text-align: center;
}

/* ===== CONTACT & ENQUIRY ===== */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 20px; }
.contact-info p { color: #636E72; line-height: 1.7; margin-bottom: 25px; }
.contact-details { display: flex; flex-direction: column; gap: 15px; }
.contact-item { display: flex; align-items: center; gap: 15px; }
.contact-item .icon {
  width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; color: #fff; flex-shrink: 0;
}
.contact-item .icon.green { background: linear-gradient(135deg, #4ECDC4, #44B09E); }
.contact-item .icon.red { background: linear-gradient(135deg, #FF6B6B, #FF8E53); }
.contact-item .icon.blue { background: linear-gradient(135deg, #54A0FF, #5F27CD); }
.contact-item .icon.yellow { background: linear-gradient(135deg, #FFD93D, #FF8A5C); }
.contact-item .text { font-weight: 600; }
.contact-item .text small { display: block; font-weight: 400; color: #636E72; font-size: 0.85rem; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 45px; height: 45px; border-radius: 50%; background: #FFF8E7;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  color: #2D3436; font-size: 1.2rem; transition: all 0.3s ease;
}
.social-links a:hover { background: #FFD93D; transform: translateY(-3px); }

.enquiry-form { background: #FFF8E7; border-radius: 24px; padding: 40px; }
.enquiry-form h3 { font-size: 1.5rem; margin-bottom: 25px; text-align: center; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.9rem; color: #2D3436; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; border: 2px solid #E8E8E8; border-radius: 14px;
  font-family: 'Nunito', sans-serif; font-size: 1rem; transition: all 0.3s ease;
  background: #fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: #FF6B6B; box-shadow: 0 0 0 4px rgba(255,107,107,0.1);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.btn-submit {
  width: 100%; padding: 16px; border: none; border-radius: 30px;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53); color: #fff;
  font-weight: 800; font-size: 1.1rem; cursor: pointer;
  transition: all 0.3s ease; font-family: 'Nunito', sans-serif;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,107,107,0.4); }

/* ===== FOOTER ===== */
.footer {
  background: #2D3436; color: #fff; padding: 60px 0 30px; position: relative; z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer h4 { font-size: 1.2rem; margin-bottom: 20px; color: #FFD93D; }
.footer p, .footer a { color: #B2BEC3; font-size: 0.9rem; line-height: 1.8; text-decoration: none; }
.footer a:hover { color: #FFD93D; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 40px; text-align: center; font-size: 0.85rem; color: #636E72; }

/* ===== WHATSAPP FLOATING ===== */
.whatsapp-float {
  position: fixed; bottom: 25px; right: 25px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s ease; text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-5px); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-float .pulse {
  position: absolute; width: 100%; height: 100%; border-radius: 50%;
  background: #25D366; animation: pulseAnim 2s infinite; z-index: -1;
}
@keyframes pulseAnim { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0; } }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== SECTION BACKGROUND OVERLAYS ===== */
.section-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden; pointer-events: none; z-index: 0;
}
.section-overlay img {
  width: 100%; height: 100%; object-fit: cover;
}
.section-bg-blob {
  position: absolute; border-radius: 50%; z-index: 0; overflow: hidden; pointer-events: none;
}
.section-bg-blob img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-bg-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.06; z-index: 0;
}
.hero-bg-img img { width: 100%; height: 100%; object-fit: cover; }
.admissions-bg-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.12; z-index: 0;
}
.admissions-bg-img img { width: 100%; height: 100%; object-fit: cover; }
.z-above { position: relative; z-index: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-buttons { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 70px; left: 0; width: 100%; background: #fff;
    flex-direction: column; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-120%); transition: transform 0.3s ease; border-radius: 0 0 20px 20px;
  }
  .nav-links.open { transform: translateY(0); }
  .hero-content h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.8rem; }
  .admissions-content h2 { font-size: 1.8rem; }
  .form-row { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .programs-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.6rem; }
  .btn { padding: 12px 24px; font-size: 0.85rem; }
  .enquiry-form { padding: 25px 20px; }
  .testimonial-card { padding: 25px 20px; }
  .about-stats { grid-template-columns: 1fr; }
}
