/* ============================================
   ANGEL DALE PRE-PRIMARY SCHOOL - STYLESHEET
   Design System: Soft, Warm, Child-Friendly
   ============================================ */

/* ---------- GOOGLE FONTS IMPORT ---------- */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Nunito:wght@300;400;500;600;700&display=swap');

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  --primary: #F48FB1;
  --primary-dark: #E57399;
  --primary-light: #FBCFDC;
  --secondary: #FCE4EC;
  --background: #FFF8F6;
  --text: #2D2D2D;
  --text-light: #6B6B6B;
  --text-muted: #9E9E9E;
  --accent: #FFD54F;
  --accent-dark: #FFB300;
  --white: #FFFFFF;
  --green: #A5D6A7;
  --blue: #90CAF9;
  --purple: #CE93D8;

  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(244, 143, 177, 0.12);
  --shadow-card: 0 6px 30px rgba(244, 143, 177, 0.15);
  --shadow-hover: 0 12px 40px rgba(244, 143, 177, 0.25);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 100px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing */
  --section-padding: 90px 0;
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

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

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

ul { list-style: none; }

/* ---------- CONTAINER ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SECTION STYLES ---------- */
.section {
  padding: var(--section-padding);
}

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

.section-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary-dark);
  font-family: 'Baloo 2', cursive;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  margin-bottom: 16px;
}

.section-title span {
  color: var(--primary-dark);
}

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(244, 143, 177, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(244, 143, 177, 0.5);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-dark);
  border: 2px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--text);
  box-shadow: 0 4px 20px rgba(255, 213, 79, 0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 213, 79, 0.5);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #1ebe5d);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  font-size: 1.05rem;
  padding: 16px 36px;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.1rem;
}

/* ---------- CARDS ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid rgba(244, 143, 177, 0.1);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

/* ---------- ICON CIRCLE ---------- */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  background: var(--secondary);
}

.icon-circle.pink { background: var(--secondary); }
.icon-circle.yellow { background: rgba(255, 213, 79, 0.2); }
.icon-circle.green { background: rgba(165, 214, 167, 0.2); }
.icon-circle.blue { background: rgba(144, 202, 249, 0.2); }
.icon-circle.purple { background: rgba(206, 147, 216, 0.2); }

/* ---------- GRADIENT BACKGROUNDS ---------- */
.bg-gradient-pink {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--background) 100%);
}

.bg-gradient-warm {
  background: linear-gradient(135deg, #FFF8F6 0%, #FCE4EC 60%, #FFF8F6 100%);
}

.bg-white { background: var(--white); }
.bg-pink { background: var(--secondary); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(244, 143, 177, 0.15);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(244, 143, 177, 0.4);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.3px;
}

.nav-logo-tagline {
  font-size: 0.72rem;
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-dark);
  background: var(--secondary);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white) !important;
  padding: 10px 22px;
  box-shadow: 0 4px 15px rgba(244, 143, 177, 0.35);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(244, 143, 177, 0.45);
  background: var(--secondary) !important;
  color: var(--primary-dark) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  /* Larger tap target (48x48px) so touches register reliably on mobile */
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 12px;
  /* Removes tap delay / double-tap-zoom and browser callouts for instant response */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  transition: background var(--transition);
}

/* Visual feedback so the button visibly reacts the moment it is touched */
.hamburger:active {
  background: rgba(244, 143, 177, 0.18);
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
  /* Taps on the bars themselves are handled by the button */
  pointer-events: none;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF8F6 0%, #FCE4EC 50%, #FFF8F6 100%);
  padding-top: 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  animation: floatBubble 8s ease-in-out infinite;
}

.hero-shape-1 {
  width: 420px;
  height: 420px;
  background: var(--primary);
  top: -100px;
  right: -80px;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 280px;
  height: 280px;
  background: var(--accent);
  bottom: -60px;
  left: -60px;
  animation-delay: 2s;
}

.hero-shape-3 {
  width: 180px;
  height: 180px;
  background: var(--primary);
  top: 30%;
  left: 15%;
  animation-delay: 4s;
  opacity: 0.07;
}

