/* =========================================================
   Think For Education – Redesigned Home Page Styles
   ========================================================= */

/* ---------- CSS Variables ---------- */
:root {
  --hp-navy:        #0f2744;
  --hp-navy-mid:    #1a3a5c;
  --hp-blue:        #066599;
  --hp-accent:      #0ea5e9;
  --hp-yellow:      #f59e0b;
  --hp-yellow-dark: #d97706;
  --hp-green:       #16a34a;
  --hp-white:       #ffffff;
  --hp-bg:          #f1f5f9;
  --hp-card-bg:     #ffffff;
  --hp-text:        #1e293b;
  --hp-muted:       #64748b;
  --hp-border:      #e2e8f0;
  --hp-shadow:      0 4px 24px rgba(15,39,68,.10);
  --hp-shadow-lg:   0 8px 40px rgba(15,39,68,.16);
  --hp-radius:      16px;
  --hp-radius-sm:   10px;
}

/* ---------- Page Reset ---------- */
.hp-page { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--hp-text); background: var(--hp-bg); }
.hp-page *, .hp-page *::before, .hp-page *::after { box-sizing: border-box; }

/* =========================================================
   1. HERO
   ========================================================= */
.hp-hero {
  position: relative;
  background: linear-gradient(135deg, #051b33 0%, #0f2744 45%, #0a3d6b 100%);
  overflow: hidden;
  padding: 90px 0 80px;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(6,101,153,.35) 0%, transparent 65%);
  pointer-events: none;
}
.hp-hero-bg-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hp-hero-bg-circles span {
  position: absolute;
  border-radius: 50%;
  background: rgba(14,165,233,.08);
}
.hp-hero-bg-circles span:nth-child(1) { width: 520px; height: 520px; right: -120px; top: -80px; }
.hp-hero-bg-circles span:nth-child(2) { width: 320px; height: 320px; right: 160px; bottom: -60px; background: rgba(245,158,11,.06); }
.hp-hero-bg-circles span:nth-child(3) { width: 180px; height: 180px; left: 5%; top: 20%; background: rgba(14,165,233,.05); }

.hp-hero-inner { position: relative; z-index: 2; }

.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,158,11,.18);
  border: 1px solid rgba(245,158,11,.4);
  color: var(--hp-yellow);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: .03em;
}
.hp-hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--hp-yellow);
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

