/* ============================================================
   ASTA WORLD – Global Stylesheet
   Pastel Palette: Pink-Mauve · Lavender · Mint
   ============================================================ */

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

:root {

  /* ── CORE PASTEL PALETTE ── */
  --mauve:        #ca637fd3;   /* pink-mauve — primary accent       */
  --lavender:     #b3acf3;   /* lavender   — secondary accent     */
  --mint:         #8afccae5;   /* mint       — highlight / CTA      */

  /* ── DEEPER TONES (contrast) ── */
  --mauve-deep:   #c0597fdc;   /* deeper mauve for hover / borders  */
  --lavender-deep:#807bbe;   /* deeper lavender                   */
  --mint-deep:    #7ff0cacb;   /* deeper mint for hover states      */

  /* ── TINTS / BACKGROUNDS ── */
  --mauve-tint:   #cf8ea3;   /* very light mauve bg               */
  --lavender-tint:#c2069981;   /* very light lavender bg            */
  --mint-tint:    #86f3cb;   /* very light mint bg                */

  /* ── FOUNDATION ── */
  --deep-ink:     #2E2B38;   /* near-black with slight purple warmth */
  --white:        #FFFFFF;
  --cloud:        #F7F6FB;   /* lavender-kissed page background   */

  /* ── SEMANTIC ALIASES (mapped to pastel palette) ── */
  --sky-burst:    var(--mauve);
  --sunshine:     var(--lavender);
  --mint-pop:     var(--mint);
  --lemon-zest:   var(--mauve-deep);
  --coral-pop:    var(--mint-deep);
  --silver-warm:  var(--lavender);

  --sky-pastel:   var(--mauve-tint);
  --peach-fizz:   var(--lavender-tint);
  --mint-pastel:  var(--mint-tint);
  --blush-pastel: #F2E4E9;
  --lime-pastel:  var(--lavender-tint);

  --navy:         var(--deep-ink);
  --gold:         var(--lavender);
  --gold-dark:    var(--lavender-deep);
  --gold-light:   var(--lavender-tint);
  --purple:       var(--mauve);
  --pink:         var(--blush-pastel);
  --blue-light:   var(--mauve-tint);
  --cream:        var(--cloud);

  --shadow:       0 10px 25px -5px rgba(60, 50, 75, 0.09);
  --shadow-lg:    0 25px 40px -15px rgba(60, 50, 75, 0.13);

  --radius-pill:  60px;
  --radius-card:  45px;
  --radius-sm:    20px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;  /* ADD THIS */
}

body {
  font-family: 'Fredoka', sans-serif;
  background-color: var(--cloud);
  color: var(--deep-ink);
  line-height: 1.6;
  overflow-x: hidden;

}

a { text-decoration: none; color: inherit; }

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

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  width: 100%;
  background-color: var(--deep-ink);
  color: var(--white);
  font-size: 0.88rem;
  padding: 0.55rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.asta-logo-text {
  display: inline-flex;
  align-items: center;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 400;
  font-size: 35px;
  color: var(--mint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  gap: 0.3em;
}

.top-bar-left p { font-weight: 400; letter-spacing: 0.3px; }

.enroll-btn-top {
  background-color: var(--mauve);
  color: var(--deep-ink);
  border: none;
  border-radius: 12px;
  padding: 0.45rem 1.6rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.enroll-btn-top:hover {
  background-color: var(--mauve-deep);
  transform: scale(1.03);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.5rem 2rem;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  background: #fff;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 10px 15px -5px rgba(250, 248, 250, 0.25); */
  margin-bottom: -20px;
  /* border: 1px solid #2e2b3860; */
  flex-shrink: 0;
}

.logo-shield {
  width: 50px;
  height: 60px;
  background-color: rgb(92, 87, 87);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.8rem;
  color: gray;
  line-height: 1;
}
.logo-shield span {
  transform: translateY(-3px);
  color: var(--mauve);
  text-shadow: 1px 1px 0 var(--deep-ink);
}

.nav-links {
  display: flex;
  gap: 40px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--deep-ink);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--mauve);
  color: var(--mauve-deep);
}

