/* ============================================
   HELIUM LEARN — MAIN DESIGN SYSTEM
   ============================================ */
:root {
  --primary: #1a76d1;
  --primary-dark: #1256a4;
  --orange: #ff6b00;
  --orange-dark: #e55c00;
  --dark: #0f172a;
  --text: #475569;
  --light-bg: #f8fafc;
  --blue-light: #eff6ff;
  --white: #fff;
  --border: #e2e8f0;
  --green: #16a34a;
  --red: #ef4444;
  --radius: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
}

/* === BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--white); font-size: 16px; line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; height: auto; display: block; }
section { padding: 72px 0; }
h1,h2,h3,h4,h5,h6 { color: var(--dark); font-weight: 700; line-height: 1.2; }
p { margin-bottom: 0; }
ul { margin: 0; padding: 0; }

/* Prevent iOS Safari auto-zoom on form focus */
input, select, textarea, button { font-size: 16px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  font-size: max(16px, 1em);
}

/* Touch-action for all interactive elements */
a, button, [role="button"], .btn-hl-primary, .btn-hl-secondary, .btn-hl-white, .btn-hl-outline-white {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

/* === UTILITIES === */
.hl-section { padding: 72px 0; }
.hl-section-sm { padding: 48px 0; }
.hl-bg-light { background: var(--light-bg); }
.hl-bg-blue-light { background: var(--blue-light); }
.hl-bg-dark { background: var(--dark); }
.section-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 14px;
}
.section-badge-orange { background: #fff3e0; color: var(--orange); }
.section-badge-green { background: #f0fdf4; color: var(--green); }

.section-title { text-align: center; margin-bottom: 52px; }
.section-title h2 { font-size: 36px; color: var(--dark); margin-bottom: 14px; }
.section-title h2 span { color: var(--primary); }
.section-title p { color: var(--text); font-size: 17px; max-width: 600px; margin: 0 auto; }

/* === BUTTONS === */
.btn-hl-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  padding: 14px 30px; border-radius: 8px;
  font-weight: 600; font-size: 15px; border: none; cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-hl-primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); }

.btn-hl-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 28px; border-radius: 8px;
  font-weight: 600; font-size: 15px;
  transition: all .2s; white-space: nowrap;
}
.btn-hl-secondary:hover { background: var(--primary); color: #fff; }

.btn-hl-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--primary);
  padding: 13px 28px; border-radius: 8px;
  font-weight: 600; font-size: 15px;
  transition: all .2s; white-space: nowrap;
}
.btn-hl-white:hover { background: var(--blue-light); color: var(--primary); }

.btn-hl-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,.6); color: #fff;
  padding: 12px 26px; border-radius: 8px;
  font-weight: 600; font-size: 15px;
  transition: all .2s; white-space: nowrap;
}
.btn-hl-outline-white:hover { background: rgba(255,255,255,.15); color: #fff; }

/* === HEADER === */
.hl-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}
.hl-logo img { height: 50px; width: auto; }
.hl-nav .nav-link {
  color: var(--dark); font-weight: 500; font-size: 14px;
  padding: 8px 14px !important; border-radius: 6px;
  transition: color .2s, background .2s;
}
.hl-nav .nav-link:hover,
.hl-nav .nav-link.active-nav { color: var(--primary); background: var(--blue-light); }
.hl-nav .dropdown-menu {
  border: none; box-shadow: var(--shadow);
  border-radius: var(--radius); padding: 8px;
  min-width: 210px;
}
.hl-nav .dropdown-item {
  border-radius: 6px; font-size: 14px;
  padding: 9px 14px; color: var(--dark);
  transition: all .15s;
}
.hl-nav .dropdown-item:hover { background: var(--blue-light); color: var(--primary); }
.hl-nav .dropdown-divider { margin: 4px 8px; }

