/* 
   Dazzling Kids Learning Academy - Premium Landing Page Stylesheet (UI Upgrade)
   Design System: Professional, Vibrant, Child-Friendly & Premium
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --yellow: #FFEA00;
  --yellow-dark: #E6D200;
  --yellow-light: #FEFCE8;
  --purple: #7C3AED;
  --purple-dark: #6D28D9;
  --purple-light: #F3E8FF;
  --blue: #0EA5E9;
  --blue-dark: #0284C7;
  --blue-light: #E0F2FE;
  --pink: #EC4899;
  --pink-dark: #DB2777;
  --pink-light: #FCE7F3;
  --orange: #F97316;
  --orange-light: #FFEDD5;
  --green: #10B981;
  --green-light: #D1FAE5;
  --text-dark: #1E1B4B; /* Deep professional indigo instead of harsh black */
  --text-muted: #4B5563;
  --light-bg: #FAF9F6;
  --white: #FFFFFF;
  --border-radius-sm: 12px;
  --border-radius-md: 20px;
  --border-radius-lg: 30px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 25px -3px rgba(30, 27, 75, 0.05), 0 4px 12px -2px rgba(30, 27, 75, 0.03);
  --shadow-lg: 0 20px 35px -5px rgba(124, 58, 237, 0.12), 0 10px 15px -5px rgba(124, 58, 237, 0.04);
  --rainbow-gradient: linear-gradient(90deg, #FF5E62 0%, #FF9966 20%, #FFEA00 40%, #4ADE80 60%, #38BDF8 80%, #C084FC 100%);
  --rainbow-border: linear-gradient(135deg, #EC4899, #8B5CF6, #3B82F6, #10B981, #F59E0B, #EF4444);
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* CSS Reset & General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

/* Bubbles Background Layer */
.bubble-bg-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -100px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: rise 15s infinite ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(124, 58, 237, 0.1);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1), 0 2px 8px rgba(30, 27, 75, 0.05);
  border-bottom: 2px solid rgba(124, 58, 237, 0.15);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 120px;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .nav-container {
  height: 90px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 100px;
  width: auto;
  max-width: 350px;
  object-fit: contain;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 8px rgba(124, 58, 237, 0.15));
}

header.scrolled .logo-img {
  height: 75px;
  max-width: 280px;
}

/* Navigation Menu Layout */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.mobile-drawer-header,
.mobile-drawer-footer {
  display: none; /* Desktop hidden */
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--purple);
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-2px);
}

.nav-link .nav-icon {
  display: none; /* Hidden on desktop nav */
}

.nav-link .chevron-icon {
  font-size: 0.6rem;
  margin-left: 0.2rem;
  transition: transform 0.3s ease;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-dropdown.open .chevron-icon {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 180px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(30, 27, 75, 0.12);
  border: 1px solid rgba(30, 27, 75, 0.07);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1001;
}

.nav-dropdown-menu .nav-icon {
  display: none; /* Hidden on desktop dropdown */
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 993px) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-link:hover {
  background: var(--purple-light);
  color: var(--purple);
}

.nav-cta {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25);
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nav-cta .nav-icon {
  display: none; /* Hidden on desktop CTA */
}

.nav-cta .arrow-icon {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
  border-color: rgba(124, 58, 237, 0.3);
}

.nav-cta:hover .arrow-icon {
  transform: translateX(3px);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 41, 0.45);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  transition: var(--transition-smooth);
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
}