.hp-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 18px;
}
.hp-hero-title .highlight {
  background: linear-gradient(90deg, #f59e0b, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Search bar */
.hp-search-wrap {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px;
  padding: 7px 7px 7px 20px;
  display: flex;
  align-items: center;
  max-width: 560px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 36px;
}
.hp-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none !important;
  color: #fff;
  font-size: 1rem;
  padding: 6px 0;
  min-width: 0;
}
.hp-search-input::placeholder { color: rgba(255,255,255,.55); }
.hp-search-input:focus { outline: none; box-shadow: none; }

/* jQuery UI autocomplete dropdown positioning fix */
.hp-search-wrap { position: relative; }
.ui-autocomplete {
  z-index: 9999 !important;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 10px !important;
  border: 1px solid var(--hp-border) !important;
  box-shadow: var(--hp-shadow-lg) !important;
  background: #fff !important;
  font-size: .93rem;
}
.ui-autocomplete .ui-menu-item-wrapper {
  padding: 10px 16px !important;
  color: var(--hp-text) !important;
  cursor: pointer;
}
.ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
.ui-autocomplete .ui-menu-item-wrapper:hover {
  background: rgba(6,101,153,.08) !important;
  color: var(--hp-blue) !important;
  border: none !important;
  border-radius: 0 !important;
}
.hp-search-btn {
  background: linear-gradient(135deg, var(--hp-yellow), var(--hp-yellow-dark));
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 11px 28px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.hp-search-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(245,158,11,.5); }

/* Hero CTA buttons */
.hp-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hp-btn-primary {
  background: linear-gradient(135deg, var(--hp-blue), #0a86c8);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(6,101,153,.35);
}
.hp-btn-primary:hover { color:#fff; background: linear-gradient(135deg, #0a86c8, var(--hp-blue)); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(6,101,153,.45); }
.hp-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 8px;
  padding: 11px 26px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}
.hp-btn-outline:hover { color:#fff; border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.1); }

/* Hero stat pills */
.hp-hero-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.hp-hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 10px 18px;
}
.hp-hero-stat-icon { font-size: 1.5rem; }
.hp-hero-stat-num { font-size: 1.2rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hp-hero-stat-label { font-size: .75rem; color: rgba(255,255,255,.65); }

@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ── Hero Right Panel ──────────────────────────────────────────── */
.hp-hero-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  padding: 22px;
  width: 100%;
  max-width: 500px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: floatY 4s ease-in-out infinite;
}

.hp-hero-panel-ribbon {
  background: rgba(245,158,11,.16);
  border: 1px solid rgba(245,158,11,.35);
  color: #fbbf24;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  padding: 7px 14px;
  border-radius: 8px;
}
.hp-hero-panel-ribbon i { margin-right: 5px; }

.hp-hero-panel-imgcard {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
}
.hp-hero-panel-imgcard img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.hp-hero-panel-imgcard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,20,40,.75) 100%);
  border-radius: 14px;
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
}
.hp-hero-panel-imgcard-tag {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}
.hp-hero-panel-imgcard-tag i { margin-right: 4px; color: #f87171; }

.hp-hero-panel-stats {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.hp-hero-panel-stat { display: flex; align-items: center; gap: 10px; }
.hp-hero-panel-stat-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hp-hero-panel-stat strong { display: block; font-size: 1.1rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hp-hero-panel-stat span { font-size: .72rem; color: rgba(255,255,255,.6); }
.hp-hero-panel-stat-div { width: 1px; height: 36px; background: rgba(255,255,255,.14); }

.hp-hero-panel-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hp-hero-panel-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.hp-hero-panel-feat-icon {
  width: 22px; height: 22px;
  background: rgba(74,222,128,.2);
  color: #4ade80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  flex-shrink: 0;
}

.hp-hero-panel-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 10px 14px;
}
.hp-hero-panel-rating-stars { font-size: 1.1rem; color: #fbbf24; letter-spacing: 2px; }
.hp-hero-panel-rating strong { font-size: .9rem; color: #fff; font-weight: 700; }
.hp-hero-panel-rating span { font-size: .75rem; color: rgba(255,255,255,.55); }

/* Wave divider */
.hp-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}
.hp-wave svg { display: block; width: 100%; }

/* =========================================================
   2. PARTNER LOGOS MARQUEE
   ========================================================= */
.hp-partners-section { background: #fff; padding: 32px 0; border-bottom: 1px solid var(--hp-border); }
.hp-partners-label { font-size: .8rem; font-weight: 700; color: var(--hp-muted); letter-spacing: .1em; text-transform: uppercase; text-align: center; margin-bottom: 20px; }
.hp-partners-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.hp-partners-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  width: max-content;
  align-items: center;
}
.hp-partners-track.marquee-run {
  animation: hpMarquee 28s linear infinite;
}
.hp-partners-track:hover { animation-play-state: paused; }
@keyframes hpMarquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.hp-partner-logo {
  flex: 0 0 auto;
  height: 52px;
  display: flex;
  align-items: center;
  /* filter: grayscale(1) opacity(.6); */
  transition: filter .25s;
}
.hp-partner-logo:hover { filter: grayscale(0) opacity(1); }
.hp-partner-logo img { height: 100%; max-width: 130px; object-fit: contain; }

/* =========================================================
   3. SECTION HEADINGS
   ========================================================= */
.hp-section { padding: 72px 0; }
.hp-section-sm { padding: 48px 0; }
.hp-section-dark { background: var(--hp-navy); color: #fff; }
.hp-section-alt { background: var(--hp-bg); }
.hp-section-white { background: #fff; }

.hp-section-head { text-align: center; margin-bottom: 48px; }
.hp-section-head .label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hp-blue);
  background: rgba(6,101,153,.08);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.hp-section-dark .hp-section-head .label { color: var(--hp-yellow); background: rgba(245,158,11,.1); }
.hp-section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--hp-navy);
  line-height: 1.25;
  margin: 0 0 12px;
}
.hp-section-dark .hp-section-head h2 { color: #fff; }
.hp-section-head p { font-size: 1rem; color: var(--hp-muted); max-width: 560px; margin: 0 auto; }
.hp-section-dark .hp-section-head p { color: rgba(255,255,255,.65); }

/* =========================================================
   4. WHY CHOOSE US CARDS.hp-step-line
   ========================================================= */
.hp-why-card {
  background: var(--hp-card-bg);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 30px 24px;
  text-align: center;
  transition: all .25s;
  height: 100%;
}
.hp-why-card:hover { transform: translateY(-6px); box-shadow: var(--hp-shadow-lg); border-color: var(--hp-accent); }
.hp-why-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin: 0 auto 16px;
}
.hp-why-card h3 { font-size: 1rem; font-weight: 700; color: var(--hp-navy); margin-bottom: 8px; }
.hp-why-card p { font-size: .88rem; color: var(--hp-muted); margin: 0; line-height: 1.6; }

/* =========================================================
   5. STATS BANNER
   ========================================================= */
.hp-stats-banner {
  background: linear-gradient(135deg, var(--hp-navy) 0%, var(--hp-navy-mid) 100%);
  padding: 52px 0;
}
.hp-stat-item { text-align: center; }
.hp-stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--hp-yellow);
  line-height: 1.1;
  display: block;
}
.hp-stat-label { font-size: .9rem; color: rgba(255,255,255,.72); margin-top: 4px; }
.hp-stat-divider {
  width: 1px;
  background: rgba(255,255,255,.15);
  align-self: stretch;
  margin: 0 8px;
}

