/* ==========================================================================
   Brains Home Tutors Jammu - Premium Agency Color System & Stylesheet
   Strict Color Flow:
   White (#FFFFFF) -> Hero (Dark Overlay) -> White (#FFFFFF) -> Soft Grey (#F8FAFC) 
   -> Light Orange (#FFF7ED) -> White (#FFFFFF) -> Soft Grey (#F8FAFC) 
   -> Dark Navy (#182235) -> White (#FFFFFF) -> Soft Grey (#F8FAFC) 
   -> Primary Orange (#F97316) -> Footer Dark (#111827)

   Palette Tokens:
   - Primary Orange: #F97316
   - Dark Navy: #182235
   - White: #FFFFFF
   - Soft Grey: #F8FAFC
   - Light Orange: #FFF7ED
   - Footer Dark: #111827
   - Normal Text: #475569
   ========================================================================== */

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

/* --- Root Color System --- */
:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Strict Agency Color Tokens */
  --primary-orange: #F97316;     /* Primary Orange (Accents, Buttons, Icons, Numbers) */
  --orange-hover: #EA580C;
  --light-orange: #FFF7ED;       /* Light Orange background for Stats */

  --dark-navy: #182235;          /* Dark Navy for Headings & Testimonials */
  --deep-navy: #0F172A;          /* Deep Navy for Footer */
  --navy-hover: #0F172A;
  --footer-dark: #111827;        /* Footer Dark Background (Keeping for legacy, but we will use deep-navy) */

  --bg-white: #FFFFFF;           /* White Background */
  --bg-soft-grey: #F8FAFC;       /* Soft Grey Background */

  --text-dark: #182235;          /* Dark Navy Headings Text */
  --text-body: #475569;          /* Normal Text */
  --text-light: #FFFFFF;
  --text-muted: #64748B;
  --text-dim: #94A3B8;

  --border-light: #E2E8F0;
  --border-subtle: #E5E7EB;      /* Subtle border for cards */
  --border-orange: rgba(249, 115, 22, 0.3);

  /* Subtle Agency Shadows & Borders */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(24, 34, 53, 0.05); /* Softer shadow */
  --shadow-lg: 0 10px 25px rgba(24, 34, 53, 0.08); /* Softer shadow */

  --radius-sm: 8px;
  --radius-md: 14px;             /* Updated to 14px */
  --radius-lg: 18px;             /* Updated to 18px */
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Resets & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.65;
  padding-top: 84px;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-orange {
  background: var(--primary-orange);
  color: white;
}

.badge-orange-light {
  background: var(--light-orange);
  color: var(--primary-orange);
  border: 1px solid var(--border-orange);
}

.badge-navy {
  background: #E2E8F0;
  color: var(--dark-navy);
  border: 1px solid rgba(24, 34, 53, 0.15);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-orange {
  background: var(--primary-orange);
  color: white;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.btn-orange:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.3);
}

.btn-navy {
  background: var(--dark-navy);
  color: white;
  box-shadow: 0 4px 12px rgba(24, 34, 53, 0.15);
}

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

.btn-white {
  background: white;
  color: var(--dark-navy);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
  background: #F8FAFC;
  color: var(--primary-orange);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: white;
  border: 2px solid white;
}

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

/* ================= 1. NAVBAR (White #FFFFFF) ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

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

.brand-logo-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2.5px solid var(--primary-orange);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.brand-logo-img:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.42);
}

.brand-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark-navy);
  line-height: 1.1;
}

.brand-logo-text span.orange {
  color: var(--primary-orange);
}

.brand-logo-text span.sub {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-primary);
  color: var(--text-body);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-navy);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-orange);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-orange);
  transition: var(--transition);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-quick {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--dark-navy);
  font-size: 0.95rem;
}

.contact-quick i {
  color: var(--primary-orange);
  font-size: 1.15rem;
}

.mobile-contact-label {
  display: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-navy);
  cursor: pointer;
}

/* ================= 2. HERO SECTION ================= */
.hero-redesigned-section {
  position: relative;
  min-height: 650px;
  background-color: var(--dark-navy);
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero-redesigned-section {
    height: 700px;
  }
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease-in-out, transform 6s linear;
  transform: scale(1.05); /* Slight initial zoom */
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1); /* Smooth Ken Burns zoom out effect */
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24,34,53,1) 0%, rgba(24,34,53,0.85) 45%, rgba(24,34,53,0) 100%);
  z-index: 1;
}

