/* =============================================
   Kilkari Montessori — Lightweight Site CSS v3
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Merriweather', Georgia, serif;
  color: #fff;
  line-height: 1.7;
  background: #000;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:root {
  --blue:    #1a237e;
  --teal:    #4894b6;
  --green:   #4caf50;
  --orange:  #ff7043;
  --yellow:  #f5c400;
  --purple:  #7b1fa2;
  --black:   #000000;
  --white:   #ffffff;
}

h1,h2,h3,h4,h5,h6 { font-family:'Montserrat',sans-serif; line-height:1.3; }
h2 { font-size:2rem; }
h3 { font-size:1.5rem; }

.container { max-width:1140px; margin:0 auto; padding:0 20px; }
.section    { padding:60px 0; }
.text-center { text-align:center; }

.btn {
  display:inline-block; padding:12px 32px; border-radius:50px;
  font-family:'Montserrat',sans-serif; font-weight:700; font-size:0.9rem;
  letter-spacing:0.5px; text-transform:uppercase; cursor:pointer;
  transition:opacity 0.2s, transform 0.2s; border:none;
}
.btn:hover { opacity:0.85; transform:translateY(-1px); }
.btn--orange  { background:var(--orange); color:#fff; }
.btn--teal    { background:var(--teal);   color:#fff; }
.btn--blue    { background:var(--blue);   color:#fff; }
.btn--green   { background:var(--green);  color:#fff; }
.btn--yellow  { background:var(--yellow); color:#000; }
.btn--outline { background:transparent;   border:2px solid currentColor; }

/* =============================================
   TOP BAR
   ============================================= */
