/* ===================================================================
   KS TINY KINGDOM - THE KINGDOM OF LEARNING AND FUN
   KIDS PRESCHOOL & DAYCARE - PLAYFUL & LIGHTWEIGHT DESIGN SYSTEM
   =================================================================== */

:root {
  /* Crossmaze Design System Color Palette */
  --cm-cyan: #00BDD6;
  --cm-cyan-hover: #00a4ba;
  --cm-cyan-light: #E6F9FB;
  --cm-cyan-bg: #F0FBFD;
  --cm-coral: #E8607C;
  --cm-coral-light: #FDE8EC;
  --cm-yellow: #F6E070;
  --cm-yellow-hover: #edd456;
  --cm-yellow-light: #FEF9D9;
  --cm-grey: #EFEFEF;
  --cm-grey-light: #F4F7F6;
  --cm-mint: #C7F1F5;

  /* Mapped Brand Variables */
  --sky-blue: #00BDD6;
  --sky-blue-hover: #00a4ba;
  --sky-blue-light: #E6F9FB;
  --sun-yellow: #F6E070;
  --sun-yellow-hover: #edd456;
  --sun-yellow-light: #FEF9D9;
  --coral-red: #E8607C;
  --coral-red-light: #FDE8EC;
  --grass-green: #10B981;
  --grass-green-light: #D1FAE5;
  --purple-magic: #8B5CF6;
  --purple-light: #EDE9FE;

  /* Neutrals & Typography */
  --navy-dark: #1A1A1A;
  --text-dark: #1A1A1A;
  --text-muted: #555555;
  --bg-main: #FFFFFF;
  --bg-cream: #FFFFFF;
  --bg-soft-blue: #F0FBFD;
  --border-light: #EAEAEA;
  --border-bubbly: #E2E8F0;

  /* Shadows & Radius */
  --shadow-bubbly: 0 8px 24px rgba(0, 189, 214, 0.12);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 16px 36px rgba(0, 189, 214, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  --transition-playful: all 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Playful Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-playful);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================================
   KIDS-THEMED DYNAMIC LOADING EXPERIENCE (Interactive & Engaging)
   =================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #FFF8EA 55%, #F0FBFD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.08) rotate(0.5deg);
  filter: blur(6px);
}

/* Ambient Glowing Background Bubbles */
.preloader-bg-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.ambient-bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.45;
  animation: ambientFloat 8s ease-in-out infinite alternate;
}

.amb-1 {
  width: 280px;
  height: 280px;
  top: -60px;
  left: -60px;
  background: #F6E070;
}

.amb-2 {
  width: 320px;
  height: 320px;
  bottom: -80px;
  right: -80px;
  background: #00BDD6;
  animation-duration: 10s;
}

.amb-3 {
  width: 220px;
  height: 220px;
  top: 15%;
  right: -40px;
  background: #E8607C;
  animation-duration: 9s;
}

.amb-4 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: -40px;
  background: #8B5CF6;
  animation-duration: 7s;
}

/* Center Container */
.kids-loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 3;
  padding: 24px;
}

/* 1. Orbit & Logo Stage */
.loader-logo-zone {
  position: relative;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Circular Orbiting Ring */
.orbit-spinner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spinOrbit 5s linear infinite;
  pointer-events: none;
  z-index: 4;
}

.orbit-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.orbit-track-bg {
  fill: none;
  stroke: rgba(0, 189, 214, 0.18);
  stroke-width: 4;
  stroke-dasharray: 6 8;
}

.orbit-track-glow {
  fill: none;
  stroke: url(#orbitRainbowGrad);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 160 520;
  animation: pulseGlowArc 2.5s ease-in-out infinite alternate;
}

/* Orbiting Satellites */
.orbit-satellite {
  position: absolute;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
}

.orbit-satellite span {
  display: inline-block;
  animation: counterSpin 5s linear infinite;
}

.sat-top {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 3px 8px rgba(246, 224, 112, 0.9));
}

.sat-bottom {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  filter: drop-shadow(0 4px 8px rgba(232, 96, 124, 0.7));
}

.sat-right {
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  filter: drop-shadow(0 3px 8px rgba(139, 92, 246, 0.8));
}

/* 3D Mascot Logo Pod */
.logo-pod {
  position: relative;
  width: 195px;
  height: 195px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 16px 38px rgba(0, 189, 214, 0.22),
    0 4px 14px rgba(0, 0, 0, 0.06),
    inset 0 0 0 6px #F0FBFD;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: logoPodPulse 2.8s ease-in-out infinite;
  z-index: 2;
}

.logo-shimmer-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.loader-mascot-logo {
  width: 162px;
  height: auto;
  max-width: 90%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
}

/* Diagonal Sheen Glare Running Across Mascot */
.shimmer-glare {
  position: absolute;
  top: -50%;
  left: -90%;
  width: 55%;
  height: 200%;
  background: linear-gradient(75deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.75) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  animation: lightSweep 2.2s infinite ease-in-out;
  pointer-events: none;
}

/* 2. True Active Loading Progress Zone */
.loader-status-zone {
  width: 320px;
  max-width: 88vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loader-percentage-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}

.loading-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.04em;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: blinkPulse 1.2s infinite;
}

.loading-percent {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--sky-blue);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Real Filling Rainbow Bar Shell */
.loader-bar-shell {
  width: 100%;
  height: 18px;
  background: #E8F4F7;
  border-radius: 9999px;
  border: 2.5px solid #CEEEF6;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.08);
  padding: 2.5px;
  position: relative;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #E8607C, #F6E070, #10B981, #00BDD6, #8B5CF6);
  background-size: 200% 100%;
  animation: rainbowSlide 1.2s linear infinite;
  box-shadow: 0 2px 8px rgba(0, 189, 214, 0.45);
  position: relative;
  transition: width 0.08s ease-out;
}

.bar-sparkle-head {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.9),
    0 0 14px 6px rgba(0, 189, 214, 0.6);
}

/* Dynamic Storybook Milestone Message */
.loader-fun-message {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-dark);
  background: #FFFFFF;
  border: 2px solid #E6F9FB;
  padding: 7px 20px;
  border-radius: 9999px;
  box-shadow: 0 6px 18px rgba(0, 189, 214, 0.12);
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Keyframe Animations */
@keyframes spinOrbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes counterSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes pulseGlowArc {
  0% {
    stroke-dashoffset: 0;
    opacity: 0.7;
  }

  100% {
    stroke-dashoffset: 60;
    opacity: 1;
  }
}

@keyframes logoPodPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 14px 34px rgba(0, 189, 214, 0.22),
      0 4px 12px rgba(0, 0, 0, 0.06),
      inset 0 0 0 5px #F0FBFD;
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 20px 42px rgba(0, 189, 214, 0.3),
      0 6px 16px rgba(0, 0, 0, 0.08),
      inset 0 0 0 5px #E6F9FB;
  }
}

@keyframes lightSweep {
  0% {
    left: -90%;
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  75% {
    opacity: 1;
  }

  100% {
    left: 160%;
    opacity: 0;
  }
}

@keyframes blinkPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

@keyframes rainbowSlide {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

@keyframes ambientFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(25px, -20px) scale(1.1);
  }
}

/* ===================================================================
   KIDS DECORATIVE ELEMENTS & FLOATING CLOUDS
   =================================================================== */
.cloud-bg-decoration {
  position: absolute;
  pointer-events: none;
  opacity: 0.65;
  z-index: 0;
  animation: float-cloud 8s ease-in-out infinite alternate;
}

@keyframes float-cloud {
  0% {
    transform: translateX(0) translateY(0);
  }

  100% {
    transform: translateX(25px) translateY(-12px);
  }
}

.star-twinkle {
  display: inline-block;
  animation: twinkle 2.5s infinite ease-in-out;
}

