/* ============================================
   The Clock Play School — Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --color-orange: #ff6600;
  --color-orange-dark: #e55a00;
  --color-navy: #0f172a;
  --color-navy-dark: #000b2b;
  --color-purple: #7c3aed;
  --color-purple-deep: #4c1d95;
  --color-teal: #00a67e;
  --color-green: #39b54a;
  --color-yellow: #fbbf24;
  --color-yellow-light: #fef3c7;
  --color-pink: #ec4899;
  --color-red: #ef4444;
  --color-blue: #3b82f6;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-bg: #f8fafc;
  --color-bg-warm: #fffbf5;
  --color-white: #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --container-max: 1200px;
  --section-padding: 80px;
  --radius: 16px;
  --radius-pill: 50px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.3);
  --color-gold: #d4af37;
  --color-gold-light: #fef3c7;
  --color-gold-glow: rgba(212, 175, 55, 0.45);
  --color-inspiration-bg: #301934;
  --color-card-text: #0a0a0a;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: #eef2f7;
  background-image: radial-gradient(circle, rgba(100, 116, 139, 0.32) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(248, 250, 252, 0.72);
  pointer-events: none;
  z-index: -1;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Glass Card --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass-card--light {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: background var(--transition-smooth), border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-card--light:hover,
.glass-card:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
}

/* Card text — darker & brighter */
.glass-card--light h3,
.glass-card--light p,
.philosophy-card h3,
.philosophy-card p,
.program-card p,
.safety-card h3,
.safety-card p,
.testimonial-card blockquote,
.vvm-card h3,
.vvm-card p,
.why-card h3,
.why-card p,
.profile-card p,
.story-card p {
  color: var(--color-card-text);
}

.glass-card--light p,
.philosophy-card p,
.program-card p:not(.program-card__age),
.safety-card p,
.vvm-card p,
.why-card p,
.profile-card p,
.story-card p {
  font-weight: 500;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a0a0a;
}

.glass-card--dark-bg {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* --- Image Placeholder --- */
.image-placeholder {
  position: relative;
  background: #e0e0e0;
  border: 2px dashed #999;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.image-placeholder__label {
  display: none;
}

.image-placeholder:not(.image-placeholder--empty) {
  border: none;
  background: transparent;
}

.image-placeholder--empty .image-placeholder__label {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e0e0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* --- Image Zoom on Hover --- */
.image-zoom {
  overflow: hidden;
  cursor: pointer;
}

.image-zoom img {
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-zoom:hover img,
.image-zoom:focus-within img {
  transform: scale(1.12);
}

/* --- Logo Circle --- */
.logo-circle {
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 2px solid #ffffff;
}

.logo-circle img {
  width: 98%;
  height: 98%;
  object-fit: contain;
  position: static;
  border-radius: 50%;
}

.logo-circle--header {
  width: 64px;
  height: 64px;
  padding: 4px;
}

.logo-circle--footer {
  width: 72px;
  height: 72px;
  padding: 5px;
}

.logo-circle--hero {
  width: 140px;
  height: 140px;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.logo-img.image-placeholder {
  border: none;
  background: transparent;
}

/* --- Pill Label --- */
.pill-label {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-yellow-light);
  color: var(--color-navy);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.pill-label--orange {
  background: var(--color-orange);
  color: var(--color-white);
}

.pill-label--teal {
  background: var(--color-teal);
  color: var(--color-white);
}

/* --- Squiggle Underline --- */
.squiggle {
  position: relative;
  display: inline-block;
}

.squiggle::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'%3E%3Cpath d='M0 5 Q 12 0, 25 5 T 50 5 T 75 5 T 100 5' stroke='%23fbbf24' stroke-width='3' fill='none'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.btn-primary:hover {
  background: var(--color-orange-dark);
  border-color: var(--color-orange-dark);
  color: var(--color-white);
}

.btn-outline {
  background: var(--color-white);
  color: var(--color-orange);
  border-color: var(--color-orange);
}

.btn-outline:hover {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-orange);
  border-color: var(--color-white);
}

.btn-white:hover {
  background: var(--color-yellow-light);
  color: var(--color-orange-dark);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--color-white);
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: var(--color-white);
}

.btn-send {
  display: block;
  width: 100%;
  padding: 16px 28px;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}

button.btn-send {
  appearance: none;
  -webkit-appearance: none;
}

.golden-heart-emoji {
  display: inline-block;
  font-size: 1.15rem;
  line-height: 1;
  filter: drop-shadow(0 0 4px #ffd700) drop-shadow(0 0 10px rgba(255, 215, 0, 0.85));
  animation: heartGlow 2.2s ease-in-out infinite;
}

@keyframes heartGlow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px #ffd700) drop-shadow(0 0 10px rgba(255, 215, 0, 0.85)); }
  50% { transform: scale(1.12); filter: drop-shadow(0 0 8px #ffec8b) drop-shadow(0 0 18px rgba(255, 215, 0, 1)); }
}

.page-hero__bg .image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: none;
  background: transparent;
}

.page-hero__banner {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 0;
}

.page-hero__bg .image-placeholder img,
.page-hero__banner img {
  object-fit: cover;
}

.btn-send:hover {
  background: var(--color-orange-dark);
  transform: translateY(-2px);
  color: var(--color-white);
}

#gallery {
  scroll-margin-top: 100px;
}

.section {
  padding: var(--section-padding) 0;
}

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

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

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-sans);
  line-height: 1.15;
}

