/* ===== GLOBAL STYLES ===== */
:root {
  --primary: #2e7d32;
  --primary-light: #4caf50;
  --secondary: #f9a825;
  --accent: #e53935;
  --blue: #1565c0;
  --light-bg: #f0f9f0;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-muted: #666;
  --border-radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.18);
}

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

body {
  font-family: "Nunito", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  animation: pageIn 0.35s ease-out both;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", "Segoe UI", sans-serif;
}

@keyframes pageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

img {
  max-width: 100%;
}

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

/* ===== HEADER / NAVBAR ===== */
header {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.nav-logo .logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.nav-logo .logo-text h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.nav-logo .logo-text span {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

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

.nav-links .btn-admission {
  background: var(--secondary);
  color: var(--text-dark);
  padding: 9px 20px;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.nav-links .btn-admission:hover {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.05);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ═══════════════════════════════════════
   ENHANCED BANNER SLIDER
═══════════════════════════════════════ */
.slider-section {
  position: relative;
  padding: 0 !important; /* override global section { padding: 70px } */
  margin: 0 !important;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  user-select: none;
}

/* ── Track ── */
.slides-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

/* ── Slide base ── */
.slide {
  min-width: 100%;
  height: 620px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/* Slide 1 – Happy children playing outdoors */
.slide-1 {
  background:
    linear-gradient(
      120deg,
      rgba(10, 46, 10, 0.82) 0%,
      rgba(27, 94, 32, 0.6) 45%,
      rgba(13, 27, 94, 0.82) 100%
    ),
    url("../images/banner-1.jpg") center / cover no-repeat;
}

/* Slide 2 – Bright school / learning environment */
.slide-2 {
  background:
    linear-gradient(
      120deg,
      rgba(74, 21, 0, 0.84) 0%,
      rgba(191, 54, 12, 0.62) 45%,
      rgba(121, 85, 0, 0.84) 100%
    ),
    url("../images/banner-2.jpg") center / cover no-repeat;
}

/* Slide 3 – Kids doing activity / hands-on learning */
.slide-3 {
  background:
    linear-gradient(
      120deg,
      rgba(13, 27, 94, 0.84) 0%,
      rgba(21, 101, 192, 0.6) 45%,
      rgba(0, 96, 100, 0.84) 100%
    ),
    url("../images/banner-3.jpg") center / cover no-repeat;
}

/* Slide 4 – Caring / safe school environment */
.slide-4 {
  background:
    linear-gradient(
      120deg,
      rgba(74, 0, 128, 0.84) 0%,
      rgba(136, 14, 79, 0.62) 45%,
      rgba(183, 28, 28, 0.84) 100%
    ),
    url("../images/banner-4.jpg") center / cover no-repeat;
}

/* ── Animated blobs ── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.blob-a {
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.04);
  top: -120px;
  right: -100px;
  animation: blobDrift 10s ease-in-out infinite alternate;
}
.blob-b {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  bottom: -80px;
  left: -60px;
  animation: blobDrift 13s ease-in-out infinite alternate-reverse;
}

@keyframes blobDrift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(40px, 30px) scale(1.15);
  }
}

/* ── Floating particles ── */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.p {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  animation: particleRise linear infinite;
}
.p1 {
  width: 8px;
  height: 8px;
  left: 8%;
  bottom: -10%;
  animation-duration: 7s;
  animation-delay: 0s;
}
.p2 {
  width: 5px;
  height: 5px;
  left: 20%;
  bottom: -10%;
  animation-duration: 9s;
  animation-delay: 1.5s;
}
.p3 {
  width: 10px;
  height: 10px;
  left: 35%;
  bottom: -10%;
  animation-duration: 8s;
  animation-delay: 3s;
}
.p4 {
  width: 6px;
  height: 6px;
  left: 50%;
  bottom: -10%;
  animation-duration: 6s;
  animation-delay: 0.8s;
}
.p5 {
  width: 8px;
  height: 8px;
  left: 62%;
  bottom: -10%;
  animation-duration: 10s;
  animation-delay: 2s;
}
.p6 {
  width: 4px;
  height: 4px;
  left: 75%;
  bottom: -10%;
  animation-duration: 7.5s;
  animation-delay: 4s;
}
.p7 {
  width: 7px;
  height: 7px;
  left: 85%;
  bottom: -10%;
  animation-duration: 9s;
  animation-delay: 1s;
}
.p8 {
  width: 5px;
  height: 5px;
  left: 92%;
  bottom: -10%;
  animation-duration: 8s;
  animation-delay: 3.5s;
}

@keyframes particleRise {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-700px) rotate(360deg);
    opacity: 0;
  }
}

/* ── Inner split layout ── */
.slide-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  gap: 30px;
  position: relative;
  z-index: 3;
}

/* ── Text side ── */
.slide-content {
  flex: 0 0 50%;
  max-width: 520px;
}

/* Text entrance animation (triggered by .active class) */
.slide.active .slide-badge {
  animation: slideUp 0.6s 0.1s both ease-out;
}
.slide.active .slide-content h2 {
  animation: slideUp 0.6s 0.25s both ease-out;
}
.slide.active .slide-content p {
  animation: slideUp 0.6s 0.38s both ease-out;
}
.slide.active .slide-pills,
.slide.active .adm-highlight,
.slide.active .feature-pills,
.slide.active .safety-grid {
  animation: slideUp 0.6s 0.5s both ease-out;
}
.slide.active .slide-btns {
  animation: slideUp 0.6s 0.62s both ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Badge ── */
.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  padding: 7px 20px;
  border-radius: 50px;
  font-size: 0.86rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  letter-spacing: 0.4px;
  backdrop-filter: blur(8px);
}

/* ── Heading ── */
.slide-content h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  font-weight: 900;
  color: white;
  line-height: 1.18;
  margin-bottom: 16px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}