.hl-header-icons a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; transition: transform .2s;
}
.hl-header-icons .icon-phone { background: #eff6ff; color: var(--primary); }
.hl-header-icons .icon-wa { background: #dcfce7; color: #16a34a; }
.hl-header-icons a:hover { transform: scale(1.1); }

.btn-header-app {
  background: var(--orange) !important; color: #fff !important;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  padding: 9px 18px !important; white-space: nowrap;
  transition: background .2s !important;
}
.btn-header-app:hover { background: var(--orange-dark) !important; }

/* Sticky bottom icons (mobile) */
.sticky-float-icons {
  position: fixed; bottom: 20px; right: 16px;
  display: flex; flex-direction: column; gap: 10px; z-index: 999;
}
.sticky-float-icons a {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; box-shadow: var(--shadow-lg);
  transition: transform .2s;
}
.sticky-float-icons a:hover { transform: scale(1.1); }
.sticky-float-icons .sfi-phone { background: var(--primary); }
.sticky-float-icons .sfi-wa { background: #25d366; }

/* === HERO === */
.hl-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1a3a6e 55%, #1a76d1 100%);
  color: #fff; padding: 80px 0 64px;
  min-height: 580px; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hl-hero::before {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hl-hero .hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff; padding: 5px 16px;
  border-radius: 30px; font-size: 13px;
  font-weight: 600; letter-spacing: .5px;
  margin-bottom: 20px;
}
.hl-hero h1 {
  font-size: 48px; font-weight: 800;
  line-height: 1.15; margin-bottom: 20px; color: #fff;
}
.hl-hero h1 span { color: #fbbf24; }
.hl-hero p.hero-lead {
  font-size: 17px; color: rgba(255,255,255,.85);
  margin-bottom: 32px; max-width: 520px;
}
.hl-hero .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hl-hero .hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hl-hero .hero-stat .num { font-size: 28px; font-weight: 800; color: #fbbf24; }
.hl-hero .hero-stat .lbl { font-size: 12px; color: rgba(255,255,255,.7); }
.hl-hero .hero-img img {
  max-height: 420px; margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.3));
}

/* === COURSE CARDS === */
.course-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 28px 24px;
  height: 100%; display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
  position: relative;
}
.course-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.course-card .cc-icon {
  width: 60px; height: 60px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 26px;
}
.course-card .cc-tag {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px;
}
.course-card h3 { font-size: 18px; margin-bottom: 10px; }
.course-card p { font-size: 14px; color: var(--text); margin-bottom: 20px; flex: 1; }
.course-card .cc-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: 14px; font-weight: 600;
  margin-top: auto;
}
.course-card .cc-link:hover { gap: 10px; }
/* Card colour themes */
.cc-neet .cc-icon { background: #fef3f2; color: var(--red); }
.cc-neet .cc-tag { color: var(--red); }
.cc-jee .cc-icon { background: var(--blue-light); color: var(--primary); }
.cc-jee .cc-tag { color: var(--primary); }
.cc-found .cc-icon { background: #f0fdf4; color: var(--green); }
.cc-found .cc-tag { color: var(--green); }

/* === APP BENEFIT CARDS === */
.ab-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--border);
  height: 100%; transition: box-shadow .2s;
}
.ab-card:hover { box-shadow: var(--shadow-sm); }
.ab-card .ab-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--blue-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.ab-card h4 { font-size: 16px; margin-bottom: 6px; }
.ab-card p { font-size: 14px; color: var(--text); margin: 0; }

/* === FACULTY CARD === */
.faculty-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  text-align: center; transition: box-shadow .25s, transform .25s;
}
.faculty-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.faculty-card .fc-avatar {
  height: 180px;
  background: linear-gradient(135deg, var(--blue-light), #dbeafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 72px; color: var(--primary);
}
.faculty-card .fc-body { padding: 20px 18px; }
.faculty-card h4 { font-size: 18px; margin-bottom: 4px; }
.faculty-card .fc-subject { color: var(--primary); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.faculty-card p { font-size: 13px; color: var(--text); margin-bottom: 12px; }
.faculty-card .fc-tag {
  display: inline-block; background: var(--blue-light);
  color: var(--primary); font-size: 11px;
  padding: 3px 10px; border-radius: 20px; margin: 2px;
}

/* === TRUST STATS === */
.trust-stat {
  text-align: center; padding: 28px 20px;
}
.trust-stat .ts-num { font-size: 44px; font-weight: 800; color: var(--primary); line-height: 1; }
.trust-stat .ts-unit { font-size: 22px; font-weight: 800; color: var(--primary); }
.trust-stat p { font-size: 14px; color: var(--text); margin-top: 6px; }

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 80px 0; text-align: center;
}
.cta-banner h2 { font-size: 40px; color: #fff; margin-bottom: 16px; }
.cta-banner p { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.cta-banner .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === BREADCRUMB HEADER === */
.hl-breadcrumb {
  background: linear-gradient(135deg, #0f172a 0%, #1a3a6e 100%);
  color: #fff; padding: 56px 0 44px;
}
.hl-breadcrumb h1 { font-size: 40px; color: #fff; margin-bottom: 12px; }
.hl-breadcrumb p { color: rgba(255,255,255,.75); font-size: 16px; }
.hl-breadcrumb .breadcrumb { margin: 0; }
.hl-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,.65); }
.hl-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,.9); }
.hl-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* === CONTACT CARDS === */
.contact-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 32px 24px;
  text-align: center; height: 100%;
  transition: box-shadow .2s, transform .2s;
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card .cc-ico {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 16px;
}
.contact-card h5 { font-size: 16px; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--text); }
.contact-card a:hover { color: var(--primary); }
.ico-blue { background: var(--blue-light); color: var(--primary); }
.ico-green { background: #dcfce7; color: var(--green); }
.ico-orange { background: #fff3e0; color: var(--orange); }
.ico-red { background: #fef3f2; color: var(--red); }
.ico-purple { background: #fdf4ff; color: #9333ea; }

/* === FORM === */
.hl-form .form-control,
.hl-form .form-select,
.hl-form textarea {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 16px; font-size: 15px; font-family: inherit;
  transition: border .2s;
}
.hl-form .form-control:focus,
.hl-form .form-select:focus,
.hl-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,118,209,.1);
}
.hl-form label { font-weight: 500; font-size: 14px; color: var(--dark); margin-bottom: 6px; }

/* === FEATURE LIST === */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  display: flex; align-items: flex-start;
  gap: 12px; margin-bottom: 14px; font-size: 15px;
}
.feature-list li i { color: var(--green); margin-top: 3px; flex-shrink: 0; }

/* === ACCORDION (FAQ) === */
.hl-accordion .accordion-item {
  border: 1px solid var(--border); border-radius: var(--radius) !important;
  margin-bottom: 8px; overflow: hidden;
}
.hl-accordion .accordion-button {
  font-weight: 600; font-size: 15px; color: var(--dark);
  background: var(--light-bg);
}
.hl-accordion .accordion-button:not(.collapsed) {
  color: var(--primary); background: var(--blue-light);
  box-shadow: none;
}
.hl-accordion .accordion-button::after { filter: none; }
.hl-accordion .accordion-body { font-size: 14px; color: var(--text); }

/* === TIMELINE / CURRICULUM === */
.curriculum-step {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.curriculum-step:last-child { border-bottom: none; }
.cs-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.cs-body h5 { font-size: 15px; margin-bottom: 4px; }
.cs-body p { font-size: 13px; color: var(--text); }

/* === INFO BOX === */
.hl-info-box {
  background: var(--blue-light); border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
}
.hl-info-box-orange {
  background: #fff3e0; border-left-color: var(--orange);
}

/* === APP MOCKUP SECTION === */
.app-mockup-wrap { position: relative; text-align: center; }
.app-mockup-wrap img { max-height: 480px; }
.app-store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--dark); color: #fff;
  padding: 12px 22px; border-radius: 12px;
  transition: background .2s; margin: 6px;
}
.app-store-badge:hover { background: #1a2744; color: #fff; }
.app-store-badge .asb-sub { font-size: 11px; opacity: .75; }
.app-store-badge .asb-main { font-size: 17px; font-weight: 700; }

/* === BRANCH CARD (Azamgarh) === */
.branch-card {
  background: #fff; border-radius: var(--radius);
  border: 2px solid var(--primary); padding: 32px;
  position: relative; overflow: hidden;
}
.branch-card .bc-badge {
  position: absolute; top: 0; right: 0;
  background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 6px 16px; border-bottom-left-radius: var(--radius);
  letter-spacing: .5px; text-transform: uppercase;
}
.branch-info-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px;
}
.branch-info-item i { color: var(--primary); width: 20px; margin-top: 3px; }

