:root {
  --bg: #fffdf4;
  --bg-alt: #f3f9dd;
  --text: #48642b;
  --muted: #6c8252;
  --primary: #f4b548;
  --primary-dark: #d99827;
  --secondary: #e03aa4;
  --card: #ffffff;
  --border: rgba(72, 100, 43, 0.12);
  --shadow: 0 16px 40px rgba(72, 100, 43, 0.14);
  --radius: 24px;
  --container: min(1140px, calc(100% - 32px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
.section { padding: 88px 0; }
.section-sm { padding: 24px 0 48px; }
.alt-bg { background: var(--bg-alt); }
.eyebrow {
  font-size: .82rem;
  letter-spacing: .18em;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
h1, h2, h3, strong { font-family: 'Fredoka', sans-serif; }
h1 { font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: .95; margin: 0 0 18px; }
h1 span { display: block; color: var(--secondary); }
h3 span { display: block; color: var(--secondary); }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; margin: 0 0 14px; }
h3 { margin: 0 0 8px; font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--muted); line-height: 1.7; }
.topbar {
  background: var(--text);
  color: #fff;
  font-size: .92rem;
}
.topbar-inner, .footer-inner, .nav-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar-inner { min-height: 44px; }
.topbar-links { display: flex; gap: 16px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 253, 244, 0.92);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { min-height: 86px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 62px; height: 62px; object-fit: contain; border-radius: 50%; background: #fff; padding: 4px; }
.brand strong, .brand span { display: block; }
.brand span { color: var(--muted); font-size: .92rem; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-link, .dropdown-toggle {
  border: 0; background: transparent; cursor: pointer;
  padding: 12px 16px; border-radius: 999px; font-weight: 700; color: var(--text);
}
.nav-link:hover, .dropdown:hover .dropdown-toggle, .nav-link.active { background: #fff; box-shadow: var(--shadow); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100%); left: 0;
  min-width: 230px; background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow); padding: 10px; display: none;
}
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 12px; }
.dropdown-menu a:hover { background: var(--bg-alt); }
.menu-toggle { display: none; }
.hero {
  padding: 56px 0 68px;
  background: linear-gradient(180deg, #fff9da 0%, #fffdf4 38%, #f2fbda 100%);
}
.hero-grid, .split-layout {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center;
}
.lead { font-size: 1.06rem; max-width: 60ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800;
  border: 0; cursor: pointer; transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-secondary { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.hero-slider, .testimonial-slider {
  background: #fff; border-radius: 32px; padding: 18px; box-shadow: var(--shadow);
}
.slides { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; }
.slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transform: scale(1.03); transition: opacity .45s ease, transform .45s ease;
}
.slide.active { opacity: 1; transform: scale(1); pointer-events: auto; }
.slide img { height: 100%; object-fit: cover; }
.slider-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; }
.slider-btn {
  width: 42px; height: 42px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg-alt); font-size: 1.6rem;
}
.dots { display: flex; gap: 10px; flex: 1; justify-content: center; }
.dot {
  width: 10px; height: 10px; border-radius: 50%; background: #dfd5c8; cursor: pointer;
}
.dot.active { background: var(--primary); }
.cards-2, .cards-3, .cards-4, .program-grid, .features-grid, .gallery-grid {
  display: grid; gap: 24px;
}
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.program-grid { grid-template-columns: repeat(3, 1fr); margin-top: 34px; }
.features-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-grid { grid-template-columns: repeat(4, 1fr); margin-top: 32px; }
.info-card, .program-card, .icon-card, .mini-card, .teacher-card, .after-card, .feature {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border);
}
.info-card, .icon-card, .mini-card, .teacher-card, .after-card { padding: 28px; }
.program-card { overflow: hidden; }
.program-card img { aspect-ratio: 16 / 10; object-fit: cover; }
.program-card h3, .program-card span, .program-card p, .program-card .text-btn { padding-left: 22px; padding-right: 22px; }
.program-card h3 { padding-top: 20px; }
.program-card span { display: block; color: var(--primary-dark); font-weight: 800; margin-bottom: 8px; }
.program-card .text-btn { margin: 0 0 20px; }
.text-btn {
  background: transparent; border: 0; color: var(--secondary); font-weight: 800; cursor: pointer;
}
.section-heading { max-width: 760px; margin-bottom: 18px; }
.feature { padding: 22px; font-weight: 700; }
.teacher-card img, .after-card img { border-radius: 18px; margin-bottom: 16px; }
.timeline { display: grid; gap: 18px; max-width: 820px; margin: 0 auto; }
.timeline-item {
  background: #fff; padding: 22px 24px; border-left: 8px solid var(--primary);
  border-radius: 18px; box-shadow: var(--shadow);
}
.timeline-item span { color: var(--secondary); font-weight: 800; display: inline-block; margin-bottom: 8px; }
.timeline-item-inner {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 18px;
  align-items: start;
}
.timeline-item-inner img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  max-height: 190px;
}
.timeline-item-text {
  display: grid;
  gap: 12px;
}
@media (max-width: 780px) {
  .timeline-item-inner {
    grid-template-columns: 1fr;
  }
}
.announcement-list article {
  background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--shadow); margin-bottom: 16px;
}
.testimonial { display: none; min-height: 280px; place-content: center; padding: 30px; }
.testimonial.active { display: grid; }
.testimonial p { font-size: 1.15rem; color: var(--text); }
.contact-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 12px; }
.contact-form {
  display: grid; gap: 14px; background: #fff; padding: 28px; border-radius: 28px; box-shadow: var(--shadow);
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; border: 1px solid var(--border); background: #fffdf4; border-radius: 16px; padding: 14px 16px;
}
.form-note { font-size: .92rem; margin-bottom: 0; }
.site-footer { background: var(--text); color: #fff; padding: 26px 0; }
.back-to-top, .floating-top {
  background: var(--primary); color: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 800;
}
.floating-top {
  position: fixed; right: 18px; bottom: 18px; border: 0; box-shadow: var(--shadow); cursor: pointer;
  width: 52px; height: 52px; display: none;
}
.floating-top.show { display: inline-flex; align-items: center; justify-content: center; }
.lightbox, .modal {
  position: fixed; inset: 0; background: rgba(20, 20, 28, 0.7); display: none; place-items: center; z-index: 70;
  padding: 24px;
}
.lightbox.show, .modal.show { display: grid; }
.lightbox img { max-width: min(960px, 100%); max-height: 80vh; border-radius: 24px; box-shadow: var(--shadow); }
.lightbox-close, .modal-close {
  position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  cursor: pointer; font-size: 2rem; background: #fff;
}
.modal-box {
  max-width: 540px; width: 100%; background: #fff; border-radius: 26px; padding: 28px; position: relative;
}
.gallery-item {
  background: transparent; border: 0; padding: 0; cursor: pointer;
}
.gallery-item img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 1 / 1; object-fit: cover; }
.reveal { opacity: 0; transform: translateY(24px); transition: .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reverse { grid-template-columns: .95fr 1.05fr; }

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow); cursor: pointer;
  }
  .site-nav {
    position: absolute; top: calc(100% + 12px); right: 16px; left: 16px; display: none;
    flex-direction: column; align-items: stretch; padding: 16px; background: #fff; border-radius: 22px; box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .hero-grid, .split-layout, .cards-3, .cards-4, .program-grid, .features-grid, .gallery-grid, .cards-2 {
    grid-template-columns: 1fr 1fr;
  }
  .cards-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .hero-grid, .split-layout, .cards-3, .cards-4, .program-grid, .features-grid, .gallery-grid, .cards-2 {
    grid-template-columns: 1fr;
  }
  .topbar-inner, .footer-inner { flex-direction: column; align-items: flex-start; padding: 10px 0; }
  .hero { padding-top: 36px; }
  .nav-wrap { min-height: 74px; }
  .section { padding: 68px 0; }
}


.hero-copy .lead {
  color: #48642b;
}

.hero-slider .slide:first-child img {
  object-fit: contain;
  background: linear-gradient(180deg, #fff8cc 0%, #eff8c8 100%);
  padding: 18px;
}

.btn-secondary {
  color: #48642b;
}

.topbar, .site-footer {
  background: #9fce00;
}

.topbar a, .site-footer a {
  color: #ffffff;
}

.feature {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.slider-btn:hover, .dot.active {
  background: #e03aa4;
}

.gallery-item img {
  background: #fff;
}