.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--mauve);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.2s;
}
.social-icons a:hover {
  background-color: var(--mauve-deep);
  transform: scale(1.08);
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--deep-ink);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 1.2rem 2rem;
  gap: 1rem;
  border-top: 1px solid rgba(212,175,185,0.3);
  box-shadow: 0 8px 20px -5px rgba(60,50,75,0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--deep-ink);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(212,175,185,0.25);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--mauve-deep); }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 550px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 1;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 2;
  animation: subtleZoom 12s infinite alternate ease-in-out;
}
@keyframes subtleZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.carousel-slide:nth-child(1) { background-image: url('./images/white-kids/4.jpeg'); }
.carousel-slide:nth-child(2) { background-image: url('./images/white-kids/2.jpeg'); }
.carousel-slide:nth-child(3) { background-image: url('./images/white-kids/3.jpeg'); }

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(46, 43, 56, 0.55) 35%,
    rgba(212, 175, 185, 0.18)
  );
  z-index: 3;
}

.carousel-content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  padding: 0 5rem;
}

.carousel-text {
  max-width: 640px;
  animation: fadeInUp 0.9s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.carousel-text .pre-title {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 1rem;
}

.carousel-text h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.carousel-text h1 .c-purple { color: var(--mint); }
.carousel-text h1 .c-gold   { color: var(--lavender); }

.carousel-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2rem;
}

/* CTA button — mint on hero for brightness */
.cta-curriculum {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(138, 255, 230, 0.548);
  color: var(--deep-ink);
  padding: 0.9rem 2.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 15px 20px -8px rgba(198,254,230,0.5);
  text-transform: uppercase;
}
.cta-curriculum i {
  background: var(--white);
  color: var(--mint-deep);
  border-radius: 50%;
  padding: 6px;
  font-size: 0.9rem;
  transition: transform 0.2s;
}
.cta-curriculum:hover {
  background-color: var(--mint-deep);
  transform: translateY(-4px);
  box-shadow: 0 22px 25px -8px rgba(143,232,203,0.55);
}
.cta-curriculum:hover i { transform: translateX(5px); }

/* Carousel arrows */
.carousel-arrows {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  pointer-events: none;
}

.hero-arrow {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s;
  pointer-events: all;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.hero-arrow:hover {
  background: rgba(212,175,185,0.45);
  transform: scale(1.08);
}

/* Carousel dots */
.carousel-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active {
  background: var(--mint);
  width: 28px;
  border-radius: 10px;
}

/* ============================================================
   CONTACT INFO CARD (floating below hero)
   ============================================================ */
.contact-info {
  padding: 0 2rem;
  margin-top: -70px;
  position: relative;
  z-index: 20;
}
.contact-card {
  max-width: 1000px;
  margin: 0 auto;
  background: #F4F0E4;
  border-radius: 15px;
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  box-shadow: 0 25px 40px -10px rgba(46,43,56,0.35);
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
}
.contact-icon {
  border: 2px solid #3BBDC5;
  /* color: var(--mauve); */
  color: #3BBDC5;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: background 0.3s;
}
.contact-item:hover .contact-icon {
  background: rgba(212,175,185,0.15);
}
.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: black;
}
.contact-item p {
  color: rgba(17, 16, 16, 0.72);
  font-size: 1.3rem;
  line-height: 1.5;
}

/* ============================================================
   EARLY YEARS HERO
   ============================================================ */
.early-years-hero {
  padding: 6rem 2rem 5rem;
  background: var(--cloud);
}

.early-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.hero-text-col {
  flex: 1 1 50%;
  min-width: 300px;
}

.hero-image-col {
  flex: 1 1 40%;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pre-title-gold {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--lavender-deep);
  margin-bottom: 1rem;
  display: block;
}

