/* ==========================================================================
   ICDS Homepage Polish - Premium Warm Editorial Dental-Education Aesthetic
   Palette: Warm off-white/cream, dark navy/charcoal, gold/amber accents
   ========================================================================== */

:root {
  --hp-gold: #c28e34;
  --hp-amber: #d97706;
  --hp-amber-dark: #b45309;
  --hp-amber-light: #fef3c7;
  --hp-orange: #ea580c;
  --hp-navy: #090e17;
  --hp-charcoal: #0b1325;
  --hp-cream-bg: #faf7f2;
  --hp-card-border: rgba(194, 142, 52, 0.22);
  --hp-gold-gradient: linear-gradient(135deg, #d97706 0%, #c28e34 100%);
}

/* ---------- Banner carousel (Half-Height Editorial Hero) ---------- */
.home-banner-section {
  padding: 18px 0 0;
  background: var(--light-bg, #faf7f2);
}

.home-banner-wrap {
  /* Aligns with container below */
}

.home-banner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--hp-navy);
  border: 1px solid rgba(217, 119, 6, 0.25);
  box-shadow: 0 16px 48px rgba(11, 19, 37, 0.16), 0 0 40px rgba(217, 119, 6, 0.08);
  height: 280px;
}

.home-banner-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s ease;
}

.home-banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.home-banner-slide picture,
.home-banner-img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-banner-img {
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}

.home-banner-slide.is-active .home-banner-img {
  transform: scale(1);
}

.home-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 14, 23, 0.92) 0%, rgba(9, 14, 23, 0.72) 48%, rgba(9, 14, 23, 0.25) 100%);
}

.home-banner-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 64px 32px 36px;
  max-width: 680px;
  color: #ffffff;
}

.home-banner-copy.no-overlay {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.home-banner-subtitle {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #fcd34d;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-banner-subtitle::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
}

.home-banner-title {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 3.8vw, 36px);
  line-height: 1.18;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.home-banner-desc {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 580px;
}

.home-banner-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.home-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.home-banner-btn.is-primary {
  background: var(--hp-gold-gradient);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
}

.home-banner-btn.is-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
}

.home-banner-btn.is-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.45);
}

.home-banner-btn.is-primary:hover::after {
  left: 140%;
  transition: left 0.75s ease-in-out;
}

.home-banner-btn.is-secondary {
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.home-banner-btn.is-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.home-banner-btn:focus-visible,
.home-banner-arrow:focus-visible,
.home-banner-dot:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--hp-amber);
}