.slide-content h2 em {
  font-style: normal;
  color: #fff176;
}

/* ── Para ── */
.slide-content > p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  line-height: 1.65;
}
.slide-content > p strong {
  color: #fff176;
}

/* ── Program pills (slide 1) ── */
.slide-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}
.slide-pills span {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  transition: background 0.3s;
}
.slide-pills span:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ── Admission highlight cards (slide 2) ── */
.adm-highlight {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.ah-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 10px 16px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  flex: 1;
  min-width: 110px;
}
.ah-icon {
  font-size: 1.5rem;
}
.ah-item div {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}
.ah-item div strong {
  display: block;
  font-size: 0.85rem;
  color: #fff176;
}

/* ── Feature pills (slide 3) ── */
.feature-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
}
.fp {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

/* ── Safety grid (slide 4) ── */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.sg-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.sg-item span {
  font-size: 1.2rem;
}

/* ── CTA Buttons ── */
.slide-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sld-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  letter-spacing: 0.2px;
}
.sld-btn-fill {
  background: white;
  color: #1a237e;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.sld-btn-fill:hover {
  background: #fff176;
  color: #1a237e;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
}
.sld-btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.sld-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: white;
  transform: translateY(-3px);
}

/* ── SVG illustration side ── */
.slide-visual {
  flex: 0 0 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.sl-svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.3));
  animation: svgFloat 5s ease-in-out infinite;
}
@keyframes svgFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* ── Slide counter ── */
.slide-counter {
  position: absolute;
  top: 24px;
  right: 80px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.92rem;
  font-weight: 800;
  color: white;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 14px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}
#slideCurrentNum {
  color: #fff176;
  font-size: 1.1rem;
}
.sc-sep {
  opacity: 0.5;
  margin: 0 2px;
}

/* ── Arrows ── */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: white;
  cursor: pointer;
  z-index: 20;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
  border-color: white;
  transform: translateY(-50%) scale(1.1);
}
.slider-prev {
  left: 22px;
}
.slider-next {
  right: 22px;
}

/* ── Simple dot nav ── */
.slider-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
  align-items: center;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}
.dot.active {
  background: white;
  width: 28px;
  border-radius: 5px;
}
.dot:hover {
  background: rgba(255, 255, 255, 0.72);
}

/* ── Progress bar ── */
.slider-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 20;
}
.spb-fill {
  height: 100%;
  background: linear-gradient(90deg, #fff176, white);
  width: 0%;
  transition: width 0.08s linear;
  border-radius: 0 2px 2px 0;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .slide {
    height: 520px;
  }
  .slide-inner {
    padding: 0 50px 0 30px;
    gap: 20px;
  }
  .slide-content {
    flex: 0 0 55%;
  }
  .slide-visual {
    flex: 0 0 42%;
  }
  .slide-content h2 {
    font-size: 1.85rem;
  }
  .adm-highlight {
    flex-wrap: wrap;
  }
  .ah-item {
    min-width: 90px;
  }
}

@media (max-width: 680px) {
  .slide {
    height: auto;
    min-height: 500px;
  }
  .slide-inner {
    flex-direction: column;
    padding: 50px 24px 100px;
    text-align: center;
    gap: 0;
  }
  .slide-content {
    flex: none;
    max-width: 100%;
  }
  .slide-visual {
    flex: none;
    width: 80%;
    max-width: 280px;
    opacity: 0.3;
    position: absolute;
    right: -40px;
    bottom: 60px;
  }
  .slide-pills,
  .slide-btns {
    justify-content: center;
  }
  .feature-pills,
  .safety-grid {
    grid-template-columns: 1fr;
  }
  .adm-highlight {
    justify-content: center;
  }
  .slide-counter {
    top: 14px;
    right: 14px;
    font-size: 0.8rem;
  }
  .slider-prev {
    left: 10px;
  }
  .slider-next {
    right: 10px;
  }
  .slider-arrow {
    width: 38px;
    height: 38px;
  }
  /* dot-label removed */
}

@media (max-width: 420px) {
  .slide-inner {
    padding: 40px 18px 90px;
  }
  .slide-content h2 {
    font-size: 1.55rem;
  }
  .slide-badge {
    font-size: 0.78rem;
    padding: 6px 14px;
  }
  .sld-btn {
    padding: 11px 22px;
    font-size: 0.88rem;
  }
}

.btn {
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
}

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

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background: #f57f17;
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ===== ADMISSION BANNER ===== */
.admission-banner {
  background: linear-gradient(
    90deg,
    var(--secondary) 0%,
    #ffca28 50%,
    var(--secondary) 100%
  );
  text-align: center;
  padding: 14px 20px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  margin: 0; /* no gap between header → banner → slider */
  display: block;
}

.admission-banner span {
  color: var(--accent);
}

/* ===== SECTION STYLES ===== */
section {
  padding: 70px 20px;
}

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

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
}

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