.main-heading {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--deep-ink);
}
.word-purple { color:#E96EA5}
.word-gold   { color:#E96EA5 }
.word-yellow { color:#E96EA5  }
.heading-line { display: block; }

.description p {
  color: var(--deep-ink);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
  max-width: 540px;
}
.description strong {
  color: var(--deep-ink);
  font-weight: 600;
  background: linear-gradient(to right, rgba(212,175,185,0.25), transparent);
  padding: 0 4px;
  border-radius: 4px;
}

/* Layered image frame */
.layered-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1/1.1;
  margin: 2rem auto 0;
}
.frame-back {
  position: absolute;
  top: -5%;
  right: -5%;
  width: 90%;
  height: 90%;
  background-color: #3BBDC5;
  border-radius: 40px;
  z-index: 1;
  box-shadow: 15px 20px 25px -10px rgba(46,43,56,0.12);
}
.frame-mid {
  position: absolute;
  bottom: -5%;
  left: -5%;
  width: 92%;
  height: 92%;
  background-color:#e96ea580;
  border-radius: 45px;
  z-index: 2;
  box-shadow: 10px 15px 25px -8px rgba(46,43,56,0.08);
}
.frame-front {
  position: absolute;
  inset: 0;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: 0 25px 35px -10px #E96EA5;
  z-index: 3;
}
.frame-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.frame-front:hover img { transform: scale(1.03); }

/* ============================================================
   CURRICULUM SECTION
   ============================================================ */
.curriculum-section {
  padding: 5rem 2rem 5rem;
  background: var(--cloud);
}

.curriculum-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.section-headline { display: flex; flex-direction: column; gap: 0.5rem;text-transform: capitalize; }

.small-gold-label {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--lavender-deep);
}

.main-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  text-transform: capitalize;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.2;
  color: var(--deep-ink);
}
.main-title span { color: var(--mauve-deep); }

.kg-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 1rem 0 0;
}
.kg-item {
  background-color: pink;
  padding: 0.45rem 1.8rem;
  border-radius: var(--radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--deep-ink);
  box-shadow: 0 8px 12px -5px rgba(46,43,56,0.08);
  border: 2px solid var(--mint);
  letter-spacing: 0.5px;
}

.purpose-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--deep-ink);
  max-width: 780px;
  background: rgba(255,255,255,0.8);
  padding: 1.4rem 2rem;
  border-radius: 40px;
  box-shadow: inset 0 0 0 1px rgba(212,175,185,0.28);
}
.purpose-text strong { color: var(--mauve-deep); font-weight: 600; }

.curriculum-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.curriculum-card {
  flex: 1 1 280px;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem 2rem 2.2rem;
  box-shadow: 0 20px 30px -12px rgba(46,43,56,0.08);
  border: 1px solid rgba(212,175,185,0.3);
  transition: all 0.3s ease;
}

.curriculum-card ul li{
  font-size: 1.2rem;
}

.curriculum-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 35px -12px rgba(46,43,56,0.15);
}
.card-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  text-transform: capitalize;
  font-size: 1.9rem;
  color: var(--deep-ink);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.card-title .american { color: var(--mauve-deep); }
.card-title .advanced  { color: var(--lavender-deep); }
.card-sub {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--lavender-deep);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.card-features { margin-top: 1.2rem; }
.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: black;
}
.card-features i {
  color: var(--mauve);
  font-size: 1.1rem;
  min-width: 1.5rem;
  margin-top: 0.15rem;
}
.card-features span { line-height: 1.5; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
}
.feature-pill {
  background: var(--lavender-tint);
  border-radius: 50px;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--deep-ink);
  font-size: 0.95rem;
  box-shadow: 0 6px 10px -3px rgba(46,43,56,0.08);
  border: 1px solid rgba(209,207,226,0.5);
  transition: all 0.2s;
}
.feature-pill i { color: var(--lavender-deep); font-size: 1.3rem; min-width: 1.6rem; }
.feature-pill:hover {
  background: var(--lavender);
  transform: scale(1.02);
}

/* ============================================================
   ADMISSION SECTION
   ============================================================ */
.admission-section {
  padding: 6rem 2rem 7rem;
  background: rgba(241, 241, 241, 0.856);
  position: relative;
  overflow: hidden;
}

.admission-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: rgba(192, 19, 65, 0.575);
  border-radius: 50%;
  pointer-events: none;
}
.admission-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: rgba(2, 38, 41, 0.075);
  border-radius: 50%;
  pointer-events: none;
}

.admission-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.admission-badge {
  display: inline-block;
  background: rgba(24, 197, 174, 0.514);
  border: 1px solid rgba(212,175,185,0.4);
  color: rgba(0, 0, 0, 0.884);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0.4rem 1.4rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.admission-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.774);
  margin-bottom: 1.2rem;
}
.admission-title span { color: rgba(0, 0, 0, 0.76); }

.admission-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto 2.8rem;
  line-height: 1.75;
}

.admission-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