@media (max-width: 991px) {
  .hero-bg-overlay {
    background: linear-gradient(180deg, rgba(24,34,53,0.95) 0%, rgba(24,34,53,0.8) 50%, rgba(24,34,53,0.2) 100%);
  }
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 6rem 0; /* Add padding for mobile breathing room */
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .hero-content-wrapper {
    grid-template-columns: 1.15fr 0.85fr; /* Content 55% width approx, rest empty */
  }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  width: fit-content;
  margin-bottom: 25px; /* Spacing as requested */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--primary-orange);
  border-radius: 50%;
}

.hero-content-left h1 {
  font-size: 2.2rem;
  color: white;
  line-height: 1.35;
  margin-bottom: 25px; /* Spacing as requested */
}

@media (min-width: 768px) {
  .hero-content-left h1 {
    font-size: 3.5rem;
  }
}

.hero-content-left h1 .orange {
  color: var(--primary-orange);
}

.hero-top-sub {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.hero-main-title {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: white;
}

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

.hero-main-subtitle {
  font-size: 2.2rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero-main-subtitle {
    font-size: 1.7rem;
  }
}

.hero-secondary-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-secondary-title .orange {
  color: var(--primary-orange);
}

.hero-secondary-title .white-text {
  color: white;
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero-secondary-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
  }
}

.hero-subtitle-text {
  color: white;
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 30px;
}

.hero-subtitle-highlight {
  display: block;
  margin-top: 12px;
  color: white;
  font-weight: 500;
  font-size: 1.05rem;
}

.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 16px; /* Spacing as requested */
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .hero-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-buttons .btn {
    width: 100%;
    text-align: center;
  }
}

/* Hide desktop BR tag on mobile to prevent weird text overlap */
@media (max-width: 767px) {
  .hero-desktop-br {
    display: none;
  }
}

/* ================= 2.5 STATS STRIP ================= */
.stats-strip-section {
  background: white;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-light);
}

.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 992px) {
  .stats-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-strip-item {
  text-align: center;
}

/* Subtle separator between stats on desktop */
@media (min-width: 992px) {
  .stats-strip-item:not(:last-child) {
    border-right: 1px solid var(--border-light);
  }
}

.stats-strip-item h3 {
  color: var(--primary-orange);
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}

.stats-strip-item p {
  color: var(--dark-navy);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ================= 2.6 1:1 LIVE ONLINE TUITION ================= */
.live-online-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

@media (max-width: 991px) {
  .live-online-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ================= ACADEMIC COUNSELOR CTA BAR ================= */
.counselor-cta-bar {
  background: linear-gradient(135deg, #182235 0%, #0F172A 100%);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  box-shadow: var(--shadow-md);
  color: white;
}

.counselor-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.counselor-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: rgba(249, 115, 22, 0.15);
  color: var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.counselor-info h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.counselor-info p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin: 0;
}

.counselor-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-whatsapp-strip {
  background-color: #25D366;
  color: white;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
}

.btn-whatsapp-strip:hover {
  background-color: #1EBE57;
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 868px) {
  .counselor-cta-bar {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .counselor-info {
    flex-direction: column;
    text-align: center;
  }
  .counselor-actions {
    width: 100%;
    flex-direction: column;
  }
  .counselor-actions .btn, .counselor-actions .btn-whatsapp-strip {
    width: 100%;
    justify-content: center;
  }
}



/* Common Section Padding & Spacing */
.section-padding {
  padding: 6.5rem 0; /* Updated to 104px */
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin: 0.8rem 0 1rem 0;
  color: var(--dark-navy);
}

.section-header p {
  color: var(--text-body);
  font-size: 1.05rem;
}

/* ================= 3. WHY CHOOSE US (White #FFFFFF) ================= */
#about {
  background: var(--bg-white); /* White */
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-logo-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--primary-orange);
  text-align: center;
  transition: transform 0.3s ease;
}

.about-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.about-logo-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  border: 4px solid var(--primary-orange);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.28);
  display: block;
}

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