.hamburger:hover .hamburger-line {
  background-color: var(--purple);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(1px, -1px);
  background-color: var(--purple);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(1px, 1px);
  background-color: var(--purple);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 8rem 2rem 6rem;
  background: radial-gradient(circle at 10% 20%, rgba(254, 252, 232, 0.6) 0%, rgba(240, 253, 250, 0.6) 90%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M10 20a4 4 0 1 0-8 0 4 4 0 0 0 8 0zM50 40a4 4 0 1 0-8 0 4 4 0 0 0 8 0zM30 10a4 4 0 1 0-8 0 4 4 0 0 0 8 0z" fill="%237c3aed" fill-opacity="0.03"/></svg>');
  display: flex;
  align-items: center;
  min-height: 95vh;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.trust-badge {
  background: var(--white);
  color: var(--purple);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.trust-badge i {
  font-size: 0.9rem;
}

.trust-badge.alt {
  color: var(--pink);
  border-color: rgba(236, 72, 153, 0.15);
}

.hero h1 {
  font-size: 3.8rem;
  color: var(--purple);
  margin-bottom: 1.5rem;
  position: relative;
  letter-spacing: -1.5px;
  font-weight: 800;
}

.hero h1 span {
  background: var(--rainbow-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: shine 8s infinite linear;
}

.hero h1 i {
  font-size: 2.5rem;
  background: var(--rainbow-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  vertical-align: middle;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 2.5rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  border-left: 5px solid var(--blue);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  width: 100%;
}

.btn {
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: none;
}

.btn-primary {
  background: var(--yellow);
  color: var(--text-dark);
  box-shadow: 0 8px 20px rgba(230, 210, 0, 0.25);
  border: 1px solid var(--yellow-dark);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(230, 210, 0, 0.35);
  background: var(--white);
  border-color: var(--yellow-dark);
}

.btn-secondary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.3);
  background: var(--white);
  color: var(--purple);
  border: 1px solid var(--purple);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-blob {
  position: relative;
  z-index: 2;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
  animation: morphing-blob 12s infinite alternate ease-in-out;
  aspect-ratio: 1;
  width: 100%;
  max-width: 440px;
  background-color: #000;
}

.hero-img-blob video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-decor-1, .hero-decor-2, .hero-decor-3 {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  animation: float 4s infinite ease-in-out alternate;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-decor-1 {
  top: 10%;
  left: -5%;
  background: var(--yellow);
  color: var(--text-dark);
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  transform: rotate(-12deg);
}

.hero-decor-2 {
  bottom: 15%;
  right: -5%;
  background: var(--pink);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  transform: rotate(8deg);
  animation-delay: 1.5s;
}

.hero-decor-3 {
  bottom: -5%;
  left: 20%;
  background: var(--blue);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  animation-delay: 2.5s;
}

/* Wavy Section Dividers */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 4;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-divider.light {
  transform: rotate(0deg);
  bottom: auto;
  top: 0;
}

.wave-divider svg path {
  fill: var(--light-bg);
}

/* Section Common Styles */
section {
  padding: 7.5rem 2rem;
  position: relative;
  z-index: 10;
}

.bg-light {
  background-color: var(--light-bg);
}

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

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
}

.badge-purple { background: var(--purple-light); color: var(--purple); }
.badge-pink { background: var(--pink-light); color: var(--pink); }
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-orange { background: var(--orange-light); color: var(--orange); }
.badge-green { background: var(--green-light); color: var(--green); }

.section-title {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* About Us Section */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-graphics {
  position: relative;
}

.teacher-profile-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(124, 58, 237, 0.08);
  position: relative;
  z-index: 2;
  overflow: hidden;
  text-align: center;
}

.teacher-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--rainbow-gradient);
}

.profile-avatar-wrapper {
  position: relative;
  width: 285px;
  height: 285px;
  margin: 0 auto 1.75rem;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--rainbow-gradient);
  padding: 4px;
  box-shadow: var(--shadow-md);
}

.profile-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--purple-light);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px solid var(--white);
  overflow: hidden;
}

.principal-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.principal-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.principal-slide.active {
  opacity: 1;
  z-index: 2;
}

.profile-avatar-inner i {
  font-size: 3.5rem;
  color: var(--purple);
}

.teacher-name {
  font-size: 1.8rem;
  color: var(--purple);
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.teacher-role {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.qualification-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* Abacus Curriculum Module Section */
.abacus-module-section {
  background: linear-gradient(135deg, #F3E8FF 0%, #E0F2FE 55%, #FAF9F6 100%);
  padding: 7.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.abacus-module-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.06);
  pointer-events: none;
}

.abacus-module-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.07);
  pointer-events: none;
}

.abacus-module-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.abacus-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.abacus-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.75);
  padding: 1rem 1.15rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(124, 58, 237, 0.08);
  transition: var(--transition-smooth);
}