@keyframes twinkle {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.25) rotate(15deg);
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(255, 184, 0, 0.8));
  }
}

/* Wavy Section Divider */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 48px;
}

/* ===================================================================
   HEADER & PLAYFUL NAVBAR
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 2px solid #F1F5F9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: rgba(0, 189, 214, 0.18);
  box-shadow: 0 10px 28px -4px rgba(0, 189, 214, 0.14), 0 6px 14px -4px rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 163, 224, 0.18));
  transition: var(--transition-playful);
}

.logo-img:hover {
  transform: scale(1.05) rotate(2deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--navy-dark);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: var(--transition-playful);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--sky-blue);
  background: var(--sky-blue-light);
  transform: translateY(-2px);
}

.nav-btn {
  background: linear-gradient(135deg, var(--sky-blue) 0%, #0284C7 100%);
  color: #FFFFFF !important;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0, 163, 224, 0.35);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.nav-btn:hover {
  background: linear-gradient(135deg, var(--coral-red) 0%, #E11D48 100%);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.4);
  transform: translateY(-2px) scale(1.03);
}

.nav-phone-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--sun-yellow-light);
  border: 1.5px solid #FDE68A;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #92400E;
  transition: var(--transition-playful);
  white-space: nowrap;
}

.nav-phone-chip:hover {
  background: var(--sun-yellow);
  color: #FFFFFF;
  transform: scale(1.04);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--navy-dark);
}

/* ===================================================================
   HERO SECTION - CROSSMAZE THEME
   =================================================================== */
.hero-section {
  padding: 48px 0 55px 0;
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 100%);
  overflow: hidden;
}

/* Ambient Blue & Yellow Blurred Circles for Home Banner */
.hero-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 10%;
  width: 440px;
  height: 440px;
  background: rgba(0, 189, 214, 0.25);
  border-radius: 50%;
  filter: blur(90px);
  -webkit-filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0px;
  right: 10%;
  width: 440px;
  height: 440px;
  background: rgba(246, 224, 112, 0.45);
  border-radius: 50%;
  filter: blur(90px);
  -webkit-filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-gmap-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid #EAEAEA;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cm-cyan);
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: var(--transition-playful);
}

.hero-gmap-pill:hover {
  border-color: var(--cm-cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 189, 214, 0.2);
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-title .cm-cyan,
.hero-title .highlight-blue,
.section-heading .color-blue {
  color: var(--cm-cyan) !important;
}

.hero-title .cm-coral,
.hero-title .highlight-red,
.section-heading .color-red {
  color: var(--cm-coral) !important;
}

.hero-title .cm-yellow,
.hero-title .highlight-yellow,
.section-heading .color-yellow {
  color: var(--cm-yellow) !important;
}

.hero-subtitle {
  max-width: 820px;
  margin: 0 auto 36px auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-cm-primary,
.btn-bubbly-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 34px;
  background: var(--cm-cyan);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 189, 214, 0.3);
  transition: var(--transition-playful);
}

.btn-cm-primary:hover,
.btn-bubbly-primary:hover {
  background: var(--cm-cyan-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 189, 214, 0.4);
  color: #FFFFFF;
}

.btn-cm-ghost,
.btn-bubbly-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 34px;
  background: var(--cm-grey);
  color: #1A1A1A;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition-playful);
}

.btn-cm-ghost:hover,
.btn-bubbly-outline:hover {
  background: #E5E7EB;
  transform: translateY(-3px);
  color: #000000;
}

.btn-cm-call,
.btn-bubbly-yellow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: var(--cm-yellow);
  color: #1A1A1A;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(246, 224, 112, 0.4);
  transition: var(--transition-playful);
}

.btn-cm-call:hover,
.btn-bubbly-yellow:hover {
  background: var(--cm-yellow-hover);
  transform: translateY(-3px);
  color: #000000;
}

/* ===================================================================
   CROSSMAZE SIGNATURE FLOATING COLLAGE
   =================================================================== */
.cm-collage-wrapper {
  position: relative;
  max-width: 1140px;
  margin: 20px auto 0 auto;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cm-backdrop-circle {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 189, 214, 0.22) 0%, rgba(0, 189, 214, 0.08) 60%, transparent 85%);
  z-index: 1;
  pointer-events: none;
}

.cm-orbit-ring {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 2.5px solid rgba(0, 189, 214, 0.35);
  z-index: 1;
  pointer-events: none;
  animation: cm-orbit-rotate 35s linear infinite;
}

@keyframes cm-orbit-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.cm-collage-cards {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.cm-floating-card {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border: 4px solid #FFFFFF;
  background: #FFFFFF;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.cm-floating-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cm-floating-card:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 189, 214, 0.3);
  z-index: 20 !important;
}

/* 5 precise Crossmaze card placements */
.cm-card-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 290px;
  height: 380px;
  z-index: 4;
}

.cm-card-center:hover {
  transform: translate(-50%, -50%) scale(1.02) !important;
  box-shadow: 0 20px 42px rgba(0, 189, 214, 0.28);
  z-index: 20 !important;
}

.cm-card-top-left {
  left: 5%;
  top: 10%;
  width: 310px;
  height: 220px;
  z-index: 3;
}

.cm-card-bottom-left {
  left: 14%;
  bottom: 6%;
  width: 210px;
  height: 155px;
  z-index: 5;
}

.cm-card-top-right {
  right: 14%;
  top: 4%;
  width: 200px;
  height: 145px;
  z-index: 3;
}

.cm-card-bottom-right {
  right: 5%;
  bottom: 12%;
  width: 300px;
  height: 215px;
  z-index: 5;
}

