/* ==========================================================================
   DRISTI KINDERGARTEN & CHILD CARE CENTRE - STYLE SYSTEM v2.0
   Playful Montessori Aesthetic, 100% Responsive, Zero-Overflow, "WOW" UI/UX
   ========================================================================== */

/* Google Fonts — Outfit (headings) + Nunito (body): warm, modern, parent-friendly */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Brand Gradient Colors directly from Dristi Logo */
  --brand-purple: #7928CA;
  --brand-purple-dark: #581C87;
  --brand-purple-light: #9D4EDD;
  --brand-purple-glow: rgba(121, 40, 202, 0.22);
  
  --brand-orange: #FF5722;
  --brand-orange-light: #FF7A45;
  --brand-orange-glow: rgba(255, 87, 34, 0.22);
  
  --brand-amber: #FFB703;
  --brand-amber-light: #FDE047;
  
  --brand-green: #10B981;
  --brand-green-light: #34D399;
  
  --brand-sky: #0EA5E9;
  --brand-sky-light: #38BDF8;

  --brand-pink: #EC4899;

  /* Signature Gradients */
  --grad-primary: linear-gradient(135deg, #7928CA 0%, #C026D3 45%, #FF5722 100%);
  --grad-warm: linear-gradient(135deg, #FF5722 0%, #FB923C 50%, #FFB703 100%);
  --grad-purple: linear-gradient(135deg, #7928CA 0%, #9D4EDD 100%);
  --grad-subtle: linear-gradient(180deg, #FFF9F2 0%, #FAF5FF 50%, #FFFDF9 100%);
  --grad-hero: linear-gradient(135deg, #FFF6EB 0%, #F5F0FF 50%, #FFF9F2 100%);
  --grad-rainbow: linear-gradient(90deg, #7928CA, #FF5722, #FFB703, #10B981, #0EA5E9);

  /* Surfaces & Neutrals */
  --bg-body: #FFFDF9;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-card-hover: #FFFFFF;
  --text-main: #241442;
  --text-muted: #64748B;
  --border-light: rgba(121, 40, 202, 0.1);
  --card-shadow: 0 14px 34px -10px rgba(121, 40, 202, 0.1), 0 4px 10px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 22px 45px -8px rgba(121, 40, 202, 0.22), 0 8px 20px rgba(255, 87, 34, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.8);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-full: 9999px;
  --transition-smooth: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Twilight / Storytime Mode */
[data-theme="twilight"] {
  --bg-body: #0E0A1D;
  --bg-card: rgba(26, 19, 48, 0.88);
  --bg-card-hover: rgba(38, 29, 68, 0.96);
  --text-main: #F3EEFF;
  --text-muted: #A594C9;
  --border-light: rgba(168, 85, 247, 0.22);
  --card-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.55);
  --card-shadow-hover: 0 24px 50px -8px rgba(157, 78, 221, 0.35);
  --glass-bg: rgba(18, 13, 36, 0.92);
  --glass-border: rgba(168, 85, 247, 0.28);
  --grad-subtle: linear-gradient(180deg, #16102D 0%, #0E0A1D 100%);
  --grad-hero: linear-gradient(135deg, #181133 0%, #120D26 100%);
}

/* ==========================================================================
   RESET & ZERO-OVERFLOW SAFEGUARDS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  margin: 0;
  padding: 0;
  position: relative;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: background-color 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1rem;
}

a {
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
}

/* Sparkle Canvas Cursor */
#sparkle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* --------------------------------------------------------------------------
   Background Ambient Elements (Zero Overflow Clamped)
   -------------------------------------------------------------------------- */
.ambient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.22;
  border-radius: 50%;
  animation: blob-float 16s ease-in-out infinite alternate;
}

[data-theme="twilight"] .ambient-blob {
  opacity: 0.15;
}

.blob-1 {
  width: min(450px, 60vw);
  height: min(450px, 60vw);
  background: var(--brand-purple);
  top: 0;
  right: 0;
}

.blob-2 {
  width: min(400px, 50vw);
  height: min(400px, 50vw);
  background: var(--brand-orange);
  top: 35%;
  left: 0;
  animation-duration: 20s;
  animation-delay: -4s;
}

.blob-3 {
  width: min(350px, 50vw);
  height: min(350px, 50vw);
  background: var(--brand-amber);
  bottom: 5%;
  right: 5%;
  animation-duration: 14s;
}

@keyframes blob-float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.08); }
  100% { transform: translate(-20px, 40px) scale(0.96); }
}

/* --------------------------------------------------------------------------
   STICKY HEADER WRAPPER (Notice Bar + Navbar Fixed Together)
   -------------------------------------------------------------------------- */
.header-sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 1040;
  width: 100%;
  box-shadow: 0 4px 20px rgba(121, 40, 202, 0.08);
}

/* Top Notification Banner */
.top-notice-bar {
  background: var(--grad-primary);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-notice-bar a {
  color: #FFE600;
  text-decoration: underline;
  margin-left: 4px;
}

.notice-rotator {
  position: relative;
  min-height: 1.5em;
  min-width: 0;
}

.notice-slide {
  display: none;
  opacity: 0;
  color: #fff !important;
  text-decoration: none !important;
  max-width: 100%;
  min-width: 0;
  transition: opacity 0.4s ease;
}

.notice-slide.is-active {
  display: inline-flex;
  opacity: 1;
}

.notice-slide .notice-line {
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(520px, 45vw);
}

.notice-slide:hover .notice-line {
  text-decoration: underline;
  text-decoration-color: rgba(255, 230, 0, 0.7);
}

.notice-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notice-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.notice-card-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.notice-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(121, 40, 202, 0.1);
  color: var(--brand-purple);
  flex-shrink: 0;
}

/* Notice pages */
.notice-page-hero {
  background: var(--grad-subtle);
  padding: 1.75rem 0 1.25rem;
}

.notice-back-link {
  color: var(--brand-purple);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.notice-back-link:hover {
  color: var(--brand-orange);
}

.notice-page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0;
  color: var(--text-main);
  line-height: 1.2;
}

.notice-page-lead {
  max-width: 560px;
  color: var(--text-muted);
  margin-top: 0.65rem;
  margin-bottom: 0;
}

.notice-date-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

.notice-page-body {
  padding-top: 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(121, 40, 202, 0.03) 100%);
}

.notice-main {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.notice-main-media img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.notice-main-content {
  padding: 1.5rem 1.6rem 1.75rem;
}

.notice-body {
  white-space: pre-line;
  line-height: 1.8;
  color: var(--text-main);
  font-size: 1.05rem;
}

.notice-sidebar {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  position: sticky;
  top: 110px;
}

.notice-sidebar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(135deg, rgba(121,40,202,0.08), rgba(255,87,34,0.06));
}

.notice-sidebar-head h2 {
  font-size: 1rem;
  margin: 0;
  font-weight: 800;
}

.notice-sidebar-head a {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-orange);
  text-decoration: none;
}