.home-banner-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(11, 19, 37, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.home-banner-arrow:hover {
  background: var(--hp-amber);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.home-banner-arrow.is-prev { left: 16px; }
.home-banner-arrow.is-next { right: 16px; }

.home-banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.home-banner-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.home-banner-dot::after {
  content: "";
  position: absolute;
  inset: -10px -4px;
}

.home-banner-dot.is-active {
  width: 26px;
  background: var(--hp-gold-gradient);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

@media (min-width: 576px) {
  .home-banner { height: 320px; }
  .home-banner-copy { padding: 32px 76px 42px 48px; }
  .home-banner-arrow { display: inline-flex; }
}

@media (min-width: 992px) {
  .home-banner { height: 350px; border-radius: 28px; }
  .home-banner-copy { padding: 40px 90px 48px 60px; }
  .home-banner-title { font-size: 38px; }
  .home-banner-desc { font-size: 15.5px; }
}

@media (min-width: 1200px) {
  .home-banner { height: 380px; }
}

@media (max-width: 575.98px) {
  .home-banner-section { padding-top: 10px; }
  .home-banner { height: 290px; border-radius: 18px; }
  .home-banner-copy { padding: 20px 20px 32px 20px; }
  .home-banner-actions .home-banner-btn { width: 100%; min-height: 38px; }
  .home-banner-actions { width: 100%; }
  .home-banner-title { font-size: 20px; margin-bottom: 6px; }
  .home-banner-desc { -webkit-line-clamp: 2; font-size: 13px; margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-banner-slide, .home-banner-dot, .home-banner-btn, .home-banner-img { transition: none; transform: none; }
}

/* ---------- Section rhythm & tags ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.22);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hp-amber);
}

.section-title {
  letter-spacing: -0.015em;
  color: var(--hp-charcoal);
  font-family: 'Playfair Display', Georgia, serif;
}

/* ---------- Categories Section ---------- */
#categories {
  position: relative;
  background: var(--light-bg, #faf7f2);
  padding: 70px 0;
}

.category-card {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(11, 19, 37, 0.08);
  box-shadow: 0 4px 18px rgba(11, 19, 37, 0.04);
  transition: all 0.25s ease;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: 0 16px 36px rgba(11, 19, 37, 0.08), 0 0 20px rgba(217, 119, 6, 0.06);
}

/* ---------- Featured Courses Section ---------- */
.course-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 0;
  background:
    radial-gradient(900px 420px at 88% -6%, rgba(217, 119, 6, 0.06), transparent 60%),
    radial-gradient(760px 380px at 4% 108%, rgba(194, 142, 52, 0.06), transparent 60%),
    linear-gradient(180deg, #fbf9f5 0%, #f7f3ec 55%, #faf7f2 100%);
}

.course-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(194, 142, 52, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194, 142, 52, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}

.course-section .container { position: relative; }

.course-card {
  position: relative;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--hp-card-border);
  box-shadow: 0 4px 20px rgba(11, 19, 37, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 6, 0.45);
  box-shadow: 0 20px 46px rgba(11, 19, 37, 0.12), 0 0 24px rgba(217, 119, 6, 0.1);
}

.course-card:focus-within {
  border-color: var(--hp-amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.22);
}

.course-card .course-thumbnail {
  height: auto;
  aspect-ratio: 16 / 10;
  background: #fef3c7;
  position: relative;
  overflow: hidden;
}

.course-thumb-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 19, 37, 0.35) 100%);
}

.course-card .course-badge {
  background: var(--hp-gold-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 11px;
  border-radius: 9999px;
  padding: 4px 12px;
}

.course-card .course-content {
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-card .course-category {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #fef3c7;
  color: #b45309;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.course-card .course-title {
  margin: 12px 0 8px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.course-title-link {
  color: var(--hp-charcoal);
  text-decoration: none;
  transition: color 0.2s ease;
}

.course-title-link:hover {
  color: var(--hp-amber);
}

.course-short-desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-instructor {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--hp-charcoal);
  font-weight: 600;
  margin-bottom: 8px;
}

.course-instructor i {
  color: var(--hp-amber);
  font-size: 16px;
}

.course-card .course-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(11, 19, 37, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-card .course-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--hp-charcoal);
}

/* Card CTA: the orange -> amber pill is defined once in main.css (.course-view-btn). */
.course-card .course-view-btn {
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

/* ---------- Mentor Section (Homepage) ---------- */
.mentor-section {
  padding: 85px 0;
  background: #ffffff;
  position: relative;
}

.mentor-portrait-wrap {
  position: relative;
  display: inline-block;
  border-radius: 28px;
}

.mentor-portrait-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 34px;
  border: 1.5px solid rgba(194, 142, 52, 0.35);
  pointer-events: none;
}

.mentor-portrait-img {
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(11, 19, 37, 0.14);
  max-width: 440px;
  width: 100%;
}

.mentor-experience-badge {
  position: absolute;
  bottom: 20px;
  right: -10px;
  background: var(--hp-gold-gradient);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.4);
  display: inline-flex;
  align-items: center;
}

.mentor-subtitle {
  font-size: 16px;
  color: #64748b;
}

.mentor-credentials-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.mentor-cred-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mentor-cred-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fef3c7;
  color: var(--hp-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

.mentor-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--hp-charcoal);
  border-left: 3px solid var(--hp-amber);
  padding-left: 18px;
  margin: 20px 0;
}

/* ---------- Home Reviews / Testimonials ---------- */
.home-reviews-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 85px 0;
  background:
    radial-gradient(700px 360px at 12% 0%, rgba(217, 119, 6, 0.06), transparent 60%),
    radial-gradient(760px 380px at 92% 100%, rgba(194, 142, 52, 0.08), transparent 60%),
    linear-gradient(180deg, #faf7f2 0%, #f5efe4 100%);
}