/* =========================================================
   6. TOP COURSES
   ========================================================= */
.hp-course-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--hp-navy);
  text-decoration: none;
  transition: all .2s;
  margin: 5px;
}
.hp-course-chip:hover { background: var(--hp-blue); color: #fff; border-color: var(--hp-blue); transform: translateY(-2px); }
.hp-course-chip .chip-icon { font-size: 1rem; }

/* =========================================================
   7. TOP COLLEGES TABS
   ========================================================= */
/* ── Dept tabs: single-line scroll row ─────────────────────────── */
.hp-dept-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  position: relative;
}

.hp-dept-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--hp-border);
  color: var(--hp-navy);
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  z-index: 2;
}
.hp-dept-arrow:hover {
  background: var(--hp-blue);
  color: #fff;
  border-color: var(--hp-blue);
  box-shadow: 0 4px 14px rgba(6,101,153,.3);
}

.hp-dept-tabs-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;   /* IE/Edge */
  padding: 4px 2px;
  flex: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.hp-dept-tabs-scroll::-webkit-scrollbar { display: none; }

.hp-dept-tab {
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid var(--hp-border);
  border-radius: 40px;
  padding: 8px 20px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--hp-muted);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.hp-dept-tab.active,
.hp-dept-tab:hover {
  background: var(--hp-blue);
  color: #fff;
  border-color: var(--hp-blue);
  box-shadow: 0 3px 10px rgba(6,101,153,.25);
}

