/* ==========================================================================
   RNA ACADEMY - OFFICIAL STYLESHEET (v1)
   Brand Lock: Deep Plum, Navy-Blue (#1A2456), Bright Red (#E61C24), Yellow (#F2D51C)
   Bangla-first, Mobile-first, High-Performance Native CSS (Zero external deps)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Core Colors */
  --brand-plum: #2E0B2B;
  --brand-plum-deep: #220720;
  --brand-plum-surface: #3D103A;
  --brand-plum-light: #571752;
  --brand-plum-subtle: #FDF4FB;

  --brand-navy: #1A2456;
  --brand-navy-dark: #0F1738;
  --brand-navy-light: #283780;
  --brand-navy-subtle: #F0F3FA;

  --brand-red: #E61C24;
  --brand-red-dark: #C4121A;
  --brand-red-hover: #D4151D;
  --brand-red-subtle: #FEF2F2;

  --brand-purple-pill: #6B1D58;
  --brand-purple-pill-hover: #561646;

  --brand-yellow: #F2D51C;
  --brand-yellow-dark: #D4BA12;

  --brand-teal: #00A896;
  --brand-teal-light: #E6F6F4;
  --brand-teal-dark: #028090;

  /* Neutrals & Surfaces */
  --bg-page: #F8F9FA;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-subtle: #ECEFF3;
  --border-dark: #CBD5E1;

  --text-primary: #1A2456;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Feedback Colors */
  --color-success: #10B981;
  --color-success-bg: #ECFDF5;
  --color-success-border: #A7F3D0;
  --color-error: #DC2626;
  --color-error-bg: #FEF2F2;
  --color-error-border: #FECACA;
  --color-wa: #25D366;
  --color-wa-dark: #1EBE5D;

  /* Typography Stacks */
  --font-sans: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Noto Serif Bengali', 'Hind Siliguri', serif;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 36, 86, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 36, 86, 0.08);
  --shadow-lg: 0 10px 25px -3px rgba(26, 36, 86, 0.12);
  --shadow-xl: 0 20px 35px -5px rgba(26, 36, 86, 0.15);

  /* Radius Scales */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 70px; /* Space for mobile sticky bottom bar */
}

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

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

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

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

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

ul, ol {
  list-style: none;
}

.eng-num {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-sans);
  letter-spacing: 0.5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* --------------------------------------------------------------------------
   3. Header & Top Bar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(26, 36, 86, 0.06);
}

.top-bar {
  background-color: var(--brand-plum);
  color: #FFFFFF;
  font-size: 0.84rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #F1F5F9;
}

.top-bar-item .icon {
  width: 14px;
  height: 14px;
  color: var(--brand-yellow);
  flex-shrink: 0;
}

.top-link {
  color: #FFFFFF;
  font-weight: 600;
}
.top-link:hover {
  color: var(--brand-yellow);
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

@media (max-width: 640px) {
  .hide-sm {
    display: none !important;
  }
}

/* Main Navigation */
.main-nav {
  background-color: #FFFFFF;
  height: 68px;
  display: flex;
  align-items: center;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-svg-logo {
  height: 48px;
  width: auto;
}

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

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

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-navy);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--brand-red);
  background-color: var(--brand-red-subtle);
}

.nav-cta-wrap {
  margin-left: 0.5rem;
}

.btn-nav-cta {
  background-color: var(--brand-red);
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(230, 28, 36, 0.25);
  transition: all var(--transition-fast);
}
.btn-nav-cta:hover {
  background-color: var(--brand-red-dark);
  transform: translateY(-1px);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  padding: 2px;
  z-index: 101;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--brand-navy);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--brand-plum);
    gap: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.35rem;
  }

  .nav-link {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-cta-wrap {
    width: 100%;
    margin-left: 0;
    padding-top: 0.5rem;
  }

  .btn-nav-cta {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.75rem;
  }

  /* Hamburger Active Animation */
  .nav-toggle.is-open .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-open .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-open .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* --------------------------------------------------------------------------
   4. Hero Section (Landscape Poster 1 Inspired)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background-color: #FFFFFF;
  overflow: hidden;
  padding: 3rem 0 3.5rem;
  border-bottom: 1px solid var(--border-color);
}

