/* ==========================================================================
   Home Tutors For IB IGCSE - Gurugram
   Premium Design System & Stylesheet
   ========================================================================== */

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

:root {
  /* Brand Color Palette */
  --navy-950: #060e20;
  --navy-900: #0a1733;
  --navy-800: #0f234f;
  --navy-700: #17326c;
  --navy-600: #20448d;
  
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-100: #fef3c7;
  --amber-50:  #fffbeb;

  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-50:  #ecfdf5;

  /* Neutral Shades */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(10, 23, 51, 0.25);
  --shadow-gold: 0 10px 25px -5px rgba(245, 158, 11, 0.35);
  --shadow-blue: 0 10px 25px -5px rgba(37, 99, 235, 0.3);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --container-max: 1240px;
}

/* ==========================================================================
   CSS Reset & Base Setup
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background-color: var(--white);
  line-height: 1.6;
  max-width: 100vw;
  overflow-x: hidden;
  padding-bottom: 72px; /* Space for mobile sticky bottom bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.25;
}

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 80px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
}

.section-bg-slate {
  background-color: var(--slate-50);
}

.section-bg-navy {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
  color: var(--white);
}

.section-bg-navy h2, 
.section-bg-navy h3, 
.section-bg-navy h4 {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--blue-50);
  color: var(--blue-600);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-tag.tag-amber {
  background-color: var(--amber-50);
  color: var(--amber-600);
  border-color: rgba(217, 119, 6, 0.2);
}

.section-tag.tag-white {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--amber-400);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
  font-weight: 400;
}

.section-bg-navy .section-subtitle {
  color: var(--slate-300);
}

.text-gold {
  color: var(--amber-500);
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--amber-400), #f59e0b, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  white-space: nowrap;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber-500) 0%, var(--amber-600) 100%);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--amber-400) 0%, var(--amber-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(245, 158, 11, 0.45);
  color: var(--navy-950);
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-navy:hover {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue-600) 0%, #1d4ed8 100%);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-blue:hover {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(37, 99, 235, 0.45);
  color: var(--white);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
  box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #34e277 0%, #1da899 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(37, 211, 102, 0.55);
  color: var(--white);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-800);
}

.btn-outline-navy:hover {
  background: var(--navy-900);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.pulse-animation {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

/* ==========================================================================
   Top Info Announcement Bar
   ========================================================================== */
.top-bar {
  background-color: var(--navy-950);
  color: var(--slate-300);
  font-size: 0.85rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald-500);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
  animation: liveBlink 1.8s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.star-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-400);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 700;
  transition: var(--transition-fast);
}

.top-phone-link:hover {
  color: var(--amber-400);
}

.top-location-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--slate-300);
}

@media (max-width: 768px) {
  .top-bar-right {
    display: none;
  }
  .top-bar-content {
    justify-content: center;
  }
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

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

.brand-logo-img {
  height: 56px;
  width: 56px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}

.footer-logo-img {
  height: 60px;
  width: 60px;
  background: #ffffff;
  padding: 4px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.logo-icon-wrap {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue-600) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-400);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

@media (max-width: 480px) {
  .brand-logo {
    gap: 8px;
  }
  .brand-logo-img {
    height: 46px;
    width: 46px;
  }
  .logo-title {
    font-size: 0.94rem;
  }
}

.logo-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 6px 4px;
  position: relative;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy-900);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--amber-500);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--slate-100);
  color: var(--navy-900);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid var(--slate-200);
  transition: var(--transition-fast);
}

.header-call-btn:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--navy-900);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .nav-menu {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 18px;
    transform: translateX(-100%);
    transition: transform var(--transition-normal), visibility var(--transition-normal);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
    visibility: hidden; /* Prevent horizontal scroll / shift when closed */
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--slate-100);
  }

  .mobile-toggle {
    display: flex;
  }

  .header-call-btn {
    display: none;
  }

  .nav-cta-group .btn-primary {
    display: none; /* Hide header booking button on tablet/mobile to prevent layout shift */
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 40%),
              linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
  padding: 60px 0 80px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-section {
    padding: 36px 0 60px 0;
  }
}

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

.hero-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-50);
  color: var(--amber-600);
  border: 1px solid rgba(217, 119, 6, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--navy-950);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-curriculum-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.curriculum-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--navy-800);
  border: 1px solid var(--slate-200);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.hero-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.trust-val {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy-900);
  line-height: 1.2;
}

.trust-label {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* Hero Right Column: Visual + Form Card */
.hero-visual-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
}

.hero-image-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-badge-floating {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(10, 23, 51, 0.88);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge-floating span.stars {
  color: var(--amber-400);
}

.hero-form-box {
  padding: 24px;
  background: var(--white);
}

.hero-form-header {
  margin-bottom: 16px;
}

.hero-form-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-950);
}

.hero-form-subtitle {
  font-size: 0.85rem;
  color: var(--slate-500);
}

.consultation-form .form-group {
  margin-bottom: 14px;
}

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

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-300);
  background-color: var(--slate-50);
  font-size: 0.9rem;
  color: var(--slate-800);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-600);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-privacy-note {
  font-size: 0.72rem;
  color: var(--slate-400);
  text-align: center;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* ==========================================================================
   Trust Bar & Key Stats
   ========================================================================== */
.trust-bar {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 36px 0;
  box-shadow: var(--shadow-lg);
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 992px) {
  .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber-400);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--slate-300);
  font-weight: 500;
}

/* ==========================================================================
   Programs Section (IB vs IGCSE Deep-Dive)
   ========================================================================== */
.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 860px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  padding: 36px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--blue-600), var(--navy-800));
}

