:root {
  --sun: #ffb800;
  --sky: #00aeef;
  --grass: #3dbe6a;
  --coral: #ff5a5f;
  --violet: #7b5ea7;
  --cream: #fff8ee;
  --dark: #1a1a2e;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-logo {
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--coral);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span { color: var(--sky); }
.logo-img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }

.nav-links { display: flex; list-style: none; gap: 24px; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--dark); }
.nav-cta {
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  background: var(--coral);
  padding: 10px 20px;
  border-radius: 999px;
}

.hamburger {
  display: none;
  border: none;
  background: transparent;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.hamburger span { width: 24px; height: 3px; background: var(--dark); border-radius: 2px; }

.countdown-banner {
  margin-top: 64px;
  background: linear-gradient(135deg, var(--sun), #ff8c00);
  text-align: center;
  padding: 12px 5%;
}
.countdown-banner p { font-weight: 800; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
#countdown { display: flex; gap: 8px; }
.count-block {
  background: var(--dark);
  color: #fff;
  border-radius: 8px;
  padding: 2px 10px;
  min-width: 44px;
  text-align: center;
  font-weight: 900;
  font-family: 'Baloo 2', cursive;
}
.count-label { display: block; font-size: 0.65rem; }

.hero {
  padding: 90px 5% 60px;
  min-height: 78vh;
  background: linear-gradient(135deg, #fff8ee 0%, #e8f7ff 50%, #f0fff4 100%);
}
.hero-content {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--sun), #ff8c00);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.2;
  margin-bottom: 14px;
}
.highlight-sky {
  background: linear-gradient(135deg, var(--sky), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc { font-weight: 600; color: #555; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 800;
  font-family: 'Baloo 2', cursive;
}
.btn-primary { background: linear-gradient(135deg, var(--coral), #ff3d55); color: #fff; }
.btn-secondary { background: #fff; color: var(--sky); border: 2px solid var(--sky); }
.hero-img-container { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.hero-img-container img { width: 100%; height: 420px; object-fit: cover; display: block; }

.about-section, .programs-section, .register-section { padding: 84px 5%; }
.about-section { background: #fff; }
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.section-tag {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--sky), #0090cc);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.3;
  margin-bottom: 14px;
}
.c-coral { color: var(--coral); }
.about-text { color: #555; margin-bottom: 10px; font-weight: 600; }
.about-img-wrap img { width: 100%; border-radius: 20px; }

.programs-section { background: var(--cream); }
.programs-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 32px; }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.prog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.prog-img { width: 100%; height: 180px; object-fit: cover; }
.prog-body { padding: 18px; }
.prog-body h3 { font-family: 'Baloo 2', cursive; margin-bottom: 8px; }
.prog-body p { color: #666; font-weight: 600; }

.register-section {
  background: linear-gradient(135deg, var(--coral) 0%, #ff3d55 40%, var(--violet) 100%);
}
.register-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.register-inner h2 { color: #fff; font-family: 'Baloo 2', cursive; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.register-inner p { color: rgba(255, 255, 255, 0.9); margin: 10px 0 22px; font-weight: 600; }
.register-form {
  background: #fff;
  text-align: left;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-weight: 800; margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
}
.btn-submit {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 15px;
  color: #fff;
  font-weight: 900;
  font-family: 'Baloo 2', cursive;
  background: linear-gradient(135deg, var(--coral), #ff3d55);
  cursor: pointer;
}

.alert { margin: 8px auto 16px; max-width: 700px; border-radius: 10px; padding: 12px 14px; font-weight: 700; }
.alert.success { background: #e5f9ee; color: #1a6e39; }
.alert.error { background: #ffe8e9; color: #9e1d22; }

footer { background: var(--dark); color: #fff; padding: 40px 5%; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand h3 { font-family: 'Baloo 2', cursive; margin-bottom: 8px; }
.footer-brand p { color: #d6d6d6; margin-bottom: 4px; }
.admin-link { color: var(--sun); font-weight: 700; }

.extra-section {
  padding: 72px 5%;
  background: #ffffff;
}
.extra-inner {
  max-width: 900px;
  margin: 0 auto;
  background: #f8fbff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #e5edf7;
}
.extra-inner h2 {
  font-family: 'Baloo 2', cursive;
  margin-bottom: 10px;
}
.extra-inner p {
  color: #334155;
  margin-bottom: 8px;
  font-weight: 600;
}
.extra-custom-html {
  padding: 0 5% 40px;
}

.reveal { opacity: 0; transform: translateY(24px); transition: all .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero-content, .about-inner { grid-template-columns: 1fr; }
  .hero-img-container img { height: 300px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 14px 5%;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
  }
  .form-row { grid-template-columns: 1fr; }
}