/* Math Watermark Doodles */
.hero-watermark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.watermark-svg {
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

/* Poster Red Diagonal Slash */
.hero-diagonal-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 32%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  clip-path: polygon(28% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-diagonal-accent {
    width: 100%;
    height: 140px;
    top: auto;
    bottom: 0;
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.15;
  }
}

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

@media (min-width: 900px) {
  .hero-container {
    grid-template-columns: 1.25fr 0.85fr;
    gap: 3rem;
  }
}

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

/* Tagline Badge in Yellow #F2D51C */
.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--brand-plum);
  color: var(--brand-yellow);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(242, 213, 28, 0.25);
}

.tagline-star {
  color: var(--brand-yellow);
  font-size: 0.85rem;
}

/* Semantic H1 & Class lines from poster */
.hero-title {
  margin-bottom: 1.25rem;
}

.headline-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.class-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem 0.9rem;
}

.class-label {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.class-label.red-text {
  color: var(--brand-red);
}

.exam-label {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
}

.exam-label.navy-text {
  color: var(--brand-navy);
}

.hero-subtext {
  font-size: 1.08rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  max-width: 60ch;
  line-height: 1.65;
}

.hero-timeline-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--brand-plum-subtle);
  color: var(--brand-purple-pill);
  border: 1px solid rgba(107, 29, 88, 0.2);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.hero-timeline-chip .chip-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brand-purple-pill);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Right Side Offer Badge */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.offer-badge-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.offer-connector-curve {
  position: absolute;
  top: -45px;
  left: -50px;
  width: 90px;
  height: 70px;
  pointer-events: none;
}

@media (max-width: 900px) {
  .offer-connector-curve {
    display: none;
  }
}

.offer-circle {
  width: 210px;
  height: 210px;
  background-color: #FFFFFF;
  border-radius: 50%;
  border: 8px solid var(--brand-red);
  box-shadow: 0 12px 35px rgba(230, 28, 36, 0.22), inset 0 0 0 5px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-3deg);
  transition: transform var(--transition-normal);
}

.offer-circle:hover {
  transform: rotate(0deg) scale(1.03);
}

.offer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.offer-percent {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-red-dark);
  line-height: 1.1;
}

.offer-status {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
  margin-top: 0.25rem;
}

.hero-hotline-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #FFFFFF;
  border: 2px solid var(--brand-navy);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.hotline-icon-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--brand-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotline-icon-bubble svg {
  width: 18px;
  height: 18px;
}

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

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

.hotline-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-navy);
}
.hotline-number:hover {
  color: var(--brand-red);
}

/* --------------------------------------------------------------------------
   5. Buttons System
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  min-height: 48px;
}

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

.btn-primary {
  background-color: var(--brand-red);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(230, 28, 36, 0.3);
}
.btn-primary:hover {
  background-color: var(--brand-red-dark);
  box-shadow: 0 6px 18px rgba(230, 28, 36, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-navy);
  border-color: var(--brand-navy);
}
.btn-outline:hover {
  background-color: var(--brand-navy);
  color: #FFFFFF;
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--brand-plum);
}

.btn-sm {
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  min-height: 40px;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   6. Sections Common Header
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-red);
  background-color: var(--brand-red-subtle);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
  letter-spacing: 0.5px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. 3 Batch Pills / Programs Section
   -------------------------------------------------------------------------- */