@media (max-width: 960px) {
  .cm-collage-wrapper {
    height: auto;
    margin-top: 30px;
  }

  .cm-backdrop-circle,
  .cm-orbit-ring {
    display: none;
  }

  .cm-collage-cards {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .cm-floating-card {
    position: static !important;
    width: 100% !important;
    height: 220px !important;
    transform: none !important;
  }
}

@media (max-width: 520px) {
  .cm-collage-cards {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   ABOUT US & PHOTO COLLAGE (Legacy Fallback)
   =================================================================== */
.about-section {
  padding: 48px 0;
  position: relative;
  background: #FFFFFF;
}

.section-heading {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--navy-dark);
}

.section-tagline-quote {
  max-width: 860px;
  margin: 0 auto 28px auto;
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-banner-quote {
  background: var(--cm-grey);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid #EAEAEA;
}

.about-banner-quote h3 {
  font-size: 1.45rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.about-banner-quote p {
  font-size: 1.05rem;
  color: var(--cm-coral);
  font-weight: 700;
}

/* ===================================================================
   CORE VALUES - CROSSMAZE THEMED (White top, #EFEFEF bottom, Yellow highlight)
   =================================================================== */
.core-values-section {
  padding: 48px 0;
  background: #F0FBFD;
  position: relative;
  border-top: 1px solid #E0F2FE;
  border-bottom: 1px solid #E0F2FE;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.value-card {
  background: #FFFFFF;
  border-radius: 28px;
  border: 1px solid #EAEAEA;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 189, 214, 0.15);
  border-color: var(--cm-cyan);
}

.value-top {
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #FFFFFF;
}

.value-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.12) rotate(4deg);
}

.value-title {
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.value-bottom {
  background: var(--cm-grey);
  padding: 24px 28px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.value-desc {
  font-size: 0.96rem;
  color: #4B5563;
  line-height: 1.65;
  text-align: center;
  transition: color 0.3s ease;
}

/* Hover effect: On hover over ANY card, its bottom content box turns YELLOW */
.value-card:hover .value-bottom {
  background: var(--cm-yellow);
}

.value-card:hover .value-desc {
  color: #1A1A1A;
  font-weight: 600;
}

/* ===================================================================
   PROGRAMS CARDS - CROSSMAZE THEMED (#EFEFEF rounded card, #F6E070 5th card)
   =================================================================== */
.programs-section {
  padding: 48px 0;
  background: #FFFFFF;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 25px;
  width: 100%;
}

.program-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: #F8FAFC;
  border-radius: 20px;
  padding: 16px 12px 14px 12px;
  border: 2px solid #E2E8F0;
  text-align: center;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* 5 Cards Sequence: Yellow, Blue, Red, Yellow, Blue */
.program-card.card-yellow,
.program-card.highlight-yellow,
.programs-grid .program-card:nth-child(1),
.programs-grid .program-card:nth-child(4) {
  background: #FEF9C3;
  border-color: #FDE047;
}

.program-card.card-blue,
.programs-grid .program-card:nth-child(2),
.programs-grid .program-card:nth-child(5) {
  background: #E0F2FE;
  border-color: #38BDF8;
}

.program-card.card-red,
.programs-grid .program-card:nth-child(3) {
  background: #FFE4E6;
  border-color: #FB7185;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.program-card.card-yellow:hover,
.program-card.highlight-yellow:hover,
.programs-grid .program-card:nth-child(1):hover,
.programs-grid .program-card:nth-child(4):hover {
  border-color: #F59E0B;
}

.program-card.card-blue:hover,
.programs-grid .program-card:nth-child(2):hover,
.programs-grid .program-card:nth-child(5):hover {
  border-color: #0284C7;
}

.program-card.card-red:hover,
.programs-grid .program-card:nth-child(3):hover {
  border-color: #E11D48;
}

.program-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: var(--navy-dark);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.program-card.card-yellow:hover .program-card-action {
  background: #D97706;
  color: #FFFFFF;
  border-color: #D97706;
}

.program-card.card-blue:hover .program-card-action {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
}

.program-card.card-red:hover .program-card-action {
  background: #E11D48;
  color: #FFFFFF;
  border-color: #E11D48;
}

.program-card:hover .program-card-action svg {
  transform: translateX(3px);
}

.program-card-action svg {
  transition: transform 0.2s ease;
}

.program-name {
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 4px;
  white-space: nowrap;
}

.program-age {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  background: #FFFFFF;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  white-space: nowrap;
}

.program-card.card-yellow .program-age,
.program-card.highlight-yellow .program-age,
.programs-grid .program-card:nth-child(1) .program-age,
.programs-grid .program-card:nth-child(4) .program-age {
  background: #FFFFFF;
  color: #854D0E;
  border-color: #FCD34D;
}

.program-card.card-blue .program-age,
.programs-grid .program-card:nth-child(2) .program-age,
.programs-grid .program-card:nth-child(5) .program-age {
  background: #FFFFFF;
  color: #0369A1;
  border-color: #7DD3FC;
}

.program-card.card-red .program-age,
.programs-grid .program-card:nth-child(3) .program-age {
  background: #FFFFFF;
  color: #9F1239;
  border-color: #FDA4AF;
}

.program-img-box {
  border-radius: 14px;
  overflow: hidden;
  height: 148px;
  background: #FFFFFF;
  margin-top: auto;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.program-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.program-card:hover .program-img-box {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.program-card:hover .program-img-box img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (max-width: 540px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   DAY CARE HIGHLIGHTS - CROSSMAZE ASYMMETRIC PEBBLE CARD
   =================================================================== */
.daycare-section {
  padding: 48px 0;
  background: #FFFFFF;
}

.daycare-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.daycare-heading {
  font-size: 2.8rem;
  margin-bottom: 18px;
  font-weight: 800;
}

.daycare-quote-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  color: var(--cm-coral);
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Crossmaze signature: pebble shaped container with asymmetric border radius */
.daycare-highlights-box {
  background: var(--cm-grey);
  border-radius: 40px 100px 40px 40px;
  padding: 44px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: none;
}

.highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 22px;
}

.highlights-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-dark);
}

.highlights-list li svg {
  flex-shrink: 0;
}

.highlights-list li span.emoji {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--sky-blue-light);
  border-radius: 12px;
}

/* ===================================================================
   FACILITIES CAROUSEL & BADGES
   =================================================================== */
.facilities-section {
  padding: 48px 0;
  background: #FFFFFF;
}

.facilities-carousel-wrapper {
  position: relative;
  margin: 24px 0 32px 0;
}

.facilities-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 6px 20px 6px;
  scrollbar-width: none;
}

.facilities-carousel::-webkit-scrollbar {
  display: none;
}

.facility-slide {
  flex: 0 0 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--border-light);
  transition: var(--transition-playful);
  text-align: center;
}

.facility-slide:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--sky-blue);
  box-shadow: var(--shadow-hover);
}

.facility-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.facility-slide-title {
  padding: 14px 12px;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--sky-blue);
  color: var(--sky-blue);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  z-index: 10;
  transition: var(--transition-playful);
}

.carousel-nav-btn:hover {
  background: var(--sky-blue);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.15);
}

.carousel-nav-btn.prev {
  left: -22px;
}

.carousel-nav-btn.next {
  right: -22px;
}

/* 12 Facility Badge Pills */
.facilities-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.facility-pill-card {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1.5px solid #EDF2F7;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0;
}

.facility-pill-card:hover {
  background: #FFFFFF;
  border-color: var(--sun-yellow);
  box-shadow: 0 16px 36px rgba(254, 209, 0, 0.22), 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-6px);
}

.facility-pill-img-wrap {
  width: 100%;
  height: 185px;
  overflow: hidden;
  background: #F1F5F9;
  position: relative;
  border-radius: 20px 20px 0 0;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
}

.facility-pill-card:hover .facility-pill-img-wrap {
  transform: none;
  box-shadow: none;
}

.facility-pill-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.facility-pill-card:hover .facility-pill-img {
  transform: scale(1.08);
}

.facility-pill-card:nth-child(3) .facility-pill-img {
  object-position: top center;
}

.facility-pill-card:nth-child(6) .facility-pill-img {
  object-position: center 25%;
}

.facility-pill-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.facility-pill-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 0;
  line-height: 1.35;
}

.facility-pill-text {
  font-size: 0.92rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

/* ===================================================================
   CAMPUS & ADMISSION SECTION - CROSSMAZE MINT THEME (#C7F1F5)
   =================================================================== */
.campus-location-section {
  padding: 48px 0;
  background: var(--cm-mint);
}

.campus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.campus-info-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 40px;
  border: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.campus-badge {
  display: inline-block;
  padding: 6px 18px;
  background: var(--cm-yellow);
  color: #1A1A1A;
  border-radius: var(--radius-full);
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.contact-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--cm-cyan);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 189, 214, 0.35);
}

.contact-meta-item span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-dark);
}

.map-embed-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #E5E7EB;
  height: 300px;
  margin-top: 24px;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Admission Enquiry Form - Crisp White Rounded Card */
.enquiry-form-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 40px;
  border: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
  position: relative;
}

.enquiry-form-card .form-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy-dark);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid #E5E7EB;
  background: #F9FAFB;
  font-size: 1rem;
  color: var(--navy-dark);
  transition: var(--transition-playful);
}

.form-control:focus {
  outline: none;
  border-color: var(--cm-cyan);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(0, 189, 214, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 95px;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--cm-cyan);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 189, 214, 0.35);
  transition: var(--transition-playful);
}

.form-submit-btn:hover {
  background: var(--cm-cyan-hover);
  box-shadow: 0 10px 26px rgba(0, 189, 214, 0.45);
  transform: translateY(-2px);
}

.form-success-banner {
  display: none;
  background: #DCFCE7;
  color: #166534;
  border: 2px solid #86EFAC;
  border-radius: var(--radius-sm, 12px);
  padding: 16px 20px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.12);
  animation: formBannerFadeIn 0.3s ease;
}