/* === FOOTER === */
.hl-footer { background: var(--dark); color: rgba(255,255,255,.78); }
.hl-footer .footer-top { padding: 64px 0 40px; }
.hl-footer h5 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 20px; }
.hl-footer .footer-links { list-style: none; padding: 0; }
.hl-footer .footer-links li { margin-bottom: 10px; }
.hl-footer .footer-links a {
  color: rgba(255,255,255,.65); font-size: 14px;
  transition: color .2s; display: inline-flex; align-items: center; gap: 6px;
}
.hl-footer .footer-links a:hover { color: #fff; }
.hl-footer .footer-desc { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 20px; line-height: 1.7; }
.hl-footer .footer-social { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.hl-footer .footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.75);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: all .2s;
}
.hl-footer .footer-social a:hover { background: var(--primary); color: #fff; }
.hl-footer .footer-logo img { height: 44px; margin-bottom: 18px; filter: brightness(10); }
.hl-footer .footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 12px;
}
.hl-footer .footer-contact-item i { color: var(--primary); width: 18px; }
.hl-footer .footer-contact-item a { color: rgba(255,255,255,.65); }
.hl-footer .footer-contact-item a:hover { color: #fff; }
.hl-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
}
.hl-footer .footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); }
.hl-footer .footer-play-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: #fff; padding: 10px 18px; border-radius: 10px;
  font-size: 13px; transition: all .2s; margin-bottom: 12px;
}
.hl-footer .footer-play-btn:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ===================================================================
   HELIUM POPUP — centered modal, mobile bottom-sheet
   =================================================================== */

/* Backdrop */
.hl-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.hl-popup-backdrop--visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── Popup card — desktop centered ── */
.hl-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 20px)) scale(.96);
  width: 480px;
  max-width: calc(100vw - 32px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .38s cubic-bezier(.22,1,.36,1),
              transform .38s cubic-bezier(.22,1,.36,1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.26), 0 6px 20px rgba(0,0,0,.12);
  font-family: 'Poppins', sans-serif;
  right: auto;
  bottom: auto;
}
.hl-popup--visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

/* Inner card */
.hl-popup-inner { background: #fff; }

/* Auto-close progress bar */
.hl-popup-progress {
  height: 4px;
  background: rgba(26,118,209,.12);
  overflow: hidden;
}
.hl-popup-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #1a76d1, #38bdf8);
  border-radius: 0 2px 2px 0;
}

/* ── Header ── */
.hl-popup-header {
  padding: 16px 20px 12px;
  background: linear-gradient(135deg, #0f172a 0%, #1a3a5c 100%);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Top row: logo left, close right — no overlap */
.hl-popup-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.hl-popup-brand img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

/* Close button — inside header row, no z-conflict */
.hl-popup-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  transition: background .18s, color .18s;
  padding: 0;
  flex-shrink: 0;
}
.hl-popup-close:hover {
  background: rgba(255,255,255,.22);
  color: #fff;
}

/* Trust row: stars + rating — full width, no overlap */
.hl-popup-trust {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hl-popup-stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}
.hl-popup-rating {
  font-size: 11px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* ── Body ── */
.hl-popup-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 20px 10px;
}

/* Play Store badge image */
.hl-popup-store-badge {
  width: 72px;
  min-width: 72px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
}
.hl-popup-store-badge img {
  width: 72px;
  height: auto;
  border-radius: 10px;
  display: block;
}

.hl-popup-content { flex: 1; min-width: 0; }
.hl-popup-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 5px;
}
.hl-popup-msg {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 10px;
}
.hl-popup-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hl-popup-features li {
  font-size: 12px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}