.programs-section {
  padding: 4.5rem 0;
  background-color: var(--bg-page);
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.program-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.program-card.featured-program {
  border-color: var(--brand-red);
  box-shadow: 0 6px 20px rgba(230, 28, 36, 0.12);
}

/* Pill Shaped Header matching Poster */
.card-pill-header {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #FFFFFF;
}

.pill-bg-navy {
  background-color: var(--brand-navy);
}

.pill-bg-red {
  background-color: var(--brand-red);
}

.pill-bg-purple {
  background-color: var(--brand-purple-pill);
}

.pill-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-bg-navy .pill-icon-circle svg {
  width: 22px;
  height: 22px;
  color: var(--brand-navy);
}

.pill-bg-red .pill-icon-circle svg {
  width: 22px;
  height: 22px;
  color: var(--brand-red);
}

.pill-bg-purple .pill-icon-circle svg {
  width: 22px;
  height: 22px;
  color: var(--brand-purple-pill);
}

.pill-title {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  color: #FFFFFF;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-summary {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.program-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.program-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-body);
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.card-meta-row {
  margin-top: auto;
  padding: 0.9rem;
  background-color: var(--bg-page);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.meta-label {
  font-weight: 600;
  color: var(--text-muted);
}

.meta-value {
  font-weight: 700;
  color: var(--brand-navy);
  text-align: right;
}

.card-action .btn {
  width: 100%;
}

.btn-navy {
  background-color: var(--brand-navy);
  color: #FFFFFF;
}
.btn-navy:hover {
  background-color: var(--brand-navy-dark);
}

.btn-red {
  background-color: var(--brand-red);
  color: #FFFFFF;
}
.btn-red:hover {
  background-color: var(--brand-red-dark);
}

.btn-purple {
  background-color: var(--brand-purple-pill);
  color: #FFFFFF;
}
.btn-purple:hover {
  background-color: var(--brand-purple-pill-hover);
}

/* --------------------------------------------------------------------------
   8. Subjects Grid Section
   -------------------------------------------------------------------------- */
.subjects-section {
  padding: 4.5rem 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

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

@media (min-width: 1024px) {
  .subjects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .subjects-grid > .subject-card:nth-child(4) {
    grid-column: 1 / 2;
    margin-left: auto;
    width: 100%;
  }
  .subjects-grid > .subject-card:nth-child(5) {
    grid-column: 2 / 3;
    margin-right: auto;
    width: 100%;
  }
}

.subject-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.subject-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-navy);
  background-color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.subject-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.subject-icon-box svg {
  width: 26px;
  height: 26px;
}

.bg-plum {
  background-color: var(--brand-plum);
}
.bg-teal {
  background-color: var(--brand-teal);
}
.bg-navy {
  background-color: var(--brand-navy);
}
.bg-red {
  background-color: var(--brand-red);
}

.subject-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.6rem;
}

.subject-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.subject-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-navy);
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   9. Olympiad & Scholarship Section
   -------------------------------------------------------------------------- */
.olympiad-section {
  padding: 4.5rem 0;
  background-color: var(--bg-page);
}

.olympiad-banner {
  background: radial-gradient(circle at 80% 20%, var(--brand-plum-light) 0%, var(--brand-plum) 70%, var(--brand-plum-deep) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.olympiad-content {
  max-width: 900px;
  margin: 0 auto;
}

.olympiad-eyebrow {
  display: inline-block;
  background-color: rgba(242, 213, 28, 0.15);
  color: var(--brand-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(242, 213, 28, 0.3);
}

.olympiad-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.olympiad-desc {
  font-size: 1.05rem;
  color: #E2E8F0;
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 75ch;
}

.olympiad-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .olympiad-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.olympiad-feature-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-icon {
  font-size: 1.75rem;
}

.feature-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-yellow);
  line-height: 1.35;
}

.feature-detail {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.55;
}

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

/* --------------------------------------------------------------------------
   10. Star Performers & Results (Honest Empty State)
   -------------------------------------------------------------------------- */
.results-section {
  padding: 4.5rem 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
}

.results-empty-card {
  max-width: 620px;
  margin: 0 auto;
  background-color: var(--bg-page);
  border: 2px dashed var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.empty-icon-bubble {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--brand-yellow);
  color: var(--brand-plum);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(242, 213, 28, 0.3);
}

.empty-icon-bubble svg {
  width: 34px;
  height: 34px;
}

.empty-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.75rem;
}

.empty-desc {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 50ch;
}

/* --------------------------------------------------------------------------
   11. GK Quiz Corner (Class 6-8 Level)
   -------------------------------------------------------------------------- */
.quiz-section {
  padding: 4.5rem 0;
  background-color: var(--bg-page);
}

.quiz-container {
  max-width: 780px;
}

.quiz-widget {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.quiz-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.quiz-header {
  margin-bottom: 0.75rem;
}

.quiz-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-navy);
  background-color: var(--brand-navy-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.quiz-question {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 600px) {
  .quiz-options {
    grid-template-columns: 1fr 1fr;
  }
}

.quiz-opt {
  background-color: var(--bg-page);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-navy);
  text-align: left;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.quiz-opt:hover:not([disabled]) {
  border-color: var(--brand-navy);
  background-color: var(--brand-navy-subtle);
  transform: translateY(-1px);
}

.quiz-opt.opt-correct {
  background-color: var(--color-success-bg) !important;
  border-color: var(--color-success) !important;
  color: #065F46 !important;
  font-weight: 700;
}

.quiz-opt.opt-incorrect {
  background-color: var(--color-error-bg) !important;
  border-color: var(--color-error) !important;
  color: #991B1B !important;
}

.quiz-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
}

.quiz-feedback.is-correct {
  background-color: var(--color-success-bg);
  border: 1px solid var(--color-success-border);
  color: #065F46;
}

.quiz-feedback.is-incorrect {
  background-color: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  color: #991B1B;
}

.quiz-score-card {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.score-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--brand-yellow);
}