.divider {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  margin: 14px auto 0;
}

/* ===== FEATURES / WHY CHOOSE ===== */
.features {
  background: var(--light-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 32px 26px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-light);
}

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

.feature-card .icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

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

/* ===== PROGRAMS SECTION ===== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.program-card {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: white;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

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

/* Remove old colored full-card overrides */
.program-card.playgroup,
.program-card.nursery,
.program-card.jrkg,
.program-card.srkg {
  background: white;
  color: var(--text-dark);
}

/* Image wrapper */
.prog-img-wrap {
  width: 100%;
  height: 210px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

/* Colored fallback backgrounds */
.program-card.playgroup .prog-img-wrap {
  background: linear-gradient(135deg, #ff8f00, #ffca28);
}
.program-card.nursery .prog-img-wrap {
  background: linear-gradient(135deg, #1b5e20, #66bb6a);
}
.program-card.jrkg .prog-img-wrap {
  background: linear-gradient(135deg, #0d47a1, #42a5f5);
}
.program-card.srkg .prog-img-wrap {
  background: linear-gradient(135deg, #b71c1c, #ef5350);
}

.prog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.program-card:hover .prog-img-wrap img {
  transform: scale(1.07);
}

/* Colored top bar per program */
.program-card.playgroup .prog-img-wrap::after {
  background: #ff8f00;
}
.program-card.nursery .prog-img-wrap::after {
  background: #2e7d32;
}
.program-card.jrkg .prog-img-wrap::after {
  background: #1565c0;
}
.program-card.srkg .prog-img-wrap::after {
  background: #c62828;
}

.prog-img-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
}

/* Card content area */
.prog-content {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prog-content h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}

.prog-content .age {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  padding: 4px 13px;
  border-radius: 20px;
  margin-bottom: 12px;
  width: fit-content;
}

.program-card.playgroup .age {
  background: #ff8f00;
}
.program-card.nursery .age {
  background: #2e7d32;
}
.program-card.jrkg .age {
  background: #1565c0;
}
.program-card.srkg .age {
  background: #c62828;
}

.prog-content p {
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
}

.prog-link {
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s;
  align-self: flex-start;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.program-card.playgroup .prog-link {
  color: #e65100;
}
.program-card.playgroup .prog-link:hover {
  border-color: #e65100;
}
.program-card.nursery .prog-link {
  color: #2e7d32;
}
.program-card.nursery .prog-link:hover {
  border-color: #2e7d32;
}
.program-card.jrkg .prog-link {
  color: #1565c0;
}
.program-card.jrkg .prog-link:hover {
  border-color: #1565c0;
}
.program-card.srkg .prog-link {
  color: #c62828;
}
.program-card.srkg .prog-link:hover {
  border-color: #c62828;
}

/* ===== STATS ===== */
.stats {
  background: linear-gradient(135deg, var(--primary) 0%, #1b5e20 100%);
  color: white;
  padding: 60px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--secondary);
}

.stat-item p {
  font-size: 0.95rem;
  opacity: 0.88;
  font-weight: 600;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--light-bg);
}

/* ── Slider shell ── */
.ts-slider {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 60px;
}

.ts-track-wrap {
  overflow: hidden;
  border-radius: var(--border-radius);
}

.ts-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

/* ── Each card — width set by JS ── */
.ts-card {
  flex-shrink: 0;
  width: 100%;
}

.testimonial-card {
  background: var(--white);
  padding: 38px 38px 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
}

/* Large decorative quote */
.ts-quote {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary-light);
  opacity: 0.25;
  position: absolute;
  top: 14px;
  left: 26px;
  pointer-events: none;
  user-select: none;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  padding-top: 22px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.author-avatar.av1 {
  background: #e8f5e9;
}
.author-avatar.av2 {
  background: #fff9c4;
}
.author-avatar.av3 {
  background: #e3f2fd;
}
.author-avatar.av4 {
  background: #fce4ec;
}
.author-avatar.av5 {
  background: #f3e5f5;
}

.author-info strong {
  display: block;
  font-size: 1rem;
  color: var(--blue);
  font-weight: 700;
}

.author-info span {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.stars {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-top: 5px;
  letter-spacing: 1px;
}

/* ── Arrows ── */
.ts-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid #e0e0e0;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 5;
}
.ts-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}
.ts-prev {
  left: 0;
}
.ts-next {
  right: 0;
}

/* ── Dots ── */
.ts-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.ts-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}
.ts-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}
.ts-dot:hover {
  background: var(--primary-light);
}

/* ── Colored top accent per card ── */
.ts-track .ts-card:nth-child(1) .testimonial-card {
  border-top: 4px solid #4caf50;
}
.ts-track .ts-card:nth-child(2) .testimonial-card {
  border-top: 4px solid #1565c0;
}
.ts-track .ts-card:nth-child(3) .testimonial-card {
  border-top: 4px solid #f9a825;
}
.ts-track .ts-card:nth-child(4) .testimonial-card {
  border-top: 4px solid #e53935;
}
.ts-track .ts-card:nth-child(5) .testimonial-card {
  border-top: 4px solid #7b1fa2;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .ts-slider {
    padding: 0 52px;
  }
}
@media (max-width: 520px) {
  .ts-slider {
    padding: 0 44px;
  }
  .ts-arrow {
    width: 36px;
    height: 36px;
  }
  .testimonial-card {
    padding: 28px 22px 24px;
  }
}