.program-card.card-igcse::before {
  background: linear-gradient(90deg, var(--amber-500), var(--amber-600));
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.3);
}

.program-badge {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  background: var(--blue-50);
  color: var(--blue-600);
}

.card-igcse .program-badge {
  background: var(--amber-50);
  color: var(--amber-600);
}

.program-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--navy-950);
}

.program-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 24px;
}

.program-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.program-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.feature-check-icon {
  width: 20px;
  height: 20px;
  background: var(--emerald-50);
  color: var(--emerald-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.75rem;
}

/* ==========================================================================
   Subject-Wise Tutoring Grid
   ========================================================================== */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1100px) {
  .subjects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .subjects-grid {
    grid-template-columns: 1fr;
  }
}

.subject-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.subject-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-500);
}

.subject-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.subject-card:hover .subject-icon-box {
  background: var(--navy-900);
  color: var(--amber-400);
}

.subject-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy-950);
}

.subject-curriculums {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.curriculum-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--blue-50);
  color: var(--blue-600);
}

.subject-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 20px;
  flex-grow: 1;
}

.subject-enquire-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-600);
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.subject-enquire-btn:hover {
  background: var(--blue-600);
  color: var(--white);
}

/* ==========================================================================
   Why Choose Us (8 Value Props Grid)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber-500);
}

.why-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--amber-50) 100%);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.why-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy-950);
}

.why-text {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* ==========================================================================
   How It Works (4 Steps)
   ========================================================================== */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

@media (max-width: 992px) {
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
}

@media (max-width: 580px) {
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

.process-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 30px 22px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-500);
}

.step-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  color: var(--amber-400);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--white);
}

.process-icon {
  font-size: 2rem;
  margin: 12px 0 16px 0;
  color: var(--blue-600);
}

.process-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy-950);
}

.process-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
}

/* ==========================================================================
   Local Gurugram SEO Hub & Coverage Section
   ========================================================================== */
.local-seo-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.local-neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 850px) {
  .local-neighborhoods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .local-neighborhoods-grid {
    grid-template-columns: 1fr;
  }
}

.neighborhood-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--slate-50);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  transition: var(--transition-fast);
}

.neighborhood-card:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
  transform: translateX(4px);
}

.neighborhood-pin {
  color: var(--amber-600);
  font-size: 1.1rem;
}

.neighborhood-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-900);
}

.neighborhood-meta {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Reviews & Verified Testimonials
   ========================================================================== */
.google-rating-banner {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  margin-bottom: 36px;
}

.google-icon-svg {
  width: 28px;
  height: 28px;
}

.google-stars {
  color: #FBBC04;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-950);
}

.reviewer-location {
  font-size: 0.78rem;
  color: var(--slate-500);
}

.review-stars {
  color: #FBBC04;
  font-size: 0.9rem;
}

.review-text {
  font-size: 0.9rem;
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.review-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--emerald-50);
  color: var(--emerald-600);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Location & Map Section
   ========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

.location-info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.location-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0 32px 0;
}

.loc-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.loc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.loc-content-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-500);
  letter-spacing: 0.04em;
}

.loc-content-val {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy-950);
  line-height: 1.4;
}

.map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  min-height: 380px;
  height: 100%;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-950);
  cursor: pointer;
}

.faq-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  font-size: 0.9rem;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  background: var(--blue-600);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 24px;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* ==========================================================================
   Final High-Urgency CTA Section
   ========================================================================== */
.cta-banner {
  background: radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
              linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 40px 20px;
  }
  .cta-banner-title {
    font-size: 1.75rem;
  }
}

.cta-banner-subtitle {
  font-size: 1.1rem;
  color: var(--slate-300);
  margin-bottom: 32px;
}

.cta-buttons-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--navy-950);
  color: var(--slate-400);
  padding: 70px 0 30px 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col-title {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--slate-400);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--amber-400);
  transform: translateX(3px);
}

.footer-nap-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nap-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--slate-300);
}

.footer-nap-icon {
  color: var(--amber-400);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom-bar {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}

/* ==========================================================================
   Mobile Sticky Bottom Action Bar
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 999;
  padding: 8px 12px;
}

@media (max-width: 991px) {
  .mobile-bottom-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

.m-action-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.m-action-btn svg,
.m-action-btn i {
  font-size: 1.15rem;
}

.m-action-call {
  background: var(--blue-600);
  color: var(--white);
}

.m-action-wa {
  background: #25D366;
  color: var(--white);
}

.m-action-book {
  background: var(--amber-500);
  color: var(--navy-950);
}

/* ==========================================================================
   Interactive Booking Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 14, 32, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--slate-200);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-normal);
  overflow: hidden;
}

.modal-overlay.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding: 22px 26px;
  position: relative;
}

.modal-title {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
}

.modal-subtitle {
  color: var(--slate-300);
  font-size: 0.85rem;
  margin-top: 4px;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--amber-500);
  color: var(--navy-950);
}

.modal-body {
  padding: 26px;
  max-height: calc(85vh - 100px);
  overflow-y: auto;
}

@media (max-width: 576px) {
  .modal-overlay {
    align-items: flex-start;
    overflow-y: auto;
    padding: 12px;
  }

  .modal-dialog {
    margin: 20px auto 40px auto;
    max-height: none;
  }

  .modal-body {
    max-height: none;
    padding: 20px 16px;
  }

  .modal-header {
    padding: 18px 20px;
  }

  .modal-title {
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 85px;
  right: 20px;
  z-index: 3000;
}

.toast {
  background: var(--navy-950);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2xl);
  border-left: 4px solid var(--emerald-500);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  transform: translateX(120%);
  transition: transform var(--transition-normal);
}

.toast.show {
  transform: translateX(0);
}
