/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;500;600;700;800;900&display=swap');

/* ===== CSS Variables ===== */
:root {
  --primary: #3DAA35;
  --primary-dark: #2C8228;
  --navy: #5C3317;
  --yellow: #F07428;
  --green: #3DAA35;
  --light-bg: #EDF7EC;
  --card-blue: #2B9ED4;
  --card-orange: #F07428;
  --card-purple: #7B3FA0;
  --card-lime: #6BBF5B;
  --card-teal: #00998C;
  --border-radius: 20px;
  --shadow: 0 8px 30px rgba(0,0,0,0.10);
}

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

body {
  font-family: 'Nunito', sans-serif;
  color: #1A1A2E;
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Fredoka One', cursive; }

/* ===== Navbar ===== */
.navbar {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  padding: 10px 0;
  z-index: 1030;
}

.navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.logo-icon { height: 2.8rem; width: auto; border-radius: 8px; object-fit: contain; }

.logo-text .brand-name {
  font-family: 'Fredoka One', cursive;
  color: var(--primary);
  font-size: 1.25rem;
  display: block;
  line-height: 1.2;
}

.logo-text .brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--navy);
  font-weight: 800;
  display: block;
}

.nav-link {
  font-weight: 700 !important;
  color: #2D2D2D !important;
  padding: 8px 14px !important;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
  color: #fff !important;
  background-color: var(--primary);
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler:focus { box-shadow: none !important; }

/* ===== Hero Section ===== */
.hero-section {
  background: linear-gradient(135deg, #edf7ec 0%, #dff0dc 50%, #e8f5e9 100%);
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  background: rgba(61,170,53,0.13);
  color: var(--primary);
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.hero-section h1 {
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-section .hero-lead {
  color: #4A5568;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 580px;
}

.hero-section .hero-img-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-section .hero-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ===== Grass Wave ===== */
.grass-wave { display: block; width: 100%; margin-top: 40px; }
.grass-wave svg { display: block; width: 100%; }

/* ===== Buttons ===== */
.btn-yellow {
  background: var(--yellow);
  color: #fff;
  border: none;
  font-weight: 800;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  font-family: 'Nunito', sans-serif;
  display: inline-block;
  text-decoration: none;
}
.btn-yellow:hover {
  background: #d4631e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240,116,40,0.4);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2.5px solid var(--navy);
  font-weight: 800;
  padding: 11px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  font-family: 'Nunito', sans-serif;
  display: inline-block;
  text-decoration: none;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-primary-custom {
  background: transparent;
  color: var(--primary);
  border: 2.5px solid var(--primary);
  font-weight: 800;
  padding: 11px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  font-family: 'Nunito', sans-serif;
  display: inline-block;
  text-decoration: none;
}
.btn-outline-primary-custom:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Section Labels ===== */
.section-label {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 8px;
  font-family: 'Fredoka One', cursive;
}

/* ===== White Content Area ===== */
.content-section { padding: 70px 0; }
.content-section-sm { padding: 50px 0; }

/* ===== Feature Cards (About) ===== */
.feature-card {
  border-radius: var(--border-radius);
  padding: 30px 28px;
  border: 3px dashed;
  background: #fff;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card.fc-red   { border-color: var(--primary); }
.feature-card.fc-blue  { border-color: var(--card-blue); }
.feature-card.fc-purple{ border-color: var(--card-purple); }
.feature-card.fc-green { border-color: var(--card-lime); }
.feature-card.fc-yellow{ border-color: var(--yellow); }

.feature-card .fc-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.fc-red   .fc-icon { background: rgba(61,170,53,0.12); }
.fc-blue  .fc-icon { background: rgba(77,166,232,0.12); }
.fc-purple.fc-icon { background: rgba(155,114,196,0.12); }
.fc-green .fc-icon { background: rgba(138,191,80,0.12); }
.fc-yellow.fc-icon { background: rgba(245,208,32,0.15); }

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.feature-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #555;
}

/* ===== Program Cards ===== */
.program-card {
  border-radius: var(--border-radius);
  padding: 35px 28px;
  color: #fff;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.program-card::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 90px; height: 90px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.program-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.18); }

.program-card h3 { font-size: 1.45rem; margin-bottom: 14px; }
.program-card p  { font-size: 0.9rem; line-height: 1.65; opacity: 0.95; }

.program-card .pc-tags { margin-top: 22px; }
.program-card .pc-tag {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.85rem;
  margin-bottom: 5px; justify-content: center;
  opacity: 0.9;
}

.pc-infant   { background: linear-gradient(135deg, #E8357A, #c4256a); }
.pc-toddler  { background: linear-gradient(135deg, #2B9ED4, #1c83b5); }
.pc-preschool{ background: linear-gradient(135deg, #7B3FA0, #622e85); }
.pc-osc      { background: linear-gradient(135deg, #3DAA35, #2C8228); }
.pc-outdoor  { background: linear-gradient(135deg, #F07428, #d4631e); }
.pc-seasonal { background: linear-gradient(135deg, #00998C, #007a70); }

/* ===== Stats Strip ===== */
.stats-strip { background: var(--navy); padding: 40px 0; }
.stat-item { text-align: center; }
.stat-item .stat-num {
  font-family: 'Fredoka One', cursive;
  font-size: 2.6rem;
  color: var(--yellow);
  line-height: 1;
}
.stat-item .stat-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 4px;
}

/* ===== FAQ Accordion ===== */
.faq-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid #eee;
  border-radius: 0 !important;
}
.faq-accordion .accordion-button {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--navy);
  background: #fff;
  padding: 18px 20px;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: rgba(61,170,53,0.04);
}
.faq-accordion .accordion-button::after {
  filter: none;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  filter: hue-rotate(320deg) saturate(2);
}
.faq-accordion .accordion-body {
  font-size: 0.93rem;
  line-height: 1.7;
  color: #555;
  padding: 0 20px 20px;
}
.faq-category-title {
  font-family: 'Fredoka One', cursive;
  color: var(--navy);
  font-size: 1.3rem;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

/* ===== Contact Info Items ===== */
.contact-info-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed #ddd;
}
.contact-info-item:last-child { border-bottom: none; }

.ci-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
}
.ci-icon.green  { background: #28a745; }
.ci-icon.red    { background: #dc3545; }
.ci-icon.blue   { background: #0d6efd; }
.ci-icon.yellow { background: #f0b800; }

.ci-text .ci-label { font-weight: 800; color: var(--navy); font-size: 0.95rem; margin-bottom: 2px; }
.ci-text .ci-value { color: #555; font-size: 0.93rem; line-height: 1.5; }

/* ===== Steps (Register) ===== */
.step-list { list-style: none; padding: 0; }
.step-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 0;
  font-weight: 700; font-size: 1rem;
  color: var(--navy);
  border-bottom: 1px dashed #eee;
}
.step-list li:last-child { border-bottom: none; }
.step-arrow {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ===== Contact / Register Form ===== */
.form-control, .form-select {
  border-radius: 12px;
  border: 2px solid #e0e7ef;
  font-family: 'Nunito', sans-serif;
  font-size: 0.93rem;
  padding: 12px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(61,170,53,0.18);
  outline: none;
}
.form-label { font-weight: 700; color: var(--navy); font-size: 0.9rem; margin-bottom: 6px; }

/* ===== Map ===== */
.map-wrap { border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #2C8228 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 12px; }
.cta-banner p  { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; }

/* ===== Page Hero (sub-pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #edf7ec 0%, #dff0dc 50%, #e8f5e9 100%);
  padding: 70px 0 0;
  text-align: center;
}
.page-hero h1 {
  color: var(--navy);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero p {
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 600;
}

/* ===== Testimonials ===== */
.testimonial-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  height: 100%;
}
.testimonial-card .stars { color: #F07428; font-size: 1rem; margin-bottom: 12px; }
.testimonial-card p { font-size: 0.93rem; line-height: 1.7; color: #555; font-style: italic; }
.testimonial-card .author { margin-top: 16px; font-weight: 800; color: var(--navy); font-size: 0.9rem; }

/* ===== Card wrapper for sections ===== */
.section-card {
  background: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 40px;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: #fff;
  padding: 55px 0 0;
}
.footer h5 {
  font-family: 'Fredoka One', cursive;
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.footer a { color: rgba(255,255,255,0.72); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--yellow); }
.footer ul li { margin-bottom: 8px; font-size: 0.9rem; }
.footer p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding: 18px 0;
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}

/* ===== Utility ===== */
.rounded-lg { border-radius: var(--border-radius) !important; }
.bg-light-custom { background: var(--light-bg); }
.text-primary-custom { color: var(--primary) !important; }
.text-navy { color: var(--navy) !important; }

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-top: 10px;
    box-shadow: var(--shadow);
  }
  .nav-link { border-radius: 10px; }
}

@media (max-width: 767.98px) {
  .hero-section { padding: 50px 0 0; text-align: center; }
  .hero-section .hero-lead { margin: 0 auto; }
  .hero-buttons { justify-content: center; }
  .hero-section .hero-img-wrap { margin-top: 30px; }
  .content-section { padding: 50px 0; }
  .stat-item { margin-bottom: 20px; }
  .section-card { padding: 28px 20px; }
}
