/* 
  ========================================
  KINDERGENTIUS SEAMLESS REDESIGN (KIDZEE)
  ========================================
*/

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Sniglet:wght@400;800&display=swap');

:root {
  /* Kidzee-Inspired Color Palette */
  --brand: #4B1675;
  /* Deep Purple */
  --brand-light: #6A2D9D;
  --accent: #FAEF35;
  /* Kidzee Yellow */
  --accent-soft: #FFF9E6;
  --bg-soft: #F1E9F9;
  /* Soft Lavender */
  --bg-white: #ffffff;
  --text: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --text-dark: #2D0A54;

  /* Shapes & Effects */
  --radius: 40px;
  --radius-sm: 20px;
  --shadow: 0 10px 30px rgba(75, 22, 117, 0.1);
  --shadow-hover: 0 15px 40px rgba(75, 22, 117, 0.2);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Navigation sizing */
  --nav-offset: 12px;
  --nav-height: 64px;
  --nav-gap: 10px;
}

/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Sniglet', cursive;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-white);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 210, 0, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(75, 22, 117, 0.05) 0%, transparent 20%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: var(--brand);
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Typography Scale */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 30px;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  text-align: center;
  border: none;
  box-shadow: 0 6px 20px rgba(75, 22, 117, 0.15);
  /* Brand shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--brand);
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 210, 0, 0.4);
}

.btn-primary:active,
.btn-primary.is-pressed {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 210, 0, 0.4);
}

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

.btn-outline:hover {
  background-color: var(--white);
  color: var(--brand);
  transform: translateY(-5px);
}

.btn-outline:active,
.btn-outline.is-pressed {
  background-color: var(--white);
  color: var(--brand);
  transform: translateY(-5px);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--brand);
  border: 2px solid rgba(75, 22, 117, 0.18);
}

.btn-secondary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(75, 22, 117, 0.16);
}

.btn-secondary:active,
.btn-secondary.is-pressed {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(75, 22, 117, 0.16);
}

/* Header (Floating Pill Style) */
.site-header {
  background: var(--brand);
  padding: 0;
  position: relative;
  z-index: 1000;
  min-height: calc(var(--nav-offset) + var(--nav-height) + var(--nav-gap));
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(75, 22, 117, 0.75);
  padding: 12px 26px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(33, 12, 55, 0.22);
  position: fixed;
  top: var(--nav-offset);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 1100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1001;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Fredoka', sans-serif;
}

.logo-mark {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
}

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

.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* Seamless Hero */
.hero {
  background: var(--brand);
  color: var(--white);
  padding: 100px 0 180px;
  position: relative;
  overflow: hidden;
  margin-top: -1px;
}

.hero h1,
.hero h2,
.hero h3 {
  color: var(--white);
}

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

.hero-image {
  position: relative;
}

.photo-carousel-section {
  padding-top: 88px;
}

.photo-carousel {
  position: relative;
  max-width: 780px;
  margin: 16px auto 0;
  padding: 38px 34px 34px;
  background: linear-gradient(180deg, #6a2d9d 0%, #4b1675 100%);
  border: 10px solid #ffd200;
  border-radius: 42px;
  box-shadow: 0 24px 48px rgba(75, 22, 117, 0.24);
}

.photo-carousel::before,
.photo-carousel::after {
  content: '';
  position: absolute;
  bottom: -28px;
  width: 86px;
  height: 18px;
  background: #ffd200;
  border: 5px solid #4b1675;
  border-radius: 999px;
}

.photo-carousel::before {
  left: 18%;
  transform: rotate(-12deg);
}

.photo-carousel::after {
  right: 18%;
  transform: rotate(12deg);
}

.photo-carousel__antenna {
  position: absolute;
  top: -78px;
  left: 50%;
  width: 160px;
  height: 94px;
  transform: translateX(-50%);
  pointer-events: none;
}

.photo-carousel__antenna span {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 8px;
  height: 82px;
  background: #ffd200;
  border-radius: 999px;
  box-shadow: 0 0 0 4px #4b1675;
  transform-origin: bottom center;
}

.photo-carousel__antenna span:first-child {
  transform: translateX(-50%) rotate(-28deg);
}

.photo-carousel__antenna span:last-child {
  transform: translateX(-50%) rotate(28deg);
}

.photo-carousel__badge {
  position: absolute;
  top: -24px;
  left: 34px;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: #faef35;
  color: #4b1675;
  border: 4px solid #ffffff;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 12px 24px rgba(75, 22, 117, 0.18);
}

.photo-carousel__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 8px solid #fff7b6;
  box-shadow: inset 0 0 0 6px rgba(75, 22, 117, 0.28), 0 18px 34px rgba(28, 8, 47, 0.24);
  background: #f8f3ff;
}