.abacus-benefit-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(124, 58, 237, 0.18);
}

.abacus-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--purple-light);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.abacus-benefit-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.abacus-benefit-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.abacus-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.abacus-age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  color: var(--purple-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(124, 58, 237, 0.15);
  box-shadow: var(--shadow-sm);
}

.abacus-books-showcase {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem 2rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(124, 58, 237, 0.1);
}

.abacus-showcase-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.abacus-showcase-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--pink);
  background: var(--pink-light);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.65rem;
}

.abacus-showcase-header h3 {
  font-size: 1.35rem;
  color: var(--purple);
  font-weight: 800;
}

.abacus-books-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.abacus-book-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.abacus-book-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.18);
  border: 3px solid rgba(124, 58, 237, 0.12);
  aspect-ratio: 3 / 4;
  transition: var(--transition-smooth);
  background: var(--light-bg);
}

.abacus-book-card:hover .abacus-book-frame {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.28);
  border-color: var(--purple);
}

.abacus-book-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.abacus-book-info {
  text-align: center;
}

.abacus-book-level {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--white);
  background: var(--purple);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.4rem;
}

.abacus-book-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.abacus-showcase-deco {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rainbow-gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.3);
  border: 3px solid var(--white);
}

.qualification-tag {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(14, 165, 233, 0.12);
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-subtitle {
  font-size: 1.6rem;
  color: var(--purple);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.about-feat-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.about-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background: var(--yellow-light);
  border: 1px solid var(--yellow-dark);
  color: var(--yellow-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.about-feat-item:nth-child(2) .about-feat-icon {
  background: var(--pink-light);
  border-color: var(--pink);
  color: var(--pink);
}

.about-feat-item:nth-child(3) .about-feat-icon {
  background: var(--blue-light);
  border-color: var(--blue);
  color: var(--blue);
}

.about-feat-item:nth-child(4) .about-feat-icon {
  background: var(--green-light);
  border-color: var(--green);
  color: var(--green);
}

.about-feat-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.about-feat-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Our Programs Section */
.programs-container {
  max-width: 1200px;
  margin: 0 auto;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 2rem;
}

.program-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.program-card.yellow-theme { border-top: 5px solid var(--yellow); }
.program-card.purple-theme { border-top: 5px solid var(--purple); }
.program-card.blue-theme { border-top: 5px solid var(--blue); }
.program-card.pink-theme { border-top: 5px solid var(--pink); }
.program-card.orange-theme { border-top: 5px solid var(--orange); }

.program-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.75rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.program-card:hover .program-icon-box {
  transform: scale(1.1) rotate(3deg);
}

.yellow-theme .program-icon-box { background: var(--yellow-light); color: var(--yellow-dark); }
.purple-theme .program-icon-box { background: var(--purple-light); color: var(--purple); }
.blue-theme .program-icon-box { background: var(--blue-light); color: var(--blue); }
.pink-theme .program-icon-box { background: var(--pink-light); color: var(--pink); }
.orange-theme .program-icon-box { background: var(--orange-light); color: var(--orange); }

.program-card h3 {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.program-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-grow: 1;
  line-height: 1.6;
}

.program-features {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.prog-feat-li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.prog-feat-li i {
  font-size: 0.95rem;
}

.yellow-theme .prog-feat-li i { color: var(--yellow-dark); }
.purple-theme .prog-feat-li i { color: var(--purple); }
.blue-theme .prog-feat-li i { color: var(--blue); }
.pink-theme .prog-feat-li i { color: var(--pink); }
.orange-theme .prog-feat-li i { color: var(--orange); }

.program-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.yellow-theme .program-badge { background: var(--yellow-light); color: var(--yellow-dark); }
.purple-theme .program-badge { background: var(--purple-light); color: var(--purple); }
.blue-theme .program-badge { background: var(--blue-light); color: var(--blue); }
.pink-theme .program-badge { background: var(--pink-light); color: var(--pink); }
.orange-theme .program-badge { background: var(--orange-light); color: var(--orange); }

/* Why Choose Us Section */
.why-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 5rem;
  align-items: center;
}

.why-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.15);
}

.why-card.highlight {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--purple-light) 0%, rgba(236, 72, 153, 0.05) 100%);
  border: 1px dashed var(--purple);
}

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.35rem;
  margin: 0 auto 1.5rem;
}