.notice-sidebar-list {
  max-height: 520px;
  overflow-y: auto;
}

.notice-side-item {
  display: block;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.notice-side-item:last-child {
  border-bottom: 0;
}

.notice-side-item:hover,
.notice-side-item.is-current {
  background: rgba(121, 40, 202, 0.06);
}

.notice-side-item.is-current {
  border-left: 3px solid var(--brand-orange);
}

.notice-side-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.35;
}

.notice-side-summary {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.notice-side-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.25rem;
}

.notice-side-meta time {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.notice-side-pin {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #92400e;
  background: #fef3c7;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

.notice-sidebar-foot {
  padding: 1rem 1.15rem 1.15rem;
  border-top: 1px solid var(--border-light);
  background: #faf8ff;
}

.notice-featured {
  display: block;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notice-featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.notice-featured-media {
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #7928CA, #FF5722);
}

.notice-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notice-featured-fallback {
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.9);
  font-size: 3rem;
}

.notice-featured-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.notice-featured-body h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  margin: 0 0 0.5rem;
  color: var(--text-main);
}

.notice-featured-body p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
}

.notice-featured-cta {
  font-weight: 800;
  color: var(--brand-orange);
  font-size: 0.92rem;
}

.notice-feed {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.notice-feed-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 0.95rem 1.1rem;
  box-shadow: 0 8px 20px rgba(36, 20, 66, 0.04);
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.notice-feed-item:hover {
  transform: translateX(4px);
  border-color: rgba(121, 40, 202, 0.28);
}

.notice-feed-thumb {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.notice-feed-icon {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 87, 34, 0.1);
  color: var(--brand-orange);
  flex-shrink: 0;
  font-size: 1.25rem;
}

.notice-feed-copy {
  flex: 1;
  min-width: 0;
}

.notice-feed-copy h3 {
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
  color: var(--text-main);
}

.notice-feed-copy p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.notice-feed-arrow {
  color: #c4b5fd;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .notice-sidebar {
    position: static;
  }
  .notice-featured-media {
    height: 190px;
  }
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  70% { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* --------------------------------------------------------------------------
   Navbar & Brand
   -------------------------------------------------------------------------- */
.navbar-dristi {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0;
  padding: 4px 0;
  margin: 0;
  transition: all 0.3s ease;
  z-index: 1020;
  min-height: 0;
}

.navbar-dristi.scrolled {
  padding: 2px 0;
  box-shadow: 0 8px 24px rgba(121, 40, 202, 0.08);
}

.navbar-brand {
  margin-right: clamp(14px, 2vw, 32px) !important;
  flex-shrink: 0;
}

.brand-logo-img {
  height: clamp(34px, 3.2vw, 42px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(121, 40, 202, 0.18));
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.navbar-brand:hover .brand-logo-img {
  transform: scale(1.06) rotate(-2deg);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin: 0;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  font-size: clamp(0.58rem, 0.65vw, 0.68rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-orange);
  margin-top: 2px;
  line-height: 1;
  white-space: nowrap;
}

/* Compact Nav links with fluid spacing to guarantee zero collision on laptops */
.nav-link-custom {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 0.95vw, 0.96rem);
  font-weight: 600;
  color: var(--text-main) !important;
  padding: 6px clamp(8px, 0.9vw, 13px) !important;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--brand-purple) !important;
  background: rgba(121, 40, 202, 0.08);
  transform: translateY(-1px);
}

/* Control settings pill */
.nav-controls-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--bg-card);
  padding: 3px 5px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.nav-control-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-control-btn:hover {
  background: rgba(121, 40, 202, 0.1);
  transform: scale(1.12);
  color: var(--brand-purple);
}