.photo-carousel__slide {
  display: none;
}

.photo-carousel__slide.is-active {
  display: block;
}

.photo-carousel__slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.photo-carousel__panel {
  position: absolute;
  right: 28px;
  top: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
}

.photo-carousel__knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #faef35;
  border: 3px solid #ffffff;
  box-shadow: inset -3px -3px 0 rgba(75, 22, 117, 0.2);
}

.photo-carousel__speaker {
  width: 22px;
  height: 58px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #ffffff 26%, transparent 28%) center 4px / 100% 16px repeat-y,
    rgba(75, 22, 117, 0.45);
  border: 3px solid #ffffff;
}

.photo-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.photo-carousel__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 122px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 2px solid rgba(75, 22, 117, 0.12);
  background: var(--white);
  color: var(--brand);
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(75, 22, 117, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.photo-carousel__nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(75, 22, 117, 0.14);
  border-color: rgba(75, 22, 117, 0.24);
}

@media (min-width: 969px) {
  .photo-carousel-section {
    padding-top: 128px;
  }

  .photo-carousel {
    max-width: 620px;
    margin-top: 0;
    padding: 28px 24px 24px;
  }

  .photo-carousel__antenna {
    top: -58px;
    width: 124px;
    height: 70px;
  }

  .photo-carousel__antenna span {
    height: 60px;
  }

  .photo-carousel__badge {
    top: -14px;
    left: 22px;
    padding: 8px 16px;
    font-size: 0.92rem;
  }
}

.hero-image img {
  width: 100%;
  border-radius: 60% 40% 70% 30% / 40% 50% 60% 70%;
  border: 12px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0% {
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 70%;
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  100% {
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 70%;
  }
}

/* Organic Divider (The Transition) */
.organic-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  background: transparent;
  line-height: 0;
  z-index: 5;
  --divider-fill: var(--bg-white);
  --divider-tint: 255, 255, 255;
}

.organic-divider svg {
  display: block;
  width: 100%;
  height: 120px;
}

.divider-bg {
  fill: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.divider-fill {
  fill: var(--divider-fill);
}

.parallax>use {
  animation: move-forever 60s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 25s;
}

.parallax>use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 35s;
}

.parallax>use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 50s;
}

.parallax>use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 70s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* Decorative Sprinkles */
.decor-sprinkle {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  animation: float 6s ease-in-out infinite alternate;
}

@keyframes float {
  from {
    transform: translate(0, 0) rotate(0);
  }

  to {
    transform: translate(10px, 20px) rotate(15deg);
  }
}

/* Playful Animations (Wiggle & Jelly) */
@keyframes wiggle {

  0%,
  100% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(3deg);
  }
}

@keyframes jelly {

  0%,
  100% {
    transform: scale(1, 1);
  }

  25% {
    transform: scale(0.9, 1.1);
  }

  50% {
    transform: scale(1.1, 0.9);
  }

  75% {
    transform: scale(0.95, 1.05);
  }
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 210, 0, 0.4);
}

.btn:active,
.btn.is-pressed {
  animation: jelly 0.5s ease-in-out;
  transform: translateY(2px);
  box-shadow: 0 4px 10px rgba(75, 22, 117, 0.2);
}

.card:hover .card-icon {
  animation: wiggle 0.6s ease-in-out infinite;
}

/* Hand-Drawn Stickers & Doodles */
.sticker {
  position: absolute;
  z-index: 3;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

.doodle-underline {
  position: relative;
  display: inline-block;
}

.doodle-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='20' viewBox='0 0 200 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2,10 Q50,0 100,10 T198,10' fill='none' stroke='%23FFD200' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Sections */
section {
  padding: 100px 0;
  position: relative;
}

.section-bg-soft {
  background-color: var(--bg-soft);
}

.home-enquiry-grid {
  align-items: start;
}

.enquiry-points {
  display: grid;
  gap: 18px;
}

.enquiry-point {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(75, 22, 117, 0.08);
}

.enquiry-point strong {
  display: block;
  margin-bottom: 8px;
  font-family: 'Fredoka', sans-serif;
  color: var(--brand);
}

.enquiry-point span {
  color: var(--text-muted);
}

/* Grid utilities */
.grid {
  display: grid;
  gap: var(--grid-gap, 40px);
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(var(--grid-min, 250px), 1fr));
}

.grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-split {
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
}

/* Kidzee Style Cards */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
  border-color: var(--bg-soft);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--bg-soft);
  color: var(--brand);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* Admissions Cards (Playful Glass Style) */
.admissions-section {
  background: #EBE1FF;
  color: var(--brand);
}

.admissions-header {
  text-align: center;
  margin-bottom: 50px;
}

.admissions-header h2 {
  color: var(--brand);
}

.admissions-header p {
  color: var(--text-dark);
  opacity: 0.7;
  max-width: 720px;
  margin: 0 auto;
}

.admissions-header h2 span {
  color: var(--accent);
  -webkit-text-stroke: 0;
  letter-spacing: 0.04em;
  text-shadow:
    1.5px 0 0 var(--brand),
    -1.5px 0 0 var(--brand),
    0 1.5px 0 var(--brand),
    0 -1.5px 0 var(--brand),
    1.5px 1.5px 0 var(--brand),
    -1.5px -1.5px 0 var(--brand),
    1.5px -1.5px 0 var(--brand),
    -1.5px 1.5px 0 var(--brand);
}

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

.admission-card {
  border-radius: 40px;
  padding: 35px 25px;
  position: relative;
  background: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 20px 40px rgba(74, 20, 140, 0.08);
  transition: all 0.3s ease;
  color: var(--brand);
  font-family: 'Fredoka', sans-serif;
}

.admission-card:hover {
  transform: translateY(-15px);
  border-color: var(--accent);
  box-shadow: 0 30px 60px rgba(74, 20, 140, 0.15);
}

.admission-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.admission-card__badge {
  background: var(--accent);
  color: var(--brand);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(250, 239, 53, 0.3);
}

.admission-card__initial {
  width: 45px;
  height: 45px;
  background: #EBE1FF;
  color: var(--brand);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.admission-card__age {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--brand);
  text-align: center;
  width: 100%;
  display: block;
}

.admission-card__sub {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 25px;
  display: block;
  text-align: center;
  width: 100%;
}

.admission-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.admission-card__item {
  background: #F8F5FF;
  border: 1.5px dashed var(--brand);
  border-radius: 15px;
  padding: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-dark);
  font-weight: 500;
}

.admission-card__btn {
  width: 100%;
  background: var(--brand);
  border: none;
  color: var(--white);
  padding: 15px;
  border-radius: 50px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  display: inline-block;
  transition: all 0.2s;
}

.admission-card__btn:hover {
  background: var(--text-dark);
}

.admissions-note {
  margin-top: 40px;
  text-align: center;
  color: var(--text-dark);
  opacity: 0.7;
}

.admission-card--compact {
  padding: 28px 22px;
}

.admission-card--compact .admission-card__badge {
  font-size: 1rem;
  padding: 7px 16px;
}

.admission-card--compact .admission-card__initial {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  border-radius: 12px;
}

.admission-card--compact .admission-card__age {
  font-size: 1.25rem;
}

.admission-card--compact .admission-card__item {
  font-size: 0.92rem;
}

/* Programs (Playful Cards) */
.programs-header {
  text-align: center;
  margin-bottom: 50px;
}

.programs-header p {
  max-width: 720px;
  margin: 0 auto;
}

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

.program-card {
  background: var(--card-bg, #fff8c7);
  border-radius: 32px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid rgba(75, 22, 117, 0.08);
  transition: var(--transition);
}

.program-card::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  background: var(--card-accent, var(--accent));
  opacity: 0.2;
  border-radius: 40% 60% 55% 45%;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.program-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.program-card__badge {
  background: var(--card-accent, var(--accent));
  color: var(--brand);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
}

.program-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  border: 2px solid rgba(75, 22, 117, 0.12);
}