.topbar {
  background:#1a237e;
  padding:10px 20px;
}
.topbar .container {
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.topbar-phone {
  display:flex; align-items:center; gap:8px;
  color:#fff; font-size:1rem; font-weight:700;
  font-family:'Montserrat',sans-serif;
}
.topbar-phone svg { width:18px; height:18px; fill:#fff; flex-shrink:0; }

.social-icons { display:flex; gap:10px; align-items:center; }
.social-icons a {
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:opacity 0.2s; flex-shrink:0;
}
.social-icons a:hover { opacity:0.8; }
.social-fb { background:#3b5998; }
.social-ig { background:radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important; }
.social-yt { background:#d22215; }
.social-icons svg { width:18px; height:18px; fill:#fff; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  background:#000;
  position:sticky; top:0; z-index:1000;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.navbar .container {
  display:flex; align-items:center; justify-content:space-between;
  padding-top:10px; padding-bottom:10px;
}
.navbar-logo { height:60px; width:auto; }

.nav-links { display:flex; gap:4px; align-items:center; }
.nav-links a {
  font-family:'Montserrat',sans-serif; font-weight:600; font-size:0.9rem;
  padding:8px 16px; border-radius:4px; color:#fff; transition:color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color:var(--teal); }

/* Hamburger */
.hamburger {
  display:none; flex-direction:column; gap:6px;
  cursor:pointer; background:none; border:none; padding:4px;
}
.hamburger span {
  display:block; width:26px; height:2px;
  background:#fff; border-radius:2px;
}

/* =============================================
   MOBILE MENU — small floating panel
   ============================================= */
.menu-overlay {
  display:none; position:fixed; inset:0;
  background:rgba(0,0,0,0.5); z-index:1998;
}
.menu-overlay.open { display:block; }

.mobile-menu {
  position:fixed;
  top:110px; right:10px;
  width:52%;
  min-width:190px;
  max-width:260px;
  height:auto;
  background:rgba(15,25,80,0.95);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:16px;
  z-index:1999;
  padding:40px 0 8px;
  transform:scale(0.9) translateY(-10px);
  opacity:0;
  pointer-events:none;
  transition:transform 0.25s ease, opacity 0.25s ease;
  box-shadow:0 8px 32px rgba(0,0,0,0.6);
  overflow:hidden;
}
.mobile-menu.open {
  transform:scale(1) translateY(0);
  opacity:1;
  pointer-events:all;
}

.menu-close-btn {
  position:absolute; top:16px; right:16px;
  background:rgba(255,255,255,0.1);
  border:none; color:#fff;
  font-size:1.2rem; cursor:pointer;
  width:32px; height:32px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:background 0.2s;
}
.menu-close-btn:hover { background:rgba(255,255,255,0.25); color:#fff; }

.mobile-menu a {
  display:block; color:#fff;
  font-family:'Montserrat',sans-serif; font-weight:600; font-size:0.92rem;
  padding:10px 18px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  transition:color 0.2s, background 0.2s;
}
.mobile-menu a:last-of-type { border-bottom:none; }
.mobile-menu a:hover { color:var(--yellow); background:rgba(255,255,255,0.05); }

/* =============================================
   HERO CAROUSEL
   ============================================= */
.carousel { position:relative; overflow:hidden; background:#000; }
.carousel-track { display:flex; transition:transform 0.6s ease; will-change:transform; }
.carousel-slide {
  min-width:100%; height:520px;
  background-size:cover; background-position:center;
  position:relative; display:flex;
  align-items:center; justify-content:center;
  flex-shrink:0;
}
.carousel-slide::after {
  content:''; position:absolute; inset:0;
  background:rgba(0,0,0,0.15); pointer-events:none;
}
.slide-content {
  position:relative; z-index:2;
  text-align:center; padding:0 24px;
}
.slide-content h2 {
  color:#fff; font-size:2.4rem; font-weight:700;
  text-shadow:0 2px 16px rgba(0,0,0,0.6);
  margin-bottom:8px;
}
.slide-subtitle {
  color:#fff; font-size:1.1rem;
  font-family:'Montserrat',sans-serif; font-weight:600;
  text-shadow:0 2px 8px rgba(0,0,0,0.5);
}

/* Circular arrow buttons like original */
.carousel-btn {
  position:absolute; top:50%; transform:translateY(-50%); z-index:10;
  background:transparent;
  border:3px solid rgba(255,255,255,0.7);
  color:#fff; width:50px; height:50px; border-radius:50%;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background 0.2s, border-color 0.2s;
}
.carousel-btn:hover { background:rgba(255,255,255,0.2); border-color:#fff; }
.carousel-btn.prev { left:16px; }
.carousel-btn.next { right:16px; }
.carousel-btn {
  font-size:1.8rem;
  font-weight:300;
  line-height:1;
  color:#fff;
}

.carousel-dots {
  position:absolute; bottom:18px; left:50%; transform:translateX(-50%);
  display:flex; gap:8px; z-index:10;
}
.carousel-dot {
  width:10px; height:10px; border-radius:50%;
  background:rgba(255,255,255,0.4); cursor:pointer; border:none;
  transition:background 0.2s, transform 0.2s;
}
.carousel-dot.active { background:#fff; transform:scale(1.3); }

/* =============================================
   PHILOSOPHY
   ============================================= */
.philosophy-section { background:#000; padding:50px 20px; text-align:center; }
.philosophy-section h2 { color:#fff; margin-bottom:20px; }
.philosophy-section p  { color:rgba(255,255,255,0.8); font-size:0.95rem; line-height:1.9; max-width:700px; margin:0 auto 16px; }
.philosophy-img-wrap {
  width:320px; height:320px; border-radius:50%; overflow:hidden;
  border:4px solid var(--orange); margin:32px auto 0;
}
.philosophy-img-wrap img { width:100%; height:100%; object-fit:cover; }

/* =============================================
   PROGRAMS (yellow bg like original)
   ============================================= */
.programs-section { background:var(--yellow); padding:50px 20px; }
.programs-section h2 { color:#e53935; text-align:center; margin-bottom:36px; }

.programs-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:32px; max-width:1100px; margin:0 auto;
}
.program-card { text-align:center; }
.program-card-img-wrap {
  width:280px; height:280px; border-radius:50%;
  overflow:hidden; border:4px solid var(--teal);
  margin:0 auto; transition:transform 0.4s;
}
.program-card:hover .program-card-img-wrap { transform:scale(1.04); }
.program-card-img-wrap img { width:100%; height:100%; object-fit:cover; }
.program-label {
  background:#e53935; color:#fff;
  border-radius:12px; padding:14px 20px;
  margin-top:16px; display:block;
  font-family:'Montserrat',sans-serif; font-weight:700;
  font-size:0.9rem; text-transform:uppercase;
}
.program-label small {
  display:block; font-weight:400; font-size:0.8rem;
  margin-top:4px; opacity:0.9;
}

/* =============================================
   CURRICULUM (black bg, colorful cards)
   ============================================= */
.curriculum-section { background:#000; padding:50px 20px; }
.curriculum-section h2 { color:#fff; text-align:center; margin-bottom:36px; }

.curriculum-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:20px; max-width:1100px; margin:0 auto;
}
.curriculum-card {
  border-radius:20px; padding:32px 20px;
  text-align:center;
  transition:transform 0.3s;
}
.curriculum-card:hover { transform:translateY(-4px); }
.curriculum-icon {
  width:80px; height:80px; border-radius:50%;
  overflow:hidden; margin:0 auto 16px;
  background:rgba(0,0,0,0.2);
  display:flex; align-items:center; justify-content:center;
}
.curriculum-icon img { width:100%; height:100%; object-fit:cover; }
.curriculum-card h5 { font-weight:700; font-size:1rem; margin-bottom:8px; color:#fff; }
.curriculum-card p  { font-size:0.85rem; color:rgba(255,255,255,0.85); line-height:1.6; }

/* =============================================
   ADMISSION
   ============================================= */
.admission-section { background:#000; }
.admission-image {
  width:100%; height:340px;
  background-image:url('images/montessori-admission-enquiry-noida-6.webp');
  background-size:cover; background-position:center;
}
.admission-form-wrap {
  background:var(--yellow); padding:40px 24px;
  max-width:700px; margin:0 auto;
  border-radius:0 0 16px 16px;
}
.admission-form-wrap h2 { color:#333; margin-bottom:24px; text-align:center; }
.form-group { margin-bottom:14px; }
.form-group input,
.form-group select {
  width:100%; padding:14px 16px; border:none;
  border-radius:10px; font-size:0.95rem;
  font-family:'Merriweather',serif; outline:none;
  background:#fff; color:#333;
}
.form-group input:focus,
.form-group select:focus { box-shadow:0 0 0 3px rgba(0,0,0,0.15); }
.admission-form-wrap .btn {
  width:100%; margin-top:8px; background:#333; color:#fff;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { background:#000; }
.testimonials-banner { width:100%; height:240px; object-fit:cover; display:block; }
.testimonials-inner  { padding:0 20px 40px; max-width:800px; margin:0 auto; }

.testimonial-card {
  background:#1a1a1a; border:1px solid #333;
  border-radius:12px; padding:28px 24px;
  display:none; margin-top:24px;
  border-left:4px solid var(--teal);
}
.testimonial-card.visible { display:block; }
.testimonial-card p { color:rgba(255,255,255,0.85); font-size:0.9rem; line-height:1.9; margin-bottom:16px; }
.testimonial-card .reviewer {
  font-family:'Montserrat',sans-serif; font-weight:700;
  font-size:0.95rem; color:var(--teal);
  border-top:1px dashed #444; padding-top:12px;
}

.testimonials-nav {
  display:flex; justify-content:center; gap:16px; padding:20px 0;
}
.testimonials-nav button {
  background:#222; border:2px solid #444; color:#fff;
  width:42px; height:42px; border-radius:50%; cursor:pointer;
  font-size:1.2rem; display:flex; align-items:center; justify-content:center;
  transition:background 0.2s, border-color 0.2s;
}
.testimonials-nav button:hover { background:var(--teal); border-color:var(--teal); }

/* =============================================
   GALLERY SLIDER
   ============================================= */
.gallery-section { background:#000; padding:50px 20px; }
.gallery-section h2 { color:#fff; text-align:center; margin-bottom:8px; }
.gallery-section p  { color:rgba(255,255,255,0.6); text-align:center; margin-bottom:28px; }

.gallery-slider {
  position:relative;
  overflow:hidden;
  padding:0;
}
.gallery-track {
  display:flex;
  transition:transform 0.5s ease;
}
.gallery-track img {
  flex:0 0 92%;
  height:400px;
  object-fit:cover;
  border-radius:10px;
  margin-right:12px;
  border:none;
}
.gallery-nav {
  position:absolute;
  top:50%; transform:translateY(-50%);
  background:rgba(72,148,182,0.85);
  color:#fff;
  border:none;
  width:44px; height:44px;
  border-radius:50%;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  z-index:5;
  font-size:1.4rem;
  font-weight:300;
  transition:background 0.2s;
}
.gallery-nav:hover { background:var(--teal); }
.gallery-nav.prev { left:14px; }
.gallery-nav.next { right:14px; }

/* =============================================
   VIDEOS
   ============================================= */
.videos-section { background:#111; padding:50px 0; }
.videos-section h2 { color:#fff; text-align:center; margin-bottom:32px; padding:0 20px; }
.videos-grid { display:grid; grid-template-columns:1fr; gap:20px; max-width:100%; padding:0 16px; }
.video-embed { position:relative; padding-bottom:56.25%; height:0; overflow:hidden; border-radius:10px; }
.video-embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* =============================================
   CONTACT
   ============================================= */
.contact-map { width:100%; height:360px; border:none; display:block; }
.contact-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  background:#1a237e;
}
.contact-cell { padding:36px 24px; text-align:center; border-right:1px solid rgba(255,255,255,0.15); }
.contact-cell:last-child { border-right:none; }
.contact-icon {
  width:64px; height:64px; border-radius:50%;
  margin:0 auto 14px; display:flex; align-items:center; justify-content:center;
}
.contact-cell h5 { font-weight:700; font-size:1rem; margin-bottom:8px; color:#fff; }
.contact-cell p, .contact-cell a { font-size:0.9rem; color:rgba(255,255,255,0.85); }
.contact-cell a:hover { color:#fff; }

.social-footer { display:flex; gap:16px; justify-content:center; padding:24px 0; background:#111; }
.social-footer a {
  width:42px; height:42px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.social-footer svg { width:20px; height:20px; fill:#fff; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background:#1a1a1a; color:#999; padding:20px 0; border-top:1px solid #333; }
.footer .container {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:8px;
}
.footer a { color:#999; }
.footer a:hover { color:#fff; }

/* =============================================
   WHATSAPP BUTTON
   ============================================= */
.whatsapp-btn {
  position:fixed; bottom:24px; right:24px;
  background:#25D366; color:#fff; border-radius:50px;
  padding:13px 20px; display:flex; align-items:center; gap:10px;
  font-family:'Montserrat',sans-serif; font-weight:700; font-size:0.88rem;
  box-shadow:0 4px 16px rgba(0,0,0,0.4); z-index:997;
  transition:transform 0.2s;
  animation:wapulse 2.5s infinite;
}
.whatsapp-btn:hover { transform:scale(1.06); animation:none; }
.whatsapp-btn svg { width:22px; height:22px; fill:#fff; flex-shrink:0; }
@keyframes wapulse {
  0%,100% { box-shadow:0 4px 16px rgba(0,0,0,0.4); }
  50%      { box-shadow:0 4px 28px rgba(37,211,102,0.7); }
}

/* =============================================
   PAGE HERO (inner pages) — framed showcase photo
   ============================================= */
.page-hero-frame {
  max-width:1100px; margin:32px auto 40px; padding:0 20px;
}
.page-hero-img {
  position:relative;
  height:320px;
  border-radius:20px;
  background-size:cover;
  background-position:center;
  box-shadow:0 0 0 1px rgba(72,148,182,0.35), 0 0 50px -10px rgba(72,148,182,0.45), 0 25px 50px -20px rgba(0,0,0,0.6);
}
.page-hero-img::after {
  content:"";
  position:absolute; inset:0;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.18) 100%);
  pointer-events:none;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-section { padding:48px 0; background:#000; }
.about-section:nth-of-type(even) { background:#0d0d0d; }
.about-section:first-of-type { padding-top:40px; }

.about-split { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.about-split--text-only { grid-template-columns:1fr; max-width:760px; margin:0 auto; }
.about-split.reverse { direction:rtl; }
.about-split.reverse > * { direction:ltr; }
.about-split img { width:100%; height:380px; object-fit:cover; object-position:center; border-radius:12px; }
.about-img-group { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.about-img-group img { width:100%; height:180px; object-fit:cover; object-position:center; border-radius:12px; }
.about-img-group.three { grid-template-columns:1fr 1fr; }
.about-img-group.three img:first-child { grid-column:1 / -1; height:200px; }
.about-split h2 { color:#fff; font-size:1.8rem; margin-bottom:14px; }
.about-split p  { font-size:0.95rem; line-height:2; color:rgba(255,255,255,0.8); margin-bottom:12px; }

.env-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:40px; }
.env-card { background:#1a1a1a; border-radius:12px; overflow:hidden; border:1px solid #333; transition:transform 0.3s; }
.env-card:hover { transform:translateY(-4px); }
.env-card img { width:100%; height:200px; object-fit:cover; object-position:center; }
.env-card-body { padding:18px 20px; }
.env-card-body p { font-size:0.85rem; color:rgba(255,255,255,0.75); line-height:1.7; }

.team-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin-top:40px; }
.team-card { text-align:center; background:#1a1a1a; border-radius:16px; padding:32px 24px; border-top:4px solid var(--teal); }
.team-card-img-wrap { width:140px; height:140px; border-radius:50%; overflow:hidden; border:3px solid var(--teal); margin:0 auto 16px; }
.team-card-img-wrap img { width:100%; height:100%; object-fit:cover; }
.team-card h3   { font-size:1.1rem; color:#fff; margin-bottom:4px; }
.team-card .role { font-size:0.78rem; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; color:var(--orange); margin-bottom:12px; }
.team-card p    { font-size:0.82rem; color:rgba(255,255,255,0.7); line-height:1.7; }

/* =============================================
   PROGRAMS PAGE
   ============================================= */
.prog-intro { padding:60px 0; background:#000; }
.prog-intro:nth-of-type(even) { background:#0d0d0d; }

.prog-hero-block { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.prog-hero-block.reverse { direction:rtl; }
.prog-hero-block.reverse > * { direction:ltr; }

.prog-img-wrap {
  width:380px; height:380px; border-radius:50%;
  overflow:hidden; border:4px solid var(--teal);
  margin:0 auto; transition:transform 0.4s;
}
.prog-img-wrap:hover { transform:scale(1.03); }
.prog-img-wrap img { width:100%; height:100%; object-fit:cover; }

.prog-text .age-badge {
  display:inline-block; background:var(--orange); color:#fff;
  font-size:0.8rem; font-weight:700; padding:5px 16px;
  border-radius:20px; margin-bottom:14px; font-family:'Montserrat',sans-serif;
}
.prog-text h2 { color:#fff; font-size:2rem; margin-bottom:14px; }
.prog-text p  { font-size:0.95rem; line-height:2; color:rgba(255,255,255,0.8); margin-bottom:12px; }

.curr-section      { padding:48px 0; background:#000; }
.curr-section.grey { background:#0d0d0d; }
.curr-header       { text-align:center; margin-bottom:36px; }
.curr-header h2    { color:#fff; font-size:1.6rem; }
.curr-header p     { color:rgba(255,255,255,0.6); font-size:0.92rem; margin-top:8px; }

.curr-areas { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.curr-area { border-radius:14px; overflow:hidden; background:#1a1a1a; border:1px solid #333; transition:transform 0.3s; }
.curr-area:hover { transform:translateY(-4px); }
.curr-area-images img { width:100%; height:180px; object-fit:cover; display:block; }
.curr-area-body { padding:18px 20px; }
.curr-area-body h3 { font-size:1rem; color:#fff; margin-bottom:6px; }
.curr-area-body p  { font-size:0.82rem; color:rgba(255,255,255,0.7); line-height:1.7; }

.after-school-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:36px; }
.after-card { border-radius:12px; overflow:hidden; background:#1a1a1a; border:1px solid #333; }
.after-card img { width:100%; height:200px; object-fit:cover; display:block; }
.after-card-body { padding:18px 20px; }
.after-card-body h3 { font-size:1rem; color:#fff; margin-bottom:6px; }
.after-card-body p  { font-size:0.82rem; color:rgba(255,255,255,0.7); line-height:1.7; }

/* =============================================
   LIBRARY PAGE
   ============================================= */
.lib-section { padding:56px 0; background:#000; }
.lib-section:nth-of-type(even) { background:#0d0d0d; }
.section-heading { text-align:center; margin-bottom:36px; }
.section-heading h2 { color:#fff; }
.section-heading p  { color:rgba(255,255,255,0.6); font-size:0.93rem; margin-top:8px; }

.photo-grid { display:grid; gap:16px; }
.photo-grid.cols-3 { grid-template-columns:repeat(3,1fr); }
.photo-grid.cols-4 { grid-template-columns:repeat(4,1fr); }
.photo-grid img {
  width:100%; aspect-ratio:1/1; object-fit:cover;
  border-radius:10px; border:1px solid #333;
  transition:transform 0.3s; cursor:pointer; display:block;
}
.photo-grid img:hover { transform:scale(1.04); }

.trip-card { background:#1a1a1a; border-radius:14px; overflow:hidden; border:1px solid #333; }
.trip-card img { width:100%; height:260px; object-fit:cover; display:block; }
.trip-card-body { padding:20px 24px; }
.trip-card-body h3 { color:#fff; margin-bottom:8px; font-size:1.1rem; }
.trip-card-body p  { font-size:0.88rem; color:rgba(255,255,255,0.7); line-height:1.7; }

.events-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.events-grid .trip-card img { height:200px; }

.video-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.video-wrap { position:relative; padding-bottom:56.25%; height:0; overflow:hidden; border-radius:10px; }
.video-wrap iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

.lightbox { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.95); z-index:5000; align-items:center; justify-content:center; padding:20px; }
.lightbox.open { display:flex; }
.lightbox img  { max-width:90vw; max-height:85vh; border-radius:8px; object-fit:contain; }
.lightbox-close { position:absolute; top:16px; right:20px; color:#fff; font-size:2rem; background:none; border:none; cursor:pointer; }
.lightbox-prev,.lightbox-next { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,0.1); border:none; color:#fff; font-size:1.8rem; width:46px; height:46px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.lightbox-prev { left:16px; }
.lightbox-next { right:16px; }

/* =============================================
   FAQS PAGE
   ============================================= */
.faq-page  { padding:60px 0 80px; background:#000; }
.faq-intro { max-width:680px; margin:0 auto 48px; text-align:center; }
.faq-intro h2 { color:#fff; margin-bottom:12px; }
.faq-intro p  { color:rgba(255,255,255,0.7); font-size:0.95rem; line-height:1.8; }

.info-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; max-width:900px; margin:0 auto 60px; }
.info-card { background:#1a1a1a; border-radius:14px; padding:28px 24px; text-align:center; border:1px solid #333; border-top:4px solid var(--teal); }
.info-card .ic-icon { width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; }
.info-card h5 { font-family:'Montserrat',sans-serif; font-weight:700; font-size:1rem; color:#fff; margin-bottom:8px; }
.info-card p, .info-card a { font-size:0.88rem; color:rgba(255,255,255,0.7); line-height:1.7; }
.info-card a:hover { color:var(--teal); }

.faq-wrapper { max-width:800px; margin:0 auto; }
.faq-item { background:#1a1a1a; border-radius:12px; margin-bottom:14px; border:1px solid #333; overflow:hidden; border-left:4px solid transparent; transition:border-color 0.3s; }
.faq-item.open { border-left-color:var(--teal); }
.faq-question { width:100%; background:none; border:none; text-align:left; padding:20px 24px; font-family:'Montserrat',sans-serif; font-weight:600; font-size:0.97rem; cursor:pointer; display:flex; justify-content:space-between; align-items:center; color:#fff; gap:16px; }
.faq-question:hover { color:var(--teal); }
.faq-item.open .faq-question { color:var(--teal); }
.faq-chevron { flex-shrink:0; width:28px; height:28px; border-radius:50%; background:#333; display:flex; align-items:center; justify-content:center; transition:background 0.3s, transform 0.3s; }
.faq-chevron svg { width:14px; height:14px; stroke:#aaa; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; transition:stroke 0.3s; }
.faq-item.open .faq-chevron { background:var(--teal); transform:rotate(180deg); }
.faq-item.open .faq-chevron svg { stroke:#fff; }
.faq-answer { max-height:0; overflow:hidden; transition:max-height 0.4s ease, padding 0.3s; font-size:0.92rem; line-height:1.9; color:rgba(255,255,255,0.75); padding:0 24px; }
.faq-item.open .faq-answer { max-height:600px; padding:0 24px 24px; }
.faq-cta { background:linear-gradient(135deg,var(--blue),#283593); color:#fff; text-align:center; padding:56px 20px; }
.faq-cta h2 { margin-bottom:12px; }
.faq-cta p  { opacity:0.85; margin-bottom:28px; }

/* =============================================
   PRIVACY PAGE
   ============================================= */
.privacy-page  { padding:64px 0 80px; background:#000; }
.privacy-inner { max-width:820px; margin:0 auto; padding:0 20px; }
.privacy-inner .last-updated { display:inline-block; background:#1a1a1a; color:#999; font-size:0.82rem; font-family:'Montserrat',sans-serif; padding:5px 14px; border-radius:20px; margin-bottom:28px; border:1px solid #333; }
.privacy-inner .lead { font-size:1rem; line-height:1.95; color:rgba(255,255,255,0.8); margin-bottom:48px; padding-bottom:32px; border-bottom:1px solid #333; }
.privacy-inner section { margin-bottom:40px; }
.privacy-inner h2 { font-size:1.2rem; color:#fff; margin-bottom:14px; padding-bottom:8px; border-bottom:1px solid #333; }
.privacy-inner h3 { font-size:1rem; color:#ddd; margin:20px 0 8px; font-family:'Montserrat',sans-serif; font-weight:700; }
.privacy-inner p  { font-size:0.92rem; line-height:1.9; color:rgba(255,255,255,0.75); margin-bottom:12px; }
.privacy-inner ul { list-style:none; margin:8px 0 16px; }
.privacy-inner ul li { font-size:0.92rem; line-height:1.8; color:rgba(255,255,255,0.75); padding:6px 0 6px 24px; position:relative; border-bottom:1px solid #222; }
.privacy-inner ul li:last-child { border-bottom:none; }
.privacy-inner ul li::before { content:''; position:absolute; left:0; top:14px; width:8px; height:8px; border-radius:50%; background:var(--teal); }
.privacy-inner ul li strong { color:#fff; }
.privacy-contact-box { background:#1a1a1a; border:1px solid #333; border-radius:14px; padding:28px; margin-top:12px; }
.privacy-contact-box p  { margin-bottom:8px; }
.privacy-contact-box a  { color:var(--teal); font-weight:600; }

/* =============================================
   SCROLL ANIMATIONS — visible by default, animate as bonus
   ============================================= */
[data-animate] {
  opacity:1;
  transform:none;
  transition:opacity 0.6s ease, transform 0.6s ease;
}
/* Only apply hidden state if JS is ready */
.js-ready [data-animate] {
  opacity:0;
  transform:translateY(24px);
}
.js-ready [data-animate="left"]  { transform:translateX(-32px); opacity:0; }
.js-ready [data-animate="right"] { transform:translateX(32px);  opacity:0; }
.js-ready [data-animate="scale"] { transform:scale(0.9);        opacity:0; }

[data-animate].animated,
.js-ready [data-animate].animated {
  opacity:1 !important;
  transform:none !important;
}

/* =============================================
   RESPONSIVE — TABLET (≤940px)
   ============================================= */
@media (max-width:940px) {
  .hamburger { display:flex; }
  .nav-links  { display:none; }

  .carousel-slide { height:420px; }
  .slide-content h2 { font-size:1.9rem; }

  .programs-grid { grid-template-columns:repeat(2,1fr); }
  .program-card-img-wrap { width:220px; height:220px; }

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

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

  .contact-grid { grid-template-columns:1fr; }
  .contact-cell { border-right:none; border-bottom:1px solid rgba(255,255,255,0.1); }

  .videos-grid { grid-template-columns:1fr; max-width:600px; }

  .about-split, .about-split.reverse { grid-template-columns:1fr; gap:28px; direction:ltr; }
  .about-split img { height:260px; }
  .about-img-group img { height:150px; }
  .about-img-group.three img:first-child { height:160px; }
  .env-grid  { grid-template-columns:1fr 1fr; }
  .team-grid { grid-template-columns:1fr 1fr; }

  .prog-hero-block, .prog-hero-block.reverse { grid-template-columns:1fr; gap:28px; direction:ltr; }
  .prog-img-wrap { width:260px; height:260px; }
  .curr-areas { grid-template-columns:1fr 1fr; }
  .after-school-grid { grid-template-columns:1fr 1fr; }

  .photo-grid.cols-3 { grid-template-columns:repeat(2,1fr); }
  .photo-grid.cols-4 { grid-template-columns:repeat(3,1fr); }
  .events-grid { grid-template-columns:1fr 1fr; }
  .video-grid  { grid-template-columns:1fr 1fr; }

  .info-cards { grid-template-columns:1fr 1fr; max-width:600px; }

  .gallery-track img { flex:0 0 92%; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤600px)
   ============================================= */
@media (max-width:600px) {
  h2 { font-size:1.5rem; }
  .section { padding:40px 0; }

  .topbar { padding:8px 16px; }
  .topbar-phone { font-size:0.88rem; }

  .carousel-slide { height:320px; }
  .slide-content h2 { font-size:1.5rem; }
  .slide-subtitle { font-size:0.9rem; }

  .programs-grid { grid-template-columns:1fr; }
  .program-card-img-wrap { width:260px; height:260px; }

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

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

  .env-grid  { grid-template-columns:1fr; }
  .team-grid { grid-template-columns:1fr; }

  .prog-img-wrap { width:240px; height:240px; }
  .curr-areas { grid-template-columns:1fr; }
  .after-school-grid { grid-template-columns:1fr; }

  .photo-grid.cols-3,
  .photo-grid.cols-4 { grid-template-columns:repeat(2,1fr); }
  .events-grid { grid-template-columns:1fr; }
  .video-grid  { grid-template-columns:1fr; }

  .info-cards { grid-template-columns:1fr; max-width:340px; }

  .gallery-track img { flex:0 0 calc(100% - 8px); }

  .page-hero-img { height:220px; border-radius:14px; }
  .philosophy-img-wrap { width:240px; height:240px; }

  .whatsapp-btn span { display:none; }
  .whatsapp-btn { padding:13px; border-radius:50%; }
}

/* =============================================
   GOOGLE RATING SECTION
   ============================================= */
.rating-section {
  background:#000;
  padding:20px 0;
  text-align:center;
}
.rating-img {
  width:240px;
  height:auto;
  margin:0 auto;
  display:block;
}

/* =============================================
   CONTACT STACKED
   ============================================= */
.contact-stacked {
  background:#1a237e;
  padding:40px 20px;
}
.contact-heading {
  color:#fff;
  text-align:center;
  font-size:1.8rem;
  letter-spacing:2px;
  margin-bottom:8px;
  padding-bottom:12px;
  position:relative;
}
.contact-heading::after {
  content:'';
  display:block;
  width:60px;
  height:3px;
  background:rgba(255,255,255,0.4);
  margin:12px auto 0;
}
.contact-card {
  background:#1e2a70;
  border-radius:12px;
  padding:28px 20px;
  text-align:center;
  margin:16px auto;
  max-width:600px;
  border:1px solid rgba(255,255,255,0.1);
}
.contact-icon-circle {
  width:64px; height:64px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 14px;
}
.contact-card h5 {
  color:#fff; font-weight:700;
  font-size:1.1rem; margin-bottom:10px;
  font-family:'Montserrat',sans-serif;
}
.contact-card p, .contact-card a {
  color:rgba(255,255,255,0.85);
  font-size:0.92rem; line-height:1.7;
}
.contact-card a:hover { color:#fff; text-decoration:underline; }

/* =============================================
   TESTIMONIALS VIEW MORE LINK
   ============================================= */
.view-more-link {
  display:inline-block;
  color:var(--teal);
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:0.85rem;
  margin:10px 0 12px;
  text-decoration:none;
  transition:color 0.2s;
}
.view-more-link:hover { color:#fff; }

/* Gallery slider — 2 images visible */
@media (max-width:600px) {
  .gallery-track img { flex:0 0 92%; height:300px; }
}

/* Visually hidden but accessible/SEO-visible heading */
.visually-hidden {
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