@keyframes floatBubble {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.6s ease forwards;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: 'Lobster Two', cursive;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.hero-title .highlight {
  color: var(--primary-dark);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  border-radius: 2px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 500px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: 'Baloo 2', cursive;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-image-wrap {
  position: relative;
  animation: fadeInRight 0.9s ease 0.2s forwards;
  opacity: 0;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(244, 143, 177, 0.25);
  object-fit: cover;
  height: 500px;
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 4s ease-in-out infinite;
}

.hero-float-card-1 {
  bottom: 30px;
  left: -30px;
  animation-delay: 0s;
}

.hero-float-card-2 {
  top: 30px;
  right: -24px;
  animation-delay: 2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-card-icon {
  font-size: 1.8rem;
}

.float-card-text strong {
  display: block;
  font-family: 'Baloo 2', cursive;
  font-size: 0.95rem;
  color: var(--text);
}

.float-card-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hover);
}

.about-img-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-hover);
  text-align: center;
}

.about-img-badge .badge-number {
  font-family: 'Baloo 2', cursive;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.about-img-badge .badge-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.about-text .section-badge {
  text-align: left;
}

.about-text h2 {
  margin-bottom: 16px;
}

.about-text p {
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.about-feature-item .check {
  width: 22px;
  height: 22px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--primary-dark);
  flex-shrink: 0;
}

/* ============================================
   COURSES / INSIGHTS PREVIEW
   ============================================ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid rgba(244, 143, 177, 0.1);
}

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

.course-card-header {
  padding: 28px 28px 20px;
  position: relative;
}

.course-card-header.playgroup { background: linear-gradient(135deg, #FCE4EC, #F8BBD9); }
.course-card-header.nursery { background: linear-gradient(135deg, #FFF9C4, #FFF176); }
.course-card-header.kg { background: linear-gradient(135deg, #E1F5FE, #B3E5FC); }

.course-emoji {
  font-size: 3rem;
  margin-bottom: 8px;
}

.course-age-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}

.course-card-body {
  padding: 20px 28px 28px;
}

.course-card-body h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.course-features {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.course-feature::before {
  content: '✨';
  font-size: 0.85rem;
}

.course-card-footer {
  padding: 0 28px 28px;
}

/* ============================================
   ACTIVITIES PREVIEW
   ============================================ */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.activity-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid rgba(244, 143, 177, 0.08);
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.activity-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: block;
  transition: var(--transition);
}

.activity-card:hover .activity-icon {
  transform: scale(1.15) rotate(5deg);
}

.activity-card h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.activity-card p {
  font-size: 0.88rem;
}

/* ============================================
   GALLERY PREVIEW
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(244, 143, 177, 0.7));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-icon {
  width: 52px;
  height: 52px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transform: scale(0.7);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay-icon {
  transform: scale(1);
}

/* ============================================
   TRUST SECTION (Why Parents Trust Us)
   ============================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.trust-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.trust-card .icon-circle {
  margin: 0 auto 18px;
  font-size: 1.8rem;
}

.trust-card h4 {
  margin-bottom: 10px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  color: var(--primary-dark);
}

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

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--background) 100%);
  text-align: center;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.page-hero-breadcrumb a {
  color: var(--primary-dark);
  font-weight: 600;
}

.page-hero-breadcrumb span {
  color: var(--text-muted);
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   INSIGHTS PAGE
   ============================================ */