.why-card:nth-child(1) .why-icon { background: var(--blue-light); color: var(--blue); }
.why-card:nth-child(2) .why-icon { background: var(--green-light); color: var(--green); }
.why-card:nth-child(3) .why-icon { background: var(--yellow-light); color: var(--yellow-dark); }
.why-card:nth-child(4) .why-icon { background: var(--pink-light); color: var(--pink); }
.why-card.highlight .why-icon { background: var(--purple); color: var(--white); }

.why-card h4 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

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

/* Creative Play Showcase (Video Section) */
.creative-play-section {
  background-color: var(--light-bg);
  padding: 7rem 2rem;
  text-align: center;
}

.creative-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
  text-align: left;
}

.video-frame-wrapper {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
  background-color: #000000;
}

.video-frame-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

/* Play/Pause Overlay Animation */
.video-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.85);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  cursor: pointer;
  opacity: 0.9;
  transition: var(--transition-smooth);
  z-index: 5;
  border: 3px solid var(--white);
}

.video-frame-wrapper:hover .video-overlay-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--pink);
}

/* Infrastructure Gallery Section */
.infrastructure-section {
  background-color: var(--white);
}

.infra-container {
  max-width: 1200px;
  margin: 0 auto;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.infra-card {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--white);
  cursor: pointer;
  transition: var(--transition-smooth);
  background: var(--light-bg);
}

.infra-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.infra-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: var(--purple);
}

.infra-card:hover img {
  transform: scale(1.08);
}

/* 2026 Vidhyarambham Ceremony Section */
.vidhyarambham-section {
  position: relative;
  background:
    radial-gradient(circle at 10% 20%, rgba(249, 115, 22, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 40%),
    linear-gradient(160deg, #FFF7ED 0%, #FEF3C7 45%, #FCE7F3 100%);
  padding: 7.5rem 2rem;
  overflow: hidden;
}

.vidhyarambham-deco {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  opacity: 0.18;
  pointer-events: none;
  animation: float 5s infinite alternate ease-in-out;
}

.vidhyarambham-deco-1 {
  top: 8%;
  left: 4%;
  background: var(--orange);
  color: var(--white);
}

.vidhyarambham-deco-2 {
  top: 18%;
  right: 6%;
  background: var(--purple);
  color: var(--white);
  animation-delay: 1s;
}

.vidhyarambham-deco-3 {
  bottom: 12%;
  left: 8%;
  background: var(--pink);
  color: var(--white);
  animation-delay: 2s;
}

.vidhyarambham-container {
  max-width: 1200px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.vidhyarambham-intro-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(249, 115, 22, 0.15);
  box-shadow: var(--shadow-md);
}

.vidhyarambham-intro-card h3 {
  font-size: 1.75rem;
  color: var(--orange);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.vidhyarambham-intro-card > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.vidhyarambham-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.vidhyarambham-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.vidhyarambham-highlight-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-light), var(--purple-light));
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.vidhyarambham-highlight h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
  color: var(--text-dark);
}

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

.vidhyarambham-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(249, 115, 22, 0.25);
}

.vidhyarambham-stat {
  text-align: center;
}

.vidhyarambham-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1.2;
}

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

.vidhyarambham-featured-frame {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: var(--transition-smooth);
  aspect-ratio: 4/5;
}

.vidhyarambham-featured-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

.vidhyarambham-featured-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vidhyarambham-featured-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.vidhyarambham-gallery-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.vidhyarambham-gallery-hint {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.vidhyarambham-gallery-hint i {
  color: var(--purple);
  margin-right: 0.35rem;
}

.vidhyarambham-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 1.15rem;
}

.vidhyarambham-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  background: var(--light-bg);
}

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

.vidhyarambham-item.wide {
  grid-column: span 2;
}

.vidhyarambham-item.tall {
  grid-row: span 2;
}