.hl-popup-features .fa-check-circle {
  color: #16a34a;
  font-size: 12px;
  flex-shrink: 0;
}

/* ── Action buttons ── */
.hl-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 20px 22px;
}
.hl-popup-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  background: linear-gradient(135deg, #ff6b00 0%, #f97316 100%);
  color: #fff;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .2px;
  transition: transform .15s, box-shadow .15s, filter .15s;
  box-shadow: 0 4px 18px rgba(255,107,0,.38);
}
.hl-popup-btn-primary:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,0,.48);
  filter: brightness(1.06);
}
.hl-popup-btn-primary:active { transform: translateY(0); }

.hl-popup-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  background: transparent;
  color: #1a76d1;
  border: 1.5px solid #1a76d1;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .2px;
  transition: background .18s, transform .15s;
}
.hl-popup-btn-secondary:hover {
  background: #eff6ff;
  color: #1a76d1;
  text-decoration: none;
  transform: translateY(-1px);
}
.hl-popup-btn-secondary:active { transform: translateY(0); }

/* ── Tablet: keep centered but slightly narrower ── */
@media (min-width: 576px) and (max-width: 991px) {
  .hl-popup { width: 440px; }
}

/* ── Mobile: bottom-sheet ── */
@media (max-width: 575px) {
  .hl-popup {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
  }
  .hl-popup--visible {
    transform: translateY(0);
    opacity: 1;
  }
  .hl-popup-body { padding: 16px 16px 8px; gap: 12px; }
  .hl-popup-store-badge { width: 56px; min-width: 56px; }
  .hl-popup-store-badge img { width: 56px; }
  .hl-popup-actions { padding: 12px 16px 28px; flex-direction: row; gap: 8px; }
  .hl-popup-btn-primary,
  .hl-popup-btn-secondary { flex: 1; font-size: 12px; padding: 11px 8px; }
  .hl-popup-header { padding: 14px 16px 10px; }
  .hl-popup-title { font-size: 14px; }
  .hl-popup-features li { font-size: 11.5px; }
}

/* === PDF VIEWER === */
.container-pdf {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.pdf-viewer-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
  border: 1px solid var(--border);
  background: #fff;
}

.pdf-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: var(--dark);
  gap: 12px; flex-wrap: wrap;
}
.pdf-doc-title {
  font-size: 14px; font-weight: 600; color: #fff; display: flex; align-items: center;
}
.pdf-note {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
  color: #94a3b8; display: flex; align-items: center; gap: 4px;
}

.pdf-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 820px;
  border: none;
}

.pdf-footer-bar {
  padding: 12px 24px;
  background: var(--light-bg);
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text);
}
.pdf-footer-bar a { color: var(--primary); font-weight: 500; }

@media (max-width: 767px) {
  .pdf-frame-wrap iframe { height: 520px; }
  .pdf-topbar { padding: 12px 16px; }
  .pdf-doc-title { font-size: 13px; }
}

