@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Quicksand:wght@400;500;600;700&display=swap');

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

body {
  background-color: #FBF8F1;
  color: #242424;
  font-family: 'Quicksand', sans-serif;
}

h1, h2, h3, h4, h5 {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  color: #5FA82E;
}

.leaf-divider { position: relative; }
.leaf-divider::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #F5A623, #7CB342);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: #F5A623;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.25);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background-color: #FFC266; box-shadow: 0 12px 28px rgba(245, 166, 35, 0.3); transform: translateY(-2px); color: #fff; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: #5FA82E;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(95, 168, 46, 0.25);
  transition: all 0.2s ease;
  border: none;
}
.btn-accent:hover { background-color: #7CB342; color: #fff; transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 2px solid #F5A623;
  color: #5FA82E;
  padding: 0.75rem 1.5rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  transition: all 0.2s ease;
  background: transparent;
}
.btn-secondary:hover { background-color: #F5A623; color: #fff; }

.card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid rgba(182, 220, 138, 0.5);
  transition: all 0.3s ease;
}
.card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }

.rounded-organic { border-radius: 2rem 1rem 2rem 1rem; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal-visible { opacity: 1; transform: translateY(0); }

/* Ken Burns hero zoom */
@keyframes ken-burns {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}
.animate-ken-burns { animation: ken-burns 18s ease-out forwards; }

/* Rich text content (from Summernote) */
.prose-content :first-child { margin-top: 0; }
.prose-content :last-child { margin-bottom: 0; }
.prose-content p { margin: 0 0 1em; line-height: 1.7; }
.prose-content ul, .prose-content ol { margin: 0 0 1em; padding-left: 1.5em; }
.prose-content a { color: #F5A623; text-decoration: underline; }

/* Mobile submenu chevron rotate */
.rotate-180 { transform: rotate(180deg); transition: transform 0.2s ease; }

/* Enrolment "preferred days" pill toggle */
.day-toggle {
  width: 3rem; height: 3rem; border-radius: 9999px;
  border: 1px solid #d1d5db; background: #fff; color: #242424;
  font-weight: 600; font-size: 0.875rem; cursor: pointer;
}
.day-toggle-active { background-color: #7CB342; color: #fff; border-color: #7CB342; }

/* Enrolment sibling toggle switch */
.sibling-toggle {
  width: 3.5rem; height: 1.75rem; border-radius: 9999px; background: #d1d5db;
  display: inline-flex; align-items: center; padding: 0.25rem; cursor: pointer;
  border: none; transition: background 0.2s ease;
}
.sibling-toggle.toggle-on { background-color: #7CB342; justify-content: flex-end; }
.sibling-toggle:not(.toggle-on) { justify-content: flex-start; }
.sibling-toggle span { width: 1.25rem; height: 1.25rem; border-radius: 9999px; background: #fff; display: block; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.enrol-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 42px 32px 36px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(40, 60, 45, .08);
  border: 1px solid rgba(185, 221, 138, .35);
  transition: transform .35s ease, box-shadow .35s ease;
}

.enrol-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(40, 60, 45, .14);
}

.enrol-number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: "Baloo 2", cursive;
  font-size: 14px;
  font-weight: 700;
  color: rgba(95, 168, 46, .35);
}

.enrol-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #D6ECB4;
  color: #5FA82E;
  display: flex;
  align-items: center;
  justify-content: center;
}

.enrol-icon svg {
  width: 32px;
  height: 32px;
}

.enrol-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5FA82E;
  font-weight: 700;
  transition: gap .25s ease, color .25s ease;
}

.enrol-link:hover {
  color: #F5A623;
  gap: 13px;
}