.logo-text__clock {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-navy);
  letter-spacing: 0.03em;
}

.logo-text__playschool {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.logo-text__playschool .c-p { color: #ff6600; }
.logo-text__playschool .c-l,
.logo-text__playschool .c-s,
.logo-text__playschool .c-o2 { color: #3b82f6; }
.logo-text__playschool .c-a,
.logo-text__playschool .c-c,
.logo-text__playschool .c-l2 { color: #39b54a; }
.logo-text__playschool .c-y,
.logo-text__playschool .c-h { color: #ec4899; }
.logo-text__playschool .c-o1 { color: #ff6600; }

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-navy);
  position: relative;
  padding: 4px 0;
}

.nav-list a:hover {
  color: var(--color-orange);
}

.nav-list a.active {
  color: var(--color-orange);
}

.nav-list a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'%3E%3Cpath d='M0 5 Q 12 0, 25 5 T 50 5 T 75 5 T 100 5' stroke='%23fbbf24' stroke-width='3' fill='none'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
}

.btn-enquire {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* --- Floating WhatsApp --- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* --- Hero (Home) --- */
.hero-home {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
}

.hero-home--video {
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: #000;
}

.hero-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-home__logo-position {
  position: absolute;
  z-index: 2;
  top: 18vh;
  left: 8vw;
  padding: 0;
}

@media (max-width: 768px) {
  .hero-home__logo-position {
    top: 14vh;
    left: 6vw;
  }

  .logo-circle--hero {
    width: 110px;
    height: 110px;
  }
}

/* --- Stats Bar --- */
.stats-bar {
  margin-top: 0;
  position: relative;
  z-index: 2;
  padding: var(--section-padding) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--color-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stat-item {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

/* --- Who We Are --- */
.who-we-are__text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 20px;
}

.who-we-are__text p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.who-we-are__image {
  height: 360px;
  border-radius: var(--radius);
}

/* --- Inspiration Section --- */
.inspiration {
  background: var(--color-inspiration-bg);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

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

.inspiration__image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inspiration__image-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe082 0%, #ffd54f 28%, rgba(255, 193, 7, 0.55) 48%, rgba(255, 183, 77, 0.2) 62%, transparent 72%);
  box-shadow:
    0 0 50px 22px rgba(255, 224, 130, 0.95),
    0 0 90px 40px rgba(255, 200, 80, 0.7),
    0 0 130px 60px rgba(255, 180, 50, 0.4);
  z-index: 0;
}

.inspiration__image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  margin: 0 auto;
  border: 4px solid #fbbf24;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 0 35px 14px rgba(255, 215, 100, 0.85),
    0 0 70px 28px rgba(255, 190, 60, 0.45);
  position: relative;
  z-index: 1;
  background: #fff8e1;
}

.inspiration .two-col > *:last-child {
  position: relative;
  z-index: 2;
}

.inspiration__label {
  color: #fbbf24;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.inspiration__image img {
  object-fit: cover;
  border-radius: 50%;
}

.inspiration__telugu {
  font-size: 1.2rem;
  line-height: 1.9;
  margin-bottom: 16px;
  font-weight: 800;
  color: var(--color-white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.inspiration__quote {
  font-style: italic;
  color: var(--color-yellow);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.inspiration__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

/* --- Philosophy Cards Grid --- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.philosophy-card {
  padding: 28px;
  transition: transform var(--transition);
}

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

.stats-grid:hover {
  transform: none;
}

.philosophy-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  filter: saturate(1.4) brightness(1.1);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.philosophy-card__icon--orange { background: linear-gradient(135deg, #ff8533, #ff6600); }
.philosophy-card__icon--green { background: linear-gradient(135deg, #5fd668, #39b54a); }
.philosophy-card__icon--purple { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.philosophy-card__icon--blue { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.philosophy-card__icon--red { background: linear-gradient(135deg, #f87171, #ef4444); }

.section-subtitle--left {
  margin-left: 0;
  margin-right: auto;
}

.philosophy-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
}

.philosophy-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Programs --- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.program-card {
  padding: 24px 20px;
  text-align: left;
  border-top: 4px solid var(--color-orange);
  transition: transform var(--transition);
}

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

.program-card--green { border-top-color: var(--color-green); }
.program-card--purple { border-top-color: var(--color-purple); }
.program-card--pink { border-top-color: var(--color-pink); }
.program-card--yellow { border-top-color: var(--color-yellow); }

.program-card h3 {
  font-size: 1.1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 8px;
}

.program-card__age {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.program-card--orange .program-card__age { color: var(--color-orange); }
.program-card--green .program-card__age { color: var(--color-green); }
.program-card--purple .program-card__age { color: var(--color-purple); }
.program-card--pink .program-card__age { color: var(--color-pink); }
.program-card--yellow .program-card__age { color: var(--color-yellow); }

.program-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* --- Activity Tags --- */
.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.activity-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform var(--transition), box-shadow var(--transition);
}

.activity-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.activity-tag__icon {
  font-size: 1.1rem;
}

/* --- Safety Cards --- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.safety-card {
  padding: 28px;
}

.safety-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  height: 220px;
  border-radius: var(--radius);
  transition: transform var(--transition);
}

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

.gallery-cta {
  text-align: center;
  margin-top: 32px;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 28px;
}

.testimonial-stars {
  color: var(--color-yellow);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

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

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

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-purple-deep) 0%, var(--color-orange) 100%);
  padding: 64px 0;
  text-align: center;
  color: var(--color-white);
}

.cta-banner h2 {
  color: var(--color-white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.cta-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* --- Page Hero --- */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 48px 24px;
}

.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3rem);
}

.page-hero__squiggle::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'%3E%3Cpath d='M0 5 Q 12 0, 25 5 T 50 5 T 75 5 T 100 5' stroke='%23fbbf24' stroke-width='3' fill='none'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
}

.page-hero p {
  font-size: 1.1rem;
  margin-top: 16px;
  opacity: 0.95;
}

/* --- About Story --- */
.story-card {
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.story-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 24px;
  text-align: center;
}

.story-card p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.story-card p:last-child {
  margin-bottom: 0;
}

/* --- Values Vision Mission --- */
.vvm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vvm-card {
  padding: 32px;
  text-align: center;
}

.vvm-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.vvm-card h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

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

/* --- Founder / Principal --- */
.profile-section {
  padding: var(--section-padding) 0;
}

.profile-image {
  height: 400px;
  border-radius: var(--radius);
}

.profile-card {
  padding: 40px;
}

.profile-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
}

.profile-card__subtitle {
  color: var(--color-purple);
  font-weight: 600;
  margin-bottom: 24px;
  font-size: 1rem;
}

.profile-card__subtitle--teal {
  color: var(--color-teal);
}

.profile-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  margin-bottom: 24px;
  font-size: 1rem;
}