.insights-intro {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.insight-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

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

.insight-card-top {
  padding: 36px 32px 28px;
  position: relative;
}

.insight-card-top.playgroup {
  background: linear-gradient(135deg, #FCE4EC 0%, #F8BBD0 100%);
}

.insight-card-top.nursery {
  background: linear-gradient(135deg, #FFF9C4 0%, #FFF59D 100%);
}

.insight-card-top.kg {
  background: linear-gradient(135deg, #E1F5FE 0%, #B3E5FC 100%);
}

.insight-card-icon {
  font-size: 3.6rem;
  margin-bottom: 12px;
}

.insight-card-age {
  display: inline-block;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.insight-card-body {
  padding: 24px 32px 32px;
}

.insight-card-body h3 {
  margin-bottom: 10px;
}

.insight-card-body p {
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.insight-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.insight-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.insight-feature-icon {
  width: 22px;
  height: 22px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================
   ACTIVITIES PAGE
   ============================================ */
.activity-section-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.activity-section-block.reverse {
  direction: rtl;
}

.activity-section-block.reverse > * {
  direction: ltr;
}

.activity-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.activity-img-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.activity-img-wrap:hover img {
  transform: scale(1.04);
}

.activity-text .section-badge {
  text-align: left;
}

.activity-text h2 {
  margin-bottom: 16px;
}

.activity-text p {
  margin-bottom: 24px;
}

.activity-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--secondary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.activity-highlight-icon {
  font-size: 1.3rem;
}

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

.gallery-full-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-full-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.gallery-full-item .gallery-overlay {
  opacity: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(244, 143, 177, 0.75));
  transition: var(--transition);
}

.gallery-full-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-full-item:nth-child(4n+1) {
  grid-column: span 2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  width: 100%;
}

.lightbox-img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--primary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav:hover { background: var(--primary); }
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

/* ============================================
   TRAINING PAGE
   ============================================ */
.training-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.training-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hover);
}

.training-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}

.training-topic-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border-left: 4px solid var(--primary-light);
}

.training-topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-left-color: var(--primary);
}

.training-topic-card .icon-circle {
  margin-bottom: 16px;
}

.training-topic-card h4 {
  margin-bottom: 10px;
}

.training-benefits {
  background: linear-gradient(135deg, var(--secondary), var(--background));
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-top: 60px;
}

.training-benefits h3 {
  text-align: center;
  margin-bottom: 36px;
}

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

.benefit-item {
  text-align: center;
}

.benefit-number {
  font-family: 'Baloo 2', cursive;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.benefit-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.contact-info-card h3 {
  margin-bottom: 8px;
}

.contact-info-card > p {
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-item .icon-circle {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item-text strong {
  display: block;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-item-text p {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  margin: 0;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.contact-form-card h3 {
  margin-bottom: 8px;
}

.contact-form-card > p {
  margin-bottom: 32px;
  font-size: 0.95rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(244, 143, 177, 0.2);
  border-radius: var(--radius-md);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--background);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(244, 143, 177, 0.12);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #e53935;
  margin-top: 6px;
}

.form-control.error {
  border-color: #e53935;
}

.form-control.error + .form-error {
  display: block;
}

.form-success {
  display: none;
  background: rgba(165, 214, 167, 0.2);
  border: 1px solid var(--green);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  color: #388e3c;
  font-weight: 600;
  margin-top: 16px;
}

/* Map */
.map-section {
  margin-top: 60px;
}

.map-section h3 {
  text-align: center;
  margin-bottom: 24px;
}

.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 400px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand .nav-logo-name {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-heading {
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

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

.footer-link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

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

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

.footer-social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.7);
}

.footer-social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: waBounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 72px;
  background: var(--text);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
}

@keyframes waBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.02); }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Delay variants */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Keyframe animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary-dark); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-60 { margin-top: 60px; }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  margin: 60px 0;
}

/* ============================================
   RESPONSIVE – TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root { --section-padding: 70px 0; }

  .courses-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { gap: 40px; }
  .hero-img { height: 400px; }
  .about-preview { gap: 40px; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .training-topics { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .lightbox-prev { left: -16px; }
  .lightbox-next { right: -16px; }
}

/* ============================================
   RESPONSIVE – MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
  :root { --section-padding: 56px 0; }

  /* Navbar */
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-110%);
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(244, 143, 177, 0.2);
    z-index: 999;
  }

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

  .nav-link { width: 100%; text-align: center; padding: 12px 20px; }
  .nav-cta { margin-top: 8px; }

  /* Hero */
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: auto; padding: 130px 0 70px; }
  .hero-stats { gap: 20px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  /* Mobile hero image: circle pinned to the empty top-right corner,
     behind the badge row's free space, grazing the first title lines */
  .hero-image-wrap {
    position: absolute;
    top: -60px;
    right: -55px;
    width: clamp(190px, 52vw, 250px);
    height: clamp(190px, 52vw, 250px);
    pointer-events: none;
    z-index: 0;
  }
  .hero-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0.4; /* 60% transparent — raise to 0.6 if you want the photo more visible */
    box-shadow: none;
  }
  /* lift the text column above the circle */
  .hero-text { position: relative; z-index: 1; }
  .hero-float-card { display: none; }

  /* About */
  .about-preview { grid-template-columns: 1fr; gap: 32px; }
  .about-img-badge { right: 10px; }

  /* Courses */
  .courses-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }

  /* Activities */
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-section-block { grid-template-columns: 1fr; gap: 32px; }
  .activity-section-block.reverse { direction: ltr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-full-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-full-item:nth-child(4n+1) { grid-column: span 1; }

  /* Trust */
  .trust-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Training */
  .training-intro-grid { grid-template-columns: 1fr; }
  .training-topics { grid-template-columns: 1fr; }
  .training-benefits { padding: 32px 24px; }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* About features */
  .about-features { grid-template-columns: 1fr; }

  /* CTA */
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Lightbox */
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ============================================
   RESPONSIVE – SMALL MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
  .activities-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-full-grid { grid-template-columns: 1fr; }
  .hero-stat-number { font-size: 1.4rem; }
  .benefits-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-form-card { padding: 28px 20px; }
  .contact-info-card { padding: 28px 20px; }
}