.form-error-banner {
  display: none;
  background: #FEF2F2;
  color: #991B1B;
  border: 2px solid #FECACA;
  border-radius: var(--radius-sm, 12px);
  padding: 14px 18px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.1);
  animation: formBannerFadeIn 0.3s ease;
}

.form-error-banner ul {
  margin: 8px 0 0 18px;
  padding: 0;
  color: #B91C1C;
  font-size: 0.9rem;
}

.form-error-banner ul li {
  margin-bottom: 4px;
}

.form-control.is-invalid,
.form-input.is-invalid {
  border-color: #EF4444 !important;
  background-color: #FFFDFD !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

@keyframes formBannerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================================================
   TESTIMONIALS SECTION - CROSSMAZE CLEAN CARDS WITH YELLOW SUN ACCENT
   =================================================================== */
.testimonials-section {
  padding: 48px 0;
  background: #FFFFFF;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 34px 30px;
  border: 1px solid #EAEAEA;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Crossmaze signature yellow sun semi-circle accent peeking at bottom right */
.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 70px;
  height: 70px;
  background: var(--cm-yellow);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 189, 214, 0.16);
  border-color: var(--cm-cyan);
}

.testimonial-card:hover::after {
  transform: scale(1.25);
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cm-yellow);
}

.author-info h4 {
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-size: 1.2rem;
  color: var(--navy-dark);
}

.author-info .child-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cm-cyan);
}

.testimonial-stars {
  color: var(--cm-yellow);
  font-size: 1.25rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: #FFFFFF;
  border-top: 3px solid #E0F2FE;
  padding: 48px 0 25px 0;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}

.footer-brand h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--navy-dark);
}

.footer-brand p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 18px;
  color: var(--navy-dark);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--sky-blue);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 2px solid #F1F5F9;
  padding-top: 25px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ===================================================================
   FLOATING WHATSAPP BUTTON (Pulse glow animation)
   =================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: var(--transition-playful);
  animation: pulse-glow 2.2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ===================================================================
   ADMISSION POPUP MODAL (Bubbly & Authentic)
   =================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 560px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 26px 26px 24px 26px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: scale(0.92) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.modal-box::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: #F1F5F9;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: #64748B;
  cursor: pointer;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform-origin: center center;
  transition: all 0.25s ease;
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  stroke-width: 2.5;
  pointer-events: none;
}

.modal-close-btn:hover {
  background: var(--cm-coral);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 16px;
}

.modal-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  background: #FEF9C3;
  color: #854D0E;
  border: 1px solid #FCD34D;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.modal-heading {
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.modal-subheading {
  color: #64748B;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .modal-box {
    padding: 24px 18px;
  }
}

.modal-submit-btn {
  background: var(--cm-cyan);
  color: #FFFFFF;
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 6px;
  box-shadow: 0 6px 16px rgba(0, 189, 214, 0.3);
  transition: all 0.25s ease;
}

.modal-submit-btn:hover {
  background: var(--cm-cyan-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 189, 214, 0.4);
}

.modal-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 14px;
}

.modal-title span.badge {
  display: inline-block;
  font-size: 0.85rem;
  background: var(--sun-yellow-light);
  color: #B45309;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  vertical-align: middle;
}

.modal-announcement {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.55;
}

.modal-bullet-list {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-bullet-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.modal-bullet-list li::before {
  content: '✓';
  color: var(--sky-blue);
  font-weight: 700;
  font-size: 1rem;
}

.modal-contact-row {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 22px;
  background: var(--sky-blue-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #BAE6FD;
}

.modal-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--sky-blue) 0%, #0284C7 100%);
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 163, 224, 0.35);
  cursor: pointer;
  align-self: flex-start;
  transition: var(--transition-playful);
}

.modal-cta-btn:hover {
  background: linear-gradient(135deg, var(--coral-red) 0%, #E11D48 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.modal-content-right {
  background: #FFFDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-logo-poster {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-bubbly);
  animation: float-gentle 4s ease-in-out infinite alternate;
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */
@media (max-width: 1024px) {

  .values-grid,
  .facilities-pills-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 1040px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-hover);
    border-bottom: 2px solid var(--border-light);
    transform: translateY(-160%);
    transition: transform 0.3s ease;
    gap: 16px;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .collage-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .daycare-layout,
  .campus-grid,
  .modal-container,
  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .modal-content-right {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {

  .values-grid,
  .facilities-pills-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .facility-pill-card {
    min-height: auto;
    padding: 0;
  }

  .facility-pill-img-wrap {
    width: 100%;
    height: 165px;
    min-width: 100%;
    border-radius: 20px 20px 0 0;
  }

  .facility-pill-body {
    padding: 16px 18px 20px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .logo-brand-tagline {
    display: none;
  }

  .logo-brand-name {
    font-size: 1.1rem;
  }
}

/* ===================================================================
   TOP UTILITY BAR
   =================================================================== */
.top-utility-bar {
  background: #0F172A;
  color: #FFFFFF;
  padding: 8px 0;
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-badge-gmap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 184, 0, 0.22);
  color: #FBBF24;
  border: 1px solid rgba(255, 184, 0, 0.5);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-playful);
}

.top-badge-gmap:hover {
  background: #FFB800;
  color: #0F172A;
  transform: translateY(-1px);
}

.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #F8FAFC !important;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.top-contact-link svg {
  color: #38BDF8;
  flex-shrink: 0;
}

.top-contact-link:hover {
  color: var(--sun-yellow) !important;
}

.top-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
  color: #FFFFFF;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(221, 42, 123, 0.35);
  transition: var(--transition-playful);
}

.top-instagram-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 14px rgba(221, 42, 123, 0.5);
  color: #FFFFFF;
}

/* Brand logo titles */
.logo-brand-titles {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-brand-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo-brand-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sky-blue);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Hero GMap Trust Pill */
.hero-gmap-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 2px solid var(--sun-yellow);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  color: #B45309;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(255, 184, 0, 0.2);
  text-decoration: none;
  transition: var(--transition-playful);
}

.hero-gmap-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.35);
}

/* ===================================================================
   CAMPUS LIFE & GOOGLE MAPS SHOWCASE GALLERY
   =================================================================== */
.campus-gallery-section {
  padding: 48px 0;
  background: #FFFFFF;
  position: relative;
}

.gallery-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.gallery-filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 2px solid #E2E8F0;
  background: #F8FAFC;
  color: var(--text-dark);
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-playful);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--sky-blue);
  border-color: var(--sky-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 163, 224, 0.35);
  transform: translateY(-2px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 3px solid #FFFFFF;
  background: #FFFFFF;
  transition: var(--transition-playful);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.gallery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.4) 65%, transparent 100%);
  padding: 40px 20px 18px 20px;
  color: #FFFFFF;
  pointer-events: none;
}

.gallery-card-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--sun-yellow);
  color: #0F172A;
  font-size: 0.74rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.gallery-card-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.gallery-card-desc {
  font-size: 0.88rem;
  color: #E2E8F0;
  line-height: 1.4;
}

/* GMap Callout Banner */
.gmap-cta-banner {
  margin-top: 50px;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border: 2px solid #BAE6FD;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: var(--shadow-card);
}

.gmap-cta-content h3 {
  font-size: 1.6rem;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.gmap-cta-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.gmap-cta-btn-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-gmap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: #1A73E8;
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.35);
  transition: var(--transition-playful);
}

.btn-gmap:hover {
  background: #1557B0;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.5);
  color: #FFFFFF;
}

.btn-instagram-follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(221, 42, 123, 0.35);
  transition: var(--transition-playful);
}

.btn-instagram-follow:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(221, 42, 123, 0.5);
  color: #FFFFFF;
}

