/* ==========================================================================
   TULSI ENGLISH SCHOOL, BEED - MAIN STYLESHEET
   Design Theme: Modern, Colorful, Clean, Child-Friendly & Professional
   ========================================================================== */

/* --- 1. CSS VARIABLES (DESIGN TOKENS) --- */
:root {
  /* Brand Primary & Accents */
  --primary: #2563EB;          /* Royal Blue - Trust, Clarity */
  --primary-dark: #1D4ED8;     /* Darker Royal Blue */
  --primary-light: #EFF6FF;    /* Very Soft Blue Tint */
  --secondary: #F59E0B;        /* Sunshine Amber / Gold */
  --secondary-dark: #D97706;   /* Warm Orange */
  --secondary-light: #FEF3C7;  /* Soft Warm Yellow Tint */

  /* Playful Palette Accents */
  --accent-green: #10B981;     /* Mint Emerald Green */
  --accent-green-light: #ECFDF5;
  --accent-pink: #EC4899;      /* Playful Coral Pink */
  --accent-pink-light: #FDF2F8;
  --accent-purple: #8B5CF6;    /* Soft Violet */
  --accent-purple-light: #F5F3FF;
  --accent-teal: #06B6D4;      /* Cheerful Cyan */
  --accent-teal-light: #ECFEFF;

  /* Neutrals & Surfaces */
  --bg-main: #FFFFFF;
  --bg-warm: #FFFDF9;          /* Cheerful off-white */
  --bg-card: #FFFFFF;
  --bg-muted: #F8FAFC;
  --text-dark: #1E293B;        /* Deep Slate for high legibility */
  --text-body: #475569;        /* Medium Slate */
  --text-muted: #64748B;       /* Light Slate */
  --border-light: #E2E8F0;
  --border-soft: #F1F5F9;

  /* Typography */
  --font-headings: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 30px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 20px 35px rgba(37, 99, 235, 0.12), 0 6px 12px rgba(0, 0, 0, 0.04);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

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

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

a:hover {
  color: var(--primary-dark);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

ul {
  list-style: none;
}

/* --- 3. LAYOUT & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5.5rem 0;
}

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

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

/* Section Header Typography */
.section-header {
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-headings);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* --- 4. BUTTONS & UI COMPONENTS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-headings);
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3B82F6 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--primary) !important;
  border-color: var(--border-light);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

.btn-light {
  background: #FFFFFF;
  color: var(--primary-dark) !important;
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.7);
}

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

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-btn {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .icon-btn {
  transform: translateX(3px);
}

/* --- 5. TOP ANNOUNCEMENT BAR --- */
.top-bar {
  background: linear-gradient(90deg, #1E3A8A 0%, #2563EB 50%, #1E3A8A 100%);
  color: #FFFFFF;
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.badge-pulse {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}

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

.top-contacts {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.top-link {
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
}

.top-link:hover {
  color: #FDE047;
}

/* --- 6. SITE HEADER & NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.school-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
  transition: transform var(--transition-normal);
}

.brand-logo:hover .school-logo-img {
  transform: rotate(-5deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.school-title {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.school-subtitle {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--secondary-dark);
  letter-spacing: 0.3px;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary-dark);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* Mobile Toggle Hamburger Animation */
.menu-toggle.open .bar:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* --- 7. HERO SECTION --- */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem 0;
  background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
  overflow: hidden;
}

.hero-bg-shapes .shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.35;
  animation: floatSlow 8s ease-in-out infinite alternate;
}

.shape-circle {
  top: 10%;
  right: 5%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, #FDE68A 0%, rgba(253, 230, 138, 0) 70%);
}

.shape-star {
  top: 25%;
  left: 3%;
  font-size: 3.5rem;
  color: #F59E0B;
  animation-duration: 6s;
}

.shape-triangle {
  bottom: 12%;
  left: 8%;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 50px solid rgba(16, 185, 129, 0.25);
  animation-duration: 9s;
}

.shape-heart {
  bottom: 20%;
  right: 8%;
  font-size: 2.8rem;
  color: rgba(236, 72, 153, 0.3);
  animation-duration: 7s;
}

@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(10deg); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: #DBEAFE;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  display: inline-block;
}

.hero-title {
  font-family: var(--font-headings);
  font-size: 3.1rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.18;
  margin-bottom: 1.2rem;
  letter-spacing: -0.8px;
}

.highlight-text {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: rgba(245, 158, 11, 0.28);
  border-radius: 6px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-highlights {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-light);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

.highlight-icon {
  font-size: 1.25rem;
}

/* Hero Image Visual */
.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  background: linear-gradient(135deg, #FDE68A 0%, #93C5FD 100%);
  box-shadow: var(--shadow-lg);
}

.hero-main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 0.75rem);
  box-shadow: var(--shadow-md);
}

