/* ============================================================
   So-Rig Institute — Homepage CSS v5
   Sections: About, Programs, Why-Choose, Steps,
             Testimonials, FAQ, CTA, Blog Cards
   Loaded only on the front page.
   ============================================================ */

/* ──── HOMEPAGE COLOUR TOKENS ──── */
:root {
  --hp-blue:       #0b56c7;
  --hp-blue-lt:    #dbeafe;
  --hp-blue-md:    #2f7ae2;
  --hp-emerald:    #059669;
  --hp-emerald-lt: #d1fae5;
  --hp-violet:     #7c3aed;
  --hp-violet-lt:  #ede9fe;
  --hp-amber:      #d97706;
  --hp-amber-lt:   #fef3c7;
  --hp-rose:       #e11d48;
  --hp-cream:      #f8fbff;
}

/* ──────────────────────────────────────────────────────────────
   ABOUT SECTION — Stats Strip
────────────────────────────────────────────────────────────── */
.about-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  margin: 40px 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(11,86,199,.12);
  box-shadow: 0 8px 28px rgba(11,86,199,.07);
}
.about-stat-item {
  flex: 1 1 0;
  min-width: 140px;
  padding: 28px 20px;
  text-align: center;
  background: #fff;
  border-right: 1px solid rgba(11,86,199,.08);
  transition: background 300ms ease;
}
.about-stat-item:last-child { border-right: none; }
.about-stat-item:hover { background: var(--hp-cream, #f8fbff); }
.about-stat-num {
  display: block;
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-item:nth-child(4n+1) .about-stat-num { color: var(--hp-blue,    #0b56c7); }
.about-stat-item:nth-child(4n+2) .about-stat-num { color: var(--hp-emerald, #059669); }
.about-stat-item:nth-child(4n+3) .about-stat-num { color: var(--hp-violet,  #7c3aed); }
.about-stat-item:nth-child(4n+0) .about-stat-num { color: var(--hp-amber,   #d97706); }
.about-stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-500, #64748b);
  line-height: 1.4;
}
@media (max-width: 600px) {
  .about-stats {
    flex-direction: column;
    border-radius: 12px;
  }
  .about-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(11,86,199,.08);
    padding: 20px 16px;
    flex: none;
  }
  .about-stat-item:last-child { border-bottom: none; }
}

/* ──────────────────────────────────────────────────────────────
   EXPLORE PROGRAMS — hover & layout overrides
────────────────────────────────────────────────────────────── */
.explore-programs-section {
  background: linear-gradient(180deg, var(--hp-cream,#f8fbff) 0%, #fff 100%) !important;
  padding: 100px 0 110px !important;
  position: relative !important;
  overflow: hidden !important;
}
.explore-programs-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,86,199,.07) 0%, transparent 72%);
  pointer-events: none;
}
.explore-head { 
  text-align: center !important; 
  margin-bottom: 56px !important; 
  position: relative !important;
}

.explore-title, .featured-title {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.08 !important;
  color: var(--ink-900, #101828) !important;
  margin-bottom: 20px !important;
}
.featured-title span, .section-title span, .about-h2 span { 
  display: block; 
}
.explore-title span {
  display: inline;
}
.section-title span, .about-h2 span { 
  color: var(--hp-blue, #0b56c7) !important; 
}
.featured-title span:last-child, .explore-title span:last-child {
  color: var(--hp-blue, #0b56c7) !important;
}
.featured-title span:first-child, .explore-title span:first-child {
  color: var(--ink-900, #101828) !important;
}

/* ── Premium Card Style ── */
.premium-card {
  background: #fff !important;
  border-radius: 20px !important;
  padding: 32px !important;
  border: 1px solid rgba(0,0,0,0.05) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.premium-card:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 20px 50px rgba(11, 86, 199, 0.12) !important;
  border-color: rgba(11, 86, 199, 0.1) !important;
}

.premium-card h3, .premium-card h4 {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink-900);
}

.premium-card p {
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.6;
}

.explore-subtitle, .featured-lead {
  font-size: 1.15rem !important;
  color: var(--ink-500, #64748b) !important;
  max-width: 680px !important;
  margin: 0 auto 32px !important;
  line-height: 1.6 !important;
}

.explore-head-cta {
  text-align: right !important;
  margin-top: -20px !important;
  position: relative !important;
  z-index: 2 !important;
}

.explore-cta-link {
  font-weight: 700 !important;
  color: var(--hp-blue, #0b56c7) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 1rem !important;
  transition: gap 0.3s ease, color 0.3s ease !important;
}
.explore-cta-link:hover {
  gap: 15px !important;
  color: var(--hp-blue-md, #2f7ae2) !important;
}



.ep-card { 
  border-radius: 20px !important; 
  overflow: hidden !important; 
  transition: transform 380ms ease, box-shadow 380ms ease, border-color 380ms ease !important; 
  border: 1px solid rgba(0,0,0,0.06) !important;
}
.ep-card:hover { 
  transform: translateY(-10px) !important; 
  box-shadow: 0 32px 80px rgba(11,86,199,0.18) !important; 
  border-color: transparent !important;
}

/* ── Gradient flood for Explore cards ── */
.ep-card__body {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.ep-card__body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--hp-blue, #0b56c7) 0%, rgba(0,0,0,0.4) 100%);
  opacity: 0;
  transition: opacity 380ms ease;
  z-index: -1;
  pointer-events: none;
}
.ep-card:hover .ep-card__body::before { opacity: 1; }
.ep-card:hover .ep-card__title { color: #fff !important; }
.ep-card:hover .ep-card__text { color: rgba(255,255,255,0.8) !important; }
.ep-card:hover .ep-card__icon i { color: #fff !important; }
.ep-card:hover .ep-card__cta { color: #fff !important; }


/* ──────────────────────────────────────────────────────────────
   WHY CHOOSE — 2 × 2 Feature Grid
────────────────────────────────────────────────────────────── */
.why-choose-section {
  background: var(--cream, #f8fbff);
  padding: 100px 0 110px;
  overflow: hidden;
  position: relative;
}
.why-choose-section::before,
.why-choose-section::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.why-choose-section::before {
  top: -100px; left: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(47,122,226,.13) 0%, transparent 72%);
}
.why-choose-section::after {
  bottom: -140px; right: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(11,86,199,.08) 0%, transparent 74%);
}

.wc-head {
  text-align: center;
  margin-bottom: 64px;
}
.wc-head-title {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink-900, #101828);
  line-height: 1.1;
  margin: 0 0 16px;
}
.wc-head-title span { color: var(--blue-700, #0b56c7); }
.wc-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-700, #334155);
  max-width: 640px;
  margin: 0 auto;
}

.wc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Cards show background images at rest, then switch to color overlay on hover */
.wc-feature {
  border-radius: 20px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  background-image: var(--card-bg, none);
  background-size: cover;
  background-position: center;
  background-color: #0b2e5e;
  border: 1px solid rgba(16,24,40,.10);
  cursor: default;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  transition: transform 380ms cubic-bezier(.25,.46,.45,.94), box-shadow 380ms ease;
}
/* Light black shadow layer at rest so image is visible and text stays readable */
.wc-feature::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.52) 100%);
  z-index: 0; border-radius: 20px;
  transition: opacity 380ms ease;
  pointer-events: none;
}
/* Color style appears on hover */
.wc-feature::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--card-accent, #0b56c7) 0%, rgba(0,0,0,0.60) 100%);
  opacity: 0;
  z-index: 0; border-radius: 20px;
  transition: opacity 380ms ease;
  pointer-events: none;
}
.wc-feature:hover { transform: translateY(-10px); box-shadow: 0 32px 80px rgba(0,0,0,0.35); border-color: transparent; }
.wc-feature:hover::before { opacity: 0; }
.wc-feature:hover::after  { opacity: 1; }

/* Accent top-border strip */
.wc-feature__accent-bar {
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--card-accent, #0b56c7);
  z-index: 1;
  border-radius: 20px 20px 0 0;
  transition: opacity 380ms ease;
}
.wc-feature:hover .wc-feature__accent-bar { opacity: 0; }

.wc-feature__inner { position: relative; z-index: 1; }

.wc-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,.20);
  border: 1.5px solid rgba(255,255,255,.45);
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: background 380ms ease, border-color 380ms ease, transform 380ms cubic-bezier(.34,1.56,.64,1);
}
.wc-feature:hover .wc-feature__icon {
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.6);
  transform: scale(1.1) rotate(8deg);
}

.wc-feature__title {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
}

.wc-feature__text {
  font-size: 0.98rem;
  line-height: 1.76;
  color: rgba(255,255,255,.92);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* ──────────────────────────────────────────────────────────────
   PROCESS STEPS — Numbered Timeline
────────────────────────────────────────────────────────────── */
.steps-section {
  background: #fff;
  padding: 100px 0 110px;
}

.steps-head {
  text-align: center;
  margin-bottom: 72px;
}
.steps-head-title {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink-900, #101828);
  line-height: 1.12;
  margin: 0 0 14px;
}
.steps-head-title span {
  color: var(--blue-700, #0b56c7);
}
.steps-subtitle {
  font-size: 1.05rem;
  color: var(--ink-700, #334155);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.steps-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
/* horizontal connector line — tri-colour */
.steps-track::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(90deg, #0b56c7 0%, #059669 50%, #7c3aed 100%);
  z-index: 0;
  pointer-events: none;
}

.step {
  padding: 0 28px;
  text-align: center;
  position: relative;
  z-index: 1;
}
/* Per-step accent colours */
.step:nth-child(1) { --step-color: #0b56c7; --step-shadow: rgba(11,86,199,.32); }
.step:nth-child(2) { --step-color: #059669; --step-shadow: rgba(5,150,105,.32); }
.step:nth-child(3) { --step-color: #7c3aed; --step-shadow: rgba(124,58,237,.32); }

.step__bubble {
  position: relative;
  width: 88px; height: 88px;
  margin: 0 auto 28px;
}

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}
.step__ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--step-color, #0b56c7);
  opacity: .35;
  animation: pulse-ring 2.8s cubic-bezier(0,0,.2,1) infinite;
}
.step:nth-child(2) .step__ring { animation-delay: 0.9s; }
.step:nth-child(3) .step__ring { animation-delay: 1.8s; }

.step__circle {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--step-color, #0b56c7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px var(--step-shadow, rgba(11,86,199,.32));
  transition: transform 360ms cubic-bezier(.34,1.56,.64,1), box-shadow 360ms ease;
}
.step:hover .step__circle {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 22px 56px var(--step-shadow, rgba(11,86,199,.4));
}
.step__num {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.step__icon-wrap {
  width: 52px; height: 52px;
  margin: 0 auto 20px;
  background: rgba(255,255,255,.7);
  border: 1.5px solid var(--step-color, #0b56c7);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--step-color, #0b56c7);
  transition: background 360ms ease, color 360ms ease,
              border-color 360ms ease,
              transform 360ms cubic-bezier(.34,1.56,.64,1);
}
.step:hover .step__icon-wrap {
  background: var(--step-color, #0b56c7);
  border-color: transparent;
  color: #fff;
  transform: scale(1.12) rotate(8deg);
}

.step__title {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink-900, #101828);
  margin: 0 0 12px;
}
.step__text {
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--ink-500, #64748b);
  max-width: 280px;
  margin: 0 auto;
}

/* ──────────────────────────────────────────────────────────────
   TESTIMONIALS — Swiper Coverflow Carousel
────────────────────────────────────────────────────────────── */
.testimonials-section {
  background: #fff;
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,122,226,.1) 0%, transparent 70%);
  pointer-events: none;
}

.testi-head {
  text-align: center;
  margin-bottom: 56px;
}
.testi-head-title {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink-900, #101828);
  margin: 0 0 14px;
}
.testi-head-title span {
  color: var(--blue-700, #0b56c7);
}
.testi-subtitle {
  font-size: 1.05rem;
  color: var(--ink-700, #334155);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Hide grid */
.testi-grid { display: none; }

/* Swiper wrapper — responsive multi-column */
.testi-swiper-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 48px auto 0;
  padding: 0 20px;
}
.testi-swiper {
  width: 100%;
}
.testi-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}

.swiper-slide:nth-child(3n+1) .testi-card { --step-color: #0b56c7; --step-shadow: rgba(11,86,199,.2); }
.swiper-slide:nth-child(3n+2) .testi-card { --step-color: #059669; --step-shadow: rgba(5,150,105,.2); }
.swiper-slide:nth-child(3n+3) .testi-card { --step-color: #7c3aed; --step-shadow: rgba(124,58,237,.2); }

.testi-card {
  background: #fff;
  border: 1.5px solid var(--step-color, #0b56c7);
  border-radius: 14px;
  padding: 60px 32px 36px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  box-shadow: 0 12px 36px var(--step-shadow, rgba(11,86,199,.15));
  text-align: center;
  transition: transform 360ms cubic-bezier(.34,1.56,.64,1), box-shadow 360ms ease, background 360ms ease, border-color 360ms ease;
  width: 100%;
  flex: 1 1 100%;
  max-width: 100%;
}
.testi-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 56px var(--step-shadow, rgba(11,86,199,.3));
}

.testi-avatar {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 4px solid var(--step-color, #0b56c7);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 10;
  transition: border-color 0.3s ease;
}
.testi-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.testi-quote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
  margin: 0 0 24px;
  flex: 1;
}

.testi-quote-icon {
  color: var(--step-color, #0b56c7);
  font-size: 1.2rem;
  margin: 0 5px;
  vertical-align: text-top;
}

/* Author row */
.testi-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Pagination bullets */
.testi-pagination {
  text-align: center;
  margin-top: 28px;
}
.testi-pagination .swiper-pagination-bullet {
  width: 8px; height: 8px;
  background: #cbd5e1;
  opacity: 1;
  margin: 0 5px;
  transition: width 0.3s ease, background 0.3s ease;
  border-radius: 999px;
}
.testi-pagination .swiper-pagination-bullet-active {
  width: 28px;
  background: var(--blue-700, #0b56c7);
}

/* Prev/Next buttons */
.testi-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(47,122,226,.2);
  background: #fff;
  color: var(--blue-700, #0b56c7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15,23,42,.1);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  font-size: 1.2rem;
}
.testi-nav-btn:hover {
  background: var(--blue-700, #0b56c7);
  color: #fff;
  border-color: var(--blue-700, #0b56c7);
  transform: translateY(-50%) scale(1.08);
}
.testi-prev { left: 0; }
.testi-next { right: 0; }

/* Responsive breakpoints for nav button positioning */
@media (max-width: 1024px) {
  .testi-swiper-wrap {
    padding: 0 16px;
  }
  .testi-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .testi-swiper-wrap {
    padding: 0 16px;
  }
  .testi-prev { left: -8px; }
  .testi-next { right: -8px; }
  .testi-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}
.testi-name {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--step-color, #0b56c7);
}
.testi-course {
  font-size: 0.8rem;
  color: #777;
  margin-top: 0;
  display: inline-block;
}

/* ──────────────────────────────────────────────────────────────
   FAQ ACCORDION — 2-column grid
────────────────────────────────────────────────────────────── */
.faq-section {
  background: linear-gradient(180deg, var(--hp-cream,#f8fbff) 0%, #eef4fe 100%);
  padding: 100px 0 110px;
  position: relative;
}
.faq-section::before {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,86,199,.07) 0%, transparent 70%);
  pointer-events: none;
}

.faq-head {
  text-align: center;
  margin-bottom: 60px;
}
.faq-head-title {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink-900, #101828);
  margin: 0 0 14px;
}
.faq-head-title span {
  color: var(--blue-700, #0b56c7);
  display: inline;
}
.faq-subtitle {
  font-size: 1.05rem;
  color: var(--ink-700, #334155);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  gap: 16px;
}

/* ── FAQ Display Styles (controlled from Sorig Settings → Home → FAQ) ── */
.faq-grid.faq-style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1100px;
  gap: 18px;
}
@media (max-width: 768px) {
  .faq-grid.faq-style-grid { grid-template-columns: 1fr; }
}
.faq-grid.faq-style-list .faq-item {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid #e5e7eb;
}
.faq-grid.faq-style-list .faq-question {
  padding: 14px 18px;
}

.faq-item {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(11, 86, 199, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
  box-shadow: 0 12px 24px rgba(11, 86, 199, 0.08);
  border-color: rgba(11, 86, 199, 0.15);
  transform: translateY(-2px);
}

.faq-item.is-open {
  background: #ffffff;
  border-color: rgba(11, 86, 199, 0.25);
  box-shadow: 0 16px 32px rgba(11, 86, 199, 0.12);
  transform: translateY(-4px);
  border-left: 4px solid var(--hp-blue, #0b56c7);
  padding-left: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: none;
  background: none;
  text-align: left;
  font-family: var(--font-body, 'Inter', sans-serif);
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-user-select: none;
}

.faq-question:hover {
  background: rgba(11, 86, 199, 0.02);
}

.faq-item.is-open .faq-question {
  background: transparent;
}

.faq-question-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.faq-left-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--blue-700, #0b56c7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover .faq-left-icon {
  background: #e2e8f0;
  transform: scale(1.05);
}

.faq-item.is-open .faq-left-icon {
  background: linear-gradient(135deg, var(--blue-700, #0b56c7) 0%, #3b82f6 100%);
  color: #fff;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 16px rgba(11, 86, 199, 0.25);
}

.faq-q-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-900, #101828);
  line-height: 1.5;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  word-break: break-word;
  letter-spacing: -0.01em;
}

.faq-item:hover .faq-q-text {
  color: var(--blue-700, #0b56c7);
}

.faq-item.is-open .faq-q-text {
  color: var(--blue-700, #0b56c7);
  font-weight: 700;
}

.faq-right-icon {
  flex-shrink: 0;
  color: var(--ink-400, #cbd5e1);
  font-size: 1.1rem;
  transition: all 350ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 50%;
}

.faq-item:hover .faq-right-icon {
  color: var(--ink-500, #64748b);
  background: #f1f5f9;
}

.faq-item.is-open .faq-right-icon {
  transform: rotate(180deg);
  color: #fff;
  background: var(--blue-700, #0b56c7);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  /* Aligned perfectly: Question padding(24px) + Icon width(48px) + Gap(18px) = 90px */
  padding: 0 24px 28px 90px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 350ms ease, transform 350ms ease;
}

.faq-item.is-open .faq-answer {
  transition: max-height 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-answer-inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 400ms ease 100ms, transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1) 50ms;
}

.faq-answer p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-600, #475569);
  margin: 0;
  letter-spacing: 0.1px;
}

@media (max-width: 768px) {
  .faq-question {
    padding: 20px 18px;
    gap: 14px;
  }
  .faq-question-inner {
    gap: 14px;
  }
  .faq-left-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .faq-answer-inner {
    /* Aligned: Question padding(18px) + Icon width(40px) + Gap(14px) = 72px */
    padding: 0 18px 24px 72px;
  }
  .faq-q-text {
    font-size: 1.05rem;
  }
  .faq-right-icon {
    width: 24px;
    height: 24px;
    font-size: 0.95rem;
  }
}

.faq-cta {
  text-align: center;
  margin-top: 64px;
}
.faq-cta__text,
.faq-cta-text {
  margin-bottom: 18px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-600, #475569);
}

/* ──────────────────────────────────────────────────────────────
   CTA BANNER
────────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #0a1628 0%, #0b2e5e 50%, #0b56c7 100%);
  padding: 100px 0 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(47,122,226,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(11,86,199,.12) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner__kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(107,164,255,.9);
}

.cta-banner__title {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
}

.cta-banner__text {
  font-size: 1.08rem;
  line-height: 1.78;
  color: rgba(255,255,255,.78);
  margin: 0 0 44px;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* ──────────────────────────────────────────────────────────────
   HOME INSIGHTS
────────────────────────────────────────────────────────────── */
.home-insights {
  padding: 96px 0;
  background: #fff;
}

.home-insights .section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 52px;
}
.home-insights .section-head h2 {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink-900, #101828);
  margin: 0;
}
.home-insights .section-head h2 span {
  color: var(--blue-700, #0b56c7);
}
.home-insights .section-head p {
  color: var(--ink-700, #334155);
  font-size: 1.05rem;
  margin: 0;
}

.home-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #fff;
  border: 1px solid rgba(16,24,40,.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 360ms ease, box-shadow 360ms ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(15,23,42,.1); }

.blog-card .card-image {
  position: relative;
  display: block;
  overflow: hidden;
}
.blog-card .card-image img {
  width: 100%; height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 560ms ease;
}
.blog-card:hover .card-image img { transform: scale(1.06); }

.blog-card .card-image .card-image-placeholder {
  height: 220px;
  background: var(--blue-100, #e9f2ff);
}

.blog-card .card-category {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--blue-700, #0b56c7);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
}

.blog-card .card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card .card-title {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink-900, #101828);
  line-height: 1.35;
  margin: 0 0 12px;
  transition: color 280ms ease;
  display: block;
}
.blog-card .card-title:hover { color: var(--blue-700, #0b56c7); }
.blog-card .card-excerpt {
  font-size: 0.92rem;
  color: var(--ink-500, #64748b);
  line-height: 1.7;
  flex: 1;
  margin: 0 0 16px;
}

.blog-card .card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--ink-500, #64748b);
  margin-bottom: 16px;
}
.blog-card .meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-700, #0b56c7);
  transition: gap 280ms ease;
}
.blog-card .read-more:hover { gap: 12px; }

.view-all-wrap { text-align: center; margin-top: 48px; }

/* ──────────────────────────────────────────────────────────────
   RESPONSIVE — homepage sections
────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .wc-grid { grid-template-columns: 1fr; gap: 20px; }

  .steps-track { grid-template-columns: 1fr; gap: 40px; }
  .steps-track::before { display: none; }
  .step { padding: 0; }
  .step__text { max-width: 100%; }

  .testi-grid { grid-template-columns: 1fr; }

  .faq-grid { grid-template-columns: 1fr; }

  .home-insights-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .why-choose-section,
  .steps-section,
  .testimonials-section,
  .faq-section,
  .cta-banner,
  .home-insights { padding: 72px 0 80px; }

  .wc-feature { padding: 32px 26px; }
  .wc-head-title { font-size: clamp(1.8rem, 6vw, 2.6rem); }

  .steps-head-title,
  .testi-head-title,
  .faq-head-title,
  .cta-banner__title { font-size: clamp(1.8rem, 6vw, 2.6rem); }

  .testi-head-title { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .cta-banner__actions { flex-direction: column; }
  .cta-banner__actions .btn { width: 100%; max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .step__ring { animation: none !important; }
  .wc-feature,
  .testi-card,
  .blog-card,
  .step__circle,
  .step__icon-wrap { transition: none !important; }
}

/* ──────────────────────────────────────────────────────────────
   FAQ ICON — replace '+' text with a proper chevron
────────────────────────────────────────────────────────────── */
.faq-icon { font-size: 0 !important; }
.faq-icon::before {
  content: '▾';
  font-size: 1rem;
  display: block;
  line-height: 1;
  color: var(--blue-700, #0b56c7);
  transition: transform 280ms ease;
}
.faq-item.is-open .faq-icon::before { transform: rotate(-180deg); }

/* compat: old HTML uses faq-cta__text (double underscore BEM suffix) */
.faq-cta__text {
  margin-bottom: 18px;
  font-size: 1rem;
  color: var(--ink-500, #64748b);
}

/* ── Homepage cards: square corners everywhere ── */
.home .about-info-card,
.home .premium-card,
.home .wc-feature,
.home .wc-feature::before,
.home .wc-feature::after,
.home .wc-feature__accent-bar,
.home .featured-courses-section .course-card,
.home .featured-courses-section .course-card__media,
.home .featured-courses-section .course-card__body,
.home .ep-card,
.home .ep-card__media,
.home .ep-card__img,
.home .ep-card__body,
.home .blog-card,
.home .blog-card .card-image,
.home .blog-card .card-body,
.home .testi-card,
.home .faq-item,
.home .faq-grid.faq-style-list .faq-item {
  border-radius: 0 !important;
}

/* ══════════════════════════════════════════════════════════════
   FEATURED COURSES — Homepage "Programs" section
   Why-Choose-style multi-colour hover (scoped — does NOT
   affect /courses/ archive or single pages)
══════════════════════════════════════════════════════════════ */

/* ── Lift matches Why-Choose (stronger than default) ───────── */
.featured-courses-section .course-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22) !important;
  border-color: transparent !important;
}

/* ── Gradient flood overlay on the body ────────────────────── */
.featured-courses-section .course-card__body {
  position: relative;
  overflow: hidden;
}
.featured-courses-section .course-card__body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    var(--card-accent, #0b56c7) 0%,
    rgba(0, 0, 0, 0.48) 100%
  );
  opacity: 0;
  transition: opacity 380ms ease;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}
.featured-courses-section .course-card:hover .course-card__body::before {
  opacity: 1;
}

/* All body children sit above the overlay */
.featured-courses-section .course-card__body > * {
  position: relative;
  z-index: 1;
}

/* ── Text colour transitions on hover ──────────────────────── */
.featured-courses-section .course-card__title a,
.featured-courses-section .course-card__title {
  transition: color 380ms ease;
}
.featured-courses-section .course-card:hover .course-card__title a,
.featured-courses-section .course-card:hover .course-card__title {
  color: #fff !important;
}

.featured-courses-section .course-card__excerpt {
  transition: color 380ms ease;
}
.featured-courses-section .course-card:hover .course-card__excerpt {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ── Meta chips ─────────────────────────────────────────────── */
.featured-courses-section .course-meta-chip {
  transition: background 380ms ease, color 380ms ease;
}
.featured-courses-section .course-card:hover .course-meta-chip {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
}

/* ── Price ──────────────────────────────────────────────────── */
.featured-courses-section .course-price {
  transition: color 380ms ease;
}
.featured-courses-section .course-card:hover .course-price {
  color: #fff !important;
}
.featured-courses-section .course-card:hover .course-price--free {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

/* ── Footer divider ─────────────────────────────────────────── */
.featured-courses-section .course-card__foot {
  transition: border-color 380ms ease;
}
.featured-courses-section .course-card:hover .course-card__foot {
  border-top-color: rgba(255, 255, 255, 0.2) !important;
}

/* ── View Course link ───────────────────────────────────────── */
.featured-courses-section .course-card__btn {
  transition: color 380ms ease, gap 250ms ease;
}
.featured-courses-section .course-card:hover .course-card__btn {
  color: #fff !important;
}

/* ── Category + popular/featured badges fade on hover ───────── */
.featured-courses-section .course-cat-badge,
.featured-courses-section .course-badge {
  transition: opacity 380ms ease;
}
.featured-courses-section .course-card:hover .course-cat-badge,
.featured-courses-section .course-card:hover .course-badge {
  opacity: 0;
}

/* ── "Browse All Courses" CTA → plain text link, no box ──────── */
.featured-cta .btn,
.featured-cta .btn:hover,
.featured-cta .btn:focus {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--sorig-primary, #0b56c7) !important;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: gap 280ms ease, color 280ms ease;
}
.featured-cta .btn:hover {
  gap: 14px !important;
  color: var(--sorig-secondary, #2f7ae2) !important;
}

/* ──────────────────────────────────────────────────────────────
   ABOUT PAGE REFINEMENTS
────────────────────────────────────────────────────────────── */
.about-page .section {
  padding: 100px 0 !important;
}

.about-page .section-head {
  text-align: center;
  margin-bottom: 60px;
}

.about-page .section-title {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink-900);
}

.about-why-grid, .about-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.about-why-card__media, .about-team-card__media, .about-vm-card__media {
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  height: 240px;
}

.about-why-card__media img, .about-team-card__media img, .about-vm-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.premium-card:hover img {
  transform: scale(1.08);
}

.about-team-card__role {
  color: var(--hp-blue, #0b56c7);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.about-team-card__link {
  margin-top: auto;
  padding-top: 20px;
  color: var(--hp-blue, #0b56c7);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.about-team-card__link:hover {
  gap: 12px;
}

.about-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .about-vm-grid {
    grid-template-columns: 1fr;
  }
}

.about-h2 {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-media img {
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

@media (max-width: 991px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-intro-media {
    order: 2;
  }
}