/* Footer Social & Trust */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--navy-dark);
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: var(--transition-playful);
  text-decoration: none;
}

.social-icon-btn:hover {
  transform: translateY(-3px);
}

.social-icon-btn.instagram:hover {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
  color: #FFFFFF;
  border-color: transparent;
}

.social-icon-btn.gmap:hover {
  background: #1A73E8;
  color: #FFFFFF;
  border-color: #1A73E8;
}

.social-icon-btn.whatsapp:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .top-bar-left,
  .top-bar-right {
    justify-content: center;
  }

  .gmap-cta-banner {
    padding: 26px 20px;
  }
}

/* ===================================================================
   LEGAL PAGES (Terms & Privacy Policy)
   =================================================================== */
.legal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid #E0F2FE;
  padding: 48px;
  box-shadow: var(--shadow-card);
  margin: 40px auto 60px auto;
  max-width: 960px;
}

.legal-card h2 {
  font-size: 1.6rem;
  color: var(--navy-dark);
  margin: 32px 0 12px 0;
  border-bottom: 2px solid #F1F5F9;
  padding-bottom: 8px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 1.22rem;
  color: var(--sky-blue-hover);
  margin: 22px 0 8px 0;
}

.legal-card p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-card ul {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-card li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 28px 20px;
  }
}


.facility-pill-icon-svg {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.facility-pill-card:hover .facility-pill-icon-svg {
  transform: scale(1.12) rotate(4deg);
}


/* ===================================================================
   ABOUT US & CAREERS CROSSMAZE REWORK STYLES
   =================================================================== */

/* About Hero */
.about-hero-section,
.careers-hero-section {
  padding: 60px 0 45px;
  text-align: center;
  background: #FFFFFF;
}

.about-hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(0, 189, 214, 0.12);
  color: var(--cm-cyan);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

/* About Quick Stats */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.about-stat-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 2px solid #F1F5F9;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--cm-cyan);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--cm-grey-dark);
  font-weight: 600;
}

/* Center Head Section */
.centerhead-section {
  padding: 70px 0;
  background: #FAFCFE;
}

.centerhead-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 50px;
  align-items: center;
}

.centerhead-card {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
  border: 4px solid #FFFFFF;
  text-align: center;
}

.centerhead-img-wrap {
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.centerhead-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s ease;
}

.centerhead-card:hover .centerhead-img-wrap img {
  transform: scale(1.04);
}

.centerhead-info-badge {
  padding: 18px 16px;
  background: #FFFFFF;
}

.centerhead-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--cm-dark);
  margin-bottom: 4px;
}

.centerhead-role {
  font-size: 0.9rem;
  color: var(--cm-cyan);
  font-weight: 700;
  margin-bottom: 6px;
}

.centerhead-stars {
  color: #F59E0B;
  font-size: 1.1rem;
}

.centerhead-quote-body p {
  margin-bottom: 14px;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #475569;
}

.centerhead-cta-row {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Philosophy 3 Pillars */
.philosophy-section {
  padding: 48px 0;
  background: #FFFFFF;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.philosophy-card {
  padding: 34px 26px;
  border-radius: 24px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: #FFFFFF;
  border: 2px solid transparent;
}

.philosophy-card.pillar-cyan {
  background: rgba(0, 189, 214, 0.05);
  border-color: rgba(0, 189, 214, 0.25);
}

.philosophy-card.pillar-coral {
  background: rgba(232, 96, 124, 0.05);
  border-color: rgba(232, 96, 124, 0.25);
}

.philosophy-card.pillar-yellow {
  background: rgba(246, 224, 112, 0.12);
  border-color: rgba(246, 224, 112, 0.4);
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pillar-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--cm-dark);
  margin-bottom: 12px;
}

.pillar-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
}

/* About Infrastructure */
.about-infra-section {
  padding: 70px 0;
  background: #FAFCFE;
}

.infra-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.infra-feature-box {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 20px;
  border: 1.5px solid #E2E8F0;
  transition: transform 0.3s ease;
}

.infra-feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--cm-cyan);
}

.infra-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.infra-feature-box h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--cm-dark);
  margin-bottom: 8px;
}

.infra-feature-box p {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.6;
}

.about-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.strip-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.strip-img:hover {
  transform: scale(1.04);
}

/* About CTA Card */
.about-cta-section {
  padding: 50px 0 80px;
}

.about-cta-card {
  background: linear-gradient(135deg, #00BDD6 0%, #0098AD 100%);
  border-radius: 28px;
  padding: 44px 40px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 20px 48px rgba(0, 189, 214, 0.3);
}

.about-cta-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.about-cta-text p {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 16px;
  max-width: 620px;
}

.about-cta-contact {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.about-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.about-cta-actions .btn-cm-primary {
  background: #FFFFFF;
  color: var(--cm-cyan);
}

.about-cta-actions .btn-cm-primary:hover {
  background: var(--cm-yellow);
  color: var(--cm-dark);
}

.about-cta-actions .btn-cm-outline {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.about-cta-actions .btn-cm-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===================================================================
   CAREERS REWORK STYLES
   =================================================================== */
.careers-hero-section {
  padding: 60px 0 40px;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, rgba(232, 96, 124, 0.08) 0%, #FFFFFF 70%);
}

.careers-benefits-section {
  padding: 45px 0;
  background: #FAFCFE;
}

.careers-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 2px solid #F1F5F9;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--cm-coral);
}

.benefit-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px auto;
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--cm-dark);
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.6;
}

/* Openings Cards List */
.careers-openings-section {
  padding: 70px 0;
  background: #FFFFFF;
}

.openings-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.opening-card {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 28px 32px;
  border: 2px solid #E2E8F0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.opening-card:hover {
  transform: translateY(-4px);
  border-color: var(--cm-cyan);
  box-shadow: 0 16px 36px rgba(0, 189, 214, 0.12);
}

.opening-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.opening-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.badge-cyan {
  background: rgba(0, 189, 214, 0.14);
  color: var(--cm-cyan);
}

.badge-coral {
  background: rgba(232, 96, 124, 0.14);
  color: var(--cm-coral);
}

.badge-yellow {
  background: rgba(246, 224, 112, 0.25);
  color: #B45309;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.14);
  color: #10B981;
}

.opening-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--cm-dark);
  margin-bottom: 8px;
}

.opening-meta {
  display: flex;
  gap: 18px;
  font-size: 0.88rem;
  color: #64748B;
  font-weight: 600;
  flex-wrap: wrap;
}

.opening-summary {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 14px;
}

.opening-req-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.req-tag {
  background: #F1F5F9;
  color: #334155;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Quick Application Form */
.careers-form-section {
  padding: 48px 0;
  background: #FAFCFE;
}

.careers-form-card {
  max-width: 820px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 28px;
  padding: 44px 40px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.08);
  border: 2px solid #E2E8F0;
}

.form-header-center {
  text-align: center;
  margin-bottom: 30px;
}

.career-custom-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background: #FFFFFF;
}

.form-input:focus {
  outline: none;
  border-color: var(--cm-cyan);
  box-shadow: 0 0 0 4px rgba(0, 189, 214, 0.15);
}

.careers-callout-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.95rem;
  color: #475569;
  flex-wrap: wrap;
}