/* Primary CTA — mint pops on dark bg */
.btn-enroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgb(2, 175, 152);
  color: white;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 1rem 2.6rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 15px 25px -8px rgba(198,254,230,0.35);
  transition: all 0.3s;
}
.btn-enroll i {
  background: rgb(22, 20, 21);
  color: var(--mint-deep);
  border-radius: 50%;
  padding: 7px;
  font-size: 0.85rem;
  transition: transform 0.2s;
}
.btn-enroll:hover {
  background: rgb(18, 168, 148);;
  transform: translateY(-4px);
  box-shadow: 0 22px 28px -8px rgba(143,232,203,0.45);
}
.btn-enroll:hover i { transform: translateX(4px); }

/* Secondary CTA — outlined mauve */
.btn-form {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgb(14, 9, 12);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(5, 5, 5, 0.45);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-form i { font-size: 1rem; }
.btn-form:hover {
  background: rgba(212,175,185,0.12);
  border-color: var(--mauve);
  transform: translateY(-3px);
}

/* Info strips */
.admission-info-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.info-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
}
.info-strip-item i { color: var(--mauve); font-size: 1.2rem; }
.info-strip-item strong { color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #c5d7e2;
  color: rgba(9, 12, 15, 0.774);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
}

.footer-brand .logo-text {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 2rem;
  color: rgb(22, 14, 14);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.3rem;
}
.footer-brand .logo-text span { color: var(--mauve); }
.footer-brand .tagline {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.897);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.2rem;
}
.footer-brand p {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 290px;
  color: rgba(24, 17, 17, 0.781);
  margin-bottom: 1.5rem;
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 69, 172, 0.11);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: rgba(4, 82, 105, 0.72);
  font-size: 1rem;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-social a:hover {
  background: var(--mauve);
  color: var(--white);
  border-color: var(--mauve);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(0, 0, 0, 0.911);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--mauve);
  display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul a {
  font-size: 1.2rem;
  color: rgba(14, 8, 8, 0.774);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a::before {
  content: '›';
  color: var(--mauve);
  font-size: 1.1rem;
}
.footer-col ul a:hover { color: var(--mauve); }

.footer-contact p {
  font-size: 1.2rem;
  color: rgba(19, 10, 10, 0.795);
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}
.footer-contact p i {
  color: var(--mauve);
  font-size: 1rem;
  min-width: 1.2rem;
  margin-top: 2px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: rgba(8, 5, 5, 0.719);
}
.footer-bottom a {
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--mauve); }

/* ============================================================
   UTILITIES & SECTION DIVIDER
   ============================================================ */
.section-divider {
  height: 4px;
  background: linear-gradient(to right, var(--lavender-tint), var(--lavender), var(--mauve), var(--mint));
  border: none;
  margin: 0;
}

/* ============================================================
   ETHOS SECTION
   ============================================================ */
.ethos-section {
  padding: 5rem 2rem;
  background: var(--cloud);
}

.ethos-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.ethos-cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.ethos-card {
  flex: 1 1 280px;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem 2rem 2.2rem;
  box-shadow: 0 20px 30px -12px rgba(46,43,56,0.08);
  border: 1px solid rgba(212,175,185,0.3);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ethos-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 35px -12px rgba(46,43,56,0.15);
}

.ethos-card-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--deep-ink);
  line-height: 1.2;
}
.ethos-card-title .accent-blue   { color: var(--mauve-deep); }
.ethos-card-title .accent-orange { color: var(--lavender-deep); }

.ethos-card-sub {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--lavender-deep);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.ethos-quote {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 1.3rem;
  color: var(--deep-ink);
  line-height: 1.6;
}
.ethos-quote i {
  color: var(--mauve);
  font-size: 1.3rem;
  min-width: 1.5rem;
  margin-top: 0.15rem;
}
.ethos-quote em {
  font-style: normal;
  font-weight: 600;
  color: var(--mauve-deep);
}

.ethos-line {
  width: 44px;
  height: 3px;
  border-radius: 10px;
  background: linear-gradient(to right, var(--mauve), var(--mint));
  margin-top: auto;
}

@media (max-width: 640px) {
  .ethos-cards-row { flex-direction: column; }
}

/* ============================================================
   FACILITIES SECTION
   ============================================================ */

/* Override the local :root block that had hard-coded purple/gold */
.facilities-section {
  --fac-accent:   #922c52;   /* mauve-deep as facilities accent  */
  --fac-gold:     #c0baff;   /* lavender-deep as secondary       */
  --fac-navy:     #2E2B38;   /* deep-ink                        */
  --fac-cream:    #F7F6FB;   /* cloud                           */
  --fac-soft:     #F5EBEE;   /* mauve-tint                      */

  background: var(--fac-cream);
  padding: 5rem 1.5rem 4.5rem;
  font-family: 'Fredoka', sans-serif;
}