.vidhyarambham-item.hero-tile {
  grid-column: span 2;
  grid-row: span 2;
}

.vidhyarambham-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 27, 75, 0.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.15rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.vidhyarambham-item-overlay span {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  transform: translateY(8px);
  transition: var(--transition-smooth);
}

.vidhyarambham-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
  z-index: 2;
}

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

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

.vidhyarambham-item:hover .vidhyarambham-item-overlay span {
  transform: translateY(0);
}

/* Summer Camp Section */
.summer-camp {
  background: linear-gradient(135deg, #FFEDD5 0%, #FEF3C7 100%);
  padding: 7.5rem 2rem;
  overflow: hidden;
}

.summer-camp-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
}

.camp-tag {
  background: var(--orange);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  animation: pulse-scale 2s infinite;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}

.summer-camp h2 {
  font-size: 3.2rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.summer-camp h2 span {
  color: var(--purple);
}

.summer-camp-desc {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 2.5rem;
}

.camp-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.camp-feat-li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.camp-feat-li i {
  color: var(--orange);
  font-size: 1.1rem;
  width: 24px;
  height: 24px;
  background: rgba(249, 115, 22, 0.12);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.camp-image-wrapper {
  position: relative;
}

.camp-img-frame {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
  transition: var(--transition-smooth);
}

.camp-img-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

.camp-badge-overlay {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--yellow);
  color: var(--text-dark);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  border: 2px dashed var(--orange);
  transform: rotate(-15deg);
  animation: float 4s infinite alternate;
}

/* Gallery Section */
.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--white);
  cursor: pointer;
  transition: var(--transition-smooth);
  background: var(--light-bg);
}

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

.gallery-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: var(--pink);
}

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

/* Lightbox Modal Carousel Navigation */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 41, 0.97);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 2rem;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 85%;
  max-height: 85%;
  border-radius: var(--border-radius-md);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
}

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-caption {
  background-color: var(--white);
  padding: 1rem 1.5rem;
  text-align: center;
  font-family: var(--font-display);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.lightbox-caption-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple);
}

.lightbox-caption-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  margin-top: 0.25rem;
  letter-spacing: 0.5px;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: var(--white);
  color: var(--purple);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  z-index: 2001;
}

.lightbox-close:hover {
  transform: scale(1.1) rotate(90deg);
  background: var(--pink);
  color: var(--white);
}

/* Carousel Nav Buttons */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 2002;
}

.lightbox-nav:hover {
  background: var(--purple);
  border-color: var(--purple);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* Testimonials Section */
.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.testimonial-quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 3rem;
  color: var(--purple-light);
  line-height: 1;
  pointer-events: none;
}

.stars-rating {
  color: #FBBF24;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.stars-rating i {
  margin-right: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--purple-light);
  color: var(--purple);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.author-info h4 {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 700;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Contact & Location Section */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
}

.contact-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  border: 1px solid rgba(124, 58, 237, 0.1);
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--border-radius-sm);
  background: var(--purple-light);
  color: var(--purple);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item.wa .contact-icon {
  background: #D1FAE5;
  color: #10B981;
}

.contact-item-details h4 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.contact-item-details p, .contact-item-details a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.contact-item-details a:hover {
  color: var(--purple);
}

/* Custom Welcome Message Note */
.wa-notice-box {
  background: var(--green-light);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  border-left: 5px solid var(--green);
}

.wa-notice-box h4 {
  color: #065F46;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.wa-notice-box p {
  font-size: 0.9rem;
  color: #047857;
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
}

/* Map Frame */
.map-frame-wrapper {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--white);
  height: 280px;
}

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

/* Inquiry Form */
.inquiry-form-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-radius: var(--border-radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.45);
  outline: 1px solid rgba(124, 58, 237, 0.08);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  animation: glass-glow 8s infinite alternate ease-in-out;
}

@keyframes glass-glow {
  0% {
    box-shadow: var(--shadow-lg), 0 0 15px rgba(255, 255, 255, 0.1), inset 0 0 40px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.35);
  }
  50% {
    box-shadow: var(--shadow-lg), 0 0 35px rgba(124, 58, 237, 0.3), inset 0 0 60px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
  }
  100% {
    box-shadow: var(--shadow-lg), 0 0 15px rgba(255, 255, 255, 0.1), inset 0 0 40px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.35);
  }
}