.floating-badge {
  position: absolute;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.badge-top {
  top: -20px;
  right: -15px;
}

.badge-bottom {
  bottom: -20px;
  left: -15px;
  animation-delay: 2s;
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.badge-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  color: var(--text-dark);
}

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

/* --- 8. STATS STRIP --- */
.stats-strip {
  background: #FFFFFF;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 2.2rem 0;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem;
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.stat-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.bg-blue-light { background-color: #DBEAFE; }
.bg-yellow-light { background-color: #FEF3C7; }
.bg-green-light { background-color: #D1FAE5; }
.bg-pink-light { background-color: #FCE7F3; }
.bg-purple-light { background-color: #EDE9FE; }

.stat-number {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* --- 9. WHY CHOOSE US & FEATURE CARDS --- */
.cards-grid {
  display: grid;
  gap: 1.75rem;
}

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

.feature-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary);
  transition: height var(--transition-normal);
}

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

.feature-blue::before { background: var(--primary); }
.feature-orange::before { background: var(--secondary); }
.feature-green::before { background: var(--accent-green); }
.feature-purple::before { background: var(--accent-purple); }
.feature-pink::before { background: var(--accent-pink); }
.feature-teal::before { background: var(--accent-teal); }

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
  line-height: 1;
}

.card-title {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-text {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* --- 10. ABOUT US SECTION & PRINCIPAL MESSAGE --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.experience-card {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 260px;
}

.exp-number {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.exp-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.about-subheading {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.1rem;
}

.about-para {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.vision-mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.8rem;
}

.vm-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.vm-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.vm-icon {
  font-size: 1.5rem;
}

.vm-header h4 {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.vm-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* Principal Message Box */
.principal-message-box {
  background: linear-gradient(135deg, #EFF6FF 0%, #FEF3C7 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid #BFDBFE;
  box-shadow: var(--shadow-md);
  margin-bottom: 4.5rem;
}

.principal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.principal-photo-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.principal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #FFFFFF;
  box-shadow: var(--shadow-md);
}

.principal-badge {
  position: absolute;
  bottom: 4px;
  right: 15px;
  background: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.principal-content {
  position: relative;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.25;
  position: absolute;
  top: -30px;
  left: -20px;
}

.principal-title {
  font-family: var(--font-headings);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.principal-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

.principal-sign strong {
  display: block;
  font-family: var(--font-headings);
  font-size: 1.15rem;
  color: var(--primary-dark);
}

.principal-sign span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* School Core Values */
.values-heading {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2.2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.value-item {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.1rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.value-item h4 {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

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

/* --- 11. PROGRAMS SECTION --- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.program-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2rem 1.6rem;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

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

.card-playgroup { border-top: 6px solid #EC4899; }
.card-nursery { border-top: 6px solid #F59E0B; }
.card-lkg { border-top: 6px solid #2563EB; }
.card-ukg { border-top: 6px solid #10B981; }

.featured-program {
  border-color: var(--primary);
  background: #FAF5FF;
  box-shadow: var(--shadow-md);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.program-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.prog-age-tag {
  font-family: var(--font-headings);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--bg-muted);
  color: var(--text-dark);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.prog-icon {
  font-size: 2rem;
}

.program-name {
  font-family: var(--font-headings);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.program-tagline {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.9rem;
}

.program-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.program-features {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.program-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.check-icon {
  color: var(--accent-green);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.program-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 1.2rem;
}

.prog-timing {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prog-timing strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* --- 12. ACTIVITIES SECTION --- */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.activity-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.activity-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.activity-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.badge-blue { background: #2563EB; }
.badge-orange { background: #EA580C; }
.badge-pink { background: #DB2777; }
.badge-green { background: #059669; }
.badge-purple { background: #7C3AED; }
.badge-teal { background: #0891B2; }

.activity-body {
  padding: 1.6rem 1.4rem;
}

.activity-title {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.activity-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --- 13. FACILITIES SECTION --- */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.facility-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all var(--transition-normal);
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #BFDBFE;
}

.facility-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.bg-blue-grad { background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%); }
.bg-green-grad { background: linear-gradient(135deg, #10B981 0%, #047857 100%); }
.bg-orange-grad { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }
.bg-purple-grad { background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%); }
.bg-teal-grad { background: linear-gradient(135deg, #06B6D4 0%, #0E7490 100%); }
.bg-pink-grad { background: linear-gradient(135deg, #EC4899 0%, #BE185D 100%); }

.facility-svg {
  width: 28px;
  height: 28px;
}

.facility-title {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.facility-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --- 14. GALLERY SECTION & LIGHTBOX --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-family: var(--font-headings);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.gallery-item.hide {
  display: none;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 240px;
  cursor: pointer;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.2) 0%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-zoom-icon {
  font-size: 1.8rem;
  margin-bottom: auto;
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.25);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.gallery-caption {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.gallery-sub {
  font-size: 0.8rem;
  color: #FDE047;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.1);
}

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

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 850px;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  margin-top: 1rem;
  color: #FFFFFF;
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.lightbox-close:hover {
  transform: scale(1.2);
  color: var(--secondary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all var(--transition-fast);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

/* --- 15. ADMISSION SECTION & FORMS --- */
.admission-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.step-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.4rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
  transition: transform var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.step-badge {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.step-title {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
}

.step-desc {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.55;
}

.admission-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.info-box-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.info-card-title {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.title-icon {
  font-size: 1.4rem;
}

.info-card-intro {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 1.2rem;
}

.docs-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.docs-list li:last-child {
  border-bottom: none;
}

.doc-icon {
  width: 22px;
  height: 22px;
  background: #D1FAE5;
  color: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.docs-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.docs-list span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Age Table */
.age-table-card {
  overflow-x: auto;
}

.age-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.age-table th, .age-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.age-table th {
  background: var(--bg-muted);
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-dark);
}

.age-table tbody tr:hover {
  background: var(--bg-warm);
}

.help-box {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #FCD34D;
}

.help-icon {
  font-size: 2rem;
}

.help-box strong {
  display: block;
  font-family: var(--font-headings);
  font-size: 1rem;
  color: #92400E;
}

.help-box p {
  font-size: 0.88rem;
  color: #78350F;
}

.help-box a {
  color: #B45309;
  font-weight: 800;
  text-decoration: underline;
}

/* Form Styles */
.form-container-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 1.8rem;
}

.form-title {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-body);
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.required {
  color: #EF4444;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: #F8FAFC;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid {
  border-color: #EF4444;
  background-color: #FEF2F2;
}

.error-msg {
  font-size: 0.78rem;
  font-weight: 600;
  color: #EF4444;
  min-height: 16px;
}

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

.form-success-box {
  background: #ECFDF5;
  border: 1.5px solid #6EE7B7;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  animation: fadeIn 0.4s ease;
}

.success-icon {
  font-size: 2rem;
}

.success-text h4 {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  color: #065F46;
}

.success-text p {
  font-size: 0.88rem;
  color: #047857;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- 16. TESTIMONIALS SECTION --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: #F59E0B;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.98rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-soft);
  padding-top: 1.2rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.bg-blue { background: #2563EB; }
.bg-orange { background: #F59E0B; }
.bg-green { background: #10B981; }

.author-info strong {
  display: block;
  font-family: var(--font-headings);
  font-size: 0.96rem;
  color: var(--text-dark);
}

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

/* --- 17. FAQ SECTION --- */
.faq-accordion-container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: #BFDBFE;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-headings);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
}

.faq-toggle-icon {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: #EF4444;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 1.6rem;
  background: var(--bg-warm);
}

.faq-item.active .faq-answer {
  padding: 0 1.6rem 1.4rem 1.6rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* --- 18. CONTACT SECTION & MAP --- */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  transition: transform var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #BFDBFE;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact-details p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
}

.contact-details a {
  color: var(--primary);
  font-weight: 600;
}

.contact-details a:hover {
  text-decoration: underline;
}

.map-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.map-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.map-pin-icon {
  font-size: 1.6rem;
}

.map-header strong {
  display: block;
  font-family: var(--font-headings);
  font-size: 1rem;
  color: var(--text-dark);
}

.map-header span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.map-embed-wrapper {
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.map-direction-btn {
  font-size: 0.88rem;
}

/* --- 19. CTA BANNER --- */
.cta-banner {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #1D4ED8 100%);
  padding: 4.5rem 0;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- 20. FOOTER --- */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding-top: 5rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1.1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
}

.footer-school-name {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.footer-school-loc {
  font-size: 0.78rem;
  color: var(--secondary);
  font-weight: 600;
}

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

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1E293B;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.f-icon {
  font-size: 1.1rem;
  margin-top: 1px;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding: 1.6rem 0;
  font-size: 0.86rem;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-bottom strong {
  color: #FFFFFF;
}

/* --- 21. FLOATING ACTION BUTTONS --- */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all var(--transition-normal);
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-call {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.float-whatsapp {
  background: #25D366;
}

.float-top {
  background: #1E293B;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.float-top.visible {
  opacity: 1;
  visibility: visible;
}

.float-tooltip {
  position: absolute;
  right: 65px;
  background: #1E293B;
  color: #FFFFFF;
  font-family: var(--font-headings);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.float-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent #1E293B;
}

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

/* --- 22. RESPONSIVE DESIGN (MEDIA QUERIES) --- */

/* Tablets & Small Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.5rem; }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .admission-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .principal-grid { grid-template-columns: 1fr; text-align: center; }
  .quote-mark { left: 50%; transform: translateX(-50%); }
  .hero-container { grid-template-columns: 1fr; gap: 3rem; }
  .hero-main-img { height: 360px; }
}

/* Tablets & Large Mobile (<= 768px) */
@media (max-width: 768px) {
  .section-padding { padding: 4rem 0; }
  .section-title { font-size: 2rem; }
  .hero-title { font-size: 2.2rem; }
  
  /* Mobile Navigation Drawer */
  .menu-toggle { display: flex; }
  .cta-enroll-btn { display: none; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #FFFFFF;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    padding: 5rem 1.5rem 2rem 1.5rem;
    transition: right 0.35s ease-in-out;
    z-index: 1050;
    overflow-y: auto;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1.05rem;
  }

  .activities-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .admission-main-grid { grid-template-columns: 1fr; }
  .contact-main-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .vision-mission-cards { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .principal-message-box { padding: 2rem 1.5rem; }
  .form-container-card { padding: 1.75rem 1.25rem; }
  .cta-banner-container { flex-direction: column; text-align: center; }
  .cta-buttons { justify-content: center; width: 100%; }
}

/* Small Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .top-contacts { display: none; }
  .top-bar-container { justify-content: center; text-align: center; }
  .hero-title { font-size: 1.85rem; }
  .section-title { font-size: 1.65rem; }
  .stats-container { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .admission-steps-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .floating-actions { bottom: 15px; right: 15px; }
  .lightbox-nav { display: none; }
}