/* Hamburger button */
.btn-navbar-toggler {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(121, 40, 202, 0.08);
  border: 1px solid var(--border-light);
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
}

/* Offcanvas Drawer for Mobile & Tablet */
.offcanvas-dristi {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-light);
  max-width: 320px;
}

.offcanvas-dristi .nav-link-custom {
  font-size: 1.15rem;
  padding: 10px 16px !important;
  border-radius: var(--radius-md);
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Buttons & Badges
   -------------------------------------------------------------------------- */
.btn-dristi-primary {
  background: var(--grad-primary);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 6px 18px var(--brand-purple-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-dristi-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(121, 40, 202, 0.35);
}

.btn-dristi-warm {
  background: var(--grad-warm);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 6px 18px var(--brand-orange-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-dristi-warm:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(255, 87, 34, 0.35);
}

.btn-dristi-secondary {
  background: var(--bg-card);
  color: var(--text-main) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-dristi-secondary:hover {
  background: rgba(121, 40, 202, 0.08);
  border-color: var(--brand-purple);
  color: var(--brand-purple) !important;
  transform: translateY(-2px);
}

.badge-pill-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(121, 40, 202, 0.08);
  color: var(--brand-purple);
  border: 1px solid rgba(121, 40, 202, 0.18);
}

[data-theme="twilight"] .badge-pill-soft {
  background: rgba(168, 85, 247, 0.15);
  color: #D8B4FE;
  border-color: rgba(168, 85, 247, 0.3);
}

/* Headings & Gradients */
.section-tag {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brand-orange);
  background: rgba(255, 87, 34, 0.1);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   HERO SECTION - ULTRA ATTRACTIVE REDESIGN
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: clamp(14px, 2vw, 24px) 0 clamp(45px, 6vw, 75px);
  background: var(--grad-hero);
  overflow-x: clip;
  overflow-y: visible;
}

.hero-photo-shell {
  position: relative;
  padding: 18px 20px 0 0;
  max-width: 100%;
}

.hero-photo-shell .hero-review-floating-card {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 9;
}

.hero-heading {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtext {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  margin-bottom: 24px;
  max-width: 540px;
}

.hero-cta-row {
  margin-top: 8px;
}

/* Interactive Hero "Quick Age Matcher" Widget (Major WOW feature) */
.hero-age-matcher-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--card-shadow);
  margin-bottom: 28px;
  max-width: 520px;
}

.age-matcher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.age-matcher-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.age-picker-btn-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 575px) {
  .age-picker-btn-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

.age-btn {
  background: var(--bg-body);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}

.age-btn:hover, .age-btn.active {
  background: var(--grad-primary);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--brand-purple-glow);
}