.call-link-badge {
  background: rgba(0, 189, 214, 0.12);
  color: var(--cm-cyan);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.call-link-badge:hover {
  background: var(--cm-cyan);
  color: #FFFFFF;
}

/* Responsive adjustments for mobile/tablets */
@media (max-width: 960px) {

  .about-stats-grid,
  .philosophy-grid,
  .infra-features-grid,
  .about-gallery-strip,
  .careers-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .centerhead-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .centerhead-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .centerhead-cta-row {
    justify-content: center;
  }

  .about-cta-card {
    flex-direction: column;
    text-align: center;
  }

  .about-cta-contact {
    justify-content: center;
  }

  .about-cta-actions {
    width: 100%;
  }

  .form-row-2col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  .about-stats-grid,
  .philosophy-grid,
  .infra-features-grid,
  .about-gallery-strip,
  .careers-benefits-grid {
    grid-template-columns: 1fr;
  }

  .careers-form-card {
    padding: 24px 18px;
  }
}

/* ===================================================================
   OUR PROGRAMMES DETAILED PAGE STYLES (CROSSMAZE DESIGN SYSTEM)
   =================================================================== */
.programs-hero-section {
  padding: 60px 0 45px;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, rgba(0, 189, 214, 0.08) 0%, #FFFFFF 70%);
}

.programs-nav-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.prog-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-dark);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.prog-nav-pill:hover {
  border-color: var(--cm-cyan);
  color: var(--cm-cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 189, 214, 0.15);
}

.program-detail-section {
  padding: 40px 0;
  background: #FFFFFF;
  scroll-margin-top: 90px;
}

.program-detail-section:nth-child(even) {
  background: #FAFCFE;
}

.program-card-wrapper {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 36px 40px;
  border: 2px solid #E2E8F0;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.program-card-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.program-card-wrapper.border-coral {
  border-color: rgba(232, 96, 124, 0.35);
}

.program-card-wrapper.border-cyan {
  border-color: rgba(0, 189, 214, 0.35);
}

.program-card-wrapper.border-yellow {
  border-color: rgba(234, 179, 8, 0.4);
}

.program-card-wrapper.border-emerald {
  border-color: rgba(16, 185, 129, 0.35);
}

.program-card-wrapper.border-purple {
  border-color: rgba(139, 92, 246, 0.35);
}

.program-card-wrapper.border-coral:hover {
  border-color: var(--cm-coral);
}

.program-card-wrapper.border-cyan:hover {
  border-color: var(--cm-cyan);
}

.program-card-wrapper.border-yellow:hover {
  border-color: #EAB308;
}

.program-card-wrapper.border-emerald:hover {
  border-color: var(--grass-green);
}

.program-card-wrapper.border-purple:hover {
  border-color: var(--purple-magic);
}

/* TOP: Program Content */
.program-content-top {
  width: 100%;
}

/* BELOW: Interactive Photo Carousel */
.program-carousel-section {
  width: 100%;
  margin-top: 10px;
  padding-top: 24px;
  border-top: 1.5px solid #F1F5F9;
}

.program-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.carousel-hdr-title {
  color: var(--navy-dark);
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.carousel-hdr-title svg {
  color: var(--cm-cyan);
}

.carousel-hdr-hint {
  color: #64748B;
  font-size: 0.82rem;
  font-weight: 500;
}

.program-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-nav-btn {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.22s ease;
  padding: 0;
  z-index: 2;
  user-select: none;
}

.carousel-nav-btn:hover {
  background: var(--cm-cyan);
  color: #FFFFFF;
  border-color: var(--cm-cyan);
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 189, 214, 0.35);
}

.carousel-nav-btn:active {
  transform: scale(0.95);
}

.program-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 4px 12px;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.program-carousel-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.carousel-photo-card {
  flex: 0 0 320px;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #0F172A;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border: 3px solid #FFFFFF;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.carousel-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  border-color: var(--cm-cyan);
}

.carousel-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.carousel-photo-card:hover img {
  transform: scale(1.06);
}

.carousel-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.carousel-photo-card:hover .carousel-card-overlay {
  opacity: 1;
}

.overlay-zoom-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--cm-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.overlay-text {
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Lightbox Modal Styles */
.prog-lightbox-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.prog-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.prog-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 29, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.prog-lightbox-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  height: 92vh;
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
  box-sizing: border-box;
}

.prog-lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  flex-shrink: 0;
}

.prog-lightbox-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prog-lightbox-progname {
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
}

.prog-lightbox-counter {
  background: rgba(255, 255, 255, 0.16);
  color: #E2E8F0;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.prog-lightbox-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.prog-lightbox-close:hover {
  background: var(--cm-coral, #E8607C);
  border-color: var(--cm-coral, #E8607C);
  transform: rotate(90deg);
}

.prog-lightbox-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 10px 0;
}

.prog-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
  padding: 0;
}

.prog-lightbox-nav.prev {
  left: 12px;
}

.prog-lightbox-nav.next {
  right: 12px;
}

.prog-lightbox-nav:hover {
  background: var(--cm-cyan, #00BDD6);
  border-color: var(--cm-cyan, #00BDD6);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 20px rgba(0, 189, 214, 0.4);
}

.prog-lightbox-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.prog-lightbox-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightboxMainImage {
  max-width: 100%;
  max-height: calc(92vh - 170px);
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: opacity 0.25s ease;
}

.prog-lightbox-strip-wrap {
  padding-top: 14px;
  display: flex;
  justify-content: center;
  width: 100%;
  flex-shrink: 0;
}

.prog-lightbox-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  max-width: 100%;
  padding: 4px 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.prog-lightbox-strip::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.prog-lightbox-thumb {
  flex: 0 0 68px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.55;
  cursor: pointer;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.prog-lightbox-thumb.active,
.prog-lightbox-thumb:hover {
  opacity: 1;
  border-color: var(--cm-cyan, #00BDD6);
  transform: scale(1.06);
}

.prog-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .carousel-photo-card {
    flex: 0 0 260px;
    height: 180px;
  }

  .prog-lightbox-content {
    padding: 12px 14px;
  }

  .prog-lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .prog-lightbox-nav.prev {
    left: 4px;
  }

  .prog-lightbox-nav.next {
    right: 4px;
  }
}

/* width: 100%;
  padding-top: 6px;
} */

.program-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid #F1F5F9;
}

.program-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.program-card-title {
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  color: var(--navy-dark);
  line-height: 1.2;
  margin: 0;
  text-align: left;
}

.program-meta-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.prog-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.prog-chip-icon {
  font-size: 1.05rem;
}

.prog-chip-label {
  color: #64748B;
  font-weight: 500;
}

.prog-chip strong {
  color: #0F172A;
  font-weight: 700;
}

.program-desc-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #475569;
  margin: 20px 0 22px;
}

.program-parent-quote {
  margin: 16px 0 22px;
  padding: 14px 20px;
  background: #FFFDF0;
  border-left: 4px solid var(--cm-yellow);
  border-radius: 14px;
  font-weight: 600;
  color: #78350F;
  font-size: 0.98rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.quote-star {
  font-size: 1.2rem;
  line-height: 1.2;
}

.program-highlights-wrapper {
  margin: 20px 0 24px;
}

.program-highlights-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.program-highlights-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin: 0;
  padding: 0;
}

.prog-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E293B;
  background: #F8FAFC;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  line-height: 1.5;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.prog-highlight-item:hover {
  transform: translateX(4px);
  border-color: #CBD5E1;
  background: #FFFFFF;
}

.prog-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.prog-check-icon.coral {
  background: rgba(232, 96, 124, 0.18);
  color: var(--cm-coral);
}

.prog-check-icon.cyan {
  background: rgba(0, 189, 214, 0.18);
  color: var(--cm-cyan);
}

.prog-check-icon.yellow {
  background: rgba(246, 224, 112, 0.4);
  color: #B45309;
}

.prog-check-icon.emerald {
  background: rgba(16, 185, 129, 0.18);
  color: #10B981;
}

.prog-check-icon.purple {
  background: rgba(139, 92, 246, 0.18);
  color: #7C3AED;
}

.program-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Dedicated Programs Overview Stats */
.programs-stats-section {
  padding: 45px 0;
  background: #FAFCFE;
}