.inquiry-form-card .inquiry-heading {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.6rem;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.inquiry-form-card .inquiry-heading i {
  color: var(--pink);
  margin-right: 0.5rem;
}

.inquiry-form-card .inquiry-intro {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 2.2rem;
  line-height: 1.65;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.inquiry-form-card .form-label {
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: var(--border-radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.92);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

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

.form-btn {
  width: 100%;
  background: var(--rainbow-gradient);
  color: var(--white);
  border: none;
  padding: 1.1rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.25);
  margin-top: 1rem;
  transition: var(--transition-smooth);
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.35);
}

.form-hint {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.form-feedback {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

.form-feedback--error {
  background: rgba(254, 226, 226, 0.95);
  color: #B91C1C;
  border: 1px solid rgba(248, 113, 113, 0.45);
}

.form-feedback--success {
  background: rgba(209, 250, 229, 0.95);
  color: #047857;
  border: 1px solid rgba(52, 211, 153, 0.45);
}

.form-control.is-invalid {
  border-color: #F87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.25);
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.inquiry-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: rgba(15, 12, 41, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.inquiry-success-card {
  width: 100%;
  max-width: 500px;
  padding: 3rem 2.25rem;
  border-radius: 28px;
  background: #FFFFFF;
  border: 1px solid rgba(124, 58, 237, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.inquiry-success-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--pink);
  background: rgba(236, 72, 153, 0.12);
}

.inquiry-success-brand {
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}

.inquiry-success-title {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.inquiry-success-text {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #4B5563;
}

.inquiry-success-note {
  margin-bottom: 2rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #6B7280;
  font-style: italic;
}

.inquiry-success-btn {
  width: 100%;
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFFFFF;
  cursor: pointer;
  background: linear-gradient(90deg, #FF5E62 0%, #FF9966 100%);
  box-shadow: 0 4px 15px rgba(255, 94, 98, 0.35);
  transition: var(--transition-smooth);
}

.inquiry-success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 94, 98, 0.4);
}

/* Footer Section */
footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 6.5rem 2rem 2.5rem;
  position: relative;
  z-index: 10;
}

.footer-wave {
  position: absolute;
  top: -35px;
  left: 0;
  width: 100%;
  height: 35px;
  line-height: 0;
  z-index: 9;
}

.footer-wave svg {
  width: 100%;
  height: 35px;
}

.footer-wave path {
  fill: var(--text-dark);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.95fr;
  gap: 5rem;
  margin-bottom: 3.5rem;
}

.footer-about h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.footer-about p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-regd-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: var(--yellow);
  padding: 0.5rem 1.2rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px dashed rgba(255, 234, 0, 0.2);
}

.footer-links h4, .footer-contact h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 0.5rem;
  font-weight: 700;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--pink);
  border-radius: 2px;
}

.footer-links-list li {
  margin-bottom: 0.8rem;
}

.footer-links-list a {
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links-list a:hover {
  color: var(--yellow);
  padding-left: 6px;
}

.footer-contact-details li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-details i {
  color: var(--yellow);
  margin-top: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  position: relative;
  cursor: pointer;
  border: none;
}

.float-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.float-wa {
  background-color: #25D366;
}

.float-call {
  background-color: var(--purple);
}

.float-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 68px;
  background: var(--text-dark);
  color: var(--white);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

.float-btn:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Animations */
@keyframes rise {
  0% {
    bottom: -100px;
    transform: translateX(0) scale(1);
    opacity: 0;
  }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% {
    bottom: 100%;
    transform: translateX(50px) scale(1.2);
    opacity: 0;
  }
}

@keyframes rotate-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes shine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes morphing-blob {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 56% 45% 55% 44%; }
  50% { border-radius: 50% 50% 33% 67% / 63% 60% 40% 37%; }
  75% { border-radius: 33% 67% 58% 42% / 40% 30% 70% 60%; }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes float {
  0% { transform: translateY(0px) rotate(-2deg); }
  100% { transform: translateY(-8px) rotate(2deg); }
}

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

/* Spring Scroll Reveal Animations */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  position: relative;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  position: relative;
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom {
  position: relative;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-zoom.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Laptop Compact Media Query (993px - 1200px) */
@media (min-width: 993px) and (max-width: 1200px) {
  .nav-container {
    height: 82px;
    padding: 0 1.25rem;
  }
  
  .logo-img {
    height: 64px;
  }
  
  header.scrolled .logo-img {
    height: 52px;
  }
  
  .nav-menu {
    gap: 0.1rem;
  }
  
  .nav-link {
    font-size: 0.8rem;
    padding: 0.45rem 0.6rem;
    gap: 0.4rem;
  }
  
  .nav-cta {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    margin-left: 0.25rem;
  }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .hero-container,
  .about-container,
  .why-container,
  .creative-container,
  .abacus-module-container,
  .vidhyarambham-container,
  .summer-camp-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }

  .vidhyarambham-featured {
    max-width: 480px;
    margin: 0 auto;
    order: -1;
  }

  .vidhyarambham-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 160px;
  }

  .vidhyarambham-item.hero-tile {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .hero {
    padding: 10rem 2rem 5rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .badge-wrapper, .cta-group {
    justify-content: center;
  }
  
  .hero-img-blob {
    max-width: 380px;
    margin: 0 auto;
  }
  
  .hero-decor-1 { left: 5%; }
  .hero-decor-2 { right: 5%; }
  
  .about-graphics {
    max-width: 460px;
    margin: 0 auto;
  }
  
  .why-left {
    align-items: center;
    text-align: center;
  }
  
  .camp-image-wrapper {
    max-width: 480px;
    margin: 0 auto;
    order: -1;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .footer-links h4::after, .footer-contact h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-contact-details li {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -10px 0 40px rgba(30, 27, 75, 0.15);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem 2rem;
    gap: 0.25rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 1px dashed rgba(30, 27, 75, 0.08);
  }

  .drawer-logo {
    height: 44px;
    width: auto;
  }

  .drawer-brand-info {
    display: flex;
    flex-direction: column;
  }

  .drawer-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--purple);
    line-height: 1.1;
  }

  .drawer-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
  }

  .nav-link,
  .nav-dropdown-toggle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    width: 100%;
    justify-content: flex-start;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: none;
    background: transparent;
  }

  .nav-link .nav-icon,
  .nav-dropdown-toggle .nav-icon {
    display: inline-block;
    font-size: 1rem;
    color: var(--purple);
    width: 20px;
    text-align: center;
    opacity: 0.85;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--purple-light);
    color: var(--purple);
  }

  .nav-link span,
  .nav-dropdown-toggle span {
    flex-grow: 1;
  }

  .nav-dropdown-toggle .chevron-icon {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    display: inline-block;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(124, 58, 237, 0.04);
    padding: 0;
    min-width: 0;
    border-left: 2px solid rgba(124, 58, 237, 0.15);
    margin-left: 1.35rem;
    margin-top: 0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, padding 0.35s ease, margin 0.35s ease;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 250px;
    opacity: 1;
    padding: 0.25rem 0 0.25rem 0.75rem;
    margin-top: 0.25rem;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    max-height: 0;
    opacity: 0;
    padding: 0;
    margin-top: 0;
  }

  .nav-dropdown.open:hover .nav-dropdown-menu {
    max-height: 250px;
    opacity: 1;
    padding: 0.25rem 0 0.25rem 0.75rem;
    margin-top: 0.25rem;
  }

  .nav-dropdown-link {
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4B5563;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }

  .nav-dropdown-link .nav-icon {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--pink);
    width: 16px;
    text-align: center;
  }

  .nav-dropdown-link:hover {
    background: var(--pink-light);
    color: var(--pink);
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.2);
  }

  .nav-cta .nav-icon {
    display: inline-block;
    font-size: 0.95rem;
  }

  .nav-cta .arrow-icon {
    font-size: 0.8rem;
  }

  .mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(30, 27, 75, 0.08);
  }

  .drawer-contact-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .drawer-widget-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 0.5rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-display);
    text-align: center;
    transition: var(--transition-smooth);
  }

  .drawer-widget-btn.call {
    background-color: var(--purple-light);
    color: var(--purple);
    border: 1px solid rgba(124, 58, 237, 0.1);
  }

  .drawer-widget-btn.call:hover {
    background-color: var(--purple);
    color: var(--white);
  }

  .drawer-widget-btn.wa {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid rgba(16, 185, 129, 0.1);
  }

  .drawer-widget-btn.wa:hover {
    background-color: #10B981;
    color: var(--white);
  }

  .drawer-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    background: rgba(30, 27, 75, 0.04);
    padding: 0.35rem;
    border-radius: 6px;
    margin: 0;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4.5rem 1.25rem;
  }

  .hero {
    padding: 6.5rem 1.25rem 4.5rem;
    min-height: auto;
  }

  .nav-container {
    height: 72px;
    padding: 0 1.15rem;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  header.scrolled .nav-container {
    height: 60px;
  }

  .logo-img {
    height: 54px;
  }

  header.scrolled .logo-img {
    height: 44px;
  }

  .profile-avatar-wrapper {
    width: 230px;
    height: 230px;
  }
  
  .hero h1 {
    font-size: clamp(2.1rem, 7vw, 3.2rem);
    letter-spacing: -1px;
    line-height: 1.25;
  }

  .hero h1 i {
    font-size: 1.8rem;
  }
  
  .hero-subheadline {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    margin-bottom: 2rem;
    border-left-width: 4px;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .cta-group .btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 2.1rem;
    margin-bottom: 1rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .about-container,
  .why-container,
  .creative-container,
  .abacus-module-container,
  .vidhyarambham-container,
  .summer-camp-container,
  .contact-container {
    gap: 3rem;
  }

  .vidhyarambham-intro-card {
    padding: 1.75rem 1.5rem;
  }

  .vidhyarambham-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .vidhyarambham-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 0.85rem;
  }

  .vidhyarambham-item.wide,
  .vidhyarambham-item.hero-tile {
    grid-column: span 2;
    grid-row: span 1;
  }

  .vidhyarambham-item.tall {
    grid-row: span 1;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .why-card-grid {
    grid-template-columns: 1fr;
  }
  
  .why-card.highlight {
    grid-column: span 1;
  }
  
  .camp-features-list {
    grid-template-columns: 1fr;
  }
  
  .inquiry-form-card {
    padding: 2.2rem 1.25rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
  .map-frame-wrapper {
    height: 220px;
  }
}

/* Background video styles for Admissions Inquiry Box */
.inquiry-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  pointer-events: none;
}

.inquiry-card-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.12) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(14, 165, 233, 0.1) 100%
  );
  z-index: 2;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.inquiry-form-card .inquiry-heading,
.inquiry-form-card .inquiry-intro,
.inquiry-form-card form {
  position: relative;
  z-index: 3; /* Form contents sit on top of video and overlay */
}

/* Preloader Splash Screen Styles */
.preloader {
  position: fixed;
  inset: 0;
  background-color: var(--white);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.preloader-logo-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 12px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 320px;
}

.preloader-logo-wrapper::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: sheen-sweep 2.2s infinite ease-in-out;
}

.preloader-logo {
  height: 250px;
  width: auto;
  object-fit: contain;
  animation: pulse-bounce 2s infinite ease-in-out;
  position: relative;
  z-index: 1;
}

@keyframes sheen-sweep {
  0% {
    left: -120%;
  }
  100% {
    left: 150%;
  }
}

.preloader-spinner-wrapper {
  width: 120px;
  height: 4px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.preloader-spinner {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--rainbow-gradient);
  animation: loading-bar 1.5s infinite linear;
}

.preloader-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--purple);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

body.loading {
  overflow: hidden; /* Prevent scrolling during loading phase */
}

@keyframes pulse-bounce {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.05) translateY(-8px);
  }
}

@keyframes loading-bar {
  0% { left: -100%; }
  50% { left: 0%; }
  100% { left: 100%; }
}

