/* ==========================================================
   HERO SECTION STYLES
   ========================================================== */

   .ht-hero-section {
    position: relative;
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #EBF3FC 0%, #E6EFFE 50%, #F4F8FE 100%);
    overflow: hidden;
  }
  
  .ht-hero-bg-glow {
    position: absolute;
    top: -10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(224, 237, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
  }
  
  .ht-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
  }
  
  /* --- Left Column Content --- */
  
  .ht-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 16px;
    background: #FFFFFF;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1E293B;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    margin-bottom: 24px;
  }
  
  .ht-hero-badge i {
    color: #F59E0B;
    font-size: 0.85rem;
  }
  
  .ht-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
  }
  
  .ht-title-highlight {
    color: #1D4ED8;
    position: relative;
    display: inline-block;
  }
  
  .ht-brush-accent {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 12px;
    pointer-events: none;
  }
  
  .ht-hero-lead {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 32px;
  }
  
  /* --- Hero Action Buttons --- */
  
  .ht-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
  }
  
  .ht-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
    text-decoration: none;
  }
  
  .ht-btn--primary {
    background: #1D4ED8;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.25);
  }
  
  .ht-btn--primary:hover {
    background: #1E40AF;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(29, 78, 216, 0.35);
  }
  
  .ht-btn--outline {
    background: #FFFFFF;
    color: #1E293B;
    border: 1px solid #CBD5E1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  }
  
  .ht-btn--outline:hover {
    background: #F8FAFC;
    border-color: #94A3B8;
    color: #0F172A;
    transform: translateY(-2px);
  }
  
  /* --- Exam Chips --- */
  
  .ht-hero-chips {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .ht-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #FFFFFF;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
  }
  
  .ht-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  }
  
  .ht-chip--ca i { color: #2563EB; }
  .ht-chip--cs i { color: #16A34A; }
  .ht-chip--cma i { color: #EA580C; }
  .ht-chip--jee i { color: #7C3AED; }
  .ht-chip--neet i { color: #DC2626; }
  .ht-chip--ssc i { color: #2563EB; }
  
  /* --- Right Column Visual --- */
  
 /* ==========================================================
   BG GRAPHICS: ORBITS, SPARKLES & DOT MATRIX BUBBLES
   ========================================================== */

.ht-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ht-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
}

/* --- Golden Lens Flare / Light Sparkle (Top Right) --- */
.ht-sparkle-glow {
  position: absolute;
  top: -5%;
  right: -5%;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle, 
    rgba(253, 224, 71, 0.45) 0%, 
    rgba(245, 158, 11, 0.2) 35%, 
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(20px);
  pointer-events: none;
  z-index: 1;
}

.ht-sparkle-star {
  position: absolute;
  top: 2%;
  right: 5%;
  font-size: 1.8rem;
  color: #FACC15;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.8);
  z-index: 2;
  animation: ht-pulse-sparkle 3s ease-in-out infinite alternate;
}

@keyframes ht-pulse-sparkle {
  0% { transform: scale(0.8) rotate(0deg); opacity: 0.7; }
  100% { transform: scale(1.2) rotate(15deg); opacity: 1; }
}

/* --- Circular Concentric Orbits (Center) --- */
.ht-bg-orbit-lines {
  position: absolute;
  top: 50%;
  left: 45%;
  width: 130%;
  height: 130%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

/* --- Dot Matrix / Sparkle Bubbles (Left Side of Mobile) --- */
.ht-bg-dots-pattern {
  position: absolute;
  top: 15%;
  left: -8%;
  width: 220px;
  height: 320px;
  pointer-events: none;
  z-index: 1;
}

/* --- Foreground Composite Image (Elevated above BG vector layers) --- */
.ht-hero-img {
  position: relative;
  z-index: 3;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(15, 23, 42, 0.12));
}
   
  /* --- Bottom Feature Highlights Box --- */
  
  .ht-hero-features {
    margin-top: 48px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    position: relative;
    z-index: 2;
  }
  
  .ht-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }
  
  .ht-feature-card:not(:last-child) {
    border-right: 1px solid #F1F5F9;
    padding-right: 16px;
  }
  
  .ht-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  
  .ht-feature-icon--blue { background: #EFF6FF; color: #2563EB; }
  .ht-feature-icon--green { background: #DCFCE7; color: #16A34A; }
  .ht-feature-icon--amber { background: #FEF3C7; color: #D97706; }
  .ht-feature-icon--purple { background: #F3E8FF; color: #9333EA; }
  
  .ht-feature-text h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
  }
  
  .ht-feature-text p {
    font-size: 0.825rem;
    color: #64748B;
    margin: 0;
    line-height: 1.4;
  }
  
  /* --- Responsive Helpers --- */
  
  @media (max-width: 1024px) {
    .ht-hero-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .ht-hero-badge {
      margin: 0 auto 20px;
    }
  
    .ht-hero-actions, .ht-hero-chips {
      justify-content: center;
    }
  
    .ht-hero-features {
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }
  
    .ht-feature-card:nth-child(2) {
      border-right: none;
    }
  }
  
  @media (max-width: 640px) {
    .ht-hero-features {
      grid-template-columns: 1fr;
      padding: 20px;
    }
  
    .ht-feature-card {
      border-right: none !important;
      padding-right: 0 !important;
    }
  
    .ht-hero-actions {
      flex-direction: column;
      width: 100%;
    }
  
    .ht-btn {
      width: 100%;
      justify-content: center;
    }
  }


/*==========================================================
    JOURNEY / HOW IT WORKS SECTION
==========================================================*/

.journey-section {
  position: relative;
  padding: 100px 0 110px 0;
  background-color: var(--body-bg, #F5F8FC);
  overflow: hidden;
}

.journey-section .container {
  position: relative;
  z-index: 2;
}

/*----------------------------------------------------------
  01. DECORATIVE BACKGROUND (DOTS, GLOWS, BUBBLES)
----------------------------------------------------------*/

/* Radial Glowing Bubbles */
.journey-bg-bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.journey-bg-bubble--top-right {
  top: -120px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(47, 121, 183, 0.12) 0%, rgba(245, 248, 252, 0) 70%);
}

.journey-bg-bubble--bottom-left {
  bottom: -140px;
  left: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(198, 146, 47, 0.14) 0%, rgba(245, 248, 252, 0) 70%);
}

/* Dot Grid Background Pattern */
.journey-bg-pattern {
  position: absolute;
  width: 140px;
  height: 100px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  background-image: radial-gradient(var(--primary, #0F4C81) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
}

.journey-bg-pattern--dots-left {
  top: 50px;
  left: 40px;
}

.journey-bg-pattern--dots-right {
  top: 50px;
  right: 40px;
}

/*----------------------------------------------------------
  02. SECTION HEADER & ACCENTS
----------------------------------------------------------*/

.ht-section-header {
  max-width: 680px;
  margin: 0 auto 64px auto;
  text-align: center;
}

.ht-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 20px;
  border-radius: var(--radius-pill, 999px);
  background: var(--surface-blue, #F2F7FC);
  color: var(--primary, #0F4C81);
  font-size: 0.82rem;
  font-weight: var(--fw-bold, 700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  border: 1px solid rgba(15, 76, 129, 0.12);
  box-shadow: 0 2px 8px rgba(15, 76, 129, 0.04);
}

.ht-section-title {
  font-size: clamp(2.2rem, 3.5vw, 2.85rem);
  font-weight: var(--fw-bold, 700);
  color: var(--heading, #0B355A);
  line-height: 1.25;
  margin-bottom: 20px;
}

/* Wavy Underline */
.text-gradient-wrapper {
  position: relative;
  display: inline-block;
}

.title-wavy-line {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 12px;
  pointer-events: none;
}

.ht-section-description {
  font-size: 1.05rem;
  color: var(--text-light, #667085);
  line-height: 1.7;
  margin-bottom: 0;
}

/*----------------------------------------------------------
  03. PROCESS GRID & TIMELINE CONNECTIONS
----------------------------------------------------------*/

.journey-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.journey-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Step Number Wrapper & Badge */
.journey-card__number-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  z-index: 3;
}

.journey-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white, #ffffff);
  font-size: 1.05rem;
  font-weight: var(--fw-bold, 700);
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.08);
}

.journey-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 12px;
}

/* Colored Step Badges & Dots */
.journey-card--step-1 .journey-card__number {
  border: 2px solid var(--secondary, #C6922F);
  color: var(--secondary, #C6922F);
}
.journey-card--step-1 .journey-card__dot {
  background-color: var(--secondary, #C6922F);
}

.journey-card--step-2 .journey-card__number,
.journey-card--step-3 .journey-card__number {
  border: 2px solid var(--primary-light, #2F79B7);
  color: var(--primary, #0F4C81);
}
.journey-card--step-2 .journey-card__dot,
.journey-card--step-3 .journey-card__dot {
  background-color: var(--primary-light, #2F79B7);
}

/* Color-Matched Dashed Timeline Lines */
.journey-process__line {
  position: absolute;
  top: 26px; /* Centered through badge center */
  left: calc(50% + 30px);
  width: calc(100% - 28px);
  height: 0;
  border-top-width: 2px;
  border-top-style: dashed;
  z-index: 1;
}

.journey-process__line--gold {
  border-top-color: #E6C280;
}

.journey-process__line--blue {
  border-top-color: #92C1EA;
}

/*----------------------------------------------------------
  04. JOURNEY CARDS BODY
----------------------------------------------------------*/

.journey-card__body {
  width: 100%;
  height: 100%;
  padding: 40px 28px 36px 28px;
  background: var(--white, #ffffff);
  border-radius: var(--radius-lg, 24px);
  box-shadow: var(--shadow-card, 0 10px 35px rgba(15, 76, 129, 0.08));
  border: 1px solid var(--border-light, #F2F5F8);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition, 0.3s ease), box-shadow var(--transition, 0.3s ease);
}

.journey-card:hover .journey-card__body {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover, 0 22px 50px rgba(15, 76, 129, 0.16));
}

/* Icon Styles */
.journey-card__icon {
  margin-bottom: 24px;
}

.ht-icon--lg {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
}

.ht-icon--gold {
  background: var(--surface-gold, #FFF9EF);
  color: var(--secondary, #C6922F);
}

.ht-icon--blue {
  background: var(--surface-blue, #F2F7FC);
  color: var(--primary, #0F4C81);
}

/* Title and Accent Lines */
.journey-card__title {
  font-size: 1.3rem;
  font-weight: var(--fw-bold, 700);
  color: var(--heading, #0B355A);
  margin-bottom: 12px;
}

.journey-card__accent-line {
  width: 36px;
  height: 3px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.journey-card--step-1 .journey-card__accent-line {
  background-color: var(--secondary-light, #F7E6BF);
}

.journey-card--step-2 .journey-card__accent-line,
.journey-card--step-3 .journey-card__accent-line {
  background-color: #C2DDF4;
}

.journey-card__description {
  font-size: 0.95rem;
  color: var(--text-light, #667085);
  line-height: 1.65;
  margin-bottom: 0;
}

/*----------------------------------------------------------
  05. FOOTER & CTA
----------------------------------------------------------*/

.journey-section__footer {
  text-align: center;
}

.journey-section__footer .ht-btn {
  padding: 0 42px;
  font-weight: var(--fw-bold, 700);
}

/*----------------------------------------------------------
  06. RESPONSIVE MEDIA QUERIES
----------------------------------------------------------*/

@media (max-width: 991.98px) {
  .journey-process {
      grid-template-columns: 1fr;
      gap: 44px;
  }

  .journey-process__line {
      display: none; /* Hide horizontal timeline on mobile/stacked layout */
  }

  .journey-bg-pattern {
      display: none;
  }

  .journey-card__body {
      padding: 32px 24px;
  }
}

/*==========================================================
    FEATURED TEST SERIES SECTION
==========================================================*/

.test-series-section {
  position: relative;
  padding: 90px 0 100px 0;
  background-color: var(--body-bg, #F6FAFF);
  overflow: hidden;
}

.test-series-section .container {
  position: relative;
  z-index: 2;
}

/*----------------------------------------------------------
  01. BACKGROUND DECORATIONS
----------------------------------------------------------*/

.ts-bg-bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.ts-bg-bubble--top-right {
  top: -100px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.12) 0%, rgba(246, 250, 255, 0) 70%);
}

.ts-bg-bubble--bottom-left {
  bottom: -120px;
  left: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(15, 76, 129, 0.10) 0%, rgba(246, 250, 255, 0) 70%);
}

.ts-bg-pattern {
  position: absolute;
  width: 120px;
  height: 90px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  background-image: radial-gradient(var(--primary, #0F4C81) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
}

.ts-bg-pattern--top-left {
  top: 40px;
  left: 40px;
}

.ts-bg-pattern--bottom-right {
  bottom: 50px;
  right: 40px;
}

/* Header Text Highlight */
.text-highlight-blue {
  color: var(--primary, #0F4C81);
}

/*----------------------------------------------------------
  02. CATEGORY FILTER CHIPS
----------------------------------------------------------*/

.ts-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.ts-filter-chip {
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #556070;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #E2E8F0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ts-filter-chip:hover {
  color: var(--primary, #0F4C81);
  background-color: #ffffff;
  border-color: #CBD5E1;
}

.ts-filter-chip.active {
  color: #ffffff;
  background-color: #0A3C7D;
  border-color: #0A3C7D;
  box-shadow: 0 4px 12px rgba(10, 60, 125, 0.25);
}

/*----------------------------------------------------------
  03. CARD GRID & CARDS
----------------------------------------------------------*/

.ts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}

.ts-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(15, 76, 129, 0.05);
  border: 1px solid #EEF3F8;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ts-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 76, 129, 0.12);
}

/* Card Thumbnail & Badges */
.ts-card__thumb {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
}

.ts-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ts-badge {
  position: absolute;
  top: 10px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.ts-badge--blue {
  left: 10px;
  background-color: #0A3C7D;
}

.ts-badge--purple {
  left: 10px;
  background-color: #6B3BA7;
}

.ts-badge--teal {
  left: 10px;
  background-color: #0D8A6A;
}

.ts-badge--red {
  left: 10px;
  background-color: #D32F2F;
}

.ts-badge--gold {
  right: 10px;
  background-color: #E29300;
}

/* Card Content Body */
.ts-card__body {
  padding: 16px 6px 4px 6px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ts-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F253E;
  line-height: 1.35;
  margin-bottom: 16px;
  min-height: 2.7em;
}

/* Stats Row */
.ts-card__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px dashed #E2E8F0;
  margin-bottom: 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-item i {
  font-size: 0.95rem;
  color: #8A99AD;
}

.stat-item span {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 500;
}

/* Pricing and Rating */
.ts-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ts-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: #D32F2F;
}

.price-old {
  font-size: 0.85rem;
  color: #94A3B8;
  text-decoration: line-through;
}

.ts-card__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E293B;
}

.ts-card__rating i {
  color: #E29300;
}

/* Start Test Button */
.ts-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background-color: #F0F5FF;
  color: #0A3C7D;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ts-card__btn:hover {
  background-color: #0A3C7D;
  color: #ffffff;
}

/*----------------------------------------------------------
  04. SECTION FOOTER & EXPLORE BUTTON
----------------------------------------------------------*/

.ts-section__footer {
  text-align: center;
}

.ht-btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 38px;
  background: linear-gradient(135deg, #E29300 0%, #C87E00 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(226, 147, 0, 0.35);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ht-btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(226, 147, 0, 0.45);
  color: #ffffff;
}

/*----------------------------------------------------------
  05. RESPONSIVE BREAKPOINTS
----------------------------------------------------------*/

@media (max-width: 1199.98px) {
  .ts-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
  }
}

@media (max-width: 767.98px) {
  .ts-grid {
      grid-template-columns: 1fr;
  }

  .ts-filter-bar {
      gap: 8px;
  }

  .ts-filter-chip {
      padding: 6px 16px;
      font-size: 0.82rem;
  }

  .ts-bg-pattern {
      display: none;
  }
}

/*==========================================================
    LEARNING RESOURCES SECTION
==========================================================*/

/* Container for the highlighted text */
.title-highlight {
  position: relative;
  display: inline-block;
  color: var(--primary, #0F4C81);
}

/* 1. Three Spark Lines Above (Top-Right Position) */
.title-sparks-above {
  position: absolute;
  top: -8px;       /* Pushes lines vertically above the text */
  right: -16px;     /* Positions lines over the top-right corner */
  width: 26px;
  height: 26px;
  pointer-events: none;
}

/* 2. Wavy Line Below Text */
.title-wavy-line {
  position: absolute;
  bottom: -8px;     /* Positions line directly beneath the text */
  left: 0;
  width: 100%;
  height: 10px;
  pointer-events: none;
}

.resources-section {
  position: relative;
  padding: 90px 0 100px 0;
  background-color: var(--body-bg, #F6FAFF);
  overflow: hidden;
}

.resources-section .container {
  position: relative;
  z-index: 2;
}

/*----------------------------------------------------------
  01. DECORATIVE BACKGROUNDS & ACCENTS
----------------------------------------------------------*/

.res-bg-bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.res-bg-bubble--top-right {
  top: -120px;
  right: -100px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.12) 0%, rgba(246, 250, 255, 0) 70%);
}

.res-bg-bubble--bottom-left {
  bottom: -140px;
  left: -120px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(15, 76, 129, 0.10) 0%, rgba(246, 250, 255, 0) 70%);
}

.res-bg-pattern {
  position: absolute;
  width: 130px;
  height: 90px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  background-image: radial-gradient(var(--primary, #0F4C81) 1.5px, transparent 1.5px);
  background-size: 13px 13px;
}

.res-bg-pattern--top-left {
  top: 40px;
  left: 40px;
}

.res-bg-pattern--bottom-right {
  bottom: 50px;
  right: 40px;
}

/* Title Spark SVG */
.title-accent-spark {
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  margin-left: 6px;
  margin-top: -8px;
}

/*----------------------------------------------------------
  02. GRID & CARD CONTAINER
----------------------------------------------------------*/

.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.res-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(15, 76, 129, 0.06);
  border: 1px solid #EEF3F8;
  border-top-width: 4px; /* Color accents on top border */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.res-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(15, 76, 129, 0.14);
}

/* Color Themes for Top Border */
.res-card--blue {
  border-top-color: #0A3C7D;
}

.res-card--gold {
  border-top-color: #E29300;
}

.res-card--purple {
  border-top-color: #5D3EBC;
}

/*----------------------------------------------------------
  03. CARD MEDIA / HEADER IMAGE & CHIPS
----------------------------------------------------------*/

.res-card__media {
  position: relative;
  width: 100%;
  height: 190px;
  padding: 16px;
  overflow: hidden;
}

/* Soft Tint Background Gradients for Banner Images */
.res-card__media--blue {
  background: linear-gradient(135deg, #EBF3FF 0%, #DCEBFF 100%);
}

.res-card__media--gold {
  background: linear-gradient(135deg, #FFF6E5 0%, #FFE9C2 100%);
}

.res-card__media--purple {
  background: linear-gradient(135deg, #F3EEFF 0%, #E3D7FF 100%);
}

.res-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Category Pill Badges */
.res-chip {
  position: absolute;
  top: 26px;
  left: 26px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.res-chip--blue {
  background-color: rgba(235, 243, 255, 0.9);
  color: #0A3C7D;
  border: 1px solid rgba(10, 60, 125, 0.15);
}

.res-chip--gold {
  background-color: rgba(255, 246, 229, 0.9);
  color: #B57400;
  border: 1px solid rgba(181, 116, 0, 0.15);
}

.res-chip--purple {
  background-color: rgba(243, 238, 255, 0.9);
  color: #5D3EBC;
  border: 1px solid rgba(93, 62, 188, 0.15);
}

/*----------------------------------------------------------
  04. CARD CONTENT BODY
----------------------------------------------------------*/

.res-card__body {
  padding: 24px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.res-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0B355A;
  margin-bottom: 8px;
  line-height: 1.3;
}

.res-card__desc {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Checklist Box System */
.res-card__list {
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.res-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.4;
}

.res-card__list li i {
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Color Variations for Lists */
.res-card__list--blue {
  background-color: #F4F8FD;
}
.res-card__list--blue i {
  color: #0D9488; /* Emerald Teal Checkmark */
}

.res-card__list--gold {
  background-color: #FFFDF5;
}
.res-card__list--gold i {
  color: #E29300; /* Amber Gold Checkmark */
}

.res-card__list--purple {
  background-color: #F9F7FE;
}
.res-card__list--purple i {
  color: #7C3AED; /* Purple Checkmark */
}

/*----------------------------------------------------------
  05. CARD BUTTONS
----------------------------------------------------------*/

.res-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Blue Button */
.res-btn--blue {
  background: linear-gradient(135deg, #0A3C7D 0%, #072B5B 100%);
  color: #ffffff;
}
.res-btn--blue:hover {
  box-shadow: 0 6px 18px rgba(10, 60, 125, 0.35);
  color: #ffffff;
}

/* Gold Button */
.res-btn--gold {
  background: linear-gradient(135deg, #E29300 0%, #C87E00 100%);
  color: #ffffff;
}
.res-btn--gold:hover {
  box-shadow: 0 6px 18px rgba(226, 147, 0, 0.35);
  color: #ffffff;
}

/* Purple Button */
.res-btn--purple {
  background: linear-gradient(135deg, #5D3EBC 0%, #482E9A 100%);
  color: #ffffff;
}
.res-btn--purple:hover {
  box-shadow: 0 6px 18px rgba(93, 62, 188, 0.35);
  color: #ffffff;
}

/*----------------------------------------------------------
  06. RESPONSIVE MEDIA QUERIES
----------------------------------------------------------*/

@media (max-width: 991.98px) {
  .res-grid {
      grid-template-columns: 1fr;
      gap: 28px;
  }

  .res-card__media {
      height: 210px;
  }

  .res-bg-pattern {
      display: none;
  }
}

/*==========================================================
  WHY HI-TECH PATHSHALA DASHBOARD SECTION STYLES
==========================================================*/

.htp-why-section {
  padding: 80px 0;
  background-color: var(--body-bg, #F5F8FC);
  font-family: var(--font-body, system-ui, -apple-system, sans-serif);
  color: var(--text, #4B5563);
}

.htp-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------------------------
   LAYOUT GRID
---------------------------------------------------------- */
.htp-why-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

/* ----------------------------------------------------------
   LEFT SIDE
---------------------------------------------------------- */
.htp-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: #FFF9EF;
  color: #C6922F;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.htp-why-title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 800;
  color: #0F2D4A;
  margin-bottom: 16px;
}

.text-highlight-blue {
  color: #0F4C81;
}

.htp-why-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6B7280;
  margin-bottom: 32px;
}

/* Left Feature Items */
.htp-feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.htp-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.htp-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.htp-feature-icon--blue   { background-color: #EBF3FA; color: #0F4C81; }
.htp-feature-icon--gold   { background-color: #FFF7E6; color: #C6922F; }
.htp-feature-icon--green  { background-color: #EAF8EF; color: #16A34A; }
.htp-feature-icon--purple { background-color: #F3E8FF; color: #7E22CE; }

.htp-feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0F2D4A;
  margin-bottom: 4px;
}

.htp-feature-text p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6B7280;
  margin: 0;
}

/* ----------------------------------------------------------
   RIGHT SIDE - DASHBOARD PANEL
---------------------------------------------------------- */
.htp-why-right {
  position: relative;
}

.htp-dashboard-card {
  background-color: #FFFFFF;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 20px 45px rgba(15, 76, 129, 0.08);
  border: 1px solid #E2E8F0;
  position: relative;
  overflow: hidden;
}

.htp-dashboard-dots {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(#CBD5E1 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.5;
  pointer-events: none;
}

.htp-dashboard-main {
  position: relative;
  margin-bottom: 24px;
  padding-right: 140px; /* Leave room for 3D graphic */
}

.htp-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.htp-dashboard-subtitle {
  font-size: 0.725rem;
  font-weight: 700;
  color: #0F4C81;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.htp-dashboard-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F2D4A;
  margin: 0;
}

.htp-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background-color: #EAF8EF;
  color: #16A34A;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
}

.htp-status-dot {
  width: 6px;
  height: 6px;
  background-color: #16A34A;
  border-radius: 50%;
}

/* Overall Prep Progress */
.htp-overall-prep {
  margin-bottom: 24px;
}

.htp-overall-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.htp-overall-percent {
  color: #0F4C81;
  font-weight: 800;
}

/* Horizontal Progress Track Utility */
.htp-progress-track {
  width: 100%;
  height: 8px;
  background-color: #F1F5F9;
  border-radius: 999px;
  overflow: hidden;
}

.htp-progress-track--lg {
  height: 10px;
}

.htp-progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s ease;
}

.htp-progress-fill--blue  { background-color: #0F4C81; }
.htp-progress-fill--gold  { background-color: #C6922F; }
.htp-progress-fill--green { background-color: #16A34A; }

/* Stats Mini Row */
.htp-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.htp-stat-card {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.htp-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.htp-stat-icon--blue  { background: #EBF3FA; color: #0F4C81; }
.htp-stat-icon--green { background: #EAF8EF; color: #16A34A; }

.htp-stat-info small {
  display: block;
  font-size: 0.725rem;
  color: #64748B;
  font-weight: 600;
}

.htp-stat-info strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F2D4A;
  line-height: 1.1;
}

.text-success {
  color: #16A34A !important;
}

.htp-stat-period {
  font-size: 0.675rem;
  color: #94A3B8;
  display: block;
  margin-top: 2px;
}

/* 3D Graduation Image Positioned on Right Side */
.htp-dashboard-3d-img {
  position: absolute;
  right: -10px;
  top: 30px;
  width: 140px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.12));
  z-index: 2;
  pointer-events: none;
}

/* Inner Grid */
.htp-dashboard-bottom-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
}

.htp-prep-areas-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 20px;
}

.htp-inner-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F2D4A;
  margin-bottom: 16px;
}

.htp-prep-item {
  margin-bottom: 14px;
}

.htp-prep-item:last-child {
  margin-bottom: 0;
}

.htp-prep-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.775rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.text-blue  { color: #0F4C81; }
.text-gold  { color: #C6922F; }
.text-green { color: #16A34A; }

.htp-prep-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.htp-prep-val {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  min-width: 28px;
  text-align: right;
}

/* Today's Focus Card */
.htp-focus-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.htp-focus-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0F4C81;
  margin-bottom: 12px;
}

.htp-focus-icon-wrap {
  width: 44px;
  height: 44px;
  background-color: #FFF7E6;
  color: #C6922F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.htp-focus-text {
  font-size: 0.775rem;
  color: #64748B;
  line-height: 1.4;
  margin-bottom: 14px;
}

.htp-focus-text strong {
  color: #0F2D4A;
  display: block;
}

.htp-focus-btn {
  width: 36px;
  height: 36px;
  background-color: #EBF3FA;
  color: #0F4C81;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.htp-focus-btn:hover {
  background-color: #0F4C81;
  color: #FFFFFF;
}

/* ----------------------------------------------------------
   BOTTOM 4-COLUMN FEATURE BAR
---------------------------------------------------------- */
.htp-bottom-features {
  background-color: #FFFFFF;
  border-radius: 24px;
  padding: 28px 32px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.htp-bottom-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.htp-bottom-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.htp-bottom-icon--blue   { background-color: #EBF3FA; color: #0F4C81; }
.htp-bottom-icon--gold   { background-color: #FFF7E6; color: #C6922F; }
.htp-bottom-icon--green  { background-color: #EAF8EF; color: #16A34A; }
.htp-bottom-icon--purple { background-color: #F3E8FF; color: #7E22CE; }

.htp-bottom-feature-item h4 {
  font-size: 0.925rem;
  font-weight: 700;
  color: #0F2D4A;
  margin-bottom: 4px;
}

.htp-bottom-feature-item p {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #64748B;
  margin: 0;
}

/* ==========================================================
   RESPONSIVE SYSTEM
========================================================== */


/* ==========================================================
   LARGE DESKTOP
   1400px+
========================================================== */

@media (min-width: 1400px) {

  .htp-container {
    max-width: 1280px;
  }

  .htp-why-section {
    padding: 88px 0;
  }

  .htp-why-grid {
    gap: 64px;
  }

  .htp-dashboard-card {
    padding: 34px;
  }

}


/* ==========================================================
   DESKTOP
   1200px - 1399px
========================================================== */

@media (max-width: 1399.98px) {

  .htp-container {
    max-width: 1180px;
  }

  .htp-why-grid {
    grid-template-columns:
      minmax(0, 0.95fr)
      minmax(0, 1.05fr);

    gap: 42px;
  }

  .htp-why-title {
    font-size: 2.3rem;
  }

  .htp-dashboard-card {
    padding: 28px;
    border-radius: 24px;
  }

  .htp-dashboard-3d-img {
    width: 125px;
    right: -6px;
  }

  .htp-dashboard-main {
    padding-right: 125px;
  }

  .htp-bottom-features {
    gap: 20px;
    padding: 24px 28px;
  }

}


/* ==========================================================
   SMALL DESKTOP / LARGE TABLET
   992px - 1199px
========================================================== */

@media (max-width: 1199.98px) {

  .htp-why-section {
    padding: 70px 0;
  }

  .htp-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .htp-why-grid {

    /*
     * Keep two columns a little longer.
     * This avoids making 1024px screens look
     * unnecessarily stacked.
     */
    grid-template-columns:
      minmax(0, 0.9fr)
      minmax(0, 1.1fr);

    gap: 32px;
  }

  .htp-why-title {
    font-size: 2.1rem;
  }

  .htp-why-description {
    max-width: 520px;
    margin-bottom: 26px;
  }

  .htp-feature-list {
    gap: 18px;
  }

  .htp-feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .htp-dashboard-card {
    padding: 24px;
    border-radius: 22px;
  }

  .htp-dashboard-main {
    padding-right: 105px;
  }

  .htp-dashboard-3d-img {
    width: 105px;
    right: -4px;
    top: 26px;
  }

  .htp-dashboard-title {
    font-size: 1.2rem;
  }

  .htp-dashboard-bottom-grid {
    grid-template-columns:
      minmax(0, 1.45fr)
      minmax(180px, 1fr);

    gap: 12px;
  }

  .htp-prep-areas-card,
  .htp-focus-card {
    padding: 17px;
  }

  .htp-bottom-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

}


/* ==========================================================
   TABLET
   768px - 991px
========================================================== */

@media (max-width: 991.98px) {

  .htp-why-section {
    padding: 64px 0;
  }

  .htp-why-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-bottom: 40px;
  }

  /* --------------------------------------------------------
     LEFT CONTENT
  -------------------------------------------------------- */

  .htp-why-content {
    max-width: 760px;
  }

  .htp-pill-badge {
    margin-bottom: 16px;
  }

  .htp-why-title {
    font-size: 2.15rem;
    max-width: 680px;
  }

  .htp-why-description {
    max-width: 700px;
  }

  .htp-feature-list {
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 22px 28px;
  }

  .htp-feature-item {
    gap: 13px;
  }

  .htp-feature-icon {
    width: 44px;
    height: 44px;
  }

  /* --------------------------------------------------------
     DASHBOARD
  -------------------------------------------------------- */

  .htp-why-right {
    width: 100%;
  }

  .htp-dashboard-card {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;

    padding: 26px;
    border-radius: 24px;
  }

  .htp-dashboard-main {
    padding-right: 125px;
  }

  .htp-dashboard-3d-img {
    display: block;

    width: 120px;
    right: 0;
    top: 24px;
  }

  .htp-dashboard-title {
    font-size: 1.3rem;
  }

  .htp-dashboard-bottom-grid {
    grid-template-columns:
      minmax(0, 1.5fr)
      minmax(190px, 1fr);

    gap: 16px;
  }

  /* --------------------------------------------------------
     BOTTOM FEATURES
  -------------------------------------------------------- */

  .htp-bottom-features {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 24px;
    padding: 24px;
    border-radius: 20px;
  }

}


/* ==========================================================
   SMALL TABLET
   576px - 767px
========================================================== */

@media (max-width: 767.98px) {

  .htp-why-section {
    padding: 56px 0;
  }

  .htp-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* --------------------------------------------------------
     LEFT CONTENT
  -------------------------------------------------------- */

  .htp-why-title {
    font-size: 1.9rem;
    line-height: 1.25;
  }

  .htp-why-description {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .htp-feature-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .htp-feature-item {
    gap: 12px;
  }

  .htp-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 1rem;
  }

  .htp-feature-text h4 {
    font-size: 0.95rem;
  }

  .htp-feature-text p {
    font-size: 0.83rem;
  }

  /* --------------------------------------------------------
     DASHBOARD CARD
  -------------------------------------------------------- */

  .htp-dashboard-card {
    padding: 22px;
    border-radius: 20px;
  }

  .htp-dashboard-dots {
    width: 90px;
    height: 90px;
    top: 12px;
    right: 12px;
    background-size: 10px 10px;
  }

  .htp-dashboard-main {
    padding-right: 100px;
    margin-bottom: 20px;
  }

  .htp-dashboard-3d-img {
    width: 95px;
    right: -2px;
    top: 28px;
  }

  .htp-dashboard-header {
    margin-bottom: 18px;
  }

  .htp-dashboard-subtitle {
    font-size: 0.68rem;
  }

  .htp-dashboard-title {
    font-size: 1.12rem;
  }

  .htp-status-tag {
    padding: 4px 9px;
    font-size: 0.68rem;
  }

  /* --------------------------------------------------------
     OVERALL PREP
  -------------------------------------------------------- */

  .htp-overall-header {
    font-size: 0.82rem;
  }

  .htp-progress-track--lg {
    height: 9px;
  }

  /* --------------------------------------------------------
     STATS
  -------------------------------------------------------- */

  .htp-stats-row {
    gap: 10px;
  }

  .htp-stat-card {
    padding: 12px;
    gap: 9px;
    border-radius: 13px;
  }

  .htp-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    font-size: 0.95rem;
  }

  .htp-stat-info small {
    font-size: 0.67rem;
  }

  .htp-stat-info strong {
    font-size: 1rem;
  }

  .htp-stat-period {
    font-size: 0.62rem;
  }

  /* --------------------------------------------------------
     DASHBOARD INNER GRID
  -------------------------------------------------------- */

  .htp-dashboard-bottom-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .htp-prep-areas-card,
  .htp-focus-card {
    padding: 17px;
    border-radius: 16px;
  }

  /* --------------------------------------------------------
     BOTTOM FEATURES
  -------------------------------------------------------- */

  .htp-bottom-features {
    grid-template-columns: 1fr;
    gap: 18px;

    padding: 20px;
    border-radius: 18px;
  }

  .htp-bottom-feature-item {
    gap: 13px;
  }

  .htp-bottom-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .htp-bottom-feature-item h4 {
    font-size: 0.9rem;
  }

  .htp-bottom-feature-item p {
    font-size: 0.77rem;
  }

}


/* ==========================================================
   MOBILE
   <= 575px
========================================================== */

@media (max-width: 575.98px) {

  .htp-why-section {
    padding: 48px 0;
  }

  .htp-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* --------------------------------------------------------
     HEADING
  -------------------------------------------------------- */

  .htp-pill-badge {
    padding: 5px 11px;
    font-size: 0.68rem;
    margin-bottom: 14px;
  }

  .htp-why-title {
    font-size: 1.7rem;
    line-height: 1.25;
    margin-bottom: 13px;
  }

  .htp-why-description {
    font-size: 0.875rem;
    margin-bottom: 22px;
  }

  /* --------------------------------------------------------
     FEATURE LIST
  -------------------------------------------------------- */

  .htp-feature-list {
    gap: 16px;
  }

  .htp-feature-item {
    align-items: flex-start;
    gap: 11px;
  }

  .htp-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .htp-feature-text h4 {
    font-size: 0.9rem;
    margin-bottom: 3px;
  }

  .htp-feature-text p {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  /* --------------------------------------------------------
     DASHBOARD
  -------------------------------------------------------- */

  .htp-dashboard-card {
    padding: 18px;
    border-radius: 18px;
  }

  .htp-dashboard-main {
    padding-right: 0;
  }

  /*
   * On this width the illustration starts competing
   * with the dashboard heading, so move it out of
   * the main content area.
   */

  .htp-dashboard-3d-img {
    width: 72px;
    top: 22px;
    right: 12px;
    opacity: 0.92;
  }

  .htp-dashboard-header {
    padding-right: 58px;
  }

  .htp-dashboard-title {
    font-size: 1.05rem;
  }

  .htp-dashboard-subtitle {
    font-size: 0.63rem;
  }

  .htp-status-tag {
    font-size: 0.63rem;
    padding: 3px 8px;
  }

  .htp-status-dot {
    width: 5px;
    height: 5px;
  }

  /* --------------------------------------------------------
     STATS
  -------------------------------------------------------- */

  .htp-stats-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .htp-stat-card {
    min-height: 58px;
  }

  /* --------------------------------------------------------
     PREPARATION
  -------------------------------------------------------- */

  .htp-prep-areas-card,
  .htp-focus-card {
    padding: 15px;
  }

  .htp-inner-card-title {
    font-size: 0.8rem;
    margin-bottom: 13px;
  }

  .htp-prep-item {
    margin-bottom: 12px;
  }

  .htp-prep-label {
    font-size: 0.72rem;
  }

  .htp-prep-val {
    font-size: 0.7rem;
    min-width: 25px;
  }

  /* --------------------------------------------------------
     FOCUS
  -------------------------------------------------------- */

  .htp-focus-subtitle {
    font-size: 0.75rem;
  }

  .htp-focus-icon-wrap {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .htp-focus-text {
    font-size: 0.74rem;
  }

  /* --------------------------------------------------------
     BOTTOM FEATURES
  -------------------------------------------------------- */

  .htp-bottom-features {
    padding: 18px;
    gap: 16px;
  }

  .htp-bottom-feature-item {
    gap: 11px;
  }

  .htp-bottom-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

}


/* ==========================================================
   VERY SMALL PHONES
   <= 390px
========================================================== */

@media (max-width: 390px) {

  .htp-why-section {
    padding: 42px 0;
  }

  .htp-container {
    padding-left: 13px;
    padding-right: 13px;
  }

  .htp-why-title {
    font-size: 1.55rem;
  }

  .htp-why-description {
    font-size: 0.82rem;
  }

  .htp-feature-icon {
    width: 36px;
    height: 36px;
    font-size: 0.88rem;
  }

  .htp-feature-text h4 {
    font-size: 0.86rem;
  }

  .htp-feature-text p {
    font-size: 0.76rem;
  }

  .htp-dashboard-card {
    padding: 15px;
    border-radius: 16px;
  }

  .htp-dashboard-header {
    padding-right: 0;
  }

  .htp-dashboard-3d-img {
    display: none;
  }

  .htp-dashboard-title {
    font-size: 1rem;
  }

  .htp-dashboard-subtitle {
    font-size: 0.6rem;
  }

  .htp-status-tag {
    padding: 3px 7px;
    font-size: 0.58rem;
  }

  .htp-overall-header {
    font-size: 0.76rem;
  }

  .htp-stat-card {
    padding: 10px;
  }

  .htp-bottom-features {
    padding: 15px;
  }

}


/* ==========================================================
   LANDSCAPE MOBILE
========================================================== */

@media (max-width: 767.98px) and (orientation: landscape) {

  .htp-why-section {
    padding: 42px 0;
  }

  .htp-feature-list {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .htp-bottom-features {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}

/* ==========================================================
   HI-TECH PATHSHALA
   STUDENT SUCCESS / TESTIMONIALS
   Responsive Grid + Mobile Snap Carousel
========================================================== */

.testimonials-section {
  position: relative;

  padding: 90px 0;

  background:
      linear-gradient(
          180deg,
          #f3f7fd 0%,
          #ffffff 100%
      );

  overflow: hidden;
}


/* ==========================================================
 BACKGROUND QUOTE MARK
========================================================== */

.ht-bg-quote-mark {
  position: absolute;

  top: 130px;
  left: 6%;

  font-size: 8.5rem;
  line-height: 1;

  color: #d1e2f8;

  opacity: 0.45;

  pointer-events: none;

  z-index: 0;
}


/* ==========================================================
 BACKGROUND GLOWS
========================================================== */

.ht-bg-glow {
  position: absolute;

  border-radius: 50%;

  filter: blur(90px);

  pointer-events: none;

  opacity: 0.5;
}

.ht-bg-glow.top-left {
  width: 450px;
  height: 450px;

  top: -100px;
  left: -100px;

  background:
      radial-gradient(
          circle,
          rgba(200, 220, 255, 0.6) 0%,
          rgba(255, 255, 255, 0) 70%
      );
}

.ht-bg-glow.top-right {
  width: 400px;
  height: 400px;

  top: -50px;
  right: -50px;

  background:
      radial-gradient(
          circle,
          rgba(180, 210, 255, 0.4) 0%,
          rgba(255, 255, 255, 0) 70%
      );
}


/* ==========================================================
 DOT PATTERN
========================================================== */

.ht-dots-pattern {
  position: absolute;

  width: 110px;
  height: 110px;

  background-image:
      radial-gradient(
          #cbd5e1 1.8px,
          transparent 1.8px
      );

  background-size: 10px 10px;

  opacity: 0.5;

  pointer-events: none;
}

.ht-dots-pattern.top-left {
  top: 35px;
  left: 35px;
}

.ht-dots-pattern.bottom-right {
  right: 35px;
  bottom: 35px;
}


/* ==========================================================
 DECORATIVE WAVE
========================================================== */

.ht-wavy-accent-container {
  position: absolute;

  top: 60px;
  left: 0;

  width: 100%;
  height: 240px;

  pointer-events: none;

  z-index: 1;
}

.ht-wavy-line {
  width: 100%;
  height: 100%;
}

.ht-paper-airplane {
  position: absolute;

  top: 25px;
  right: 9%;

  transform: rotate(-10deg);
}


/* ==========================================================
 SECTION HEADER
========================================================== */

.ht-section-header {
  position: relative;

  z-index: 2;

  text-align: center;

  margin: 0 auto 48px;

  max-width: 760px;
}

.chip-success-stories {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  padding: 6px 18px 6px 8px;

  margin-bottom: 16px;

  background: #e8f0fe;

  color: #2d58cc;

  border-radius: 999px;

  font-size: 0.75rem;
  font-weight: 700;

  letter-spacing: 0.6px;

  box-shadow:
      0 2px 8px rgba(45, 88, 204, 0.08);
}

.label-icon-circle {
  width: 24px;
  height: 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: #2563eb;

  color: #ffffff;

  border-radius: 50%;

  font-size: 0.65rem;
}

.ht-section-title {
  margin: 0 0 12px;

  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 800;
}

.text-blue-dark {
  color: #0e2a62;
}

.text-blue-bright {
  color: #224bb6;
}

.dot-accent-gold {
  color: #f59e0b;
}

.ht-section-description {
  margin: 0;

  color: #64748b;

  font-size: 1rem;
  line-height: 1.6;
}


/* ==========================================================
 TESTIMONIAL SLIDER WRAPPER
========================================================== */

.testimonials-slider-wrapper {
  position: relative;

  z-index: 2;

  width: 100%;

  min-width: 0;
}


/* ==========================================================
 TESTIMONIAL GRID
 DESKTOP
========================================================== */

.testimonials-grid {
  display: grid;

  grid-template-columns:
      repeat(3, minmax(0, 1fr));

  gap: 24px;

  margin-bottom: 32px;

  min-width: 0;
}


/* ==========================================================
 TESTIMONIAL CARD
========================================================== */

.testimonial-card {
  min-width: 0;

  display: flex;
  flex-direction: column;

  padding: 32px 28px;

  background: #ffffff;

  border: 1px solid #eaf0f8;

  border-radius: 20px;

  box-shadow:
      0 10px 25px -5px rgba(37, 99, 235, 0.04);

  transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);

  box-shadow:
      0 20px 35px -10px rgba(37, 99, 235, 0.1);
}


/* ==========================================================
 CARD HEADER
========================================================== */

.testimonial-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-bottom: 20px;
}

.quote-icon-box {
  width: 44px;
  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: #eff6ff;

  border-radius: 12px;

  color: #2563eb;

  font-size: 1.25rem;
}

.star-rating {
  display: flex;
  align-items: center;

  gap: 3px;

  color: #f59e0b;

  font-size: 0.95rem;

  white-space: nowrap;
}


/* ==========================================================
 CARD BODY
========================================================== */

.testimonial-card__body {
  flex-grow: 1;

  margin: 0 0 28px;

  color: #334155;

  font-size: 0.95rem;
  line-height: 1.65;
}


/* ==========================================================
 AUTHOR
========================================================== */

.testimonial-card__author {
  display: flex;
  align-items: center;

  gap: 16px;

  padding-top: 12px;
}

.author-avatar {
  position: relative;

  width: 52px;
  height: 52px;

  flex: 0 0 52px;
}

.author-avatar img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  border: 2px solid #3b82f6;

  border-radius: 50%;
}

.quote-badge {
  position: absolute;

  right: -2px;
  bottom: -2px;

  width: 20px;
  height: 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #2563eb;

  color: #ffffff;

  border: 2px solid #ffffff;

  border-radius: 50%;

  font-size: 0.55rem;
}

.author-info {
  min-width: 0;

  display: flex;
  flex-direction: column;
}

.author-name {
  margin: 0 0 2px;

  color: #0f172a;

  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 800;
}

.author-role {
  margin: 0 0 4px;

  color: #2563eb;

  font-size: 0.825rem;
  line-height: 1.3;
  font-weight: 700;
}

.author-location {
  display: flex;
  align-items: center;

  gap: 4px;

  color: #64748b;

  font-size: 0.775rem;
  line-height: 1.3;
}


/* ==========================================================
 CAROUSEL CONTROLS
========================================================== */

.carousel-controls {
  position: relative;

  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  margin: 0 auto 48px;
}

.control-btn {
  width: 40px;
  height: 40px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  padding: 0;

  background: #ffffff;

  color: #475569;

  border: 1px solid #e2e8f0;

  border-radius: 50%;

  cursor: pointer;

  box-shadow:
      0 2px 6px rgba(0, 0, 0, 0.03);

  transition:
      background-color 0.2s ease,
      color 0.2s ease,
      border-color 0.2s ease,
      transform 0.2s ease;
}

.control-btn:hover {
  background: #2563eb;

  color: #ffffff;

  border-color: #2563eb;

  transform: translateY(-1px);
}

.control-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.2);

  outline-offset: 2px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  min-width: 0;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;

  flex: 0 0 auto;

  padding: 0;

  background: #cbd5e1;

  border: 0;

  border-radius: 50%;

  transition:
      width 0.3s ease,
      background-color 0.3s ease;
}

.carousel-dots .dot.active {
  width: 24px;

  border-radius: 12px;

  background: #2563eb;
}


/* ==========================================================
 METRICS BAR
========================================================== */

.metrics-bar {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
      repeat(4, minmax(0, 1fr));

  gap: 20px;

  padding: 24px 32px;

  background: #ffffff;

  border: 1px solid #eaf0f8;

  border-radius: 20px;

  box-shadow:
      0 10px 30px -10px rgba(37, 99, 235, 0.05);
}

.metric-item {
  position: relative;

  min-width: 0;

  display: flex;
  align-items: center;

  gap: 16px;
}

.metric-item:not(:last-child)::after {
  content: "";

  position: absolute;

  top: 15%;
  right: -10px;

  width: 1px;
  height: 70%;

  background: #e2e8f0;
}

.metric-icon {
  width: 52px;
  height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 52px;

  border-radius: 50%;

  font-size: 1.2rem;
}

.metric-icon.blue-theme {
  background: #eff6ff;
  color: #2563eb;
}

.metric-icon.gold-theme {
  background: #fef3c7;
  color: #d97706;
}

.metric-icon.green-theme {
  background: #dcfce7;
  color: #16a34a;
}

.metric-icon.purple-theme {
  background: #f3e8ff;
  color: #9333ea;
}

.metric-value {
  margin: 0;

  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
}

.blue-text {
  color: #1e40af;
}

.gold-text {
  color: #b45309;
}

.green-text {
  color: #15803d;
}

.purple-text {
  color: #7e22ce;
}

.metric-label {
  min-width: 0;

  display: flex;
  flex-direction: column;

  color: #64748b;

  font-size: 0.8rem;
  line-height: 1.35;
}

.metric-label strong {
  color: #1e293b;

  font-weight: 600;
}


/* ==========================================================
 LARGE TABLET / SMALL DESKTOP
 992px - 1199px
========================================================== */

@media (max-width: 1199.98px) {

  .testimonials-section {
      padding: 78px 0;
  }

  .ht-section-title {
      font-size: 2.25rem;
  }

  .testimonials-grid {
      grid-template-columns:
          repeat(2, minmax(0, 1fr));

      gap: 20px;
  }

  .testimonial-card {
      padding: 28px 24px;
  }

  .metrics-bar {
      grid-template-columns:
          repeat(2, minmax(0, 1fr));

      gap: 24px;

      padding: 24px;
  }

  .metric-item:nth-child(2)::after {
      display: none;
  }

}


/* ==========================================================
 TABLET
 768px - 991px
========================================================== */

@media (max-width: 991.98px) {

  .testimonials-section {
      padding: 68px 0;
  }

  .ht-section-header {
      margin-bottom: 38px;
  }

  .ht-section-title {
      font-size: 2.05rem;
  }

  .ht-section-description {
      font-size: 0.94rem;
  }

  .ht-bg-quote-mark {
      top: 145px;
      left: 3%;

      font-size: 6.5rem;
  }

  .ht-bg-glow.top-left {
      width: 350px;
      height: 350px;
  }

  .ht-bg-glow.top-right {
      width: 320px;
      height: 320px;
  }

  .ht-dots-pattern {
      width: 85px;
      height: 85px;

      background-size: 9px 9px;
  }

  .ht-dots-pattern.top-left {
      top: 25px;
      left: 20px;
  }

  .ht-dots-pattern.bottom-right {
      right: 20px;
      bottom: 25px;
  }

  .ht-wavy-accent-container {
      top: 45px;
      height: 190px;
  }

  .ht-paper-airplane {
      right: 5%;
  }

  .testimonial-card {
      padding: 26px 22px;
  }

  .testimonial-card__body {
      font-size: 0.91rem;
  }

  .carousel-controls {
      margin-bottom: 38px;
  }

}


/* ==========================================================
 MOBILE CAROUSEL
 <= 767px
========================================================== */

@media (max-width: 767.98px) {

  .testimonials-section {
      padding: 56px 0;
  }


  /* ------------------------------------------------------
     SECTION HEADER
  ------------------------------------------------------ */

  .ht-section-header {
      margin-bottom: 30px;
  }

  .chip-success-stories {
      padding: 5px 14px 5px 7px;

      font-size: 0.69rem;
  }

  .label-icon-circle {
      width: 22px;
      height: 22px;

      font-size: 0.6rem;
  }

  .ht-section-title {
      font-size: 1.8rem;
      line-height: 1.25;
  }

  .ht-section-description {
      max-width: 540px;
      margin-left: auto;
      margin-right: auto;

      font-size: 0.88rem;
      line-height: 1.55;
  }


  /* ------------------------------------------------------
     BACKGROUND DECORATION
  ------------------------------------------------------ */

  .ht-bg-quote-mark {
      top: 165px;
      left: 2%;

      font-size: 5rem;

      opacity: 0.3;
  }

  .ht-bg-glow {
      filter: blur(70px);
  }

  .ht-bg-glow.top-left {
      width: 280px;
      height: 280px;

      top: -70px;
      left: -100px;
  }

  .ht-bg-glow.top-right {
      width: 240px;
      height: 240px;

      top: -40px;
      right: -100px;
  }

  .ht-dots-pattern {
      width: 65px;
      height: 65px;

      background-size: 8px 8px;

      opacity: 0.35;
  }

  .ht-dots-pattern.top-left {
      top: 22px;
      left: 12px;
  }

  .ht-dots-pattern.bottom-right {
      right: 12px;
      bottom: 20px;
  }

  .ht-wavy-accent-container {
      display: none;
  }


  /* ------------------------------------------------------
     MOBILE TESTIMONIAL CAROUSEL
  ------------------------------------------------------ */

  .testimonials-slider-wrapper {
      /*
       * Full-bleed scroll area.
       * Prevents the page itself from horizontally scrolling.
       */
      width: 100vw;

      margin-left: calc(50% - 50vw);

      overflow-x: auto;
      overflow-y: visible;

      scroll-snap-type: x mandatory;
      scroll-padding-inline: 20px;

      -webkit-overflow-scrolling: touch;

      overscroll-behavior-x: contain;

      scrollbar-width: none;
  }

  .testimonials-slider-wrapper::-webkit-scrollbar {
      display: none;
  }


  /* ------------------------------------------------------
     MOBILE CARD ROW
  ------------------------------------------------------ */

  .testimonials-grid {
      display: flex;

      width: max-content;

      gap: 14px;

      margin: 0;

      padding:
          8px 20px
          20px;

      min-width: 100%;
  }


  /* ------------------------------------------------------
     MOBILE CARD
  ------------------------------------------------------ */

  .testimonial-card {
      width:
          min(
              calc(100vw - 40px),
              390px
          );

      flex: 0 0
          min(
              calc(100vw - 40px),
              390px
          );

      scroll-snap-align: center;
      scroll-snap-stop: always;

      padding: 22px 20px;

      border-radius: 18px;

      /*
       * Prevent hover transform from causing
       * visual jumping on touch devices.
       */
      transition:
          box-shadow 0.25s ease;
  }

  .testimonial-card:hover {
      transform: none;

      box-shadow:
          0 10px 25px -5px rgba(37, 99, 235, 0.04);
  }


  /* ------------------------------------------------------
     CARD CONTENT
  ------------------------------------------------------ */

  .testimonial-card__header {
      margin-bottom: 16px;
  }

  .quote-icon-box {
      width: 40px;
      height: 40px;

      border-radius: 10px;

      font-size: 1.1rem;
  }

  .star-rating {
      font-size: 0.82rem;

      gap: 2px;
  }

  .testimonial-card__body {
      margin-bottom: 22px;

      font-size: 0.87rem;
      line-height: 1.6;
  }

  .testimonial-card__author {
      gap: 12px;
  }

  .author-avatar {
      width: 46px;
      height: 46px;

      flex-basis: 46px;
  }

  .quote-badge {
      width: 18px;
      height: 18px;

      font-size: 0.5rem;
  }

  .author-name {
      font-size: 0.94rem;
  }

  .author-role {
      font-size: 0.76rem;
  }

  .author-location {
      font-size: 0.7rem;
  }


  /* ------------------------------------------------------
     CAROUSEL CONTROLS
  ------------------------------------------------------ */

  .carousel-controls {
      width: 100%;

      margin: 2px 0 32px;

      padding: 0 2px;
  }

  .control-btn {
      width: 38px;
      height: 38px;
  }

  .carousel-dots {
      gap: 6px;
  }

  .carousel-dots .dot {
      width: 7px;
      height: 7px;
  }

  .carousel-dots .dot.active {
      width: 20px;
  }


  /* ------------------------------------------------------
     METRICS MOBILE CAROUSEL
  ------------------------------------------------------ */

  .metrics-bar {
      width: 100vw;

      margin-left: calc(50% - 50vw);

      display: flex;

      gap: 12px;

      padding:
          18px 20px;

      border-radius: 0;

      border-left: 0;
      border-right: 0;

      overflow-x: auto;

      scroll-snap-type: x mandatory;
      scroll-padding-inline: 20px;

      -webkit-overflow-scrolling: touch;

      overscroll-behavior-x: contain;

      scrollbar-width: none;
  }

  .metrics-bar::-webkit-scrollbar {
      display: none;
  }

  .metric-item {
      width: 220px;
      min-width: 220px;

      flex: 0 0 220px;

      scroll-snap-align: start;

      gap: 12px;
  }

  .metric-item::after {
      display: none !important;
  }

  .metric-icon {
      width: 46px;
      height: 46px;

      flex-basis: 46px;

      font-size: 1.05rem;
  }

  .metric-value {
      font-size: 1.25rem;
  }

  .metric-label {
      font-size: 0.74rem;
  }

}


/* ==========================================================
 SMALL MOBILE
 <= 575px
========================================================== */

@media (max-width: 575.98px) {

  .testimonials-section {
      padding: 48px 0;
  }

  .ht-section-title {
      font-size: 1.65rem;
  }

  .ht-section-description {
      font-size: 0.84rem;
  }

  .testimonials-slider-wrapper {
      scroll-padding-inline: 15px;
  }

  .testimonials-grid {
      gap: 12px;

      padding-left: 15px;
      padding-right: 15px;
  }

  .testimonial-card {
      width: calc(100vw - 30px);

      flex-basis: calc(100vw - 30px);

      padding: 20px 18px;

      border-radius: 17px;
  }

  .testimonial-card__body {
      font-size: 0.84rem;
  }

  .carousel-controls {
      margin-bottom: 28px;
  }

  .control-btn {
      width: 36px;
      height: 36px;
  }

  .metrics-bar {
      scroll-padding-inline: 15px;

      padding-left: 15px;
      padding-right: 15px;
  }

  .metric-item {
      width: 205px;
      min-width: 205px;
      flex-basis: 205px;
  }

}


/* ==========================================================
 VERY SMALL PHONES
 <= 390px
========================================================== */

@media (max-width: 390px) {

  .testimonials-section {
      padding: 42px 0;
  }

  .ht-section-title {
      font-size: 1.5rem;
  }

  .ht-section-description {
      font-size: 0.8rem;
  }

  .ht-bg-quote-mark {
      font-size: 4rem;
      top: 150px;
  }

  .testimonial-card {
      padding: 18px 16px;
  }

  .testimonial-card__body {
      font-size: 0.81rem;
      line-height: 1.55;
  }

  .author-name {
      font-size: 0.9rem;
  }

  .author-role {
      font-size: 0.72rem;
  }

  .author-location {
      font-size: 0.67rem;
  }

  .metric-item {
      width: 195px;
      min-width: 195px;
      flex-basis: 195px;
  }

}


/* ==========================================================
 LANDSCAPE MOBILE
========================================================== */

@media (max-width: 767.98px) and (orientation: landscape) {

  .testimonials-section {
      padding: 42px 0;
  }

  .testimonial-card {
      width: 65vw;
      flex-basis: 65vw;
  }

}


/* ==========================================================
 REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

  .testimonial-card,
  .control-btn,
  .carousel-dots .dot {
      transition: none !important;
  }

  .testimonials-slider-wrapper,
  .metrics-bar {
      scroll-behavior: auto;
  }
}

  /* ==========================================================
   CALL TO ACTION (CTA) SECTION
   ========================================================== */

.cta-section {
  padding: 60px 0 80px;
  background-color: #FAFCFF;
}

/* Base Card Container */
.cta-card {
  position: relative;
  background: #030D2B; /* Deep Navy Blue */
  border-radius: 28px;
  padding: 60px 56px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(3, 13, 43, 0.4);
}

/* Background Ambient Visual Accents */
.cta-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.cta-bg-glow--top {
  width: 400px;
  height: 400px;
  top: -100px;
  right: 15%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(3, 13, 43, 0) 70%);
}

.cta-bg-glow--bottom {
  width: 350px;
  height: 350px;
  bottom: -100px;
  left: -50px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.2) 0%, rgba(3, 13, 43, 0) 70%);
}

.cta-dots-grid {
  position: absolute;
  top: 60px;
  left: 50%;
  width: 120px;
  height: 80px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  pointer-events: none;
}

.cta-arc-line {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

/* Grid Layout */
.cta-card__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Eyebrow Label Pill */
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px;
  margin-bottom: 24px;
}

.cta-eyebrow__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #F59E0B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.cta-eyebrow__text {
  color: #F59E0B;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.8px;
}

/* Main Typography */
.cta-title {
  color: #FFFFFF;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.cta-title__highlight {
  color: #F59E0B; /* Vibrant Gold Accent */
}

.cta-description {
  color: #94A3B8;
  font-size: 1.025rem;
  line-height: 1.65;
  margin-bottom: 36px;
}

.desktop-only {
  display: block;
}

/* CTA Action Buttons */
.cta-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.975rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  background: #0F172A;
  color: #FFFFFF;
}

.cta-btn--primary {
  background: linear-gradient(180deg, #FBBF24 0%, #F59E0B 100%);
  color: #0F172A;
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.4);
}

.cta-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(245, 158, 11, 0.5);
}

.cta-btn--outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.cta-btn--outline .cta-btn__icon {
  background: rgba(255, 255, 255, 0.15);
}

.cta-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Bottom Features Bar Inside CTA */
.cta-features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 16px 20px;
}

.cta-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.cta-feature-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.cta-feature-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.cta-feature-item__text {
  display: flex;
  flex-direction: column;
  font-size: 0.775rem;
  color: #94A3B8;
  line-height: 1.25;
}

.cta-feature-item__text strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* ==========================================================
   CTA VISUAL
   Single Composite Image
   ========================================================== */

   .cta-element--visual {
    position: relative;
    width: 100%;
    min-height: 520px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    z-index: 3;
  }
  
  
  /* ----------------------------------------------------------
     CTA IMAGE
  ---------------------------------------------------------- */
  
  .cta-element--visual img {
    display: block;
  
    width: 100%;
    max-width: 620px;
    height: auto;
  
    object-fit: contain;
  
    filter:
      drop-shadow(0 24px 40px rgba(0, 0, 0, 0.22));
  
    transform: translateY(4px);
  
    transition:
      transform 0.4s ease,
      filter 0.4s ease;
  }
  
  
  /* ----------------------------------------------------------
     SUBTLE HOVER
  ---------------------------------------------------------- */
  
  .cta-element--visual:hover img {
    transform: translateY(-4px);
  
    filter:
      drop-shadow(0 30px 50px rgba(0, 0, 0, 0.28));
  }
  
  
  /* ----------------------------------------------------------
     CTA FOOTER TAGLINE
  ---------------------------------------------------------- */
  
  .cta-footer-tagline {
    display: flex;
    align-items: center;
    gap: 20px;
  
    margin-top: 36px;
  }
  
  .tagline-divider {
    flex: 1;
    height: 1px;
  
    background: rgba(255, 255, 255, 0.12);
  }
  
  .tagline-badge {
    display: flex;
    align-items: center;
    gap: 8px;
  
    font-size: 0.875rem;
    font-weight: 600;
  
    color: rgba(255, 255, 255, 0.75);
  
    white-space: nowrap;
  }
  
  .tagline-icon {
    color: var(--secondary);
    font-size: 1rem;
  }
  
  
  /* ==========================================================
     CTA RESPONSIVE
     ========================================================== */
  
  @media (max-width: 1199.98px) {
  
    .cta-card {
      padding: 48px 40px;
    }
  
    .cta-card__grid {
      grid-template-columns: 1.05fr 0.95fr;
      gap: 30px;
    }
  
    .cta-element--visual {
      min-height: 460px;
    }
  
    .cta-element--visual img {
      max-width: 540px;
    }
  
  }
  
  
  /* ==========================================================
     TABLET
     ========================================================== */
  
  @media (max-width: 991.98px) {
  
    .cta-card__grid {
      grid-template-columns: 1fr;
      gap: 35px;
    }
  
    .cta-content {
      max-width: 720px;
    }
  
    .cta-element--visual {
      min-height: auto;
  
      margin-top: 5px;
    }
  
    .cta-element--visual img {
      width: 100%;
      max-width: 520px;
      margin: 0 auto;
    }
  
    .desktop-only {
      display: none;
    }
  
  }
  
  
  /* ==========================================================
     MOBILE
     ========================================================== */
  
  @media (max-width: 767.98px) {
  
    .cta-card {
      padding: 34px 22px;
      border-radius: 22px;
    }
  
    .cta-card__grid {
      gap: 28px;
    }
  
    .cta-element--visual {
      min-height: auto;
    }
  
    .cta-element--visual img {
      width: 100%;
      max-width: 420px;
  
      transform: none;
    }
  
    .cta-element--visual:hover img {
      transform: none;
    }
  
    .cta-footer-tagline {
      flex-direction: column;
      gap: 12px;
  
      margin-top: 28px;
    }
  
    .tagline-divider {
      width: 100%;
    }
  
  }
  
  
  /* ==========================================================
     SMALL MOBILE
     ========================================================== */
  
  @media (max-width: 575.98px) {
  
    .cta-card {
      padding: 30px 18px;
      border-radius: 20px;
    }
  
    .cta-element--visual img {
      max-width: 360px;
    }
  
    .cta-footer-tagline {
      margin-top: 24px;
    }
  
    .tagline-badge {
      font-size: 0.78rem;
  
      text-align: center;
      white-space: normal;
    }
  
  }
  
  /* ==========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================== */

@media (max-width: 1199px) {
  .cta-title {
    font-size: 2.25rem;
  }
  .cta-card {
    padding: 44px 36px;
  }
  .cta-features-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cta-feature-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 991px) {
  .cta-card__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-visual {
    min-height: 360px;
  }
  .desktop-only {
    display: inline;
  }
}

@media (max-width: 767px) {
  .cta-card {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .cta-description {
    font-size: 0.9rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    justify-content: center;
  }

  .cta-features-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-feature-item::after {
    display: none !important;
  }

  .cta-visual__wrapper {
    transform: scale(0.85);
    height: 320px;
  }

  .cta-footer-tagline {
    flex-direction: column;
    gap: 12px;
  }

  .tagline-divider {
    width: 100%;
  }
}