.home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-review-card {
  position: relative;
  margin: 0;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--hp-card-border);
  box-shadow: 0 8px 28px rgba(11, 19, 37, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(11, 19, 37, 0.12), 0 0 20px rgba(217, 119, 6, 0.08);
}

.home-review-stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
}

.home-review-quote {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--hp-charcoal);
  flex: 1 1 auto;
}

.home-review-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(11, 19, 37, 0.07);
}

.home-review-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--hp-amber);
}

.home-review-avatar.is-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #ffffff;
  background: var(--hp-gold-gradient);
  border: 0;
}

.home-review-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
}

.home-review-meta strong {
  color: var(--hp-charcoal);
  font-size: 14.5px;
}

.home-review-course {
  color: var(--hp-amber-dark);
  font-weight: 700;
  text-decoration: none;
}

.home-review-course:hover {
  color: var(--hp-amber);
  text-decoration: underline;
}

.home-review-demo {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  background: #fef3c7;
  color: #92400e;
  border: 1px dashed #d97706;
}

/* Video Testimonials */
.home-review-video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, #090e17, #1f293d);
}

.home-review-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-review-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 54px;
}

.home-review-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--hp-amber);
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.home-review-video:hover .home-review-play {
  transform: scale(1.1);
  background: var(--hp-amber);
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .home-reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
  .home-reviews-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -12px;
    padding: 4px 12px 16px;
  }
  .home-review-card { flex: 0 0 88%; scroll-snap-align: center; }
}

/* ==========================================================================
   Homepage Stats (Cohesive Premium Band)
   ========================================================================== */
.stats-strip {
  position: relative;
  z-index: 5;
  margin-top: -20px;
  margin-bottom: 28px;
}

/* Ensure hero floating badge stays safely clear of the stats band */
.hero-visual .hero-floating-card.first,
.hero-image-wrapper .hero-floating-card.first {
  bottom: 95px;
}

.stats-cohesive-band {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(11, 19, 37, 0.04), 0 2px 8px rgba(11, 19, 37, 0.02);
  padding: 26px 36px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Soft amber aura cleanly behind the container without clipped edges */
.stats-cohesive-band::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 28px;
  background: radial-gradient(ellipse at 50% 50%, rgba(217, 119, 6, 0.11) 0%, rgba(217, 119, 6, 0.03) 50%, transparent 75%);
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
}

.stats-cohesive-band:hover {
  box-shadow: 0 14px 38px rgba(11, 19, 37, 0.06), 0 4px 12px rgba(217, 119, 6, 0.04);
  transform: translateY(-2px);
}

.stats-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  gap: 0;
}

.stats-band-inner .stat-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0 24px;
  min-width: 0;
}

/* Subtle short vertical separators centered vertically */
.stats-band-inner .stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 48px;
  width: 1px;
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.04), rgba(217, 119, 6, 0.22) 30%, rgba(217, 119, 6, 0.22) 70%, rgba(217, 119, 6, 0.04));
}