.score-text {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.score-message {
  font-size: 0.95rem;
  color: #CBD5E1;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   12. Lead Form Section (WhatsApp Integration)
   -------------------------------------------------------------------------- */
.lead-form-section {
  padding: 4.5rem 0;
  background-color: #FFFFFF;
}

.lead-form-container {
  max-width: 620px;
}

.form-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 600px) {
  .form-card {
    padding: 2rem 1.25rem;
  }
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-pill-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-navy);
  background-color: var(--brand-navy-subtle);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

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

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.4rem;
}

.required {
  color: var(--brand-red);
}

/* Base font-size: 16px to prevent iOS auto-zoom on mobile */
.form-input, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 16px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  background-color: #FFFFFF;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(26, 36, 86, 0.12);
}

.form-input.is-invalid, .form-select.is-invalid {
  border-color: var(--color-error);
  background-color: #FFFDFD;
}

.error-msg {
  display: none;
  font-size: 0.82rem;
  color: var(--color-error);
  margin-top: 0.35rem;
  font-weight: 600;
}

.error-msg.visible {
  display: block;
}

.btn-submit {
  width: 100%;
  background-color: var(--color-wa);
  color: #FFFFFF;
  font-size: 1.05rem;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.btn-submit:hover {
  background-color: var(--color-wa-dark);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.wa-icon-btn {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.form-privacy-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
}

/* Success Card */
.form-feedback {
  margin-top: 1.5rem;
  background-color: var(--color-success-bg);
  border: 1.5px solid var(--color-success-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-success);
  color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.form-feedback h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #065F46;
  margin-bottom: 0.5rem;
}

.success-desc {
  font-size: 0.92rem;
  color: #047857;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.success-phone-prompt {
  font-size: 0.88rem;
  color: #065F46;
  margin-top: 1rem;
}

.phone-highlight {
  font-weight: 800;
  color: var(--brand-navy);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   13. Contact & Address Section
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 4.5rem 0;
  background-color: var(--bg-page);
  border-top: 1px solid var(--border-color);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.branch-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.pin-icon {
  width: 32px;
  height: 32px;
  color: var(--brand-red);
  flex-shrink: 0;
}

.branch-heading h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
}

.branch-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-red);
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.detail-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.detail-val {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--brand-navy);
  line-height: 1.5;
}

.phone-link, .email-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
}
.phone-link:hover, .email-link:hover {
  color: var(--brand-red);
}

.social-fb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1877F2;
}
.social-fb-link:hover {
  text-decoration: underline;
}

.fb-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-map-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 350px;
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
}

/* --------------------------------------------------------------------------
   14. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--brand-plum-deep);
  color: #FFFFFF;
  border-top: 3px solid var(--brand-red);
}

.footer-content {
  padding: 3.5rem 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-tagline {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-yellow);
}

.footer-focus {
  font-size: 0.9rem;
  color: #94A3B8;
}

.footer-office {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.office-badge {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.footer-address {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.6;
}

.footer-contact-row {
  font-size: 0.92rem;
  color: #CBD5E1;
}

.footer-contact-row a {
  color: #FFFFFF;
  font-weight: 700;
}
.footer-contact-row a:hover {
  color: var(--brand-yellow);
}

.footer-bottom-bar {
  background-color: var(--brand-navy-dark);
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: #94A3B8;
}

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

.footer-fb-link {
  color: #94A3B8;
}
.footer-fb-link:hover {
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   15. Mobile Sticky Bottom Bar
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #FFFFFF;
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.1);
  z-index: 99;
  border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
}

.sticky-btn svg {
  width: 20px;
  height: 20px;
}

.sticky-call {
  background-color: var(--brand-navy);
  color: #FFFFFF;
}

.sticky-apply {
  background-color: var(--brand-red);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   16. Floating WhatsApp Bubble
   -------------------------------------------------------------------------- */
.floating-wa-bubble {
  position: fixed;
  bottom: 75px; /* Above mobile sticky bar */
  right: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--color-wa);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 98;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

@media (min-width: 768px) {
  .floating-wa-bubble {
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
  }
}

.floating-wa-bubble:hover {
  transform: scale(1.08);
  background-color: var(--color-wa-dark);
}

.floating-wa-bubble svg {
  width: 30px;
  height: 30px;
}

.bubble-tooltip {
  position: absolute;
  right: 68px;
  background-color: var(--brand-navy);
  color: #FFFFFF;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.floating-wa-bubble:hover .bubble-tooltip {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   17. Accessibility & Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}