/* ===== CONTACT INFO ===== */
.contact-info-section {
  background: linear-gradient(135deg, #0d1b4b 0%, #1a3a6b 50%, #0d3b2e 100%);
  position: relative;
  overflow: hidden;
}

.contact-info-section::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,193,7,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.contact-info-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(76,175,80,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-info-section .section-header h2 {
  color: #fff;
}
.contact-info-section .section-header p {
  color: rgba(255,255,255,0.75);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.contact-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255,255,255,0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 40px 26px 32px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 22px 22px 0 0;
}

.contact-cards .contact-card:nth-child(1)::before { background: linear-gradient(90deg, #4caf50, #81c784); }
.contact-cards .contact-card:nth-child(2)::before { background: linear-gradient(90deg, #1565c0, #42a5f5); }
.contact-cards .contact-card:nth-child(3)::before { background: linear-gradient(90deg, #f9a825, #ffe082); }
.contact-cards .contact-card:nth-child(4)::before { background: linear-gradient(90deg, #e53935, #ef9a9a); }

.contact-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.13);
  box-shadow: 0 20px 50px rgba(0,0,0,0.38);
}

.contact-card h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.contact-card p,
.contact-card a {
  color: rgba(255,255,255,0.72);
  font-size: 0.93rem;
  line-height: 1.7;
}

.contact-card a {
  color: #ffd54f;
  font-weight: 600;
  text-decoration: none;
}
.contact-card a:hover {
  color: #fff;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--blue) 100%);
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 20px 80px;
}

/* dark overlay so text stays readable over any bg image */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 40, 20, 0.72) 0%,
    rgba(10, 30, 80, 0.68) 100%
  );
  z-index: 0;
}

/* subtle dot-pattern on top of overlay */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
  pointer-events: none;
}

.page-hero h1,
.page-hero p,
.page-hero .breadcrumb {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  letter-spacing: 0.5px;
}

.page-hero p {
  font-size: 1.08rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* ===== ABOUT PAGE ===== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-story .story-visual {
  /* image replaces old emoji block */
}

.story-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.story-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

/* floating badge over the image */
.story-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.story-img-badge span {
  font-size: 1.8rem;
  line-height: 1;
}

.story-img-badge strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary);
  font-family: "Poppins", sans-serif;
}

.about-story .story-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
}

.about-story .story-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.value-card {
  padding: 28px 22px;
  border-radius: var(--border-radius);
  border-left: 5px solid var(--primary);
  background: var(--white);
  box-shadow: var(--shadow);
}

.value-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

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

/* ===== ADMISSIONS PAGE ===== */
.admission-steps {
  counter-reset: steps;
}

.step-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.step-card:hover {
  transform: translateX(8px);
}

.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Fee table */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.fee-table thead {
  background: linear-gradient(90deg, var(--primary), var(--blue));
  color: white;
}

.fee-table th,
.fee-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.95rem;
}

.fee-table tbody tr:nth-child(even) {
  background: var(--light-bg);
}

.fee-table tbody tr:hover {
  background: #c8e6c9;
}

.fee-table td:last-child {
  font-weight: 700;
  color: var(--primary);
}

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

.contact-form-wrap h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s;
  outline: none;
  background: var(--white);
  color: var(--text-dark);
}

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

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

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