/* Dedicated Programs Enquiry Section */
.programs-enquiry-section {
  padding: 48px 0 55px;
  background: radial-gradient(circle at 50% 20%, #FFFDF5 0%, #F0F9FF 100%);
}

/* Responsive Rules for Our Programmes */
@media (max-width: 960px) {
  .program-card-wrapper {
    padding: 28px 24px;
    gap: 22px;
  }

  .program-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .program-highlights-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .program-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .program-cta-group .btn-cm-primary,
  .program-cta-group .btn-cm-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .gallery-arrow-btn {
    display: none;
  }
}

@media (max-width: 600px) {

  /* Container Breathing Room */
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Compact Mobile Header */
  .site-header {
    padding: 8px 0;
  }

  .site-header .logo-img {
    height: 40px !important;
  }

  .site-header .logo-brand-name {
    font-size: 1.05rem !important;
  }

  .site-header .logo-brand-tagline {
    display: none !important;
  }

  .mobile-toggle {
    padding: 4px 10px;
    font-size: 1.2rem;
  }

  /* Compact Hero Section */
  .programs-hero-section {
    padding: 22px 0 14px;
  }

  .programs-hero-section .about-hero-badge {
    font-size: 0.74rem;
    padding: 3px 10px;
    margin-bottom: 8px;
  }

  .programs-hero-section .hero-title {
    font-size: 1.55rem;
    line-height: 1.22;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }

  .programs-hero-section .hero-subtitle {
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #64748B;
  }

  /* Pro Horizontal Swipeable Quick-Pill Navigation */
  .programs-nav-pills {
    display: flex !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 10px 2px !important;
    margin-top: 6px;
    gap: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .programs-nav-pills::-webkit-scrollbar {
    display: none;
  }

  .prog-nav-pill {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 6px 12px;
    font-size: 0.78rem;
    border-radius: 999px;
  }

  /* Pro-level Compact Program Cards */
  .program-detail-section {
    padding: 10px 0;
    scroll-margin-top: 65px;
  }

  .program-card-wrapper {
    padding: 18px 14px;
    border-radius: 18px;
    border-width: 1.5px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  }

  .program-badge {
    font-size: 0.7rem;
    padding: 3px 9px;
    margin-bottom: 6px;
  }

  .program-card-title {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 4px;
  }

  .program-meta-chips {
    gap: 6px;
    margin: 6px 0 10px;
  }

  .prog-chip {
    padding: 3px 9px;
    font-size: 0.74rem;
    border-radius: 6px;
  }

  .program-desc-text {
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 12px;
    color: #475569;
  }

  .program-highlights-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748B;
    margin-bottom: 6px;
    font-weight: 700;
  }

  .program-highlights-list {
    grid-template-columns: 1fr;
    gap: 6px;
    margin: 6px 0 14px;
  }

  .prog-highlight-item {
    padding: 6px 10px;
    font-size: 0.8rem;
    border-radius: 8px;
    gap: 8px;
  }

  .prog-check-icon {
    width: 17px;
    height: 17px;
    font-size: 0.65rem;
  }

  .program-img-frame {
    border-radius: 14px;
    aspect-ratio: 16 / 10;
    border-width: 2.5px;
    max-height: 190px;
  }

  .program-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 14px;
  }

  .program-cta-group .btn-cm-primary,
  .program-cta-group .btn-cm-outline {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    font-size: 0.88rem;
    border-radius: 10px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Compact 2x2 Stats Grid on Mobile */
  .programs-stats-section {
    padding: 28px 0;
  }

  .programs-stats-section .section-tag-fun {
    font-size: 0.72rem;
    padding: 3px 9px;
    margin-bottom: 6px;
  }

  .programs-stats-section .section-heading {
    font-size: 1.35rem;
    margin-bottom: 4px;
  }

  .programs-stats-section .section-tagline-quote {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .programs-stats-section .about-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
    margin-top: 12px;
  }


  .programs-stats-section .about-stat-card {
    padding: 12px 8px;
    border-radius: 14px;
    border-width: 1.5px;
  }

  .programs-stats-section .stat-number {
    font-size: 1.45rem;
    margin-bottom: 2px;
  }

  .programs-stats-section .stat-label {
    font-size: 0.7rem;
    line-height: 1.3;
    color: #64748B;
  }

  /* Compact Admission Enquiry on Mobile */
  .programs-enquiry-section {
    padding: 28px 0 45px;
  }

  .programs-enquiry-section .careers-form-card {
    padding: 18px 14px;
    border-radius: 18px;
    border-width: 1.5px;
  }

  .programs-enquiry-section .form-header-center {
    margin-bottom: 14px;
  }

  .programs-enquiry-section .section-tag-fun {
    font-size: 0.72rem;
    padding: 3px 9px;
    margin-bottom: 4px;
  }

  .programs-enquiry-section .section-heading {
    font-size: 1.3rem;
    margin-bottom: 2px;
  }

  .programs-enquiry-section .section-tagline-quote {
    font-size: 0.78rem;
    margin-bottom: 12px;
  }

  .programs-enquiry-section .career-custom-form {
    gap: 10px;
  }

  .programs-enquiry-section .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .programs-enquiry-section .form-group label {
    font-size: 0.76rem;
    margin-bottom: 3px;
    font-weight: 700;
  }

  .programs-enquiry-section .form-input {
    font-size: 16px;
    /* Prevents auto zoom in iOS */
    padding: 9px 12px;
    border-radius: 10px;
  }

  .programs-enquiry-section textarea.form-input {
    min-height: 60px;
  }

  .programs-enquiry-section .btn-cm-primary {
    padding: 11px 16px;
    font-size: 0.9rem;
    border-radius: 10px;
    min-height: 42px;
  }

  .programs-enquiry-section .careers-callout-footer {
    margin-top: 14px;
    padding-top: 12px;
    font-size: 0.78rem;
    gap: 6px;
  }

  .programs-enquiry-section .call-link-badge {
    font-size: 0.76rem;
    padding: 3px 10px;
  }

  /* Compact Floating WhatsApp Button */
  .floating-whatsapp {
    width: 42px;
    height: 42px;
    right: 14px;
    bottom: 14px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  }

  .floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }

  /* Compact Mobile Modal */
  .modal-box {
    width: 92%;
    max-width: 400px;
    padding: 22px 16px;
    border-radius: 18px;
  }

  .modal-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .modal-heading {
    font-size: 1.3rem;
  }

  .modal-subheading {
    font-size: 0.78rem;
    margin-bottom: 14px;
  }

  .modal-form .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .modal-form .form-control {
    font-size: 16px;
    padding: 9px 12px;
  }

  .modal-submit-btn {
    padding: 11px 16px;
    font-size: 0.9rem;
    min-height: 42px;
    border-radius: 10px;
  }
}

@media (max-width: 380px) {
  .programs-hero-section .hero-title {
    font-size: 1.45rem;
  }

  .program-card-title {
    font-size: 1.25rem;
  }

  .program-card-wrapper {
    padding: 16px 12px;
  }

  .programs-stats-section .about-stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px;
  }
}

/* ===================================================================
   CONTACT US PAGE STYLES - DEDICATED EXPERIENCE
   =================================================================== */
