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

:root {
  --sunshine: #8ED1DC;
  --sky: #1495A5;
  --sky-light: #D6EEF1;
  --coral: #DC998E;
  --mint: #36C6D1;
  --mint-light: #D6EEF1;
  --navy: #2F3E46;
  --white: #FFFFFF;
  --off-white: #E8F6F8;
  --warm-gray: #E8F6F8;
  --text: #2F3E46;
  --text-light: #546E7A;
  --shadow-sm: 0 2px 8px rgba(47, 62, 70, 0.07);
  --shadow-md: 0 4px 20px rgba(47, 62, 70, 0.11);
  --shadow-lg: 0 8px 40px rgba(47, 62, 70, 0.15);
  --radius: 16px;
  --radius-sm: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 226px;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: var(--sunshine);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  background: #c9877d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: visible;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 180px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy);
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: all var(--transition);
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--sky);
  border-bottom-color: var(--sky);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 100px;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 110, 122, 0.7) 0%, rgba(20, 149, 165, 0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 32px 40px;
  max-width: 1000px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 24px;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  letter-spacing: -0.3px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-quote {
  font-style: italic;
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Mission ===== */
.mission {
  padding: 80px 0;
  background: var(--off-white);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.mission-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mission-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.mission-card h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.mission-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== About ===== */
.about {
  padding: 100px 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: border-radius 0.6s ease;
}

.about-image:hover {
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 1.02rem;
}

.about-text p:first-child {
  font-size: 1.02rem;
  color: var(--text-light);
}

/* ===== Programs ===== */
.programs {
  padding: 100px 0;
  background: var(--off-white);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--sky);
}

.program-card:nth-child(1) { border-top-color: #1495A5; }
.program-card:nth-child(2) { border-top-color: #DC998E; }
.program-card:nth-child(3) { border-top-color: #F4B860; }

.program-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--shadow-md);
}

.program-image {
  height: 200px;
  overflow: visible;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.program-image::after {
  display: none;
}

.program-image img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  position: relative;
  z-index: 1;
}

/* Decorative ring behind each program image */
.program-image::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px dashed var(--sky);
  opacity: 0.3;
  z-index: 0;
}

.program-card:nth-child(1) .program-image::before { border-color: #1495A5; }
.program-card:nth-child(2) .program-image::before { border-color: #DC998E; }
.program-card:nth-child(3) .program-image::before { border-color: #F4B860; }

.program-card:hover .program-image img {
  transform: scale(1.08) rotate(-3deg);
}

.program-content {
  padding: 28px 24px;
}

.program-age {
  display: inline-block;
  background: var(--mint-light);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.program-content h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.program-content p {
  color: var(--text-light);
  font-size: 0.92rem;
}

/* ===== Gallery ===== */
.gallery {
  padding: 100px 0;
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease;
}

.gallery-item:nth-child(odd) {
  border-radius: 30px 10px 30px 10px;
}

.gallery-item:nth-child(even) {
  border-radius: 10px 30px 10px 30px;
}

.gallery-item:hover {
  transform: scale(1.03) rotate(-1deg);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(47, 62, 70, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.gallery-item.gallery-large {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== Admissions ===== */
.admissions {
  padding: 100px 0;
  background: var(--white);
}

.admissions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.admissions-step {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--sky);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
}

.admissions-step h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.admissions-step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.cta-card {
  background: linear-gradient(135deg, var(--sky) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius);
  text-align: center;
}

.cta-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.cta-card p {
  opacity: 0.9;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.cta-card .btn-primary {
  background: var(--sunshine);
  color: var(--navy);
  margin-bottom: 24px;
}

.cta-card .btn-primary:hover {
  background: #f0c040;
  box-shadow: 0 6px 20px rgba(255, 209, 102, 0.4);
}

.cta-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-link {
  color: var(--white);
  opacity: 0.85;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity var(--transition);
}

.cta-link:hover {
  opacity: 1;
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 100px 0;
  background: var(--off-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--sky);
  transition: transform var(--transition);
}

.testimonial-card:nth-child(1) { border-left-color: #1495A5; }
.testimonial-card:nth-child(2) { border-left-color: #DC998E; }
.testimonial-card:nth-child(3) { border-left-color: #F4B860; }

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-stars {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.testimonial-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

/* ===== Contact ===== */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h3 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--sky);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--navy);
}

.contact-note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 4px;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8e8e8;
  border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--warm-gray);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-brand .logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  opacity: 0.7;
  font-size: 0.9rem;
  transition: opacity var(--transition);
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  opacity: 0.6;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .about-grid,
  .admissions-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

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

  .nav-links {
    position: fixed;
    top: 180px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-item.gallery-large {
    grid-column: span 2;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-form-wrapper {
    padding: 28px 24px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-item.gallery-large {
    grid-column: span 1;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ===== Beliefs Section ===== */
.beliefs {
  padding: 80px 0;
  background: var(--white);
  color: var(--text);
}

.beliefs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.beliefs-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.beliefs-statement {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 24px;
}

.beliefs-list {
  list-style: none;
}

.beliefs-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.beliefs-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--sky);
}

.beliefs-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.belief-card {
  background: var(--white);
  padding: 28px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--sky);
  transition: transform var(--transition), box-shadow var(--transition);
}

.belief-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.belief-card:nth-child(1) { border-left-color: #1495A5; }
.belief-card:nth-child(2) { border-left-color: #DC998E; }
.belief-card:nth-child(3) { border-left-color: #F4B860; }

.belief-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.belief-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .beliefs-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===== About Highlights ===== */
.about-highlights {
  list-style: none;
  margin-top: 16px;
}

.about-highlights li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-light);
}

.about-highlights li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--sky);
}

/* ===== Philosophy Section ===== */
.philosophy {
  padding: 100px 0;
  background: var(--off-white);
}

.philosophy-intro {
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-intro p {
  color: var(--text-light);
  font-size: 1.02rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.philosophy-intro p:first-child {
  font-size: 1.02rem;
  color: var(--text-light);
}

/* ===== Curriculum Grid ===== */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.curriculum-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid var(--sky);
}

.curriculum-card:nth-child(1) { border-top-color: #1495A5; }
.curriculum-card:nth-child(2) { border-top-color: #DC998E; }
.curriculum-card:nth-child(3) { border-top-color: #F4B860; }
.curriculum-card:nth-child(4) { border-top-color: #7BC5A0; }
.curriculum-card:nth-child(5) { border-top-color: #B8A0D2; }
.curriculum-card:nth-child(6) { border-top-color: #F4B860; }

.curriculum-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.curriculum-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.curriculum-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.curriculum-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== Primary Program Section ===== */
.primary-program {
  padding: 100px 0;
  background: var(--white);
}

.goals-section {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.goals-card {
  background: none;
  color: var(--text);
  padding: 0;
  width: 100%;
}

.goals-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--navy);
}

.goals-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}

.goals-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
  break-inside: avoid;
}

.goals-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--sky);
}

@media (max-width: 768px) {
  .goals-list {
    columns: 1;
  }
}

/* ===== Developing the Child Section ===== */
.developing-child {
  padding: 100px 0;
  background: var(--white);
}

/* ===== Beliefs Sub-sections ===== */
.beliefs-vision {
  margin-bottom: 24px;
}

.beliefs-vision h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.beliefs-vision p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.beliefs-values {
  margin-top: 24px;
  margin-bottom: 0;
}

/* ===== Logo Styles ===== */
.nav-logo-img {
  height: 200px;
  width: auto;
  border-radius: 6px;
  position: relative;
  z-index: 10;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
  margin-top: 60px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  border-radius: 6px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--coral);
  padding: 48px 24px;
  text-align: center;
}

.cta-banner .wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 20px;
}

.btn-banner {
  display: inline-block;
  padding: 14px 36px;
  background: var(--white);
  color: var(--coral);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}

.btn-banner:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== Dropdown Navigation ===== */
.nav-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.7rem;
  margin-left: 2px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 8px 0;
  list-style: none;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: none;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: var(--sky-light);
  color: var(--sky);
}

/* Page hero banners (subpages) */
.hero[style*="min-height: 260px"],
.hero[style*="min-height: 340px"] {
  padding-top: 260px;
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 16px;
    display: none;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

/* ===== Wavy Section Dividers ===== */
.beliefs::before,
.about::before,
.programs::before,
.gallery::before {
  content: '';
  display: block;
  height: 40px;
  margin-top: -40px;
  background: inherit;
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* ===== Playful Decorative Dots ===== */
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #1495A5, #DC998E, #F4B860);
}

/* Playful button shape */
.btn {
  border-radius: 30px;
}

.btn-banner {
  border-radius: 30px;
}

/* Curriculum cards alternate tilt */
.curriculum-card:nth-child(odd) {
  border-radius: 20px 8px 20px 8px;
}

.curriculum-card:nth-child(even) {
  border-radius: 8px 20px 8px 20px;
}

.curriculum-card:hover {
  transform: translateY(-4px) rotate(0.5deg);
  box-shadow: var(--shadow-md);
}

/* Belief cards playful shape */
.belief-card {
  border-radius: 4px 16px 16px 4px;
}

/* Step numbers bounce */
.step-number {
  transition: transform 0.3s ease;
}

.admissions-step:hover .step-number {
  transform: scale(1.15) rotate(-5deg);
}

/* Testimonial cards slight tilt */
.testimonial-card:nth-child(even) {
  transform: rotate(0.5deg);
}

.testimonial-card:nth-child(odd) {
  transform: rotate(-0.5deg);
}

.testimonial-card:hover {
  transform: rotate(0) translateY(-4px);
}

/* ===== Hero Decorative Shapes ===== */
/* (removed — keeping hero clean) */

/* ===== Hero Wave Bottom ===== */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 180px;
}

/* (hero shapes removed) */

/* ===== Top Bar ===== */
.top-bar {
  background: var(--navy);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

.top-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-tagline {
  opacity: 0.85;
  font-style: italic;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-phone {
  color: var(--white);
  opacity: 0.85;
  font-weight: 500;
}

.top-bar-phone:hover {
  opacity: 1;
}

.top-bar-cta {
  background: var(--coral);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}

.top-bar-cta:hover {
  background: var(--sky);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .top-bar-tagline {
    display: none;
  }
  
  .top-bar-container {
    justify-content: flex-end;
  }
}

/* ===== Mission Timeline ===== */
.mission-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Wavy center divider */
.mission-timeline-divider {
  display: none;
}

.mission-timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
}

.mission-timeline-dot {
  display: none;
}

/* Alternate sides */
.mission-timeline-item:nth-child(odd) .mission-timeline-img {
  grid-column: 1;
  grid-row: 1;
}
.mission-timeline-item:nth-child(odd) .mission-timeline-text {
  grid-column: 2;
  grid-row: 1;
  padding-left: 0;
}

.mission-timeline-item:nth-child(even) .mission-timeline-img {
  grid-column: 2;
  grid-row: 1;
}
.mission-timeline-item:nth-child(even) .mission-timeline-text {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  padding-right: 0;
}

/* Dots removed */

/* Image */
.mission-timeline-img {
  overflow: hidden;
  border-radius: 50%;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease;
}

.mission-timeline-item:hover .mission-timeline-img {
  transform: scale(1.03);
}

.mission-timeline-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text */
.mission-timeline-text {
  background: var(--off-white);
  padding: 28px 32px;
  border-radius: 24px;
  border-left: 4px solid var(--sky);
}

.mission-timeline-item:nth-child(2) .mission-timeline-text { border-left-color: #DC998E; }
.mission-timeline-item:nth-child(3) .mission-timeline-text { border-left-color: #F4B860; }
.mission-timeline-item:nth-child(4) .mission-timeline-text { border-left-color: #7BC5A0; }
.mission-timeline-item:nth-child(5) .mission-timeline-text { border-left-color: #B8A0D2; }

.mission-timeline-item:nth-child(even) .mission-timeline-text {
  border-left: none;
  border-right: 4px solid var(--sky);
}
.mission-timeline-item:nth-child(2) .mission-timeline-text { border-right-color: #DC998E; }
.mission-timeline-item:nth-child(4) .mission-timeline-text { border-right-color: #7BC5A0; }

.mission-timeline-text h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.mission-timeline-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .mission-timeline-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mission-timeline-item:nth-child(odd) .mission-timeline-img,
  .mission-timeline-item:nth-child(even) .mission-timeline-img {
    grid-column: 1;
    grid-row: 1;
  }

  .mission-timeline-item:nth-child(odd) .mission-timeline-text,
  .mission-timeline-item:nth-child(even) .mission-timeline-text {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    border-left: 4px solid var(--sky);
    border-right: none;
  }
}

/* ===== Mission Circles ===== */
.mission-circles {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.mission-circle-item {
  text-align: center;
  width: 200px;
  transition: transform 0.3s ease;
}

.mission-circle-item:hover {
  transform: translateY(-6px);
}

.mission-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 16px;
  padding: 8px;
  background: var(--ring-outer);
  box-shadow: 0 0 0 6px var(--ring-outer), 0 4px 16px rgba(0,0,0,0.1);
  position: relative;
}

.mission-circle::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 3px solid var(--ring-color);
  z-index: 1;
  pointer-events: none;
}

.mission-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.mission-circle-item:hover .mission-circle img {
  transform: scale(1.08);
}

.mission-circle-item h3 {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.mission-circle-item:nth-child(1) h3 { color: #1495A5; }
.mission-circle-item:nth-child(2) h3 { color: #DC998E; }
.mission-circle-item:nth-child(3) h3 { color: #c49520; }
.mission-circle-item:nth-child(4) h3 { color: #5aa87e; }
.mission-circle-item:nth-child(5) h3 { color: #9580b8; }

/* ===== Mission Details (read more) ===== */
.mission-details {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}

.mission-detail-item {
  grid-column: span 2;
}

.mission-detail-item:nth-child(4) {
  grid-column: 2 / 4;
}

.mission-detail-item:nth-child(5) {
  grid-column: 4 / 6;
}

.mission-detail-item {
  padding: 24px 28px;
  background: var(--off-white);
  border-radius: 20px;
  border-top: 4px solid var(--sky);
}

.mission-detail-item:nth-child(1) { border-top-color: #1495A5; }
.mission-detail-item:nth-child(2) { border-top-color: #DC998E; }
.mission-detail-item:nth-child(3) { border-top-color: #F4B860; }
.mission-detail-item:nth-child(4) { border-top-color: #7BC5A0; }
.mission-detail-item:nth-child(5) { border-top-color: #B8A0D2; }

.mission-detail-item h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.mission-detail-item p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .mission-circles {
    gap: 16px;
  }

  .mission-circle-item {
    width: 130px;
  }

  .mission-circle {
    width: 110px;
    height: 110px;
  }

  .mission-circle-item h3 {
    font-size: 0.85rem;
  }

  .mission-details {
    grid-template-columns: 1fr;
  }

  .mission-detail-item,
  .mission-detail-item:nth-child(4),
  .mission-detail-item:nth-child(5) {
    grid-column: 1;
  }
}

/* ===== Mission Pillars ===== */
.mission-pillars {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.mission-pillar {
  position: relative;
  width: 200px;
  height: 240px;
  border-radius: 24px;
  overflow: hidden;
  cursor: default;
  transition: transform 0.4s ease;
}

.mission-pillar:hover {
  transform: translateY(-8px) scale(1.03);
}

.mission-pillar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--pillar-color) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  opacity: 0.85;
}

.mission-pillar h3 {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
  z-index: 1;
}

@media (max-width: 768px) {
  .mission-pillar {
    width: 160px;
    height: 200px;
  }

  .mission-pillar h3 {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .mission-pillars {
    gap: 12px;
  }

  .mission-pillar {
    width: calc(50% - 12px);
    height: 180px;
  }
}

/* ===== Mission Rows ===== */
.mission-rows {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.mission-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
}

.mission-row:nth-child(even) {
  direction: ltr;
}

.mission-row:nth-child(even) > * {
  direction: ltr;
}

.mission-row-text h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.mission-row-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

.mission-row:nth-child(1) .mission-row-text h3 { color: #1495A5; }
.mission-row:nth-child(2) .mission-row-text h3 { color: #DC998E; }
.mission-row:nth-child(3) .mission-row-text h3 { color: #c49520; }
.mission-row:nth-child(4) .mission-row-text h3 { color: #5aa87e; }
.mission-row:nth-child(5) .mission-row-text h3 { color: #9580b8; }

@media (max-width: 768px) {
  .mission-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mission-row:nth-child(even) {
    direction: ltr;
  }

  .mission-pillar {
    margin: 0 auto;
  }
}

/* ===== Mission Icon Circles ===== */
.mission-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.mission-row:hover .mission-icon-circle {
  transform: scale(1.1) rotate(-5deg);
}

/* ===== Mission Section Background ===== */
.mission-section {
  position: relative;
  overflow: hidden;
  background: none !important;
}

.mission-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.7;
  filter: saturate(0.7) brightness(1.1);
  pointer-events: none;
}

.mission-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 0;
}

.mission-section > .container {
  position: relative;
  z-index: 2;
}

.mission-rows {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.mission-row {
  display: block;
}

.mission-row-text {
  padding: 20px 24px;
  border-left: 4px solid var(--sky);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0 16px 16px 0;
  box-shadow: var(--shadow-sm);
}

.mission-row-text h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 800;
}

.mission-row-text p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 500;
}

.mission-rows .mission-row:nth-child(1) .mission-row-text { border-left-color: #1495A5; }
.mission-rows .mission-row:nth-child(2) .mission-row-text { border-left-color: #DC998E; }
.mission-rows .mission-row:nth-child(3) .mission-row-text { border-left-color: #F4B860; }
.mission-rows .mission-row:nth-child(4) .mission-row-text { border-left-color: #7BC5A0; }
.mission-rows .mission-row:nth-child(5) .mission-row-text { border-left-color: #B8A0D2; }

/* ===== Mission Layout with Deco Photo ===== */
.mission-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mission-layout .mission-rows {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mission-layout .mission-row {
  display: block;
}

.mission-layout .mission-row-text {
  padding-left: 20px;
  border-left: 4px solid var(--sky);
}

.mission-layout .mission-row:nth-child(1) .mission-row-text { border-left-color: #1495A5; }
.mission-layout .mission-row:nth-child(2) .mission-row-text { border-left-color: #DC998E; }
.mission-layout .mission-row:nth-child(3) .mission-row-text { border-left-color: #F4B860; }
.mission-layout .mission-row:nth-child(4) .mission-row-text { border-left-color: #7BC5A0; }
.mission-layout .mission-row:nth-child(5) .mission-row-text { border-left-color: #B8A0D2; }

.mission-deco-photo {
  position: relative;
}

.mission-deco-photo img {
  width: 100%;
  border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%;
  box-shadow: var(--shadow-lg);
  transition: border-radius 0.6s ease;
}

.mission-deco-photo:hover img {
  border-radius: 55% 45% 45% 55% / 45% 55% 45% 55%;
}

/* Small decorative circle behind the photo */
.mission-deco-photo::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--coral);
  opacity: 0.2;
  border-radius: 50%;
  top: -30px;
  right: -20px;
  z-index: -1;
}

.mission-deco-photo::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--sunshine);
  opacity: 0.25;
  border-radius: 50%;
  bottom: -20px;
  left: -15px;
  z-index: -1;
}

@media (max-width: 768px) {
  .mission-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission-deco-photo img {
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
}

/* ===== Values Cards ===== */
.values-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.value-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:nth-child(even) {
  direction: rtl;
}

.value-card:nth-child(even) > * {
  direction: ltr;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-card:nth-child(1) { border-top: 4px solid #1495A5; }
.value-card:nth-child(2) { border-top: 4px solid #DC998E; }
.value-card:nth-child(3) { border-top: 4px solid #F4B860; }
.value-card:nth-child(4) { border-top: 4px solid #7BC5A0; }
.value-card:nth-child(5) { border-top: 4px solid #B8A0D2; }

.value-card-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.value-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.value-card:hover .value-card-img img {
  transform: none;
}

.value-card-body h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.value-card:nth-child(1) .value-card-body h3 { color: #1495A5; }
.value-card:nth-child(2) .value-card-body h3 { color: #c4857a; }
.value-card:nth-child(3) .value-card-body h3 { color: #c49520; }
.value-card:nth-child(4) .value-card-body h3 { color: #5aa87e; }
.value-card:nth-child(5) .value-card-body h3 { color: #9580b8; }

.value-card-body p {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .value-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .value-card:nth-child(even) {
    direction: ltr;
  }

  .value-card-img {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }
}

/* ===== Classroom Section ===== */
.classroom-section {
  padding: 0;
}

.classroom-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
  gap: 40px;
  align-items: center;
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.classroom-text-side {
  display: flex;
  align-items: center;
  padding: 60px;
  background: var(--off-white);
}

.classroom-text-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.classroom-text-side li {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 16px 0 16px 32px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.classroom-text-side li:last-child {
  border-bottom: none;
}

.classroom-text-side li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--sky);
  font-size: 0.9rem;
}

.classroom-text-side li:nth-child(1)::before { color: #1495A5; }
.classroom-text-side li:nth-child(2)::before { color: #DC998E; }
.classroom-text-side li:nth-child(3)::before { color: #F4B860; }
.classroom-text-side li:nth-child(4)::before { color: #7BC5A0; }
.classroom-text-side li:nth-child(5)::before { color: #B8A0D2; }

.classroom-img-side {
  overflow: visible;
  position: relative;
  min-height: 350px;
}

.classroom-img-side img {
  width: 65%;
  border-radius: 24px;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-md);
  position: absolute;
}

.classroom-img-side img:first-child {
  top: 0;
  left: 0;
  z-index: 1;
}

.classroom-img-side img:last-child {
  bottom: 0;
  right: 0;
  z-index: 2;
  border: 4px solid white;
}

@media (max-width: 768px) {
  .classroom-split {
    grid-template-columns: 1fr;
  }

  .classroom-img-side {
    height: 300px;
    order: -1;
  }

  .classroom-text-side {
    padding: 32px 24px;
  }

  .classroom-text-side li {
    font-size: 0.95rem;
  }
}

/* ===== Tuition Table ===== */
.tuition-table-wrap {
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
}

.tuition-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tuition-table thead {
  background: var(--sky);
  color: white;
}

.tuition-table th {
  padding: 16px 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
}

.tuition-table td {
  padding: 18px 24px;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border-bottom: 1px solid var(--off-white);
}

.tuition-table tbody tr:last-child td {
  border-bottom: none;
}

.tuition-table tbody tr:hover td {
  background: var(--off-white);
}

@media (max-width: 600px) {
  .tuition-table th,
  .tuition-table td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }
}

/* ===== Contact Map ===== */
.contact-map {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ===== Consistent Image Treatment ===== */
.program-image img,
.value-card-img img,
.classroom-img-side img,
.about-image img {
  filter: brightness(1.05) saturate(0.85) contrast(0.95);
}

.program-image img:hover {
  filter: brightness(1.05) saturate(0.85) contrast(0.95);
}

/* ===== Mobile Fixes ===== */
@media (max-width: 768px) {
  /* Smaller navbar on mobile */
  .nav-container {
    height: 80px;
  }

  .nav-logo-img {
    height: 70px;
    margin-top: 10px;
  }

  /* Top bar adjustments */
  .top-bar {
    font-size: 0.75rem;
    padding: 6px 0;
  }

  .navbar {
    top: 30px;
  }

  .nav-links {
    top: 80px;
  }

  /* Hero adjustments */
  .hero {
    min-height: 60vh;
    align-items: flex-end;
    padding-bottom: 60px;
  }

  .hero-content {
    max-width: 100%;
    padding: 20px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
  }

  .hero-content h1 {
    font-size: 1.4rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 260px;
  }

  /* Subpage hero banners */
  .hero[style*="min-height: 260px"],
  .hero[style*="min-height: 340px"] {
    padding-top: 140px;
    padding-bottom: 30px;
    min-height: auto !important;
    align-items: center;
  }

  .hero[style*="min-height: 340px"] .hero-content {
    max-width: 100%;
    background: none;
    backdrop-filter: none;
  }

  /* Wave */
  .hero-wave svg {
    height: 60px;
  }

  /* Section padding */
  .about, .programs, .contact, .admissions, .testimonials,
  .developing-child, .primary-program, .beliefs {
    padding: 50px 0;
  }

  .container {
    padding: 0 16px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  /* About grid - stack */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-image {
    border-radius: 24px;
  }

  /* Programs grid */
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Program cards */
  .program-image {
    height: 140px;
    padding: 16px;
  }

  .program-image img {
    width: 100px;
    height: 100px;
  }

  .program-image::before {
    width: 120px;
    height: 120px;
  }

  /* Admissions grid */
  .admissions-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Contact grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form-wrapper {
    padding: 24px 16px;
  }

  /* Tuition table */
  .tuition-table th,
  .tuition-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-logo-row {
    justify-content: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }

  /* Beliefs layout */
  .beliefs-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Mission rows */
  .mission-rows {
    gap: 20px;
  }

  .mission-row-text {
    padding: 16px 18px;
  }

  /* Value cards */
  .value-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px;
  }

  .value-card:nth-child(even) {
    direction: ltr;
  }

  .value-card-img {
    width: 100px;
    height: 100px;
    margin: 0 auto;
  }

  /* Classroom split */
  .classroom-split {
    grid-template-columns: 1fr;
    padding: 30px 16px;
    gap: 24px;
  }

  .classroom-img-side {
    min-height: 250px;
  }

  .classroom-img-side img {
    width: 75%;
  }

  .classroom-img-side img:first-child {
    position: relative;
  }

  .classroom-img-side img:last-child {
    position: relative;
    margin-top: -40px;
    margin-left: auto;
  }

  /* Curriculum grid */
  .curriculum-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item.gallery-large {
    grid-column: span 1;
  }

  /* Dropdown menus on mobile */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 16px;
    background: var(--off-white);
    border-radius: 0;
  }

  /* Scroll padding for mobile navbar */
  html {
    scroll-padding-top: 120px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.3rem;
  }

  .nav-logo-img {
    height: 55px;
    margin-top: 5px;
  }

  .nav-container {
    height: 65px;
  }

  .nav-links {
    top: 65px;
  }

  .program-image img {
    width: 80px;
    height: 80px;
  }

  .program-image::before {
    width: 100px;
    height: 100px;
  }

  .classroom-img-side img {
    width: 85%;
  }

  .value-card-img {
    width: 80px;
    height: 80px;
  }
}

/* ===== Team Page ===== */
.team-member {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.team-member:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.team-photo {
  position: sticky;
  top: 240px;
}

.team-photo img {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}

.team-photo-placeholder {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: var(--shadow-sm);
}

.team-info h2 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.team-role {
  color: var(--sky);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 20px;
}

.team-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .team-member {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .team-photo {
    position: static;
    margin: 0 auto;
    width: 180px;
  }

  .team-photo-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }
}