.submit-btn {
  background: linear-gradient(90deg, var(--primary), var(--blue));
  color: white;
  border: none;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.map-placeholder {
  background: linear-gradient(135deg, #e8f5e9, #e3f2fd);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
}

.map-placeholder .map-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.map-placeholder h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

.map-placeholder p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border-radius: 10px;
  margin-top: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.info-item .info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.info-item p,
.info-item a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
}

/* ===== FOOTER ===== */
footer {
  background: #1b2a3b;
  color: #ccc;
  padding: 50px 20px 20px;
}

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

.footer-brand .brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}

.footer-brand .brand-tag {
  color: var(--primary-light);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
}

.footer-col .contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  align-items: flex-start;
}

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

.footer-bottom {
  border-top: 1px solid #2c3e50;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #888;
}

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

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    gap: 8px;
  }

  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    display: block;
    text-align: center;
  }

  .about-story {
    grid-template-columns: 1fr;
  }
  .story-img-wrap img {
    height: 280px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 50px 20px 40px;
  }
}

/* ===== FORM SUCCESS ===== */
.form-success {
  display: none;
  background: #e8f5e9;
  border: 2px solid var(--primary);
  border-radius: var(--border-radius);
  padding: 24px;
  text-align: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 20px;
}

.form-success.show {
  display: block;
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: var(--light-bg);
}

.faq-question .faq-arrow {
  transition: transform 0.3s;
  font-size: 1.1rem;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s;
  padding: 0 24px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

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

#backToTop:hover {
  background: var(--primary-light);
  transform: translateY(-4px);
}

/* ═══════════════════════════════════════════════════════
   DESIGN ENHANCEMENTS
═══════════════════════════════════════════════════════ */

/* ── Header scroll shrink effect ── */
header {
  transition:
    box-shadow 0.3s ease,
    background 0.3s ease;
}
header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.13);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

/* ── Admission banner animated shimmer ── */
.admission-banner {
  background: linear-gradient(
    90deg,
    #f9a825 0%,
    #ffe082 25%,
    #fff176 50%,
    #ffe082 75%,
    #f9a825 100%
  );
  background-size: 250% 100%;
  animation: bannerShimmer 4s ease-in-out infinite;
}
@keyframes bannerShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ═══ SLIDE CENTER — fixes missing layout for current HTML ═══ */
.slide-center {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 3;
  height: 100%;
  justify-content: center;
}

.slide-center h2 {
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: white;
  line-height: 1.18;
  margin-bottom: 16px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}
.slide-center h2 em {
  font-style: normal;
  color: #fff176;
}
.slide-center > p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 26px;
  line-height: 1.7;
  max-width: 640px;
}
.slide-center > p strong {
  color: #fff176;
}

/* Entrance animations for slide-center children */
.slide.active .slide-center h2 {
  animation: slideUp 0.6s 0.25s both ease-out;
}
.slide.active .slide-center > p {
  animation: slideUp 0.6s 0.38s both ease-out;
}

/* ── Slide info boxes (slides 2 & 4) ── */
.slide-info-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.si-box {
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  min-width: 106px;
  transition: background 0.3s;
}
.si-box:hover {
  background: rgba(255, 255, 255, 0.26);
}
.si-box > span {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 6px;
}
.si-box strong {
  display: block;
  color: #fff176;
  font-size: 0.92rem;
  font-weight: 800;
}
.si-box small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  margin-top: 3px;
}

/* Mobile slide-center */
@media (max-width: 680px) {
  .slide-center {
    padding: 60px 24px 100px;
  }
  .slide-center h2 {
    font-size: 1.65rem;
  }
  .slide-center > p {
    font-size: 0.95rem;
  }
}
@media (max-width: 420px) {
  .slide-center {
    padding: 50px 18px 90px;
  }
  .slide-center h2 {
    font-size: 1.48rem;
  }
}

/* ═══ FEATURE CARD ICON CIRCLES ═══ */
.feature-card .icon {
  font-size: 2.4rem;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}
.feature-card:hover .icon {
  transform: scale(1.12) rotate(6deg);
}

.features-grid .feature-card:nth-child(1) .icon {
  background: #e8f5e9;
}
.features-grid .feature-card:nth-child(2) .icon {
  background: #fff8e1;
}
.features-grid .feature-card:nth-child(3) .icon {
  background: #e3f2fd;
}
.features-grid .feature-card:nth-child(4) .icon {
  background: #fce4ec;
}
.features-grid .feature-card:nth-child(5) .icon {
  background: #f3e5f5;
}
.features-grid .feature-card:nth-child(6) .icon {
  background: #e0f7fa;
}