.age-match-result-banner {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-main);
}

/* Micro Stats in Hero */
.hero-stats-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 520px;
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
}

.stat-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.stat-icon.purple { background: rgba(121, 40, 202, 0.1); color: var(--brand-purple); }
.stat-icon.orange { background: rgba(255, 87, 34, 0.1); color: var(--brand-orange); }
.stat-icon.green  { background: rgba(16, 185, 129, 0.1); color: var(--brand-green); }

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
}

/* --------------------------------------------------------------------------
   HERO MULTI-PHOTO PLAYFUL COLLAGE (Zero Overflow)
   -------------------------------------------------------------------------- */
.hero-collage-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 0 0 8px;
  margin-top: 8px;
  overflow: visible;
}

@media (min-width: 992px) {
  .hero-collage-stage {
    margin-top: 4px;
  }
}

.hero-photo-carousel {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.hero-photo-frame {
  position: relative;
  border-radius: 24px !important;
}

.hero-photo-carousel .carousel-item {
  position: relative;
}

.hero-photo-carousel .hero-carousel-caption {
  left: 0;
  right: auto;
  bottom: 0;
  top: auto;
  width: auto;
  max-width: min(68%, 260px);
  margin: 0;
  border-radius: 0 14px 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: none;
  border-bottom: none;
  padding: 11px 14px 10px;
}

.hero-photo-img {
  height: 400px;
  object-fit: cover;
  display: block;
}

@media (max-width: 575px) {
  .hero-photo-img {
    height: 280px;
  }
}

/* Main Organic Framed Multi-Image Carousel */
.collage-main-frame {
  position: relative;
  border-radius: 42% 58% 62% 38% / 45% 45% 55% 55%;
  overflow: hidden;
  box-shadow: 0 24px 50px -10px rgba(121, 40, 202, 0.3);
  border: 6px solid #FFFFFF;
  background: #FAF5FF;
  aspect-ratio: 4 / 3.4;
  animation: morph-shape 12s ease-in-out infinite alternate;
  z-index: 2;
}

.hero-carousel, 
.hero-carousel .carousel-inner, 
.hero-carousel .carousel-item {
  width: 100%;
  height: 100%;
}

.collage-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-carousel .carousel-item {
  position: relative;
  height: 100%;
}

.hero-carousel-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: linear-gradient(180deg, rgba(18, 12, 36, 0.15) 0%, rgba(18, 12, 36, 0.72) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF;
  padding: 12px 14px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  z-index: 5;
  pointer-events: none;
  text-align: left;
  white-space: normal;
  max-width: none;
}

.hero-cap-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF !important;
  line-height: 1.25;
  margin: 0;
}

.hero-cap-sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88) !important;
  line-height: 1.3;
  margin: 0;
}

.hero-carousel-indicators {
  bottom: 4px !important;
  margin-bottom: 0 !important;
  z-index: 6;
}

.hero-carousel-indicators [data-bs-target] {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  border: none !important;
  background-color: rgba(255, 255, 255, 0.7) !important;
  margin: 0 3px !important;
  transition: all 0.3s ease !important;
}

.hero-carousel-indicators .active {
  width: 20px !important;
  border-radius: 8px !important;
  background: var(--grad-warm) !important;
}

.hero-carousel-control {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  color: var(--brand-purple);
  border: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 7;
  opacity: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.collage-main-frame:hover .hero-carousel-control {
  opacity: 1;
}

.hero-carousel-control.prev { left: 10px; }
.hero-carousel-control.next { right: 10px; }

.hero-carousel-control:hover {
  background: var(--brand-purple);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.1);
}

@keyframes morph-shape {
  0% { border-radius: 42% 58% 62% 38% / 45% 45% 55% 55%; }
  50% { border-radius: 55% 45% 40% 60% / 52% 58% 42% 48%; }
  100% { border-radius: 48% 52% 55% 45% / 40% 60% 40% 60%; }
}