.contact-hero-section {
  padding: 56px 0 40px;
  background: radial-gradient(circle at 50% 20%, rgba(0, 189, 214, 0.08) 0%, rgba(254, 249, 217, 0.35) 60%, #FFFFFF 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cm-cyan-light);
  color: var(--cm-cyan);
  border: 1.5px solid rgba(0, 189, 214, 0.3);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(0, 189, 214, 0.1);
}

.contact-cards-section {
  padding: 0 0 50px;
  margin-top: -20px;
  position: relative;
  z-index: 5;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-action-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 26px 20px;
  border: 2px solid #F1F5F9;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.contact-action-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--cm-cyan);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-action-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 189, 214, 0.16);
  border-color: rgba(0, 189, 214, 0.35);
}

.contact-action-card:hover::before {
  opacity: 1;
}

.contact-action-card.card-coral:hover::before {
  background: var(--cm-coral);
}

.contact-action-card.card-coral:hover {
  border-color: rgba(232, 96, 124, 0.35);
  box-shadow: 0 16px 36px rgba(232, 96, 124, 0.16);
}

.contact-action-card.card-yellow:hover::before {
  background: #EAB308;
}

.contact-action-card.card-yellow:hover {
  border-color: rgba(234, 179, 8, 0.35);
  box-shadow: 0 16px 36px rgba(234, 179, 8, 0.16);
}

.contact-action-card.card-green:hover::before {
  background: #10B981;
}

.contact-action-card.card-green:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.16);
}

.card-icon-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.contact-action-card:hover .card-icon-bubble {
  transform: scale(1.1) rotate(6deg);
}

.contact-card-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-card-title {
  font-size: 1.25rem;
  font-family: 'Fredoka', sans-serif;
  color: var(--navy-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.contact-card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.contact-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
}

/* Contact Main Section */
.contact-main-section {
  padding: 38px 0 45px;
  background: #FFFFFF;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.contact-details-box {
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon-sq {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.info-content-col h4 {
  font-size: 1.05rem;
  color: var(--navy-dark);
  margin-bottom: 4px;
  font-family: 'Fredoka', sans-serif;
}

.info-content-col p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.landmark-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.landmark-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
}

.map-embed-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid #E2E8F0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  margin-top: 24px;
  position: relative;
}

.map-embed-card iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* Contact Booking Form Panel */
.contact-form-panel {
  background: #FFFFFF;
  border: 2px solid rgba(0, 189, 214, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 12px 32px rgba(0, 189, 214, 0.08);
}

.contact-form-panel .form-heading {
  font-size: 1.65rem;
  font-family: 'Fredoka', sans-serif;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.contact-form-panel .form-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.contact-form-custom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-custom .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form-custom .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form-custom .form-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.contact-form-custom .form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #CBD5E1;
  font-size: 0.95rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--navy-dark);
  background: #F8FAFC;
  transition: all 0.25s ease;
}

.contact-form-custom .form-control:focus {
  outline: none;
  border-color: var(--cm-cyan);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 189, 214, 0.18);
}

.contact-form-custom textarea.form-control {
  min-height: 90px;
  resize: vertical;
}

/* Visit Experience Steps */
.visit-steps-section {
  padding: 60px 0;
  background: #F0FBFD;
}

.visit-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.visit-step-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  border: 2px solid #E2E8F0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
  position: relative;
  text-align: center;
  transition: transform 0.3s ease;
}

.visit-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--cm-cyan);
}

.visit-step-number {
  width: 36px;
  height: 36px;
  background: var(--cm-cyan);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 10px rgba(0, 189, 214, 0.35);
}

.visit-step-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.visit-step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* FAQ Accordion Section */
.contact-faq-section {
  padding: 60px 0 70px;
  background: #FFFFFF;
}

.faq-accordion-list {
  max-width: 860px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-accordion-item {
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-accordion-item[open] {
  border-color: var(--cm-cyan);
  box-shadow: 0 6px 20px rgba(0, 189, 214, 0.1);
}

.faq-summary {
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  font-family: 'Fredoka', sans-serif;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary .faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--cm-cyan);
  flex-shrink: 0;
}

.faq-accordion-item[open] .faq-summary .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Responsive Rules for Contact Page */
@media (max-width: 992px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .visit-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .contact-hero-section {
    padding: 36px 0 28px;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-action-card {
    padding: 20px 16px;
  }

  .contact-details-box,
  .contact-form-panel {
    padding: 24px 18px;
  }

  .contact-form-custom .form-row-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .visit-steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .faq-summary {
    padding: 14px 16px;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 0 16px 16px;
    font-size: 0.88rem;
  }
}

/* ===================================================================
   SIMPLE PROGRAM DETAILS POPUP MODAL
   =================================================================== */
.program-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.program-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.program-popup-box {
  position: relative;
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: none;
  /* Hide scrollbar for Firefox */
  -ms-overflow-style: none;
  /* Hide scrollbar for IE/Edge */
}

.program-popup-box::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar for Chrome, Safari and Opera */
}

.program-popup-overlay.active .program-popup-box {
  transform: scale(1) translateY(0);
}

.program-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #E2E8F0;
  color: #475569;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transform-origin: center center;
  transition: all 0.2s ease;
}

.program-popup-close svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  stroke-width: 2.5;
  pointer-events: none;
}

.program-popup-close:hover {
  background: var(--cm-coral, #E8607C);
  color: #FFFFFF;
  border-color: var(--cm-coral, #E8607C);
  transform: rotate(90deg);
}

.program-popup-image-wrap {
  position: relative;
  width: 100%;
  height: 185px;
  background: #F1F5F9;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.program-popup-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-popup-chips {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.popup-chip-age,
.popup-chip-timing {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.program-popup-body {
  padding: 16px 22px 20px;
}

.program-popup-title {
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-dark, #0F172A);
  margin-bottom: 6px;
}

.program-popup-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #475569;
  margin-bottom: 12px;
}

.program-popup-highlights-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.popup-highlights-title {
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-dark, #0F172A);
  margin-bottom: 8px;
}

.popup-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.popup-highlights-list li {
  font-size: 0.84rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.popup-highlights-list li .check-icon {
  color: var(--cm-cyan, #00BDD6);
  font-weight: 800;
  flex-shrink: 0;
}

/* Popup Gallery & Badge Enhancements */
.popup-badge-wrap .program-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 4px;
}

.popup-badge-wrap .badge-coral {
  background: #FDF2F4;
  color: #BE185D;
  border: 1px solid #FBCFE8;
}

.popup-badge-wrap .badge-cyan {
  background: #ECFEFF;
  color: #0E7490;
  border: 1px solid #A5F3FC;
}

.popup-badge-wrap .badge-yellow {
  background: #FEFCE8;
  color: #A16207;
  border: 1px solid #FEF08A;
}

.popup-badge-wrap .badge-emerald {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.popup-badge-wrap .badge-purple {
  background: #FAF5FF;
  color: #6B21A8;
  border: 1px solid #E9D5FF;
}

.program-parent-quote {
  background: #FFFBEB;
  border-left: 3px solid #F59E0B;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #92400E;
  margin-bottom: 14px;
  line-height: 1.45;
}

.popup-gallery-wrap {
  margin-bottom: 18px;
}

.popup-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.popup-gallery-label {
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.popup-gallery-hint {
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 500;
}

.popup-gallery-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.popup-gallery-strip::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.popup-gallery-thumb {
  flex: 0 0 68px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: #F1F5F9;
  transition: all 0.2s ease;
}

.popup-gallery-thumb.active,
.popup-gallery-thumb:hover {
  border-color: var(--cm-cyan, #00BDD6);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 189, 214, 0.25);
}

.popup-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-popup-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.program-popup-actions .btn-cm-primary {
  flex: 1;
  padding: 12px 18px;
  font-size: 0.95rem;
  border-radius: 9999px;
  text-align: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}

.program-popup-actions .btn-cm-outline {
  padding: 12px 18px;
  font-size: 0.9rem;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .program-popup-image-wrap {
    height: 180px;
  }

  .program-popup-body {
    padding: 18px 16px 20px;
  }

  .program-popup-actions {
    flex-direction: column;
  }

  .program-popup-actions .btn-cm-primary,
  .program-popup-actions .btn-cm-outline {
    width: 100%;
    text-align: center;
  }
}