/* Staggered fade-in for feature cards */
.features-grid .feature-card:nth-child(1).fade-in {
  transition-delay: 0s;
}
.features-grid .feature-card:nth-child(2).fade-in {
  transition-delay: 0.08s;
}
.features-grid .feature-card:nth-child(3).fade-in {
  transition-delay: 0.16s;
}
.features-grid .feature-card:nth-child(4).fade-in {
  transition-delay: 0.24s;
}
.features-grid .feature-card:nth-child(5).fade-in {
  transition-delay: 0.32s;
}
.features-grid .feature-card:nth-child(6).fade-in {
  transition-delay: 0.4s;
}

/* ═══ DIVIDER UPGRADED ═══ */
.divider {
  width: 64px;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--primary-light)
  );
  border-radius: 5px;
  margin: 16px auto 0;
}

/* ═══ PROGRAMS GRID STAGGER ═══ */
.programs-grid .program-card:nth-child(1).fade-in {
  transition-delay: 0s;
}
.programs-grid .program-card:nth-child(2).fade-in {
  transition-delay: 0.1s;
}
.programs-grid .program-card:nth-child(3).fade-in {
  transition-delay: 0.2s;
}
.programs-grid .program-card:nth-child(4).fade-in {
  transition-delay: 0.3s;
}

/* ═══ STATS — DECORATIVE BG PATTERN ═══ */
.stats {
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.07) 1.5px,
    transparent 1.5px
  );
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.stats::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  top: -140px;
  right: -80px;
  pointer-events: none;
  z-index: 0;
}
.stats .container {
  position: relative;
  z-index: 1;
}
.stat-item {
  position: relative;
  z-index: 1;
}

/* ═══ TESTIMONIAL CARDS — HOVER EFFECT ═══ */
.testimonial-card {
  transition: box-shadow 0.3s ease;
}

/* ═══ CONTACT CARDS — ICON CIRCLES + COLORED TOPS ═══ */
.contact-card .c-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin: 0 auto 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  color: #fff;
  position: relative;
  z-index: 1;
}
.contact-cards .contact-card:nth-child(1) .c-icon {
  background: linear-gradient(135deg, #2e7d32, #66bb6a);
  box-shadow: 0 6px 20px rgba(76,175,80,0.45);
}
.contact-cards .contact-card:nth-child(2) .c-icon {
  background: linear-gradient(135deg, #0d47a1, #42a5f5);
  box-shadow: 0 6px 20px rgba(33,150,243,0.45);
}
.contact-cards .contact-card:nth-child(3) .c-icon {
  background: linear-gradient(135deg, #e65100, #ffb74d);
  box-shadow: 0 6px 20px rgba(255,152,0,0.45);
}
.contact-cards .contact-card:nth-child(4) .c-icon {
  background: linear-gradient(135deg, #b71c1c, #ef5350);
  box-shadow: 0 6px 20px rgba(229,57,53,0.45);
}
.contact-card:hover .c-icon {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
}

@keyframes visit-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.contact-cards .contact-card:nth-child(1) .c-icon { animation: visit-float 4s ease-in-out infinite; }
.contact-cards .contact-card:nth-child(2) .c-icon { animation: visit-float 4s ease-in-out 0.6s infinite; }
.contact-cards .contact-card:nth-child(3) .c-icon { animation: visit-float 4s ease-in-out 1.2s infinite; }
.contact-cards .contact-card:nth-child(4) .c-icon { animation: visit-float 4s ease-in-out 1.8s infinite; }
.contact-card:hover .c-icon { animation: none; }

/* ═══ ABOUT US — HOME SECTION ═══ */
.about-home-section {
  background: linear-gradient(135deg, #f0faf1 0%, #e8f4fd 100%);
  padding: 80px 0;
}

.about-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* --- Image side --- */
.about-home-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.about-home-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.about-home-img-wrap:hover img {
  transform: scale(1.04);
}

.about-home-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 30px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.about-home-badge i {
  color: var(--primary);
  font-size: 1rem;
}

.about-home-stat-pill {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 16px;
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 16px rgba(46,125,50,0.4);
  line-height: 1.3;
}
.about-home-stat-pill strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
}

/* --- Text side --- */
.about-home-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46,125,50,0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-home-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 18px;
  line-height: 1.2;
}
.about-home-content h2 span {
  color: var(--primary);
}
.about-home-content > p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.97rem;
}

/* Mission / Vision pills */
.about-home-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 32px;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.pillar strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}
.pillar p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.about-home-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 0.97rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(46,125,50,0.3);
}