.stats-band-inner .stat-number {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 2.6vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  color: #0b1325;
  display: inline-block;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.stats-band-inner .stat-label {
  font-size: 15.5px;
  font-weight: 600;
  color: #556987;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.25;
  text-align: center;
}

@media (max-width: 991.98px) {
  .stats-cohesive-band {
    padding: 22px 24px;
    border-radius: 22px;
  }
  .stats-band-inner .stat-number {
    font-size: 32px;
  }
  .stats-band-inner .stat-label {
    font-size: 14.5px;
  }
  .stats-band-inner .stat-item:not(:last-child)::after {
    height: 40px;
  }
}

@media (max-width: 767.98px) {
  .stats-strip {
    margin-top: -15px;
    margin-bottom: 24px;
  }
  .stats-cohesive-band {
    padding: 18px 14px;
    border-radius: 20px;
  }
  .stats-band-inner {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 8px;
  }
  .stats-band-inner .stat-item {
    padding: 0 4px;
  }
  .stats-band-inner .stat-item:not(:last-child)::after {
    display: none;
  }
  .stats-band-inner .stat-number {
    font-size: 26px;
    margin-bottom: 2px;
  }
  .stats-band-inner .stat-label {
    font-size: 13px;
    line-height: 1.2;
  }
}

@media (max-width: 390px) {
  .stats-cohesive-band {
    padding: 16px 10px;
    border-radius: 18px;
  }
  .stats-band-inner {
    gap: 4px;
  }
  .stats-band-inner .stat-number {
    font-size: 24px;
  }
  .stats-band-inner .stat-label {
    font-size: 12px;
  }
}

/* ==========================================================================
   Learn by Category (Single Featured Card & Multi-Grid)
   ========================================================================== */
.categories-section {
  position: relative;
  background: #faf7f2;
  background: radial-gradient(800px 400px at 90% 10%, rgba(217, 119, 6, 0.05), transparent 70%), #faf7f2;
  padding: 85px 0;
}

/* Single Featured Category Card */
.category-featured-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.category-featured-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
  background: #ffffff;
  border: 1.5px solid rgba(217, 119, 6, 0.22);
  border-radius: 28px;
  box-shadow: 0 16px 44px rgba(11, 19, 37, 0.07), 0 0 36px rgba(217, 119, 6, 0.05);
  padding: 40px 48px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-featured-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.12), transparent 70%);
  pointer-events: none;
}

.category-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(11, 19, 37, 0.12), 0 0 45px rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.35);
}

.category-featured-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.category-featured-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--hp-amber, #d97706);
  background: #fef3c7;
  padding: 5px 14px;
  border-radius: 9999px;
  width: fit-content;
}

.category-featured-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--hp-charcoal, #0b1325);
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.01em;
}

.category-featured-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
  max-width: 480px;
}

.category-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.category-featured-pill {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: var(--hp-charcoal, #0b1325);
  border: 1px solid rgba(11, 19, 37, 0.08);
}

.category-featured-pill.is-accent {
  background: #fffaf0;
  color: var(--hp-amber-dark, #b45309);
  border-color: rgba(217, 119, 6, 0.2);
}

.category-featured-action {
  margin-top: 10px;
}

.category-featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 9999px;
  background: var(--hp-gold-gradient);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.32);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.category-featured-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
}

.category-featured-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.45);
}

.category-featured-btn:hover::after {
  left: 140%;
  transition: left 0.75s ease-in-out;
}

.category-featured-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(11, 19, 37, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.18);
  aspect-ratio: 4 / 3;
  background: #faf7f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-featured-card:hover .category-featured-img {
  transform: scale(1.04);
}

.category-featured-fallback {
  font-size: 64px;
  color: var(--hp-amber, #d97706);
}

/* Multi-category Grid Enhancements (>= 2 categories) */
.categories-grid .category-card {
  background: #ffffff;
  border: 1px solid var(--hp-card-border);
  border-radius: 20px;
  box-shadow: 0 8px 26px rgba(11, 19, 37, 0.05);
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.categories-grid .category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(11, 19, 37, 0.1), 0 0 24px rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.35);
}

.categories-grid .category-image-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 4px;
}

.categories-grid .category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.categories-grid .category-card:hover .category-image {
  transform: scale(1.05);
}

.categories-grid .category-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.categories-grid .category-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fef3c7;
  color: var(--hp-amber, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.categories-grid .category-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--hp-charcoal, #0b1325);
  margin: 0;
}