.profile-card .profile-card__badge {
  color: #9333ea;
}

.profile-card h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 20px;
}

.profile-card h3:first-of-type {
  margin-top: 0;
}

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

/* --- Certificates --- */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.certificate-item {
  height: 420px;
  aspect-ratio: 3 / 4;
}

.certificate-item img {
  object-fit: contain;
  background: #fff;
}

.gallery-grid--12 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .gallery-grid--12 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid--12 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Why Choose Us --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  padding: 28px;
  text-align: center;
}

.why-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
  color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  filter: saturate(1.3) brightness(1.08);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.why-card__icon--orange { background: linear-gradient(135deg, #ff8533, var(--color-orange)); }
.why-card__icon--green { background: linear-gradient(135deg, #5fd668, var(--color-green)); }
.why-card__icon--purple { background: linear-gradient(135deg, #a78bfa, var(--color-purple)); }
.why-card__icon--blue { background: linear-gradient(135deg, #60a5fa, var(--color-blue)); }

.why-card h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* --- Programs Table --- */
.programs-table-wrap {
  padding: 32px;
  overflow-x: auto;
}

.programs-table {
  width: 100%;
  border-collapse: collapse;
}

.programs-table th {
  background: var(--color-yellow-light);
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-navy);
}

.programs-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
}

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

.programs-table-note {
  text-align: center;
  font-style: italic;
  color: var(--color-text-muted);
  margin-top: 20px;
  font-size: 0.9rem;
}

/* --- Forms --- */
.form-card {
  padding: 40px;
  max-width: 520px;
  margin: 0 auto;
}

.contact-form-card {
  max-width: none;
  margin: 0;
}

.contact-form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 28px;
}

.safety-card h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.safety-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

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

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

.form-group label .required {
  color: var(--color-red);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.field-error {
  font-size: 0.8rem;
  color: #e53e3e;
  margin-top: 4px;
  display: block;
}

/* --- FAQ (details/summary) --- */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item details {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  transition: background var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.faq-item details[open] {
  border-color: var(--color-gold);
  background: var(--color-gold-light);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-navy);
  transition: background var(--transition-smooth), color var(--transition-smooth);
}

.faq-item summary:hover {
  color: var(--color-orange);
}

.faq-item summary::after {
  content: '−';
  color: var(--color-orange);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--transition-smooth);
}

.faq-item details:not([open]) summary::after {
  content: '+';
  transform: rotate(0deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  color: var(--color-card-text);
  font-size: 0.95rem;
  line-height: 1.7;
  animation: faqFadeIn 0.35s ease;
}

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Contact Page --- */
.contact-hero {
  text-align: center;
  padding: 60px 0 40px;
}

.contact-hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 12px;
}

.contact-hero p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  font-style: italic;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-bottom: var(--section-padding);
  align-items: start;
}

.contact-info-card {
  padding: 36px;
}

.contact-info-card h2 {
  font-size: 1.5rem;
  margin-bottom: 28px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-row__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.contact-row__icon--blue { background: var(--color-blue); }
.contact-row__icon--green { background: #25d366; }
.contact-row__icon--red { background: var(--color-red); }
.contact-row__icon--purple { background: var(--color-purple); }

.contact-row__label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-row__value {
  color: var(--color-purple);
  font-weight: 500;
}

.contact-row__icon svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin: 28px 0;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  flex-shrink: 0;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.social-icon:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.social-icon--whatsapp { background: #25d366; }
.social-icon--instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon--youtube { background: #ff0000; }
.social-icon--email { background: #ea4335; }
.social-icon--phone { background: #4285f4; }

.footer-contact-item .contact-svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
  flex-shrink: 0;
}

.footer-credit {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 16px;
}

.footer-credit a {
  color: var(--color-gold);
  font-weight: 600;
  transition: opacity var(--transition);
}

.footer-credit a:hover {
  opacity: 1;
  text-decoration: underline;
}

.golden-heart {
  color: var(--color-gold);
  font-weight: 600;
}

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

.site-footer-credit p {
  font-size: 0.85rem;
  opacity: 0.7;
  color: var(--color-white);
}

.site-footer-credit a {
  color: var(--color-gold);
  font-weight: 600;
}

.site-footer-credit a:hover {
  text-decoration: underline;
}

.vvm-card__icon {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  filter: saturate(1.4) brightness(1.1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  font-size: 1.6rem;
}

.safety-card__icon {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  filter: saturate(1.4) brightness(1.1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
}

.contact-map {
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--color-purple);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-map-link:hover {
  color: var(--color-orange);
}

/* --- Footer --- */
.site-footer {
  background: var(--color-navy-dark);
  color: var(--color-white);
  padding: 64px 0 32px;
}

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

.footer-brand .logo-img {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 10px;
}

.footer-brand h3.footer-brand__name {
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.15;
}

.footer-brand .logo-text__clock--footer {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.03em;
}

.footer-brand .logo-text__playschool--footer {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.footer-brand .logo-text__playschool--footer .c-p { color: #ff6600; }
.footer-brand .logo-text__playschool--footer .c-l,
.footer-brand .logo-text__playschool--footer .c-s,
.footer-brand .logo-text__playschool--footer .c-o2 { color: #3b82f6; }
.footer-brand .logo-text__playschool--footer .c-a,
.footer-brand .logo-text__playschool--footer .c-c,
.footer-brand .logo-text__playschool--footer .c-l2 { color: #39b54a; }
.footer-brand .logo-text__playschool--footer .c-y,
.footer-brand .logo-text__playschool--footer .c-h { color: #ec4899; }
.footer-brand .logo-text__playschool--footer .c-o1 { color: #ff6600; }

.footer-brand h3 {
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.footer-brand .tagline {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 12px;
}

.footer-brand .address {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-brand .copyright {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 24px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity var(--transition), color var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-orange);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item .icon {
  color: var(--color-yellow);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

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

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* --- 404 Page --- */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg, #fffbf5 0%, #f0f9ff 100%);
}

.error-content h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 16px;
}

.error-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.error-content .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .nav-toggle-label {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
    gap: 24px;
  }

  .nav-toggle:checked ~ .main-nav {
    right: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .btn-enquire {
    width: 100%;
    text-align: center;
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

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

  .two-col--reverse {
    direction: ltr;
  }

  .philosophy-grid,
  .programs-grid,
  .testimonials-grid,
  .gallery-grid,
  .vvm-grid,
  .certificates-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .safety-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .inspiration .two-col {
    text-align: center;
  }

  .story-card {
    padding: 28px;
  }

  .form-card,
  .contact-info-card {
    padding: 24px;
  }

  .hero-home {
    min-height: 70vh;
  }

  .stats-bar {
    margin-top: 0;
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .hero-home__buttons,
  .cta-banner__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-home__buttons .btn,
  .cta-banner__buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}