@media (max-width: 768px) {
  .about-home-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-home-img-wrap img {
    height: 280px;
  }
}

/* ═══ LIGHT-BG CONTACT CARDS (contact.html Plan Your Visit) ═══ */
.visit-light-section .contact-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.visit-light-section .contact-card:hover {
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}
.visit-light-section .contact-card h4 {
  color: var(--blue);
}
.visit-light-section .contact-card p {
  color: var(--text-muted);
}
.visit-light-section .contact-card a {
  color: var(--primary);
}
.visit-light-section .contact-card a:hover {
  color: var(--blue);
}

/* ═══ FOOTER — TOP GRADIENT BORDER + SOCIAL ICONS ═══ */
footer {
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--primary-light),
    var(--blue)
  );
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* ═══ WHATSAPP FLOATING BUTTON ═══ */
.wa-float {
  position: fixed;
  bottom: 88px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: white;
  text-decoration: none;
  z-index: 998;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  animation: waPulse 2.8s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.13) translateY(-4px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.65);
  color: white;
}
@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow:
      0 4px 28px rgba(37, 211, 102, 0.7),
      0 0 0 10px rgba(37, 211, 102, 0.12);
  }
}

/* ═══ BACK-TO-TOP — GRADIENT ═══ */
#backToTop {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
#backToTop:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.4);
}

/* ══════════════════════════════════════════
   PRESCHOOL DESIGN ENHANCEMENTS
   ══════════════════════════════════════════ */

/* ── Wave Section Separators ── */
.wave-sep {
  line-height: 0;
  overflow: hidden;
  display: block;
}
.wave-sep svg {
  display: block;
  width: 100%;
}

