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

:root {
  --header-height: 76px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #1f2933;
  background-color: #f7fafc;
  line-height: 1.5;
  scroll-snap-type: y mandatory;
  scroll-padding-top: var(--header-height);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: #1a365d;
}

.logo-icon {
  font-size: 1.4rem;
}

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: #4a5568;
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 0.1rem;
}

.nav-list a:hover {
  color: #2b6cb0;
}

/* Active nav link */
.nav-list a.active {
  color: #2b6cb0;
  position: relative;
}

.nav-list a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: #2b6cb0;
  border-radius: 999px;
}

/* Buttons */
.btn {
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Nav CTA button */
.nav-cta {
  background: #f6ad55;
  color: #1a202c;
  border-color: #f6ad55;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35);
}

.nav-cta:hover {
  background: #ed8936;
  border-color: #ed8936;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(135deg, #ebf8ff, #fefcbf);
}

.hero-inner {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 3vw + 1rem, 3rem);
  margin-bottom: 1rem;
  color: #1a365d;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: #2d3748;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #2f855a;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-card {
  padding: 1.25rem;
  background: #fff;
  border-radius: 0.8rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.hero-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #2c5282;
}

.hero-note {
  padding: 0.75rem 1rem;
  border-radius: 0.8rem;
  background: #2b6cb0;
  color: white;
  font-size: 0.95rem;
}

.hero-note .highlight {
  font-weight: 600;
}

.slides {
  position: relative;
}

.slide {
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: var(--header-height);
}

/* Primary + secondary buttons (reuse) */
.primary-btn {
  background: #2b6cb0;
  color: white;
}

.primary-btn:hover {
  background: #2c5282;
}

.secondary-btn {
  background: #fff;
  color: #2b6cb0;
  border-color: #2b6cb0;
}

.secondary-btn:hover {
  background: #ebf8ff;
}

.full-width {
  width: 100%;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: #edf2f7;
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.section-header {
  text-align: center;
}

.section-header h2 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  color: #1a365d;
}

.section-header p {
  color: #4a5568;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  gap: 1.75rem;
}

.about-text p + p {
  margin-top: 0.75rem;
}

.about-list h3 {
  margin-bottom: 0.5rem;
  color: #2b6cb0;
}

.about-list ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: #4a5568;
}

/* Cards (Programs) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-bottom: 0.25rem;
  color: #2c5282;
}

.card .age-range {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: #718096;
}

.card p {
  margin-bottom: 0.75rem;
  color: #4a5568;
}

.card ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: #4a5568;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid #e2e8f0;
  font-size: 0.95rem;
}

.testimonial blockquote {
  margin-bottom: 0.75rem;
  color: #2d3748;
}

.testimonial figcaption {
  font-size: 0.85rem;
  color: #718096;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr;
  gap: 1.75rem;
  align-items: start;
}

.contact-details {
  list-style: none;
  margin: 0.75rem 0 0.5rem;
  color: #4a5568;
}

.contact-details li + li {
  margin-top: 0.3rem;
}

.tiny-text {
  font-size: 0.75rem;
  color: #a0aec0;
}

.contact-form {
  background: #fff;
  padding: 1.25rem 1.4rem;
  border-radius: 0.9rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a5568;
}

.form-row input,
.form-row textarea {
  border-radius: 0.55rem;
  border: 1px solid #cbd5e0;
  padding: 0.55rem 0.7rem;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid #2b6cb0;
  outline-offset: 1px;
  border-color: #2b6cb0;
}

.form-status {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Slide dots */
.slide-dots {
  position: fixed;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.75rem 0.4rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  z-index: 20;
}

.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: #cbd5e0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.slide-dot:hover {
  background: #a0aec0;
}

.slide-dot.active {
  background: #2b6cb0;
  box-shadow: 0 0 0 4px rgba(43, 108, 176, 0.18);
  transform: scale(1.08);
}

/* Footer */
.site-footer {
  background: #1a365d;
  color: #e2e8f0;
  padding: 1.25rem 0;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .cards-grid,
  .testimonials-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .testimonials-grid {
    gap: 1.25rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem 1rem;
    gap: 0.75rem;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-list a {
    display: block;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .slide-dots {
    right: 0.6rem;
    padding: 0.55rem 0.25rem;
    gap: 0.55rem;
  }

  .slide-dot {
    width: 10px;
    height: 10px;
  }
}

/* Make hero feel like a big banner */
.hero.hero-banner {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

/* Soft wave strip at the bottom, like the slider background */
.hero-bg-wave {
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  width: 140%;
  height: 220px;
  background: #fef3c7; /* pale yellow / cream */
  border-radius: 50% 50% 0 0;
  z-index: 0;
}

/* Make sure content sits above the wave */
.hero-inner {
  position: relative;
  z-index: 1;
}

/* Left side text tweaks */
.hero-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f97373; /* playful pink */
  margin-bottom: 0.5rem;
}

.hero-banner h1 {
  font-size: clamp(2.4rem, 3vw + 1.2rem, 3.1rem);
  line-height: 1.1;
  color: #033b62; /* deep blue similar to Darling */
  margin-bottom: 0.75rem;
}

.hero-lead {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 1.4rem;
}

/* Right side illustration block */
.hero-illustration {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;

}

.hero-illustration-main {
  width: 450px;
  height: 520px;
  background-image: url("images/Young-Black-King-1.jpg");
  background-size: cover;
  background-position: center top;
  border-radius: 50% 30% 60% 40%;
}

/* Floating badges like the small graphics in the slider */
.hero-badge {
  position: absolute;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #033b62;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.hero-badge-top {
  top: 10%;
  right: 5%;
}

.hero-badge-bottom {
  bottom: 5%;
  left: 0%;
}

/* On smaller screens, stack hero content nicely */
@media (max-width: 900px) {
  .hero-banner {
    padding-top: 4rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-illustration {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .hero-bg-wave {
    bottom: -90px;
  }
}