.program-card__age {
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.program-card__note {
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.program-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.program-card__list li {
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(75, 22, 117, 0.15);
  font-size: 0.98rem;
}

.program-card--compact {
  padding: 24px;
}

.program-card--compact .program-card__icon {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
}

.program-card--compact .program-card__note {
  font-size: 0.95rem;
}

.programs-cta {
  margin-top: 50px;
  padding: 30px;
  border-radius: 28px;
  background: var(--bg-soft);
  text-align: center;
}

.programs-cta p {
  margin: 12px auto 24px;
  max-width: 640px;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer (Deep Purple) */
.site-footer {
  background: linear-gradient(180deg, #461c73 0%, #8435d9 100%);
  color: var(--white);
  padding: 80px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-brand,
.footer-card {
  min-width: 0;
}

.footer-brand p {
  max-width: 180px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0;
}

.footer-card {
  padding: 22px 22px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h3 {
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0 20px;
  padding-top: 20px;
  text-align: center;
}

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

.footer-list li + li {
  margin-top: 10px;
}

.footer-list a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-list a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-contact span {
  display: block;
  margin-bottom: 3px;
  color: var(--accent);
  font-family: 'Fredoka', sans-serif;
  font-size: 0.95rem;
}

.footer-contact__label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.footer-contact__label svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--accent);
}

.footer-social {
  margin-top: 18px;
}

.footer-card--contact {
  min-width: 0;
}

/* Social Icons */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(75, 22, 117, 0.1);
  color: var(--brand);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(75, 22, 117, 0.18);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link--light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.social-link--light:hover {
  background: rgba(255, 255, 255, 0.2);
}

.input-error {
  border-color: #e25c5c !important;
  box-shadow: 0 0 0 3px rgba(226, 92, 92, 0.16);
}

.form-message {
  font-size: 0.95rem;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-success,
.contact-status {
  margin-top: 20px;
  padding: 24px;
  border-radius: 28px;
  text-align: left;
}

.contact-success {
  background: #f6fdf7;
  border: 2px solid rgba(37, 211, 102, 0.24);
  color: #1f5130;
}

.contact-success h4 {
  margin-bottom: 10px;
  color: #1f5130;
}

.contact-status--error {
  background: #fff5f5;
  border: 2px solid rgba(226, 92, 92, 0.24);
  color: #7b2f2f;
}

.contact-status--error h4 {
  margin-bottom: 10px;
  color: #7b2f2f;
}

.contact-status p + p,
.contact-success p + p {
  margin-top: 10px;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.35);
  z-index: 1100;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 36px rgba(37, 211, 102, 0.45);
}

.whatsapp-float__text {
  line-height: 1;
}

/* Mobile Navigation Toggle (Hidden on Desktop) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  margin-left: auto;
}

.hamburger {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--white);
  position: relative;
  transition: var(--transition);
  border-radius: 3px;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background: var(--white);
  left: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 3px;
}

.hamburger::before {
  top: -10px;
}

.hamburger::after {
  top: 10px;
}

/* Responsive Media Query */
@media (max-width: 968px) {

  /* Layout & Typography */
  .container {
    padding: 0 20px;
  }

  :root {
    --nav-offset: 10px;
    --nav-height: 58px;
    --nav-gap: 8px;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  /* Header & Nav */
  .nav-toggle {
    display: block;
  }

  .nav-inner {
    padding: 10px 18px;
    border-radius: 28px;
    width: calc(100% - 20px);
  }

  .nav-links {
    position: fixed;
    top: calc(var(--nav-offset) + var(--nav-height));
    left: 0;
    width: 100%;
    background: var(--brand);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    align-items: center;
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    max-height: calc(100vh - var(--nav-offset) - var(--nav-height));
    overflow-y: auto;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
  }

  /* Hamburger Animation State */
  .nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }

  .nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
  }

  /* Hero Section */
  .hero {
    padding: 60px 0 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .hero-image {
    order: 0;
    max-width: 320px;
    margin: 0 auto 20px;
  }

  .hero-text h1 {
    margin-bottom: 15px;
  }

  .hero-text {
    order: -1;
  }

  .hero-text p {
    font-size: 1.1rem !important;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .hero-actions .btn {
    margin: 0 !important;
    width: 100%;
    max-width: 300px;
  }

  .photo-carousel__controls {
    justify-content: center;
  }

  .photo-carousel {
    max-width: 680px;
    margin-top: 34px;
    padding: 30px 24px 28px;
  }

  .photo-carousel__badge {
    left: 24px;
  }

  .photo-carousel__panel {
    top: 38px;
    right: 18px;
  }

  /* Organic Dividers */
  .organic-divider svg {
    height: 95px;
  }

  /* Cards */
  .card {
    padding: 30px 20px;
  }

  .admission-card {
    padding: 26px;
  }

  .admission-card__badge {
    font-size: 1rem;
  }

  .admission-card__initial {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }

  .program-card {
    padding: 26px;
  }

  .program-card__icon {
    width: 48px;
    height: 48px;
  }

  .program-card__badge {
    font-size: 0.95rem;
  }

  .decor-sprinkle {
    display: none;
  }

  section {
    padding: 80px 0;
  }

  .grid {
    gap: var(--grid-gap-mobile, 30px);
  }

  .grid-two,
  .grid-split {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .site-footer {
    padding: 60px 0 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-offset: 8px;
    --nav-height: 52px;
    --nav-gap: 6px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .nav-inner {
    padding: 8px 14px;
    width: calc(100% - 16px);
  }

  .logo {
    font-size: 1.4rem;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .hero-image img {
    border-width: 8px;
  }

  .hero-image {
    max-width: 260px;
    margin: 0 auto 24px;
  }

  .hero-text p {
    font-size: 1rem !important;
  }

  .photo-carousel__viewport {
    border-radius: 24px;
  }

  .photo-carousel__slide img {
    height: auto;
  }

  .photo-carousel {
    max-width: 320px;
    margin-top: 4px;
    padding: 22px 12px 20px;
    border-width: 8px;
    border-radius: 28px;
  }

  .photo-carousel::before,
  .photo-carousel::after {
    width: 62px;
    height: 14px;
    bottom: -20px;
  }

  .photo-carousel__antenna {
    top: -44px;
    width: 104px;
    height: 62px;
  }

  .photo-carousel__antenna span {
    width: 6px;
    height: 52px;
    box-shadow: 0 0 0 3px #4b1675;
  }

  .photo-carousel__badge {
    position: absolute;
    top: 10px;
    left: 12px;
    margin: 0;
    font-size: 0.92rem;
    padding: 7px 14px;
  }

  .photo-carousel__panel {
    position: absolute;
    top: 42px;
    right: 10px;
    flex-direction: column;
    justify-content: flex-start;
    width: auto;
    margin: 0;
    padding: 8px 7px;
    gap: 8px;
  }

  .photo-carousel__knob {
    width: 15px;
    height: 15px;
    border-width: 2px;
  }

  .photo-carousel__speaker {
    width: 12px;
    height: 38px;
    border-width: 2px;
    background:
      radial-gradient(circle at center, #ffffff 24%, transparent 28%) center 3px / 100% 12px repeat-y,
      rgba(75, 22, 117, 0.45);
  }

  .photo-carousel__nav {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    font-size: 0.92rem;
  }

  .photo-carousel__controls {
    gap: 10px;
    margin-top: 16px;
  }

  .site-footer {
    padding: 52px 0 26px;
  }

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

  .footer-brand {
    text-align: center;
    padding: 4px 8px 8px;
  }

  .footer-brand p {
    max-width: none;
    margin: 0 auto;
  }

  .footer-card {
    padding: 18px 18px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.09);
    text-align: center;
  }

  .site-footer h3 {
    margin-bottom: 14px;
  }

  .footer-list {
    display: grid;
    justify-items: center;
  }

  .footer-list li + li {
    margin-top: 8px;
  }

  .footer-contact {
    gap: 10px;
    justify-items: center;
  }

  .footer-contact span {
    margin-bottom: 2px;
    font-size: 0.88rem;
  }

  .footer-contact__label {
    gap: 7px;
    justify-content: center;
  }

  .footer-contact__label svg {
    width: 14px;
    height: 14px;
  }

  .footer-social {
    margin-top: 14px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-divider {
    margin: 26px 0 10px;
    padding-top: 14px;
    font-size: 0.92rem;
  }

  .hero {
    padding: 50px 0 70px;
  }

  .organic-divider svg {
    height: 80px;
  }

  .photo-carousel-section {
    padding-top: 68px;
  }

  section {
    padding: 60px 0;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    padding: 9px 14px;
    font-size: 0.9rem;
  }
}