/* ── Fun Colorful Tag Pills ── */
.fun-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 18px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  animation: tagPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.fun-tag-orange {
  background: linear-gradient(135deg, #e65100, #ffa000);
  color: white;
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.4);
}
.fun-tag-blue {
  background: linear-gradient(135deg, #0d47a1, #1e88e5);
  color: white;
  box-shadow: 0 4px 14px rgba(13, 71, 161, 0.4);
}
.fun-tag-green {
  background: linear-gradient(135deg, #1b5e20, #43a047);
  color: white;
  box-shadow: 0 4px 14px rgba(27, 94, 32, 0.4);
}
.fun-tag-purple {
  background: linear-gradient(135deg, #4a148c, #8e24aa);
  color: white;
  box-shadow: 0 4px 14px rgba(74, 20, 140, 0.4);
}
.fun-tag-pink {
  background: linear-gradient(135deg, #880e4f, #e91e63);
  color: white;
  box-shadow: 0 4px 14px rgba(136, 14, 79, 0.4);
}
.fun-tag-teal {
  background: linear-gradient(135deg, #004d40, #00897b);
  color: white;
  box-shadow: 0 4px 14px rgba(0, 77, 64, 0.4);
}
@keyframes tagPop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ── Rainbow Divider ── */
.divider-rainbow {
  height: 4px;
  width: 100px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #f44336, #ff9800, #ffeb3b, #4caf50, #2196f3, #9c27b0);
}

/* ── Fun Scrolling Marquee Strip ── */
.fun-marquee-wrap {
  background: linear-gradient(90deg, #1b5e20, #2e7d32, #388e3c, #2e7d32, #1b5e20);
  overflow: hidden;
  padding: 11px 0;
}
.fun-marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeRoll 32s linear infinite;
}
.fun-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0 44px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.fun-marquee-track span i {
  color: var(--secondary);
  font-size: 0.95rem;
}
@keyframes marqueeRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Floating Emoji Decorations ── */
.fun-decos {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.fun-deco {
  position: absolute;
  font-size: 2.2rem;
  opacity: 0.09;
  animation: decoFloat 7s ease-in-out infinite;
}
.fun-deco:nth-child(1) { top: 8%;  left: 4%;   animation-duration: 6s;   animation-delay: 0s;   }
.fun-deco:nth-child(2) { top: 15%; right: 7%;  animation-duration: 7.5s; animation-delay: -2s;  }
.fun-deco:nth-child(3) { bottom: 12%; left: 10%; animation-duration: 5.5s; animation-delay: -4s; }
.fun-deco:nth-child(4) { bottom: 18%; right: 4%; animation-duration: 8s;   animation-delay: -1s; }
.fun-deco:nth-child(5) { top: 48%; left: 2%;  animation-duration: 6.5s; animation-delay: -3s;  }
.fun-deco:nth-child(6) { top: 38%; right: 2%; animation-duration: 7s;   animation-delay: -5s;  }
@keyframes decoFloat {
  0%, 100% { transform: translateY(0)    rotate(-8deg) scale(1);    }
  33%       { transform: translateY(-22px) rotate(8deg) scale(1.07); }
  66%       { transform: translateY(-10px) rotate(-3deg) scale(0.96); }
}

/* ── Feature Cards — colorful top border ── */
.features-grid .feature-card:nth-child(1) { border-top: 4px solid #e53935; }
.features-grid .feature-card:nth-child(2) { border-top: 4px solid #ff9800; }
.features-grid .feature-card:nth-child(3) { border-top: 4px solid #43a047; }
.features-grid .feature-card:nth-child(4) { border-top: 4px solid #1e88e5; }
.features-grid .feature-card:nth-child(5) { border-top: 4px solid #8e24aa; }
.features-grid .feature-card:nth-child(6) { border-top: 4px solid #e91e63; }
.features-grid .feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.features-grid .feature-card:hover {
  transform: translateY(-10px) rotate(0.4deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

/* ── Program Cards — enhanced hover pop ── */
.program-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.program-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

/* ── Button Shine Effect ── */
.btn-primary,
.btn-secondary,
.sld-btn-fill {
  position: relative;
  overflow: hidden;
}
.btn-primary::after,
.btn-secondary::after,
.sld-btn-fill::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 35%;
  height: 200%;
  background: rgba(255, 255, 255, 0.28);
  transform: skewX(-20deg);
  animation: btnShine 3.5s ease-in-out infinite;
}
@keyframes btnShine {
  0%        { left: -70%; }
  35%, 100% { left: 130%; }
}

/* ── Stats — golden gradient numbers ── */
.stat-item h3 {
  background: linear-gradient(135deg, #ffffff, #ffe082);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Stats emoji icons ── */
.stat-item .stat-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
  animation: decoFloat 5s ease-in-out infinite;
}
.stat-item:nth-child(2) .stat-icon { animation-delay: -1.2s; }
.stat-item:nth-child(3) .stat-icon { animation-delay: -2.4s; }
.stat-item:nth-child(4) .stat-icon { animation-delay: -3.6s; }

/* ── Page Hero enhancement ── */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(249,168,37,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(229,57,53,0.12) 0%, transparent 50%);
  z-index: 1;
}
.page-hero h1,
.page-hero p {
  position: relative;
  z-index: 2;
}

/* ── CTA section fun decos ── */
.cta-fun-section {
  position: relative;
  overflow: hidden;
}

/* ── About page section backgrounds ── */
.section-alt-bg {
  background: linear-gradient(135deg, #f8fffe 0%, #f0f9ff 100%);
}

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
  .fun-deco  { font-size: 1.5rem; opacity: 0.06; }
  .fun-marquee-track span { font-size: 0.8rem; padding: 0 28px; }
}

/* ══════════════════════════════════════════
   GALLERY & LIGHTBOX
   ══════════════════════════════════════════ */

/* ── Section ── */
.gallery-section {
  background: var(--light-bg);
  padding: 80px 0 90px;
}

/* ── Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 14px;
}

/* First image spans 2 cols × 2 rows (featured) */
.gallery-item.gallery-featured {
  grid-column: span 2;
  grid-row: span 2;
}

/* ── Individual item ── */
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}

/* ── Hover overlay ── */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(46, 125, 50, 0.65) 0%,
    rgba(21, 101, 192, 0.35) 60%,
    transparent 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
  opacity: 1;
}
.gallery-overlay i {
  color: white;
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.2);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s;
}
.gallery-item:hover .gallery-overlay i {
  transform: scale(1.15);
}

/* ── Responsive gallery grid ── */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-item.gallery-featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 10px;
  }
  .gallery-item.gallery-featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* ══════════════════
   LIGHTBOX
   ══════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.lb-open {
  opacity: 1;
  pointer-events: all;
}

/* Dark blurred backdrop */
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Close button */
.lb-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: background 0.2s, transform 0.2s;
}
.lb-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg) scale(1.1);
}

/* Prev / Next arrows */
.lb-arrow {
  position: relative;
  z-index: 10001;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
  margin: 0 12px;
}
.lb-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* Image wrapper */
.lb-img-wrap {
  position: relative;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 200px);
  max-height: 90vh;
}
.lb-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.6);
  object-fit: contain;
  transition: opacity 0.25s ease;
  display: block;
}
.lb-img.lb-fade {
  opacity: 0;
}

/* Counter badge */
.lb-counter {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 18px;
  border-radius: 30px;
  letter-spacing: 0.5px;
}

/* Mobile lightbox */
@media (max-width: 640px) {
  .lb-img-wrap { max-width: 95vw; }
  .lb-arrow { width: 40px; height: 40px; font-size: 1.8rem; margin: 0 6px; }
  .lb-close  { width: 40px; height: 40px; font-size: 1.5rem; top: 12px; right: 12px; }
}