.categories-grid .category-count {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

@media (max-width: 991.98px) {
  .category-featured-card {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    gap: 24px;
  }
  .category-featured-media {
    max-height: 280px;
  }
}

/* ==========================================================================
   Simple Learning Process Section (Clean Warm Cream / Connected Steps)
   ========================================================================== */
.process-section {
  position: relative;
  background: #ffffff;
  background: radial-gradient(850px 420px at 50% 0%, rgba(217, 119, 6, 0.06) 0%, rgba(255, 253, 249, 0.98) 60%, #ffffff 100%);
  padding: 95px 0;
  overflow: hidden;
  border-top: 1px solid rgba(217, 119, 6, 0.12);
}

.process-section::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 280px;
  background: radial-gradient(ellipse, rgba(217, 119, 6, 0.08), transparent 70%);
  pointer-events: none;
}

.process-section .section-title {
  color: var(--hp-charcoal, #0b1325) !important;
  margin-bottom: 14px;
}

.process-section .section-description {
  color: #64748b !important;
  max-width: 620px;
  margin: 0 auto;
}

.process-steps-track {
  position: relative;
  margin-top: 45px;
}

/* Subtle Desktop Progression Line */
.process-steps-line {
  position: absolute;
  top: 48px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, rgba(217, 119, 6, 0.18) 0%, rgba(217, 119, 6, 0.55) 50%, rgba(217, 119, 6, 0.18) 100%);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px 18px;
  border-radius: 20px;
  background: transparent;
  color: var(--hp-charcoal, #0b1325) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, box-shadow 0.25s ease;
}

.process-step::after {
  display: none !important;
}

.process-step:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(11, 19, 37, 0.06), 0 0 20px rgba(217, 119, 6, 0.05);
}

.process-number-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.process-number {
  width: 72px;
  height: 72px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(217, 119, 6, 0.3);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.15), 0 0 0 6px #fffdf9;
  color: var(--hp-amber, #d97706) !important;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.process-step:hover .process-number {
  transform: scale(1.08);
  border-color: var(--hp-amber, #d97706);
  box-shadow: 0 10px 28px rgba(217, 119, 6, 0.26), 0 0 0 6px #ffffff;
}

.process-step h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18.5px;
  font-weight: 700;
  color: var(--hp-charcoal, #0b1325) !important;
  margin-bottom: 10px;
  line-height: 1.3;
}

.process-step p {
  color: #64748b !important;
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0;
}

/* Mobile & Tablet Vertical Flow */
@media (max-width: 991.98px) {
  .process-steps-line {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .process-section {
    padding: 70px 0;
  }
  .process-steps-track {
    position: relative;
    padding-left: 10px;
  }
  .process-steps-line {
    display: block;
    top: 36px;
    bottom: 36px;
    left: 45px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.2) 0%, rgba(217, 119, 6, 0.55) 50%, rgba(217, 119, 6, 0.2) 100%);
  }
  .process-step {
    display: flex;
    text-align: left;
    gap: 18px;
    padding: 16px 12px;
    align-items: flex-start;
  }
  .process-number-wrap {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .process-number {
    width: 54px;
    height: 54px;
    font-size: 19px;
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.12), 0 0 0 4px #fffdf9;
  }
  .process-step-content {
    flex: 1;
    min-width: 0;
  }
  .process-step h4 {
    font-size: 17px;
    margin-bottom: 6px;
  }
  .process-step p {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stats-cohesive-band,
  .category-featured-card,
  .category-featured-btn,
  .process-step,
  .process-number {
    transition: none !important;
    transform: none !important;
  }
}


/* ---------- Mentor section CTA: warm orange theme (was the stock blue Bootstrap button) ---------- */
.mentor-section .btn.btn-primary {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 9999px;
  padding: 11px 26px;
  background: linear-gradient(135deg, var(--accent-orange, #ea580c) 0%, var(--accent-amber, #f59e0b) 100%);
  color: var(--cta-ink, #1c1204) !important;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.mentor-section .btn.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.mentor-section .btn.btn-primary:hover,
.mentor-section .btn.btn-primary:focus {
  background: linear-gradient(135deg, var(--accent-orange, #ea580c) 0%, var(--accent-amber, #f59e0b) 100%);
  color: var(--cta-ink, #1c1204) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.38);
  filter: saturate(1.08);
}

.mentor-section .btn.btn-primary:hover::after { left: 130%; }

.mentor-section .btn.btn-primary:focus-visible {
  outline: 3px solid var(--cta-ink, #1c1204);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .mentor-section .btn.btn-primary,
  .mentor-section .btn.btn-primary::after { transition: none; }
}