/* Secondary Teacher Connection Photo */
.collage-sub-frame {
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(140px, 34%, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #FFFFFF;
  box-shadow: 0 16px 36px rgba(255, 87, 34, 0.25);
  z-index: 4;
  animation: float-sub 6s ease-in-out infinite alternate;
}

.collage-sub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes float-sub {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* Floating Micro Badges (Bound within container) */
.collage-badge-card {
  position: absolute;
  z-index: 5;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: 0 12px 28px rgba(121, 40, 202, 0.16);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float-badge 5s ease-in-out infinite alternate;
}

.badge-top-right {
  top: 10px;
  right: 10px;
  animation-duration: 4.8s;
}

.badge-bottom-right {
  bottom: 25px;
  right: 15px;
  animation-duration: 5.6s;
  animation-delay: -2s;
}

.badge-middle-left {
  top: 40%;
  left: -5px;
  animation-duration: 6s;
  animation-delay: -3s;
}

@keyframes float-badge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* Playful SVG Flight Path with Paper Plane */
.paper-plane-wrap {
  position: absolute;
  top: -15px;
  left: 20%;
  z-index: 6;
  font-size: 1.6rem;
  color: var(--brand-orange);
  animation: plane-flight 8s ease-in-out infinite;
}

@keyframes plane-flight {
  0% { transform: translate(0, 0) rotate(15deg); }
  50% { transform: translate(40px, -20px) rotate(25deg); }
  100% { transform: translate(0, 0) rotate(15deg); }
}

/* Live Pulse Dot */
.badge-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Glowing Aurora Behind Main Hero Collage */
.hero-aurora-glow {
  position: absolute;
  top: 5%;
  left: 10%;
  width: 85%;
  height: 85%;
  background: radial-gradient(circle, rgba(121, 40, 202, 0.28) 0%, rgba(255, 87, 34, 0.18) 50%, transparent 75%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
  animation: aurora-pulse 8s ease-in-out infinite alternate;
}

@keyframes aurora-pulse {
  0% { transform: scale(0.95) rotate(0deg); opacity: 0.6; }
  100% { transform: scale(1.1) rotate(6deg); opacity: 0.95; }
}

/* Floating Sticker Badges */
.floating-sticker {
  position: absolute;
  z-index: 6;
  background: #FFFFFF;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.76rem;
  color: var(--text-main);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  animation: float-sticker 6s ease-in-out infinite alternate;
}

.sticker-1 {
  top: 18%;
  left: -15px;
  animation-duration: 5.2s;
  background: linear-gradient(135deg, #FFF, #FEF3C7);
  color: #B45309;
}

.sticker-2 {
  bottom: 8%;
  left: 38%;
  animation-duration: 6.4s;
  animation-delay: -2s;
  background: linear-gradient(135deg, #FFF, #EDE9FE);
  color: #6D28D9;
}

@keyframes float-sticker {
  0% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
  100% { transform: translateY(2px) rotate(-1deg); }
}

/* Montessori Difference Comparison Card */
.comparison-section {
  padding: clamp(45px, 6vw, 80px) 0;
  position: relative;
}

.comparison-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.comparison-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.comp-header-dristi {
  background: var(--grad-primary);
  color: #FFFFFF;
  padding: 24px;
}

.comp-header-trad {
  background: #F1F5F9;
  color: #475569;
  padding: 24px;
  border-bottom: 1px solid #E2E8F0;
}

[data-theme="twilight"] .comp-header-trad {
  background: #1E1738;
  color: #94A3B8;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.comp-item-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.comp-item-row:last-child {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   ADMISSIONS TICKER MARQUEE (Playful & High Energy)
   -------------------------------------------------------------------------- */
.admissions-ticker-wrap {
  background: linear-gradient(90deg, #7928CA, #9D4EDD, #FF5722, #FFB703);
  background-size: 300% 300%;
  animation: gradient-shift 12s ease infinite;
  color: #FFFFFF;
  padding: 4px 0;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1010;
  line-height: 1.2;
  box-shadow: none;
  border: 0;
}

.ticker-track {
  display: inline-flex;
  animation: ticker-slide 32s linear infinite;
  gap: 36px;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero Feature Pills */
.hero-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(121, 40, 202, 0.06);
  transition: var(--transition-smooth);
}

.hero-feature-pill:hover {
  transform: translateY(-2px);
  border-color: var(--brand-purple);
  box-shadow: 0 6px 16px var(--brand-purple-glow);
}

/* Floating parent review — pinned to top-right (red marker area) */
.hero-review-floating-card {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  bottom: auto;
  margin: 0;
  background: #FFFFFF;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 12px 28px rgba(121, 40, 202, 0.18);
  z-index: 9;
  max-width: min(248px, calc(100% - 12px));
  animation: none;
  pointer-events: none;
}

.hero-review-text {
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes float-review {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.hero-review-stars {
  color: #FFB703;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 6px;
  line-height: 1;
}

.hero-review-author {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-review-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.hero-age-matcher-right {
  max-width: 540px;
  margin: 20px auto 0;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

/* Daily Journey Timeline System */
.timeline-section {
  padding: clamp(50px, 7vw, 90px) 0;
  background: linear-gradient(180deg, var(--bg-body) 0%, rgba(255, 87, 34, 0.03) 50%, var(--bg-body) 100%);
  position: relative;
}

.timeline-step-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.timeline-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--step-accent, var(--grad-primary));
}

.timeline-step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.timeline-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--icon-bg, rgba(121, 40, 202, 0.1));
  color: var(--icon-color, var(--brand-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.timeline-time-badge {
  display: inline-block;
  background: rgba(121, 40, 202, 0.08);
  color: var(--brand-purple);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

/* Wave Dividers */
.wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  z-index: 2;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: clamp(35px, 5vw, 60px);
}

.wave-fill-body {
  fill: var(--bg-body);
}

/* --------------------------------------------------------------------------
   PILLARS SECTION
   -------------------------------------------------------------------------- */
.pillars-section {
  padding: clamp(50px, 7vw, 80px) 0;
  position: relative;
}

.pillar-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--card-accent, var(--grad-primary));
  opacity: 0.8;
  transition: height 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.pillar-card:hover::before {
  height: 8px;
}

.pillar-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.1) rotate(6deg);
}

.pillar-icon-box.purple { background: rgba(121, 40, 202, 0.1); color: var(--brand-purple); }
.pillar-icon-box.orange { background: rgba(255, 87, 34, 0.1); color: var(--brand-orange); }
.pillar-icon-box.green  { background: rgba(16, 185, 129, 0.1); color: var(--brand-green); }
.pillar-icon-box.blue   { background: rgba(14, 165, 233, 0.1); color: var(--brand-sky); }

.pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.pillar-features-list {
  list-style: none;
  padding: 0;
  margin-top: auto;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-features-list li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   CLASSROOM 360 EXPLORER
   -------------------------------------------------------------------------- */
.classroom-explorer-section {
  padding: clamp(50px, 7vw, 85px) 0;
  background: var(--grad-subtle);
  position: relative;
}

.classroom-stage-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
}

.hotspot-stage {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #2D1B4E;
  min-height: clamp(280px, 45vw, 440px);
}

.stage-bg-img {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 45vw, 440px);
  object-fit: cover;
  opacity: 0.88;
}

/* Hotspot Beacon Pins */
.hotspot-beacon {
  position: absolute;
  width: clamp(34px, 4vw, 42px);
  height: clamp(34px, 4vw, 42px);
  border-radius: 50%;
  background: var(--beacon-color, var(--brand-purple));
  color: #FFFFFF;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.4), 0 6px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  transition: var(--transition-smooth);
}

.hotspot-beacon:hover, .hotspot-beacon.active {
  transform: scale(1.22);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.6), 0 10px 24px rgba(0, 0, 0, 0.4);
}

.beacon-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--beacon-color, var(--brand-purple));
  animation: beacon-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes beacon-ping {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.spot-sensorial { top: 25%; left: 16%; --beacon-color: #FF5722; }
.spot-practical { top: 58%; left: 30%; --beacon-color: #10B981; }
.spot-stem      { top: 32%; right: 20%; --beacon-color: #7928CA; }
.spot-reading   { top: 68%; right: 25%; --beacon-color: #0EA5E9; }

.hotspot-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition-smooth);
}

.hotspot-quick-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.hotspot-tab-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hotspot-tab-btn.active, .hotspot-tab-btn:hover {
  background: var(--grad-primary);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--brand-purple-glow);
}

/* --------------------------------------------------------------------------
   PROGRAMS SECTION
   -------------------------------------------------------------------------- */
.programs-section {
  padding: clamp(50px, 7vw, 85px) 0;
  position: relative;
}

.program-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.program-tab-btn {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.program-tab-btn:hover, .program-tab-btn.active {
  background: var(--grad-primary);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--brand-purple-glow);
}

.program-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.program-header-thumb {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.program-header-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-header-thumb img {
  transform: scale(1.06);
}

.program-age-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--grad-warm);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
}

.program-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

.p-tag {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(121, 40, 202, 0.08);
  color: var(--brand-purple);
}

[data-theme="twilight"] .p-tag {
  background: rgba(168, 85, 247, 0.15);
  color: #D8B4FE;
}

/* --------------------------------------------------------------------------
   DAILY JOURNEY TIMELINE
   -------------------------------------------------------------------------- */
.timeline-section {
  padding: clamp(50px, 7vw, 85px) 0;
  background: var(--grad-subtle);
  position: relative;
}

.timeline-track {
  position: relative;
  max-width: 850px;
  margin: 30px auto 0;
  padding: 20px 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--grad-rainbow);
  transform: translateX(-50%);
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .timeline-track::before {
    left: 24px;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 35px;
  width: 50%;
  padding: 0 30px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

@media (max-width: 768px) {
  .timeline-item {
    width: 100% !important;
    left: 0 !important;
    padding-left: 55px !important;
    padding-right: 10px !important;
    text-align: left !important;
  }
}

.timeline-node {
  position: absolute;
  top: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid var(--node-color, var(--brand-purple));
  color: var(--node-color, var(--brand-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 5;
}

.timeline-item:nth-child(odd) .timeline-node {
  right: -20px;
}

.timeline-item:nth-child(even) .timeline-node {
  left: -20px;
}

@media (max-width: 768px) {
  .timeline-node {
    left: 4px !important;
  }
}

.timeline-card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.timeline-time {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-block;
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   TUITION CALCULATOR
   -------------------------------------------------------------------------- */
.calculator-section {
  padding: clamp(50px, 7vw, 85px) 0;
  position: relative;
}

.calc-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
}

.calc-display-box {
  background: var(--grad-primary);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 16px 36px var(--brand-purple-glow);
  height: 100%;
}

.calc-price {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  margin: 10px 0 4px;
}

.calc-slider {
  accent-color: var(--brand-purple);
  width: 100%;
  height: 7px;
  border-radius: 5px;
  background: #E2E8F0;
  outline: none;
  margin-top: 8px;
}

.calc-checkbox-card {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-checkbox-card.selected, .calc-checkbox-card:hover {
  border-color: var(--brand-purple);
  background: rgba(121, 40, 202, 0.05);
}

/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: clamp(50px, 7vw, 85px) 0;
  background: var(--grad-subtle);
  position: relative;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.rating-stars {
  color: #FFB703;
  font-size: 1rem;
  margin-bottom: 14px;
}

.parent-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-purple);
}

/* --------------------------------------------------------------------------
   CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: clamp(40px, 6vw, 70px) 0;
  position: relative;
}

.cta-banner-box {
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  padding: clamp(35px, 5vw, 55px) clamp(20px, 4vw, 40px);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(121, 40, 202, 0.32);
}

.cta-banner-box h2 {
  color: #FFFFFF;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.cta-banner-box p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  max-width: 580px;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer-dristi {
  background: #140E29;
  color: #E2E8F0;
  padding: clamp(50px, 7vw, 75px) 0 25px;
  position: relative;
}

.footer-dristi p {
  color: #A594C9;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 3px 8px rgba(255, 255, 255, 0.1));
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #C4B5FD;
  font-weight: 500;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.social-pill-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  transition: var(--transition-smooth);
}

.social-pill-btn:hover {
  background: var(--grad-warm);
  transform: scale(1.12);
  color: #FFFFFF;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 32px 0 20px;
}

/* --------------------------------------------------------------------------
   FLOATING ACTION BUTTONS (SAFE PADDING)
   -------------------------------------------------------------------------- */
.floating-quick-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.fab-btn-main {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-warm);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.fab-btn-main:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 26px rgba(255, 87, 34, 0.55);
}

/* Modal Custom Styling */
.modal-content-dristi {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.modal-header-gradient {
  background: var(--grad-primary);
  color: #FFFFFF;
  padding: 20px 24px;
  border-bottom: none;
}

.modal-header-gradient .btn-close {
  filter: brightness(0) invert(1);
}

.form-control-dristi {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-body);
  color: var(--text-main);
  padding: 10px 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control-dristi:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px var(--brand-purple-glow);
  outline: none;
}

/* ==========================================================================
   MULTI-PAGE COMPONENTS (Subpage Banners, Dropdowns, Team, Gallery)
   ========================================================================== */

/* Subpage Hero Banner */
.subpage-hero-banner {
  background: var(--grad-hero);
  padding: clamp(35px, 5vw, 60px) 0 clamp(35px, 5vw, 55px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.subpage-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.subpage-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  max-width: 620px;
  margin: 0 auto;
}

.breadcrumb-dristi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(121, 40, 202, 0.06);
  margin-bottom: 16px;
}

.breadcrumb-dristi a {
  color: var(--brand-purple);
}

.breadcrumb-dristi span {
  color: var(--text-muted);
}

/* Navbar Dropdown Menu */
.navbar-nav .dropdown-menu {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(121, 40, 202, 0.15);
  padding: 8px;
  margin-top: 8px;
  min-width: 220px;
}

.navbar-nav .dropdown-item {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.navbar-nav .dropdown-item:hover, .navbar-nav .dropdown-item.active {
  background: rgba(121, 40, 202, 0.08);
  color: var(--brand-purple);
  transform: translateX(4px);
}

.navbar-nav .dropdown-item i {
  width: 18px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   TEAM MEMBERS GRID & CARDS
   -------------------------------------------------------------------------- */
.team-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 30px 22px;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.team-avatar-frame {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 4px solid #FFFFFF;
  box-shadow: 0 10px 25px rgba(121, 40, 202, 0.2);
  position: relative;
  transition: transform 0.4s ease;
}

.team-card:hover .team-avatar-frame {
  transform: scale(1.08) rotate(3deg);
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.team-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  background: rgba(121, 40, 202, 0.08);
  color: var(--brand-purple);
  margin-bottom: 14px;
}

.team-quote {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.team-contact-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(121, 40, 202, 0.08);
  color: var(--brand-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.team-contact-btn:hover {
  background: var(--grad-primary);
  color: #FFFFFF;
  transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   GALLERY SECTION & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 35px;
}

.gallery-filter-btn {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background: var(--grad-primary);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--brand-purple-glow);
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #2D1B4E;
  transition: var(--transition-smooth);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(20, 14, 38, 0) 30%, rgba(20, 14, 38, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFB703;
  margin-bottom: 2px;
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.gallery-zoom-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Lightbox Modal */
.lightbox-modal-content {
  background: transparent;
  border: none;
}

.lightbox-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 4px solid #FFFFFF;
}

.lightbox-modal-caption {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  text-align: center;
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   CONTACT PAGE & FAQS
   -------------------------------------------------------------------------- */
.contact-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  height: 100%;
}

.contact-icon-bubble {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.accordion-dristi .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.accordion-dristi .accordion-button {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  background: var(--bg-card);
  padding: 16px 20px;
  border: none;
  box-shadow: none;
}

.accordion-dristi .accordion-button:not(.collapsed) {
  background: rgba(121, 40, 202, 0.05);
  color: var(--brand-purple);
}

.accordion-dristi .accordion-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 16px 20px;
}


/* --------------------------------------------------------------------------
   STATS RIBBON (Why Parents Choose Us)
   -------------------------------------------------------------------------- */
.stats-ribbon-section {
  padding: clamp(36px, 5vw, 64px) 0;
  background: linear-gradient(135deg, rgba(121, 40, 202, 0.06), rgba(255, 87, 34, 0.06));
  position: relative;
}

.stats-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  align-items: stretch;
}

.stats-ribbon-item {
  background: var(--bg-card, #fff);
  border-radius: var(--radius-md, 18px);
  border: 1px solid var(--border-light, #eee);
  box-shadow: var(--card-shadow, 0 8px 24px rgba(30, 27, 75, 0.06));
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stats-ribbon-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(121, 40, 202, 0.12);
}

.stats-ribbon-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.stats-ribbon-num {
  font-family: var(--font-heading, Outfit, sans-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-main, #1f1635);
  line-height: 1;
  display: inline;
}

.stats-ribbon-suffix {
  font-family: var(--font-heading, Outfit, sans-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--brand-purple, #7928CA);
  display: inline;
  margin-left: 2px;
}

.stats-ribbon-item .stats-ribbon-num,
.stats-ribbon-item .stats-ribbon-suffix {
  display: inline-block;
  vertical-align: baseline;
}

.stats-ribbon-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted, #6b6478);
  margin-top: 4px;
}

@media (max-width: 991.98px) {
  .stats-ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .stats-ribbon-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-dristi .nav-link-custom {
    font-size: 0.88rem;
    padding-left: 0.45rem !important;
    padding-right: 0.45rem !important;
  }
  .navbar-dristi .nav-controls-pill {
    display: none;
  }
}

.stats-ribbon-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