/* === WHY HELIUM DIFFERENT === */
.why-section { background: var(--dark); padding: 88px 0; overflow: hidden; position: relative; }
.why-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(26,118,209,.18) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Section header --- */
.why-section .section-badge { background: rgba(26,118,209,.18); color: #7dd3fc; border: 1px solid rgba(26,118,209,.35); }
.why-section .section-title h2 { color: #fff; }
.why-section .section-title h2 span { color: #7dd3fc; }
.why-section .section-title p { color: rgba(255,255,255,.65); }

/* --- Comparison table --- */
.compare-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: 72px;
}
.compare-col-head {
  padding: 20px 28px;
  font-weight: 700; font-size: 14px; letter-spacing: .5px; text-transform: uppercase;
}
.compare-col-head.cc-old { background: #1e293b; color: rgba(255,255,255,.5); }
.compare-col-head.cc-new { background: var(--primary); color: #fff; display: flex; align-items: center; gap: 8px; }
.compare-col-head.cc-new i { font-size: 16px; }

.compare-row {
  display: contents;
}
.compare-cell {
  padding: 16px 28px;
  font-size: 14px;
  display: flex; align-items: flex-start; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
  line-height: 1.5;
}
.compare-cell.cc-old { background: #141e2e; color: rgba(255,255,255,.5); }
.compare-cell.cc-new { background: rgba(26,118,209,.08); color: rgba(255,255,255,.88); }
.compare-cell i { margin-top: 2px; flex-shrink: 0; font-size: 13px; }
.compare-cell.cc-old i { color: #ef4444; }
.compare-cell.cc-new i { color: #34d399; }

/* --- How it works flow --- */
.hw-flow { position: relative; margin-bottom: 72px; }
.hw-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.hw-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #7dd3fc, var(--primary));
  opacity: .35;
  z-index: 0;
  pointer-events: none;
}
.hw-step {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative; z-index: 1;
}
.hw-step-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 0 0 6px rgba(26,118,209,.18), 0 0 0 12px rgba(26,118,209,.07);
  transition: transform .25s, box-shadow .25s;
}
.hw-step:hover .hw-step-icon {
  transform: translateY(-4px);
  box-shadow: 0 0 0 8px rgba(26,118,209,.22), 0 0 0 16px rgba(26,118,209,.08);
}
.hw-step-num {
  position: absolute; top: -6px; right: calc(50% - 36px);
  width: 18px; height: 18px;
  background: #7dd3fc; color: var(--dark);
  border-radius: 50%; font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.hw-step h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.hw-step p { color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.6; }

/* --- Problem→Solution cards --- */
.ps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.ps-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.ps-card:hover {
  border-color: rgba(26,118,209,.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,118,209,.18);
}
.ps-problem {
  padding: 18px 20px 14px;
  background: rgba(239,68,68,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: flex-start; gap: 10px;
}
.ps-problem i { color: #f87171; font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.ps-problem p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; margin: 0; }

.ps-solution {
  padding: 16px 20px 18px;
  display: flex; align-items: flex-start; gap: 10px;
}
.ps-solution i { color: #34d399; font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.ps-solution-body h5 { font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.ps-solution-body p { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.55; margin: 0; }

/* --- Bottom CTA in section --- */
.why-cta {
  text-align: center;
  padding-top: 16px;
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 991px) {
  .ps-grid { grid-template-columns: repeat(2, 1fr); }
  .hw-steps { flex-wrap: wrap; gap: 24px; }
  .hw-steps::before { display: none; }
  .hw-step { flex: 0 0 calc(33.333% - 16px); }
  .compare-wrap { font-size: 13px; }
  .compare-cell { padding: 14px 18px; }
}
@media (max-width: 600px) {
  .ps-grid { grid-template-columns: 1fr; }
  .hw-step { flex: 0 0 calc(50% - 12px); }
  .compare-wrap { grid-template-columns: 1fr; }
  .compare-col-head.cc-old { display: none; }
  .compare-cell.cc-old { display: none; }
  .compare-col-head.cc-new { border-radius: 12px 12px 0 0; }
}

/* === TESTIMONIALS === */
.testimonials-section { background: var(--light-bg); padding: 80px 0; }
.testimonials-section .section-title { margin-bottom: 48px; }
.testimonials-section .section-title h2 span { color: var(--primary); }
.testimonials-section .section-title p { max-width: 700px; }

.testi-track-wrap {
  position: relative;
}
.testi-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.testi-track::-webkit-scrollbar { display: none; }

.testi-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 300px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 26px 24px;
  box-shadow: 0 4px 24px rgba(26,118,209,.07), 0 1px 4px rgba(0,0,0,.06);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  border-top: 4px solid var(--primary);
  transition: box-shadow .25s, transform .25s;
}
.testi-card:hover { box-shadow: 0 8px 40px rgba(26,118,209,.14); transform: translateY(-3px); }
.testi-card.tc-neet { border-top-color: #059669; }
.testi-card.tc-board { border-top-color: var(--orange); }

/* Verified badge — uniform on all card types */
.testi-verified {
  position: absolute;
  top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .4px; text-transform: uppercase;
  color: #059669;
  background: #f0fdf4;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
  white-space: nowrap;
}
.testi-verified i { font-size: 9px; }

/* Exam badge */
.testi-exam {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .7px;
  color: var(--primary);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 30px;
  width: fit-content;
}
.testi-card.tc-neet .testi-exam { color: #059669; background: #f0fdf4; }
.testi-card.tc-board .testi-exam { color: var(--orange); background: #fff3e0; }

/* Student info row */
.testi-student {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 70px;
}
.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--primary);
  font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--primary);
}
.testi-card.tc-neet .testi-avatar { background: #f0fdf4; color: #059669; border-color: #059669; }
.testi-card.tc-board .testi-avatar { background: #fff3e0; color: var(--orange); border-color: var(--orange); }

.testi-meta h4 {
  font-size: 15px; font-weight: 700;
  color: var(--dark); margin: 0 0 2px;
}
.testi-meta span { font-size: 12px; color: var(--text); }

/* Result highlight */
.testi-result {
  display: flex; align-items: center; gap: 8px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}
.testi-result-num {
  font-size: 22px; font-weight: 800;
  color: var(--primary); line-height: 1;
}
.testi-card.tc-neet .testi-result-num { color: #059669; }
.testi-card.tc-board .testi-result-num { color: var(--orange); }
.testi-result-label {
  font-size: 11px; color: var(--text); font-weight: 500; line-height: 1.3;
}

/* Quote */
.testi-quote {
  font-size: 14px; color: #374151;
  line-height: 1.7; flex: 1;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--border);
}
.testi-card.tc-neet .testi-quote { border-left-color: #bbf7d0; }
.testi-card.tc-board .testi-quote { border-left-color: #fed7aa; }

/* Chips — uniform across all card types */
.testi-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.testi-chip {
  font-size: 9.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .45px;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--blue-light); color: var(--primary);
  border: 1px solid #bfdbfe;
  white-space: nowrap;
}

/* Navigation */
.testi-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 36px;
}
.testi-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.testi-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--blue-light); }
.testi-btn:disabled { opacity: .35; cursor: not-allowed; }

.testi-dots { display: flex; gap: 8px; align-items: center; }
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%; background: var(--border); cursor: pointer;
  transition: all .25s;
}
.testi-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* Responsive */
@media (max-width: 991px) {
  .testi-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 600px) {
  .testi-card { flex: 0 0 calc(100% - 2px); }
}

/* === RESPONSIVE === */
@media (max-width: 1199px) {
  .hl-hero h1 { font-size: 40px; }
}
@media (max-width: 991px) {
  .hl-hero h1 { font-size: 34px; }
  .hl-hero { padding: 52px 0 44px; min-height: auto; }
  .hl-hero p.hero-lead { max-width: 100%; }
  .hl-hero .hero-img { margin-top: 36px; }
  section, .hl-section { padding: 52px 0; }
  .section-title h2 { font-size: 28px; }
  .cta-banner { padding: 56px 0; }
  .cta-banner h2 { font-size: 30px; }
  .hl-breadcrumb h1 { font-size: 32px; }
  .hl-nav .nav-link { padding: 10px 14px !important; }
}
@media (max-width: 767px) {
  .hl-hero h1 { font-size: 28px; }
  .hl-hero .hero-ctas { flex-direction: column; }
  .hl-hero .hero-ctas a { width: 100%; justify-content: center; text-align: center; }
  .hl-hero .hero-stats { gap: 20px; }
  .hl-hero .hero-stat .num { font-size: 22px; }
  .trust-stat .ts-num { font-size: 36px; }
  .cta-banner .cta-btns { flex-direction: column; align-items: center; }
  .section-title h2 { font-size: 26px; }
  .hl-breadcrumb { padding: 40px 0 32px; }
  .hl-breadcrumb h1 { font-size: 26px; }
}

/* ============================================
   PREMIUM FACULTY PAGE — v2
   ============================================ */

/* Faculty Hero */
.fac-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1256a4 60%, #1a76d1 100%);
  color: #fff; padding: 80px 0 72px; text-align: center;
}
.fac-hero h1 { font-size: 42px; color: #fff; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.fac-hero h1 span { color: #7dd3fc; }
.fac-hero .fac-hero-lead { font-size: 17px; color: rgba(255,255,255,.82); max-width: 640px; margin: 0 auto 36px; line-height: 1.7; }
.fac-hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Faculty Stats Strip */
.fac-stats-strip { background: #fff; border-bottom: 1px solid var(--border); padding: 28px 0; }
.fac-stat-item { text-align: center; padding: 8px 16px; border-right: 1px solid var(--border); }
.fac-stat-item:last-child { border-right: none; }
.fac-stat-item .fsi-num { font-size: 32px; font-weight: 800; color: var(--primary); line-height: 1; }
.fac-stat-item .fsi-label { font-size: 13px; color: var(--text); margin-top: 4px; }

/* Section Team Header */
.fac-team-header { margin-bottom: 48px; }
.fac-team-header .fth-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 6px 18px; border-radius: 30px; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 14px;
}
.fac-team-header h2 { font-size: 34px; color: var(--dark); margin-bottom: 10px; }
.fac-team-header p { font-size: 16px; color: var(--text); max-width: 580px; }
.fac-team-header.center { text-align: center; }
.fac-team-header.center p { margin: 0 auto; }

/* Premium Faculty Card */
.fac-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
  height: 100%;
  display: flex; flex-direction: column;
}
.fac-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* Card top band with initials */
.fac-card-top {
  padding: 28px 24px 20px;
  display: flex; align-items: flex-start; gap: 18px;
  border-bottom: 1px solid var(--border);
}
.fac-initials {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: #fff;
  flex-shrink: 0; letter-spacing: -1px;
}
.fac-phys .fac-initials { background: linear-gradient(135deg, #1a76d1, #1256a4); }
.fac-chem .fac-initials { background: linear-gradient(135deg, #f97316, #ea580c); }
.fac-maths .fac-initials { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.fac-bio .fac-initials { background: linear-gradient(135deg, #16a34a, #15803d); }

.fac-name-block { flex: 1; min-width: 0; }
.fac-name-block h3 { font-size: 19px; color: var(--dark); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fac-role { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.fac-phys .fac-role { color: var(--primary); }
.fac-chem .fac-role { color: #f97316; }
.fac-maths .fac-role { color: #7c3aed; }
.fac-bio .fac-role { color: var(--green); }

.fac-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.fac-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; padding: 3px 10px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: .5px;
}
.fac-badge-team { background: #fef3c7; color: #92400e; }
.fac-badge-exp  { background: var(--blue-light); color: var(--primary); }
.fac-badge-qual { background: #f0fdf4; color: #166534; }

/* Card body */
.fac-card-body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; gap: 16px; }

.fac-bio-text { font-size: 13.5px; color: var(--text); line-height: 1.65; }

.fac-institutions { display: flex; flex-wrap: wrap; gap: 6px; }
.fac-inst-chip {
  display: inline-block; font-size: 11px; font-weight: 600;
  background: var(--light-bg); color: #334155;
  border: 1px solid var(--border);
  padding: 3px 11px; border-radius: 20px;
}

.fac-achievements { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.fac-achievements li { font-size: 12.5px; color: #334155; display: flex; align-items: flex-start; gap: 7px; }
.fac-achievements li i { color: var(--green); font-size: 11px; margin-top: 3px; flex-shrink: 0; }

/* Card footer CTA */
.fac-card-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: var(--light-bg); }
.fac-card-footer a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--primary);
  transition: gap .2s, color .2s;
}
.fac-card-footer a:hover { color: var(--primary-dark); gap: 12px; }

/* Why Helium Faculty trust strip */
.fac-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fac-trust-item {
  text-align: center; padding: 32px 20px;
  background: #fff; border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.fac-trust-item .fti-ico {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin: 0 auto 14px;
}
.fac-trust-item h4 { font-size: 15px; color: var(--dark); margin-bottom: 8px; }
.fac-trust-item p { font-size: 13px; color: var(--text); }

/* Inline mid-page CTA */
.fac-mid-cta {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe; border-radius: 16px;
  padding: 40px 48px; display: flex;
  align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.fac-mid-cta h3 { font-size: 22px; color: var(--dark); margin-bottom: 6px; }
.fac-mid-cta p { font-size: 14px; color: var(--text); }
.fac-mid-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Responsive faculty */
@media (max-width: 991px) {
  .fac-hero h1 { font-size: 30px; }
  .fac-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .fac-mid-cta { padding: 32px 28px; }
}
@media (max-width: 767px) {
  .fac-hero { padding: 56px 0 48px; }
  .fac-hero h1 { font-size: 26px; }
  .fac-hero .fac-hero-lead { font-size: 15px; }
  .fac-stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .fac-stat-item:last-child { border-bottom: none; }
  .fac-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .fac-mid-cta { flex-direction: column; text-align: center; padding: 28px 20px; }
  .fac-mid-cta-btns { justify-content: center; }
  .fac-name-block h3 { font-size: 17px; }
  .fac-team-header h2 { font-size: 26px; }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVENESS v2
   Silicon Valley Product-Grade Overhaul
   ============================================ */

/* ── Universal touch targets: all interactive ≥ 44px ── */
.btn-hl-primary,
.btn-hl-secondary,
.btn-hl-white,
.btn-hl-outline-white,
.btn-header-app,
.nav-link,
.testi-btn,
.footer-play-btn {
  min-height: 44px;
}

/* ── Fluid section padding: desktop → tablet → mobile → xs ── */
@media (max-width: 991px) {
  .why-section { padding: 64px 0; }
  .testimonials-section { padding: 60px 0; }
  .hl-section-sm { padding: 40px 0; }
}

@media (max-width: 767px) {
  section,
  .hl-section { padding: 44px 0; }
  .hl-section-sm { padding: 32px 0; }
  .why-section { padding: 52px 0; }
  .testimonials-section { padding: 48px 0; }
  .cta-banner { padding: 48px 0; }
  .fac-hero { padding: 44px 0 40px; }
  .hl-breadcrumb { padding: 36px 0 28px; }
}

@media (max-width: 575px) {
  section,
  .hl-section { padding: 36px 0; }
  .hl-section-sm { padding: 26px 0; }
  .why-section { padding: 40px 0; }
  .testimonials-section { padding: 36px 0; }
  .cta-banner { padding: 36px 0; }
  .section-title { margin-bottom: 32px; }
  .section-title h2 { font-size: 22px; line-height: 1.25; }
  .section-title p { font-size: 15px; }
}

/* ── Hero: extra scaling on very small phones ── */
@media (max-width: 420px) {
  .hl-hero h1 { font-size: 24px; }
  .hl-hero p.hero-lead { font-size: 15px; }
  .hl-hero .hero-stats { gap: 16px; }
  .hl-hero .hero-stat .num { font-size: 20px; }
  .hl-hero .hero-stat .lbl { font-size: 11px; }
}

/* ── Buttons: full-width CTA contexts on mobile ── */
@media (max-width: 575px) {
  /* CTA Banner: full-width centered buttons */
  .cta-banner .cta-btns {
    flex-direction: column;
    align-items: stretch;
    padding: 0 16px;
  }
  .cta-banner .cta-btns a {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  /* Hero CTAs already use flex-direction: column via 767px breakpoint — reinforce */
  .hl-hero .hero-ctas a {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  /* Faculty mid CTA buttons — full width on xs */
  .fac-mid-cta-btns {
    flex-direction: column;
    width: 100%;
  }
  .fac-mid-cta-btns a {
    width: 100%;
    justify-content: center;
  }

  /* Faculty hero CTA buttons — full width on xs */
  .fac-hero-ctas {
    flex-direction: column;
    align-items: stretch;
    padding: 0 8px;
  }
  .fac-hero-ctas a {
    width: 100%;
    justify-content: center;
  }
}

/* ── Reduce button padding slightly on small screens ── */
@media (max-width: 575px) {
  .btn-hl-primary { padding: 12px 22px; font-size: 14px; }
  .btn-hl-secondary { padding: 11px 20px; font-size: 14px; }
  .btn-hl-white { padding: 12px 22px; font-size: 14px; }
  .btn-hl-outline-white { padding: 11px 20px; font-size: 14px; }
}

/* ── Navigation mobile collapse: Download App full-width ── */
@media (max-width: 991px) {
  .navbar-collapse .d-flex {
    flex-wrap: wrap;
  }
  .navbar-collapse .btn-header-app {
    width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    font-size: 14px;
    padding: 12px 18px !important;
  }
  .hl-nav .nav-link { font-size: 15px; }
  .hl-nav .dropdown-menu { box-shadow: none; border: 1px solid var(--border); }
}

/* ── Faculty stats strip: 2-column grid on mobile ── */
@media (max-width: 767px) {
  /* In a 2-col Bootstrap grid, border-right alternates */
  .fac-stat-item { border-right: none; border-bottom: none; }
  /* Re-apply borders using nth-child targeting */
  .fac-stats-strip .row .col-6:nth-child(odd) .fac-stat-item {
    border-right: 1px solid var(--border);
  }
  .fac-stats-strip .row .col-6:nth-child(1) .fac-stat-item,
  .fac-stats-strip .row .col-6:nth-child(2) .fac-stat-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
  }
  .fac-stats-strip .row .col-6:nth-child(3) .fac-stat-item,
  .fac-stats-strip .row .col-6:nth-child(4) .fac-stat-item {
    padding-top: 20px;
  }
  .fac-stat-item .fsi-num { font-size: 26px; }
}

/* ── Faculty trust grid: reduced padding on mobile ── */
@media (max-width: 767px) {
  .fac-trust-item { padding: 22px 14px; }
  .fac-trust-item .fti-ico { width: 48px; height: 48px; font-size: 18px; }
  .fac-trust-item h4 { font-size: 14px; }
  .fac-trust-item p { font-size: 12px; }
}

/* ── Faculty card: constrain long bios on mobile ── */
@media (max-width: 767px) {
  .fac-bio-text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
  }
  .fac-card-top { padding: 20px 18px 16px; }
  .fac-card-body { padding: 16px 18px; gap: 12px; }
  .fac-card-footer { padding: 14px 18px; }
  .fac-initials { width: 60px; height: 60px; font-size: 20px; }
  .fac-team-header { margin-bottom: 32px; }
}

/* ── Faculty card name: allow 2 lines on very small screens ── */
@media (max-width: 420px) {
  .fac-name-block h3 { white-space: normal; font-size: 16px; }
}

/* ── Testimonial card: min-width for xs ── */
@media (max-width: 420px) {
  .testi-card { min-width: calc(100vw - 48px); }
  .testi-result-num { font-size: 18px; }
}

/* ── Branch card: better mobile padding ── */
@media (max-width: 575px) {
  .branch-card { padding: 24px 18px; }
}

/* ── Contact cards: improved stacking ── */
@media (max-width: 575px) {
  .contact-card { padding: 24px 18px; }
}

/* ── Breadcrumb: fluid heading ── */
@media (max-width: 420px) {
  .hl-breadcrumb h1 { font-size: 22px; }
  .hl-breadcrumb p { font-size: 14px; }
}

/* ── Course template inline-style cards: responsive behaviour ── */
/* why_now card icon always flex-shrink:0, text wraps naturally — no override needed */
/* Step circles in How It Works: keep min-width */
@media (max-width: 575px) {
  .hl-info-box { padding: 16px 18px; }
  .hl-info-box-orange { padding: 16px 18px; }
  .curriculum-step { gap: 12px; }
}

/* ── Footer: compact on xs ── */
@media (max-width: 575px) {
  .hl-footer .footer-top { padding: 44px 0 28px; }
  .hl-footer .footer-desc { font-size: 13px; }
  .hl-footer .footer-play-btn { width: 100%; justify-content: center; }
  .hl-footer .footer-bottom { padding: 16px 0; }
  .hl-footer .footer-bottom .container { text-align: center; }
  .hl-footer h5 { margin-bottom: 14px; }
}

/* ── Sticky floater: don't overlap popup on mobile ── */
@media (max-width: 575px) {
  .sticky-float-icons { bottom: 16px; right: 12px; }
  .sticky-float-icons a { width: 46px; height: 46px; font-size: 20px; }
}

/* ── Comparison table: single column on very small screens ── */
@media (max-width: 575px) {
  .compare-wrap { font-size: 12px; }
  .compare-cell { padding: 12px 14px; }
  .compare-col-head { padding: 14px 18px; }
}

/* ── Why section PS grid cards ── */
@media (max-width: 575px) {
  .ps-card { border-radius: 12px; }
  .ps-problem, .ps-solution { padding: 14px 16px 12px; }
}

/* ── How-it-works steps on xs ── */
@media (max-width: 420px) {
  .hw-step { flex: 0 0 100%; }
}

/* ── App store badge section ── */
@media (max-width: 575px) {
  .app-store-badge { width: 100%; justify-content: center; }
}

/* ── Smooth momentum scrolling on iOS ── */
.testi-track,
.hl-nav .dropdown-menu {
  -webkit-overflow-scrolling: touch;
}

/* ── Focus ring: accessible and stylish ── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Prevent text size adjustment on rotation ── */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ── Image scaling in hero on mobile ── */
@media (max-width: 991px) {
  .hl-hero .hero-img img { max-height: 280px; }
}
@media (max-width: 767px) {
  .hl-hero .hero-img img { max-height: 220px; }
}

/* ── CTA banner heading: fluid on xs ── */
@media (max-width: 420px) {
  .cta-banner h2 { font-size: 22px; }
  .cta-banner p { font-size: 15px; margin-bottom: 24px; }
}

/* ── Trust stat numbers: fluid on xs ── */
@media (max-width: 420px) {
  .trust-stat .ts-num { font-size: 30px; }
  .trust-stat .ts-unit { font-size: 18px; }
}

/* ── Faculty fac-mid-cta heading scaling ── */
@media (max-width: 575px) {
  .fac-mid-cta h3 { font-size: 19px; }
  .fac-mid-cta { padding: 24px 18px; border-radius: 12px; }
}

/* ── Accordion: readable on xs ── */
@media (max-width: 575px) {
  .hl-accordion .accordion-button { font-size: 14px; padding: 14px 16px; }
  .hl-accordion .accordion-body { font-size: 13px; }
}

/* ── Section badge: clean on xs ── */
@media (max-width: 420px) {
  .section-badge { font-size: 11px; padding: 4px 12px; }
}