.feature-box {
  background: var(--bg-white);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--dark-navy);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  border-left: 3px solid var(--primary-orange);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--light-orange);
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-box h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--dark-navy);
}

.feature-box p {
  font-size: 0.88rem;
  color: var(--text-body);
}

/* ================= 4. COURSES / PROGRAMS (Soft Grey #F8FAFC) ================= */
/* Course Cards: White #FFFFFF */
.courses-section {
  background: var(--bg-soft-grey); /* Soft Grey #F8FAFC */
}

.course-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  background: white;
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--dark-navy);
  color: white;
  border-color: var(--dark-navy);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--bg-white); /* Pure White Card */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.course-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--light-orange);
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.course-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.course-highlights {
  margin-bottom: 1.5rem;
}

.course-highlights li {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-highlights li i {
  color: var(--primary-orange);
  font-size: 0.85rem;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* ================= 5. STATS / ACHIEVEMENTS (Light Orange #FFF7ED) ================= */
/* Orange numbers and dark text */
.stats-section {
  background: var(--light-orange); /* Light Orange #FFF7ED */
  border-top: 1px solid var(--border-orange);
  border-bottom: 1px solid var(--border-orange);
}

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

.stat-card-box {
  padding: 1rem;
}

.stat-card-box h3 {
  font-size: 2.8rem;
  color: var(--primary-orange);
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.stat-card-box p {
  color: var(--dark-navy);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ================= 6. HOW IT WORKS (White #FFFFFF) ================= */
/* Orange step icons and subtle light grey cards */
.how-it-works-section {
  background: var(--bg-white); /* White */
}

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

.step-card {
  padding: 1rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-3px);
}

.step-number {
  position: absolute;
  top: 15px;
  right: 15px;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--primary-orange);
  background: var(--light-orange);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.step-card h4 {
  color: var(--dark-navy);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-body);
  font-size: 0.88rem;
}

/* ================= 7. BENEFITS / WHY CHOOSE TUTOR (Soft Grey #F8FAFC) ================= */
.tutor-benefits-section {
  background: var(--bg-soft-grey);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ================= 8. TESTIMONIALS (Dark Navy #182235) ================= */
/* White testimonial cards */
.testimonials-section {
  background: var(--dark-navy); /* Dark Navy #182235 */
  color: white;
}

.testimonials-section .section-header h2 {
  color: white;
}

.testimonials-section .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

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

.testimonial-card {
  background: var(--bg-white); /* Pure White Card */
  color: var(--text-body);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-body);
  font-style: italic;
  margin: 1rem 0 1.5rem 0;
  line-height: 1.6;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dark-navy);
  color: var(--primary-orange);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-info h5 {
  font-size: 1rem;
  color: var(--dark-navy);
}

.reviewer-info p {
  font-size: 0.8rem;
  color: var(--text-body);
}

/* ================= 9. FAQ (White #FFFFFF) ================= */
.faq-section {
  background: var(--bg-white); /* White #FFFFFF */
}

.faq-search-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.faq-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.faq-search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  background: var(--bg-soft-grey);
}

.faq-search-input:focus {
  border-color: var(--primary-orange);
  background: white;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.faq-container {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-item.active {
  border-color: var(--border-light);
  background: white;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  color: var(--dark-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
}

.faq-toggle-icon {
  transition: var(--transition);
  color: var(--primary-orange);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ================= 10. LOCATION / CONTACT INFORMATION (Soft Grey #F8FAFC) ================= */
#location {
  background: var(--bg-soft-grey); /* Soft Grey #F8FAFC */
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

/* ================= 11. REQUEST HOME TUTOR / ENQUIRY CTA (Primary Orange #F97316) ================= */
/* White text & dark button */
.final-cta-section {
  background: var(--light-orange);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.inquiry-info-box {
  color: white;
}

.inquiry-info-box h3 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-item i {
  font-size: 1.4rem;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
}

.inquiry-form-card {
  background: white;
  color: var(--text-body);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.inquiry-form-card h3 {
  color: var(--dark-navy);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

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

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-navy);
}

.form-input, .form-select {
  background: var(--bg-soft-grey);
  border: 1px solid var(--border-light);
  color: var(--dark-navy);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus {
  border-color: var(--primary-orange);
  background: white;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

/* ================= 12. FOOTER (Dark #111827) ================= */
/* White/light-grey text and small orange highlights */
.site-footer {
  background: var(--deep-navy); /* Dark #0F172A */
  color: white;
  padding: 4.5rem 0 2rem 0;
  border-top: 3px solid var(--primary-orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-dim);
  margin: 1.2rem 0;
  font-size: 0.9rem;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary-orange);
  color: white;
  transform: translateY(-3px);
}

.footer-col h4 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
}

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

.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 98px;
  right: 25px;
  z-index: 2000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.08);
  color: white;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* --- Toast Container --- */
.toast-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--dark-navy);
  color: white;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 4px solid var(--primary-orange);
  font-size: 0.92rem;
  max-width: 380px;
}

/* --- Responsive Rules --- */
@media (max-width: 1024px) {
  .hero-text-card h1 { font-size: 2.8rem; }
  .about-grid, .benefits-grid, .location-grid, .inquiry-grid, .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-full-stats, .stats-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  
  /* Header Contact Label on Mobile */
  .contact-quick {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark-navy);
    padding: 5px 10px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
  }
  .contact-quick i {
    font-size: 0.9rem;
    color: var(--primary-orange);
  }
  .desktop-phone {
    display: inline-block !important;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark-navy);
  }
  
  /* Hero section mobile typography */
  .hero-top-sub { font-size: 1.05rem; }
  .hero-main-title { font-size: 1.7rem; margin-bottom: 15px; }
  .hero-main-subtitle { font-size: 1.5rem; }
  .hero-subtitle-text { font-size: 1.05rem; }
  .hero-subtitle-highlight { font-size: 0.95rem; }
  .hero-content-wrapper { padding: 4rem 15px; } /* Prevent touching borders */

  .hero-full-slider-section { min-height: 540px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero-slider-arrow { display: none; }
  .stats-grid, .steps-grid { grid-template-columns: 1fr; }
  #location > .container > div { grid-template-columns: 1fr !important; }
  .section-padding { padding: 4rem 0; }
  
  /* Fix header overlaps on mobile */
  .brand-logo-text { font-size: 1.1rem; }
  .brand-logo-text span.sub { display: none; }
  .nav-actions { gap: 0.5rem; }
  .nav-actions .btn-orange { display: none; }
}

/* --- SEO Keywords Chips Section --- */
.seo-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--bg-soft-grey);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark-navy);
  transition: var(--transition);
  text-decoration: none;
}
.seo-chip:hover {
  background-color: var(--light-orange);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
/* --- Quick Inquiry Popup Styles --- */
.quick-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.quick-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
.quick-popup-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  width: 100%;
  max-width: 410px;
  position: relative;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
  transform: scale(0.92) translateY(10px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-light);
}
.quick-popup-overlay.active .quick-popup-card {
  transform: scale(1) translateY(0);
}
.quick-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.quick-popup-close:hover {
  background: var(--primary-orange);
  color: white;
}
.quick-popup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  padding-right: 30px;
}
.quick-popup-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.quick-popup-header h4 {
  font-size: 1.15rem;
  color: var(--dark-navy);
  margin-bottom: 2px;
}
.quick-popup-header p {
  font-size: 0.82rem;
  color: var(--primary-orange);
  font-weight: 600;
}

/* ==========================================================================
   SUPER SMOOTH SCROLL REVEAL & MICRO-ANIMATION SUITE
   ========================================================================== */

/* Hardware Accelerated Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Scroll Reveal Engine */
.reveal-up {
  opacity: 0;
  transform: translate3d(0, 35px, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translate3d(-45px, 0, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translate3d(45px, 0, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translate3d(0, 20px, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Activated Visible State */
.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Stagger Delays for Grid Elements */
.delay-100 { transition-delay: 0.1s; }
.delay-150 { transition-delay: 0.15s; }
.delay-200 { transition-delay: 0.2s; }
.delay-250 { transition-delay: 0.25s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Continuous Micro Animations */
@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes pulseOrangeGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
  }
}

/* Floating Badges micro-interaction */
.badge-orange-light, .live-session-badge, .hero-top-sub {
  animation: floatBadge 3.5s ease-in-out infinite;
}

/* Card Hover Dynamics & Smooth Lift */
.course-card, .benefit-card, .stat-card-box, .about-logo-card, .stats-strip-item, .locality-chip {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.12);
}

.locality-chip:hover {
  transform: translateY(-3px) scale(1.03);
  background: var(--light-orange);
  border-color: var(--primary-orange);
}

/* Button Smooth Hover Scale & Shadow */
.btn {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
}

.btn-orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.38);
}

/* Counselor CTA Bar Hover Effect */
.counselor-cta-bar {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.counselor-cta-bar:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(249, 115, 22, 0.25);
}

/* ==========================================================================
   SUPER SLEEK MOBILE OPTIMIZATIONS (Fast Reloading & Clean Compact Layout)
   ========================================================================== */

@media (max-width: 768px) {
  /* Fast Scroll Animations for Mobile (Zero Lag) */
  .reveal-up, .reveal-left, .reveal-right {
    transform: translate3d(0, 14px, 0) !important;
    transition: opacity 0.35s ease-out, transform 0.35s ease-out !important;
  }
  .reveal-scale {
    transform: scale(0.97) translate3d(0, 10px, 0) !important;
    transition: opacity 0.35s ease-out, transform 0.35s ease-out !important;
  }

  /* 1:1 Live Online Tuition Section Compact Mobile Layout */
  .live-online-section {
    padding: 2.5rem 0 !important;
  }
  .live-online-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-bottom: 1.75rem !important;
  }
  
  /* Compact Free Demo Class Banner for Mobile */
  .demo-banner-box {
    padding: 1.25rem 1rem !important;
    border-radius: 16px !important;
    margin-top: 1.25rem !important;
  }
  .demo-banner-box h3 {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.35rem !important;
  }
  .demo-banner-box p {
    font-size: 0.95rem !important;
    margin-bottom: 1rem !important;
  }
  .demo-banner-box .btn {
    width: 100% !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.88rem !important;
    justify-content: center !important;
  }

  /* Compact Academic Counselor CTA Bar for Mobile */
  .counselor-cta-bar {
    padding: 1rem 1.1rem !important;
    border-radius: 16px !important;
    margin-top: 1.25rem !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    text-align: left !important;
  }
  .counselor-info {
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left !important;
    width: 100% !important;
  }
  .counselor-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    font-size: 1.15rem !important;
  }
  .counselor-info h4 {
    font-size: 1rem !important;
    margin-bottom: 1px !important;
  }
  .counselor-info p {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
  }
  .counselor-actions {
    width: 100% !important;
    flex-direction: row !important;
    gap: 8px !important;
  }
  .counselor-actions .btn, 
  .counselor-actions .btn-whatsapp-strip {
    flex: 1 !important;
    width: 50% !important;
    padding: 0.6rem 0.4rem !important;
    font-size: 0.8rem !important;
    justify-content: center !important;
    border-radius: 50px !important;
  }
}