.facilities-section .section-headline {
  text-align: center;
  margin-bottom: 3rem;
}

.facilities-section .small-gold-label {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  background: rgba(174,171,206,0.15);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.facilities-section .main-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--fac-navy);
  line-height: 1.2;
  margin: 0;
}

.facilities-section .main-title span {
  color: var(--fac-accent);
}

/* Grid */
.fac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1050px;
  margin: 0 auto;
}

.fac-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 4px 18px rgba(184,145,159,0.09);
  border: 1.5px solid rgba(212,175,185,0.18);
  transition: transform 0.28s cubic-bezier(.34,1.56,.64,1),
              box-shadow 0.28s ease,
              border-color 0.28s ease;
}

.fac-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(184,145,159,0.18);
  border-color: rgba(212,175,185,0.38);
}

.fac-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--fac-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, transform 0.3s cubic-bezier(.34,1.56,.64,1);
}

.fac-card:hover .fac-icon-wrap {
  background: var(--mauve);
  transform: rotate(-8deg) scale(1.08);
}

.fac-icon-wrap i {
  font-size: 1.15rem;
  color: var(--mauve-deep);
  transition: color 0.25s;
}

.fac-card:hover .fac-icon-wrap i {
  color: var(--white);
}

.fac-card-body h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--fac-navy);
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.fac-card-body ul {

  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.fac-card-body ul li {
  font-size: 1.2rem;
  color: #E6FFF7;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.4;
}

.fac-banner-body ul li{
    color: #555;
}

.facilities-section .fac-banner-body li{
    color: #444;
}
.facilities-section .fac-banner-body li::marker{
    color: #333 !important;
}

.fac-card-body ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #333;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 860px) {
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .body{
    overflow-x: hidden;
  }
}

@media (max-width: 540px) {
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-section { padding: 3.5rem 1.25rem 3rem; }
  .body{
    overflow-x: hidden;
  }
}

/* ============================================================
   MOBILE BRAND (hidden on desktop)
   ============================================================ */