.hp-college-card {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  overflow: hidden;
  transition: all .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hp-college-card:hover { transform: translateY(-5px); box-shadow: var(--hp-shadow-lg); border-color: #cbd5e1; }
.hp-college-card-img { height: 170px; overflow: hidden; position: relative; }
.hp-college-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hp-college-card:hover .hp-college-card-img img { transform: scale(1.05); }
.hp-college-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--hp-yellow);
  color: var(--hp-navy);
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.hp-college-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.hp-college-card-body h4 { font-size: .95rem; font-weight: 700; color: var(--hp-navy); margin-bottom: 8px; line-height: 1.35; }
.hp-college-card-meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.hp-college-card-meta span { font-size: .78rem; color: var(--hp-muted); display: flex; align-items: center; gap: 5px; }
.hp-college-card-meta span i { color: var(--hp-blue); width: 14px; }
.hp-college-card-actions { display: flex; gap: 8px; margin-top: auto; }
.hp-college-card-actions .btn-apply {
  flex: 1;
  background: var(--hp-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  text-align: center;
  text-decoration: none;
}
.hp-college-card-actions .btn-apply:hover { background: #0a86c8; color: #fff; }
.hp-college-card-actions .btn-brochure {
  background: transparent;
  color: var(--hp-blue);
  border: 1.5px solid var(--hp-blue);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.hp-college-card-actions .btn-brochure:hover { background: var(--hp-blue); color: #fff; }

/* =========================================================
   8. HOW IT WORKS
   ========================================================= */

/* Outer wrapper — position:relative so the line % references THIS element's width,
   not the Bootstrap row (which has negative gutter margins) */
.hp-steps-outer {
  position: relative;
}

.hp-step-line {
  position: absolute;
  /* center of col-1 to center of col-4 in a 4-column grid:
     each col is 25%, so centers are at 12.5% and 87.5% */
  top: 59px;               /* half of the 72px circle */
  left: calc(12.5% + 0px);
  right: calc(12.5% + 0px);
  height: 2px;
  background: linear-gradient(90deg, var(--hp-blue), var(--hp-accent));
  z-index: 0;
  border-radius: 2px;
}

.hp-step-card { text-align: center; position: relative; z-index: 1; padding: 0 12px; }
.hp-step-num {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--hp-blue), var(--hp-accent));
  color: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(6,101,153,.35);
  position: relative;
}
.hp-step-num::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 2px dashed rgba(6,101,153,.3);
  border-radius: 50%;
}
.hp-step-card h4 { font-size: 1rem; font-weight: 700; color: var(--hp-navy); margin-bottom: 8px; }
.hp-step-card p { font-size: .86rem; color: var(--hp-muted); max-width: 200px; margin: 0 auto; line-height: 1.6; }

/* =========================================================
   9. CTA STRIP
   ========================================================= */
.hp-cta-strip {
  background: linear-gradient(135deg, var(--hp-blue) 0%, #0a3d6b 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hp-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hp-cta-strip h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: #fff; margin-bottom: 14px; position: relative; }
.hp-cta-strip p { font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: 30px; position: relative; }
.hp-btn-cta {
  background: var(--hp-yellow);
  color: var(--hp-navy);
  border: none;
  border-radius: 10px;
  padding: 15px 38px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all .2s;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.hp-btn-cta:hover { background: var(--hp-yellow-dark); color: var(--hp-navy); transform: translateY(-2px); }
.hp-btn-cta-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 10px;
  padding: 13px 36px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all .2s;
  position: relative;
  margin-left: 14px;
}
.hp-btn-cta-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }

/* =========================================================
   10. BLOGS
   ========================================================= */

/* Prevent slides from overflowing the viewport on mobile */
.hp-blogs-swiper,
.hp-testi-swiper {
  overflow: hidden !important;
  width: 100%;
}

/* Each slide stretches to hold the card height */
.hp-blogs-swiper .swiper-slide,
.hp-testi-swiper .swiper-slide {
  height: auto;
  display: flex;
}

/* Space below swiper for pagination dots */
.hp-blogs-swiper,
.hp-testi-swiper {
  padding-bottom: 40px !important;
}
.hp-blogs-swiper .swiper-pagination,
.hp-testi-swiper .swiper-pagination {
  bottom: 0 !important;
}

.hp-blog-card {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  overflow: hidden;
  transition: all .25s;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.hp-blog-card:hover { transform: translateY(-5px); box-shadow: var(--hp-shadow-lg); border-color: #cbd5e1; }
.hp-blog-card .hp-blog-img-wrap { overflow: hidden; flex-shrink: 0; }
.hp-blog-card img { width: 100%; height: 190px; object-fit: fill; transition: transform .4s; display: block; }
.hp-blog-card:hover img { transform: scale(1.04); }
.hp-blog-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; min-height: 180px;}
.hp-blog-date { font-size: .75rem; color: var(--hp-blue); font-weight: 600; margin-bottom: 8px; }
.hp-blog-card-body h4 { font-size: .95rem; font-weight: 700; color: var(--hp-navy); margin: 0; line-height: 1.45; }
.hp-blog-read { margin-top: auto; padding-top: 14px; font-size: .82rem; font-weight: 600; color: var(--hp-blue); display: flex; align-items: center; gap: 5px; }

@media (max-width: 575px) {
  .hp-blog-card img { height: 160px; }
  .hp-blog-card-body { padding: 14px; }
  .hp-blog-card-body h4 { font-size: .88rem; }
}

/* =========================================================
   11. TESTIMONIALS
   ========================================================= */
.hp-testi-card {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 24px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.hp-testi-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 12px; }
.hp-testi-text { font-size: .9rem; color: var(--hp-text); line-height: 1.7; margin-bottom: 18px; flex: 1; font-style: italic; }
.hp-testi-author { display: flex; align-items: center; gap: 12px; }
.hp-testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hp-blue), var(--hp-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.hp-testi-name { font-weight: 700; font-size: .9rem; color: var(--hp-navy); }
.hp-testi-location { font-size: .78rem; color: var(--hp-muted); }

@media (max-width: 575px) {
  .hp-testi-card { padding: 18px 16px; }
  .hp-testi-text { font-size: .85rem; }
}

/* =========================================================
   12. ENQUIRY INLINE FORM
   ========================================================= */
.hp-enquiry-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f4fd 100%);
  padding: 72px 0;
}
.hp-eq-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--hp-shadow-lg);
  display: flex;
}
.hp-eq-left {
  background: linear-gradient(135deg, var(--hp-navy), var(--hp-blue));
  padding: 44px 36px;
  flex: 0 0 42%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hp-eq-left::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  right: -80px;
  bottom: -80px;
}
.hp-eq-left h3 { font-size: 1.55rem; font-weight: 800; color: #fff; margin-bottom: 12px; position: relative; }
.hp-eq-left p { font-size: .9rem; color: rgba(255,255,255,.75); margin-bottom: 28px; position: relative; line-height: 1.65; }
.hp-eq-left ul { list-style: none; padding: 0; margin: 0; position: relative; }
.hp-eq-left ul li { font-size: .88rem; color: rgba(255,255,255,.88); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.hp-eq-left ul li i { color: #4ade80; font-size: .95rem; }
.hp-eq-right { flex: 1; padding: 40px 36px; }
.hp-eq-right h4 { font-size: 1.3rem; font-weight: 700; color: var(--hp-navy); margin-bottom: 22px; }
.hp-eq-form .form-label { font-size: .83rem; font-weight: 600; color: var(--hp-navy); margin-bottom: 5px; }
.hp-eq-form .form-control {
  border: 1.5px solid var(--hp-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .93rem;
  transition: border-color .2s, box-shadow .2s;
}
.hp-eq-form .form-control:focus { border-color: var(--hp-blue); box-shadow: 0 0 0 3px rgba(6,101,153,.12); outline: none; }
.hp-eq-form .btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--hp-blue), #0a86c8);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  margin-top: 4px;
}
.hp-eq-form .btn-submit:hover { background: linear-gradient(135deg, #0a86c8, var(--hp-blue)); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(6,101,153,.35); }

@media (max-width: 767px) {
  .hp-eq-card { flex-direction: column; }
  .hp-eq-left { flex: unset; padding: 28px 22px; }
  .hp-eq-right { padding: 24px 22px; }
}

/* =========================================================
   13. RESPONSIVE
   ========================================================= */

/* Prevent any section from overflowing its width */
.hp-page section,
.hp-page .hp-section,
.hp-page .hp-stats-banner,
.hp-page .hp-cta-strip,
.hp-page .hp-enquiry-section,
.hp-page .hp-partners-section {
  max-width: 100vw;
  overflow-x: hidden;
}

@media (max-width: 991px) {
  .hp-hero { min-height: auto; padding: 80px 0 110px; }
  .hp-hero-panel { max-width: 100%; }
}
@media (max-width: 767px) {
  .hp-hero { padding: 70px 0 90px; }

  /* ── Centre all hero content on mobile ── */
  .hp-hero-inner { text-align: center; }
  .hp-hero-badge { margin-left: auto; margin-right: auto; }
  .hp-hero-subtitle { margin-left: auto; margin-right: auto; }
  .hp-search-wrap { margin-left: auto; margin-right: auto; max-width: 100%; }
  .hp-hero-btns {
    gap: 10px;
    justify-content: center;
  }
  .hp-hero-btns .hp-btn-primary,
  .hp-hero-btns .hp-btn-outline {
    flex: 1;
    justify-content: center;
    max-width: 220px;
  }
  .hp-hero-stats {
    gap: 10px;
    justify-content: center;
  }
  .hp-hero-stat { padding: 8px 12px; }
  .hp-hero-stat-num { font-size: 1rem; }
  .hp-hero-stat-label { font-size: .68rem; }

  .hp-section { padding: 48px 0; }
  .hp-section-head { margin-bottom: 32px; }
  .hp-section-head h2 { font-size: 1.4rem; }
  .hp-step-card { margin-bottom: 28px; }
  .hp-btn-cta-ghost { margin-left: 0; margin-top: 10px; display: inline-flex; }
  .hp-cta-strip { padding: 44px 0; }
  .hp-stats-banner { padding: 36px 0; }
  .hp-stat-num { font-size: 2rem; }
}
@media (max-width: 575px) {
  .hp-hero-badge { font-size: .74rem; padding: 4px 12px; }
  .hp-hero-title { font-size: 1.75rem; }
  .hp-hero-subtitle { font-size: .95rem; max-width: 100%; }
  .hp-hero-stats { flex-wrap: wrap; gap: 8px; justify-content: center; }
  .hp-hero-btns { flex-direction: column; align-items: center; gap: 12px; }
  .hp-hero-btns .hp-btn-primary,
  .hp-hero-btns .hp-btn-outline {
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }
  /* CTA strip buttons stack on very small screens */
  .hp-cta-strip .hp-btn-cta,
  .hp-cta-strip .hp-btn-cta-ghost {
    display: flex;
    width: 100%;
    max-width: 280px;
    justify-content: center;
    margin: 0 auto;
  }
  .hp-cta-strip > .container > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hp-search-wrap { padding: 6px 6px 6px 14px; }
  .hp-search-btn { padding: 10px 16px; font-size: .85rem; }
  .hp-section { padding: 36px 0; }
  .hp-why-card { padding: 20px 14px; }
  .hp-why-icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .hp-stat-num { font-size: 1.7rem; }
  .hp-dept-tab { padding: 6px 14px; font-size: .8rem; }
  .hp-dept-arrow { width: 32px; height: 32px; font-size: .78rem; }
}

/* =========================================================
   14. SECTION DIVIDERS
   ========================================================= */
.hp-divider-wave svg { display: block; }

/* =========================================================
   15. SWIPER OVERRIDES FOR HP
   ========================================================= */
.hp-page .swiper-pagination-bullet { background: var(--hp-border); opacity: 1; }
.hp-page .swiper-pagination-bullet-active { background: var(--hp-blue); }

/* =========================================================
   16. ADMISSION ALERT TICKER
   ========================================================= */
.hp-ticker {
  background: var(--hp-navy);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 42px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hp-ticker-label {
  flex-shrink: 0;
  background: var(--hp-yellow);
  color: var(--hp-navy);
  font-size: .78rem;
  font-weight: 800;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: .04em;
  white-space: nowrap;
  text-transform: uppercase;
}
.hp-ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}
.hp-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  width: max-content;
}
.hp-ticker-track.ticker-run {
  animation: hpTicker 34s linear infinite;
}
.hp-ticker-track:hover { animation-play-state: paused; }
@keyframes hpTicker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.hp-ticker-track span {
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  padding: 0 32px;
  position: relative;
}
.hp-ticker-track span::after {
  content: '•';
  position: absolute;
  right: 0;
  color: rgba(255,255,255,.3);
}

/* =========================================================
   17. EXPLORE BY STREAM CARDS
   ========================================================= */
.hp-stream-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--stream-grad, linear-gradient(135deg,#066599,#0ea5e9));
  border-radius: var(--hp-radius);
  padding: 28px 12px 22px;
  text-decoration: none;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.hp-stream-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .25s;
  border-radius: inherit;
}
.hp-stream-card:hover::before { background: rgba(0,0,0,.12); }
.hp-stream-card:hover { transform: translateY(-6px); box-shadow: var(--hp-shadow-lg); }
.hp-stream-icon { font-size: 2.2rem; margin-bottom: 12px; line-height: 1; position: relative; z-index: 1; }
.hp-stream-title {
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.hp-stream-sub {
  font-size: .72rem;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.hp-stream-arrow {
  margin-top: 12px;
  width: 28px; height: 28px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .75rem;
  position: relative;
  z-index: 1;
  transition: background .2s;
}
.hp-stream-card:hover .hp-stream-arrow { background: rgba(255,255,255,.35); }

@media (max-width: 575px) {
  .hp-stream-card { padding: 20px 8px 16px; }
  .hp-stream-icon { font-size: 1.8rem; }
  .hp-stream-title { font-size: .85rem; }
  .hp-stream-sub { font-size: .68rem; }
}

/* =========================================================
   18. TOP EXAMS CHIPS
   ========================================================= */
.hp-exam-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(var(--exam-color-rgb, 6,101,153), .06);
  border: 1.5px solid var(--exam-color, var(--hp-blue));
  color: var(--exam-color, var(--hp-blue));
  border-radius: 40px;
  padding: 9px 20px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  margin: 5px;
}
.hp-exam-chip:hover {
  background: var(--exam-color, var(--hp-blue));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.hp-exam-chip span { font-size: 1.05rem; }

/* =========================================================
   19. FAQ ACCORDION
   ========================================================= */
.hp-faq-list { display: flex; flex-direction: column; gap: 10px; }
.hp-faq-item {
  background: #fff;
  border: 1.5px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.hp-faq-item.open {
  border-color: var(--hp-blue);
  box-shadow: 0 4px 20px rgba(6,101,153,.1);
}
.hp-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-size: .95rem;
  font-weight: 700;
  color: var(--hp-navy);
  transition: color .2s;
}
.hp-faq-q:hover { color: var(--hp-blue); }
.hp-faq-item.open .hp-faq-q { color: var(--hp-blue); }
.hp-faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--hp-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  color: var(--hp-muted);
  transition: all .25s;
}
.hp-faq-item.open .hp-faq-icon {
  background: var(--hp-blue);
  color: #fff;
  transform: rotate(180deg);
}
.hp-faq-a {
  padding: 0 20px 18px;
  border-top: 1px solid var(--hp-border);
}
.hp-faq-a p {
  font-size: .9rem;
  color: var(--hp-muted);
  line-height: 1.75;
  margin: 14px 0 0;
}
@media (max-width: 575px) {
  .hp-faq-q { font-size: .88rem; padding: 15px 16px; }
  .hp-faq-a { padding: 0 16px 16px; }
}