.nav-brand-mobile {
  display: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media screen and (max-width: 1050px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .carousel-content { padding: 0 3rem; }
}

@media screen and (max-width: 900px) {
  .nav-links { gap: 15px; }
  .logo { width: 100px; height: 100px; }

  .early-inner { flex-direction: column;align-items: center;    }
  .hero-text-col { text-align: center; width: 100%;      }
  .description p { margin: 0 auto; }
  .cta-curriculum { margin: 0 auto; }
  .hero-image-col { width: 85%;display: flex;          /* ← ADD THIS */
    justify-content: center; /* ← ADD THIS */
    align-items: center;    /* ← ADD THIS */ }

  .contact-card { grid-template-columns: repeat(2,1fr); }

  .carousel-content { padding: 0 2rem; align-items: flex-end; padding-bottom: 6rem; }
}

@media screen and (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .curriculum-card { padding: 1.5rem; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 640px) {
  .nav-links { display: none; }
  .social-icons { display: none; }
  .mobile-toggle { display: block; }
  .logo { margin-bottom: 0; width: 80px; height: 80px; }

  .hero-carousel { height: 50vh; }
  .carousel-content { padding: 0 1.5rem; align-items: flex-end; padding-bottom: 5rem; }
  .carousel-text h1 { font-size: 2.4rem; }
  .carousel-text p { font-size: 0.95rem; }

  .contact-info { margin-top: -40px; }
  .contact-card {
    grid-template-columns: 1fr 1fr;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .mobile-nav.open { display: flex; }

  .admission-buttons { flex-direction: column; align-items: center; }
  .btn-enroll, .btn-form { width: 100%; max-width: 320px; justify-content: center; }

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

  .nav-brand-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    gap: 2px;
  }

  .nav-brand-mobile img {
    width: 110px;
    height: auto;
    object-fit: contain;
  }

  .nav-brand-mobile p {
    font-size: 11px;
    font-weight: 600;
    color: var(--lavender-deep);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
  }

  .early-years-hero {
    padding: 3rem 1rem 2rem;  /* ← Reduce padding on very small screens */
  }
  
  .hero-image-col {
    width: 100%;  /* ← Full width on mobile */
    max-width: 320px;
    padding: 0 1rem;
  }

  .layered-frame {
    max-width: 300px;  /* ← Smaller on mobile */
  }
}

@media screen and (max-width: 480px) {
  .top-bar { flex-direction: column; text-align: center; gap: 6px; font-size: 0.82rem; }
  .contact-card { grid-template-columns: 1fr; }
  .kg-item { font-size: 1.1rem; }
  .main-title { font-size: 2rem; }
  .admission-title { font-size: 2rem; }
  .carousel-text h1 { font-size: 2rem; }
}


/* contact-section-update */

/* main card – soft light background, dark text, subtle depth */

/* fecilities section */


      /* ── Color Variables (Cohesive Palette) ── */
      :root {
        --primary: #a7b0bb;      /* Deep navy blue */
        --accent: #f0f0f0;       /* Teal */
        --secondary: #f0fdf4;    /* Soft mint */
        --light-bg: #f8fafc;     /* Light slate */
        --text-dark: #1e293b;    /* Dark slate */
        --text-muted: #64748b;   /* Muted slate */
        --border: #e2e8f0;       /* Light border */
        --white: #ffffff;
      }
  
      /* ── Facilities Section ── */
      .facilities-section {
        background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
        padding: 3.5rem 1.25rem;
        position: relative;
        overflow: hidden;
      }
  
      /* Subtle background decoration */
      .facilities-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(215, 221, 221, 0.685) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
      }
  
      /* ── Headline ── */
      .section-headline {
        text-align: center;
        margin-bottom: 3rem;
        position: relative;
        z-index: 1;
      }
  
      .main-title {
        font-size: clamp(2rem, 6vw, 3rem);
        font-weight: 800;
        color: var(--primary);
        line-height: 1.2;
        letter-spacing: -0.5px;
      }
  
      .main-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 5px;
        background: var(--accent);
        margin: 1rem auto 0;
        border-radius: 10px;
      }
  
      /* ── Cards Container ── */
      .fac-banners {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 1100px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
      }
  
      /* ── Individual Card ── */
      .fac-banner {
        background: var(--white);
        border-radius: 12px;
        border: 1px solid var(--border);
        padding: 1.75rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        position: relative;
        overflow: hidden;
      }
  
      /* Hover effect */
      .fac-banner:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(30, 58, 95, 0.12);
        border-color: var(--accent);
      }
  
      /* Top accent line */
      .fac-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent), transparent);
      }
  
      /* ── Icon Container ── */
      .fac-icon-wrap {
        width: 52px;
        height: 52px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: linear-gradient(135deg, var(--accent), #ffffff);
        color: black;
        box-shadow: 0 4px 12px rgba(37, 41, 41, 0.2);
      }
  
      .fac-icon-wrap i {
        font-size: 1.5rem;
      }
  
      /* ── Content ── */
      .fac-banner-body {
        flex: 1;
        width: 100%;
      }
  
      .fac-banner-body h3 {
        font-size: 1.3rem;
        font-weight: 700;
        color: rgb(27, 27, 27);
        margin-bottom: 0.6rem;
        line-height: 1.3;
      }
  
      .fac-banner-body ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0;
      }
  
      .fac-banner-body ul li {
        font-size: 1rem;
        color: var(--text-muted);
        display: flex;
        align-items: center;
        gap: 0.6rem;
        line-height: 1.5;
      }
  
      /* Accent dots */
      .fac-banner-body ul li::before {
        content: '';
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--accent);
        flex-shrink: 0;
      }
      
      .facilities-section ul li::before{
    background:#333;
}
  
      /* ── Two-Column Grid (Desktop) ── */
      @media (min-width: 768px) {
        .fac-banners {
          grid-template-columns: repeat(2, 1fr);
          gap: 1.5rem;
        }
  
        .fac-banner {
          padding: 2rem;
        }
  
        /* Center last odd card */
        .fac-banner:last-child:nth-child(odd) {
          grid-column: 1 / -1;
          max-width: 50%;
          margin: 0 auto;
        }
      }
  
      /* ── Tablet adjustments ── */
      @media (max-width: 767px) {
        .facilities-section {
          padding: 2.5rem 1rem;
        }
  
        .section-headline {
          margin-bottom: 2rem;
        }
  
        .fac-banners {
          gap: 1rem;
        }
  
        .fac-banner {
          padding: 1.5rem;
        }
      }