/* Custom styles lifted from the legacy inline <style> blocks (header.php call
   button + hero.php carousel) so the Next port renders identically. */

.call-button {
  position: fixed;
  bottom: 80px;
  right: 15px;
  background-color: #7c3aed;
  color: #fff;
  padding: 10px;
  border-radius: 100%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  font-size: 20px;
  text-align: center;
  transition: background-color 0.3s ease;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-button:hover {
  background-color: #6d28d9;
  color: #fff;
}

/* ── Hero carousel (from hero.php) ─────────────────────────────────────────── */
.custom-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.custom-hero,
.aastha-hero-carousel,
.aastha-hero-inner,
.custom-carousel-item {
  height: 70vh;
  position: relative;
  overflow: hidden;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.custom-carousel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.custom-carousel-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 40px 60px;
}

.custom-carousel-container h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff !important;
  line-height: 1.2;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.custom-carousel-container p {
  font-size: 1.4rem;
  max-width: 800px;
  margin-bottom: 25px;
  line-height: 1.5;
  color: #fff !important;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.btn-get-started {
  display: inline-block;
  padding: 14px 32px;
  background: #ff5100;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-get-started:hover {
  background: #f70202;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* Carousel arrow controls */
.aastha-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.aastha-hero-arrow:hover {
  opacity: 1;
}

.aastha-hero-arrow.prev {
  left: 16px;
}

.aastha-hero-arrow.next {
  right: 16px;
}

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

.aastha-hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.aastha-hero-dots button.active {
  background: #fff;
}

@media (max-width: 1024px) {

  .custom-hero,
  .aastha-hero-carousel,
  .aastha-hero-inner,
  .custom-carousel-item {
    height: 75vh;
  }

  .custom-carousel-container h2 {
    font-size: 2.4rem;
  }

  .custom-carousel-container p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {

  .custom-hero,
  .aastha-hero-carousel,
  .aastha-hero-inner,
  .custom-carousel-item {
    height: auto;
  }

  .carousel-image {
    height: auto;
    max-height: 60vh;
    width: 100%;
    object-fit: contain;
    background-color: #000;
  }

  .custom-carousel-container {
    padding: 16px;
  }

  .custom-carousel-container h2 {
    font-size: 1.1rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .custom-carousel-container p {
    font-size: 0.95rem;
  }

  .btn-get-started {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Gallery lightbox (React reimplementation of GLightbox) */
.aastha-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.aastha-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 6px;
}

.aastha-lightbox .close {
  position: absolute;
  top: 18px;
  right: 24px;
  color: #fff;
  font-size: 34px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* ── Toppers / testimonial cards (from testimonial.php; page-bg bug dropped) ── */
figure.custom-snip1192 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: visible;
  margin: 10px;
  min-width: 280px;
  max-width: 400px;
  width: 100%;
  color: #333;
  text-align: left;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

figure.custom-snip1192 * {
  box-sizing: border-box;
}

figure.custom-snip1192 img {
  max-width: 100%;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
  display: inline-block;
  z-index: 1;
  position: relative;
}

figure.custom-snip1192 blockquote {
  margin: 0;
  display: block;
  border-radius: 8px;
  position: relative;
  background-color: #fafafa;
  padding: 30px 50px;
  font-size: 0.8em;
  font-weight: 500;
  line-height: 1.6em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.custom-description {
  height: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  padding: 10px;
}

figure.custom-snip1192 blockquote:before,
figure.custom-snip1192 blockquote:after {
  font-family: 'bootstrap-icons';
  content: "\201C";
  position: absolute;
  font-size: 50px;
  opacity: 0.3;
  font-style: normal;
}

figure.custom-snip1192 blockquote:before {
  top: 35px;
  left: 20px;
}

figure.custom-snip1192 blockquote:after {
  content: "\201D";
  right: 20px;
  bottom: 35px;
}

figure.custom-snip1192 .custom-author {
  margin: 5px 10px;
  text-transform: uppercase;
  text-align: center;
  color: #333;
}

figure.custom-snip1192 .custom-author h5 {
  opacity: 0.9;
  margin: 0;
  font-weight: 800;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

figure.custom-snip1192 .rank-exam-batch {
  font-weight: 600;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  display: block;
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-swiper-container .swiper-slide {
  height: auto;
}

/* ── Custom Alert Banner Marquee Ticker ─────────────────────────────────────────── */
.marquee-container {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 4rem;
  animation: marquee-scroll-left 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll-left {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.hover-text-gold:hover {
  color: #C9A84C !important;
}

/* ── Desktop & Mobile Header enhancements ───────────────────────────────── */
.since-text {
  font-size: 9px;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.since-year {
  font-size: 14px;
  color: var(--ah-primary, #7c3aed);
  font-weight: 800;
}

.desktop-helpline-badge {
  transition: transform 0.2s ease;
}

.desktop-helpline-badge:hover {
  transform: translateY(-1px);
}

.bg-gold-badge {
  background-color: rgba(201, 168, 76, 0.15);
  transition: background-color 0.2s ease;
}

.desktop-helpline-badge:hover .bg-gold-badge {
  background-color: rgba(201, 168, 76, 0.25);
}

.text-gold-badge-icon {
  color: #C9A84C;
}

.helpline-badge-text {
  font-size: 9px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.helpline-badge-num {
  font-size: 14px;
  color: #0F172A;
  font-weight: 700;
}

.signin-btn {
  border: 1.5px solid #C9A84C !important;
  color: #C9A84C !important;
  background: transparent !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-size: 13px !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
}

.signin-btn:hover {
  background-color: #C9A84C !important;
  color: #0D1B3E !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3) !important;
}

/* ── Custom sliding mobile drawer ───────────────────────────────────────── */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  z-index: 9999;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.mobile-drawer {
  width: 330px;
  max-width: 85%;
  height: 100%;
  background: #0D1B3E;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.open .mobile-drawer {
  transform: translateX(0);
}

.drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  background: #0A132C !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 16px 20px !important;
  box-sizing: border-box !important;
}

.drawer-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.drawer-logo-text {
  font-size: 18px !important;
  white-space: nowrap !important;
  color: #C9A84C !important;
  font-weight: 700 !important;
  font-family: 'Playfair Display', Georgia, serif !important;
}

.ah-root .logo-text {
  white-space: nowrap !important;
}

.btn-close-drawer {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
  background: transparent !important;
  border: none !important;
  color: #9BAEC8 !important;
  /* Premium thin grey/light-blue look */
  margin-left: auto !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.3s ease !important;
}

.btn-close-drawer:hover {
  transform: rotate(90deg) !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 20px;
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px !important;
}

.drawer-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: #9BAEC8;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.drawer-menu li a:hover,
.drawer-menu li.active>a {
  color: #C9A84C;
  background: rgba(201, 168, 76, 0.08);
}

/* Color inconsistency fixed in submenus with left border guides */
.drawer-submenu {
  background: rgba(255, 255, 255, 0.03) !important;
  border-left: 2px solid rgba(201, 168, 76, 0.3) !important;
  margin: 6px 12px 6px 16px !important;
  padding: 6px 0 !important;
  border-radius: 4px !important;
}

.drawer-submenu li a {
  padding: 10px 16px !important;
  font-size: 13.5px !important;
  color: #9BAEC8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  text-transform: none !important;
  border-radius: 4px !important;
}

.drawer-submenu li a:hover,
.drawer-submenu li.active>a {
  color: #C9A84C !important;
  background: rgba(201, 168, 76, 0.06) !important;
}

.drawer-sub-submenu {
  background: rgba(0, 0, 0, 0.2) !important;
  border-left: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  margin: 4px 8px 4px 16px !important;
  padding: 4px 0 !important;
  border-radius: 4px !important;
}

.drawer-sub-submenu li a {
  padding: 8px 16px !important;
  font-size: 12.5px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

.drawer-sub-submenu li a:hover {
  color: #C9A84C !important;
  background: rgba(201, 168, 76, 0.04) !important;
}

.drawer-footer {
  background: #0A132C;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-helpline-card {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.15);
  transition: background-color 0.2s ease;
}

.mobile-helpline-card:hover {
  background: rgba(201, 168, 76, 0.12);
}

.helpline-title {
  font-size: 11px;
  color: #9BAEC8;
  font-weight: 500;
}

.helpline-num {
  font-size: 16px;
  color: #ffffff;
  font-weight: 700;
}

.mobile-drawer-btn {
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.mobile-drawer-btn.solid-btn {
  background: #C9A84C;
  color: #0D1B3E;
}

.mobile-drawer-btn.solid-btn:hover {
  background: #d8b75b;
}

/* ─────────────────────────────────────────────────────────────────────────────
   HERO V2 — Premium redesign (pure CSS/JS, no Swiper dependency)
   Navy #081B3A · Gold #F5C542 · White #FFFFFF
   ────────────────────────────────────────────────────────────────────────── */

/* ── Root section ─────────────────────────────────────────────────────────── */
.ah-hero-v2 {
  position: relative;
  overflow: hidden;
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 16px !important;
}

/* Grid texture */
.ah-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient glows */
.ah-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.ah-hero-glow-1 {
  width: 480px;
  height: 480px;
  top: -120px;
  left: -100px;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.08) 0%, transparent 70%);
}

.ah-hero-glow-2 {
  width: 560px;
  height: 560px;
  bottom: -160px;
  right: -80px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, transparent 70%);
}

/* ── Inner container ──────────────────────────────────────────────────────── */
.ah-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 32px 0;
}

@media (max-width: 991px) {
  .ah-hero-inner {
    padding: 10px 24px 0;
  }
}

@media (max-width: 767px) {
  .ah-hero-inner {
    padding: 8px 16px 0;
  }
}



/* ─────────────────────────────────────────────────────────────────────────────
   TOP 3 BUTTONS
   ────────────────────────────────────────────────────────────────────────── */
.ah-top-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin-bottom: 14px;
}

@media (max-width: 767px) {
  .ah-top-buttons {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .ah-top-btn {
    height: 40px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
  }

  .ah-top-btn__text {
    font-size: 11px !important;
  }

  .ah-top-btn--app {
    grid-column: span 2 !important;
  }
}

.ah-top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: transform 0.22s cubic-bezier(.16, 1, .3, 1), box-shadow 0.22s ease, filter 0.22s ease;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.ah-top-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s;
  background: rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}

.ah-top-btn:hover::before {
  opacity: 1;
}

.ah-top-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.ah-top-btn:active {
  transform: scale(0.97);
}

.ah-top-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.2s;
}

.ah-top-btn:hover .ah-top-btn__icon {
  background: rgba(255, 255, 255, 0.3);
}

.ah-top-btn__text {
  font-size: 11.5px;
}

@media (max-width: 767px) {
  .ah-top-btn__text {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .ah-top-btn__text {
    font-size: 9px;
  }
}

/* Hindi — minimal slate with gold accent */
.ah-top-btn--hindi {
  background: #ffffff !important;
  color: #0d1b3e !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(13, 27, 62, 0.04) !important;
}

.ah-top-btn--hindi .ah-top-btn__icon {
  background: rgba(245, 197, 66, 0.1) !important;
  color: #d97706 !important;
}

/* English — minimal slate with purple accent */
.ah-top-btn--english {
  background: #ffffff !important;
  color: #0d1b3e !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(13, 27, 62, 0.04) !important;
}

.ah-top-btn--english .ah-top-btn__icon {
  background: rgba(124, 58, 237, 0.08) !important;
  color: #7c3aed !important;
}

/* App — dark brand slate */
.ah-top-btn--app {
  background: #0d1b3e !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(13, 27, 62, 0.25) !important;
}

.ah-top-btn--app .ah-top-btn__icon {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #f5cd53 !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SLIDER WRAPPER
   ────────────────────────────────────────────────────────────────────────── */
.ah-slider-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
  /* Desktop height */
  height: 580px;
}

@media (max-width: 1024px) {
  .ah-slider-wrap {
    height: 500px;
  }
}

@media (max-width: 767px) {
  .ah-slider-wrap {
    height: 420px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
  }
}

/* ── Individual slide ─────────────────────────────────────────────────────── */
.ah-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  /* desktop only absolute; mobile handled below */
}

.ah-slide--active {
  opacity: 1;
  pointer-events: auto;
}

/* On mobile the wrapper has height:auto, so active slide must be in-flow */
@media (max-width: 767px) {
  .ah-slide {
    position: relative;
    /* all slides occupy space on mobile... */
    display: none;
    /* ...but hidden unless active */
  }

  .ah-slide--active {
    display: block;
  }
}

/* ── Desktop 2-col layout ────────────────────────────────────────────────── */
.ah-slide-desktop {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  background: transparent;
}

@media (max-width: 767px) {
  .ah-slide-desktop {
    display: none;
  }
}

/* Overlay gradient (left dark, fades right) */
.ah-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(248, 251, 255, 0.95) 0%,
      rgba(248, 251, 255, 0.4) 60%,
      transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Text — left 50% */
.ah-slide-text {
  position: relative;
  z-index: 2;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 52px 40px 52px 52px;
  animation: heroTextFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (max-width: 1100px) {
  .ah-slide-text {
    padding: 40px 28px 40px 36px;
  }
}

@media (max-width: 1024px) {
  .ah-slide-text {
    width: 58%;
    padding: 36px 24px 36px 32px;
  }
}

/* Right — image or deco card */
.ah-slide-right {
  position: relative;
  flex: 1;
  z-index: 0;
  overflow: hidden;
}

.ah-slide-right-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ah-slide-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 6s ease;
}

.ah-slide--active .ah-slide-banner-img {
  transform: scale(1.04);
}

/* ── MOBILE stacked layout ──────────────────────────────────────────────── */
.ah-slide-mobile {
  display: none;
}

@media (max-width: 767px) {
  .ah-slide-mobile {
    display: flex;
    flex-direction: column;
    background: transparent;
  }
}

/* Mobile text block */
.ah-mobile-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px 24px !important;
  animation: heroTextFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Mobile image block */
.ah-mobile-img {
  width: 100% !important;
  min-height: 200px !important;
  overflow: hidden !important;
  border-radius: 0 0 24px 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.ah-mobile-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  max-height: 260px;
}

.ah-mobile-deco {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 20px;
  background: rgba(245, 197, 66, 0.05);
  border-top: 1px solid rgba(245, 197, 66, 0.15);
  text-align: center;
}

.ah-mobile-deco-icon {
  color: #F5C542;
}

.ah-mobile-deco-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin: 0;
}

@keyframes heroTextFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   PAGINATION DOTS — scoped to .ah-hero-v2 to beat aastha-modern.css conflicts
   aastha-modern.css has ".ah-dots button" — we counter it here
   ────────────────────────────────────────────────────────────────────────── */
.ah-hero-v2 .ah-dots {
  position: absolute !important;
  bottom: 16px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 20 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  pointer-events: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
}

@media (max-width: 767px) {
  .ah-hero-v2 .ah-dots {
    position: relative !important;
    bottom: auto !important;
    padding: 10px 0 14px !important;
    background: transparent !important;
  }
}

/* Counter aastha-modern ".ah-dots button" AND style our .ah-dot */
.ah-hero-v2 .ah-dots button,
.ah-hero-v2 .ah-dot {
  display: inline-block !important;
  width: 8px !important;
  min-width: 8px !important;
  max-width: 8px !important;
  height: 8px !important;
  min-height: 8px !important;
  max-height: 8px !important;
  border-radius: 50% !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: rgba(15, 23, 42, 0.15) !important;
  cursor: pointer !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: auto !important;
  outline: none !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
}

/* Active dot — wider pill, gold */
.ah-hero-v2 .ah-dots button.ah-dot--active,
.ah-hero-v2 .ah-dot--active {
  width: 26px !important;
  min-width: 26px !important;
  max-width: 26px !important;
  border-radius: 4px !important;
  background: #7c3aed !important;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.3) !important;
}

/* (image slide uses ah-slide-banner-img above) */

/* (text-slide styles are now inside ah-slide-text above) */

/* (text content styles kept below) */

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 100px;
  padding: 5px 14px;
  width: fit-content;
  color: #7c3aed;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7c3aed;
  animation: badgePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(245, 197, 66, 0);
  }
}

/* Heading */
.hero-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ah-ink);
  letter-spacing: -0.5px;
  margin: 0;
}

@media (max-width: 1100px) {
  .hero-heading {
    font-size: 48px;
  }
}

@media (max-width: 1024px) {
  .hero-heading {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  .hero-heading {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 24px;
  }
}

.hero-gold {
  color: var(--ah-primary);
}

/* Subheading */
.hero-subheading {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ah-text-secondary);
  margin: 0;
  max-width: 480px;
}

@media (max-width: 1024px) {
  .hero-subheading {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .hero-subheading {
    font-size: 13px;
    max-width: 100%;
  }
}

/* Feature pills */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 11.5px;
  color: var(--ah-text-secondary);
  font-weight: 500;
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.hero-feature-pill:hover {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.2);
  color: #7c3aed;
}

.hero-feature-icon {
  color: #7c3aed;
  flex-shrink: 0;
}

/* CTAs */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
  white-space: nowrap;
}

.hero-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45);
  color: #ffffff;
}

.hero-btn-arrow {
  transition: transform 0.2s;
}

.hero-btn-primary:hover .hero-btn-arrow {
  transform: translateX(3px);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--ah-ink);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 100px;
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.hero-btn-secondary:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--ah-ink);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .hero-ctas {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 13px !important;
    padding: 13px 20px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  .hero-badge--sm {
    background: rgba(124, 58, 237, 0.05) !important;
    border: 1px solid rgba(124, 58, 237, 0.12) !important;
    color: #7c3aed !important;
    padding: 5px 12px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border-radius: 100px !important;
    width: fit-content !important;
  }

  .hero-badge-dot {
    background: #7c3aed !important;
    width: 6px !important;
    height: 6px !important;
  }

  .hero-heading {
    color: #0d1b3e !important;
    font-size: 23px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.4px !important;
  }

  .hero-subheading {
    color: #475569 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .hero-features {
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    margin-bottom: 6px !important;
    padding: 4px 0 !important;
  }

  .hero-features-track {
    display: flex !important;
    gap: 8px !important;
    width: max-content !important;
    animation: hero-features-marquee-scroll 18s linear infinite !important;
  }

  .hero-features:hover .hero-features-track {
    animation-play-state: paused !important;
  }

  .hero-feature-pill {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    font-size: 11px !important;
    padding: 6px 14px !important;
    border-radius: 100px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02) !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .hero-feature-icon {
    color: #7c3aed !important;
  }

  @keyframes hero-features-marquee-scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-33.3333%);
    }
  }

  .hero-btn-secondary {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0d1b3e !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  }

  .hero-btn-secondary:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0d1b3e !important;
  }
}

/* (right side / deco block handled by .ah-slide-right above) */

.hero-glow-1 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.12) 0%, transparent 70%);
  top: 10%;
  right: 5%;
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-glow-2 {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  bottom: 15%;
  left: 5%;
  animation: heroFloat 8s ease-in-out infinite reverse;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }
}

.hero-deco-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 197, 66, 0.2);
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 360px;
  width: 85%;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: heroFloat 7s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-deco-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(245, 197, 66, 0.12);
  border: 1px solid rgba(245, 197, 66, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F5C542;
}

.hero-deco-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

.hero-deco-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

.hero-deco-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #F5C542;
  text-decoration: none;
  transition: gap 0.2s;
}

.hero-deco-link:hover {
  gap: 7px;
  color: #FFD966;
}

/* (image slide handled by ah-slide-banner-img / ah-mobile-banner-img above) */

/* ─────────────────────────────────────────────────────────────────────────────
   STATS BAR — scoped to override aastha-modern.css conflicts
   ────────────────────────────────────────────────────────────────────────── */
.ah-hero-v2+.ah-stats-bar,
.ah-stats-bar {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  padding: 10px 0 !important;
  margin-top: 16px !important;
  overflow: hidden !important;
  width: 100% !important;
}

.ah-stats-track {
  display: flex !important;
  width: max-content !important;
  animation: ah-stats-scroll 35s linear infinite !important;
}

.ah-stats-track:hover {
  animation-play-state: paused !important;
}

.ah-stats-group {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.ah-stat-item-wrap {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.ah-stat {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 10px 45px !important;
  transition: transform 0.2s ease !important;
  border: none !important;
  border-left: none !important;
  flex-shrink: 0 !important;
  width: auto !important;
}

.ah-stat:hover {
  transform: scale(1.03) !important;
}

/* ── Divider between stats ── */
.ah-stat-divider {
  width: 1px !important;
  height: 32px !important;
  background: rgba(15, 23, 42, 0.08) !important;
  align-self: center !important;
  display: block !important;
  flex-shrink: 0 !important;
}

/* ── Mobile styling: keeps rolling, makes background dark and contrasty ── */
@media (max-width: 767px) {
  .ah-stats-bar {
    padding: 8px 0 !important;
    margin-top: 10px !important;
    background: #081B3A !important;
    border-top: none !important;
  }

  .ah-stat {
    padding: 10px 25px !important;
  }

  .ah-stat-divider {
    height: 24px !important;
    background: rgba(255, 255, 255, 0.15) !important;
  }

  .ah-stat__num {
    font-size: 15px !important;
    color: #F5C542 !important;
    /* Gold on dark background */
  }

  .ah-stat__label {
    font-size: 9px !important;
    color: #cbd5e1 !important;
    /* Light text on dark background */
    margin-top: 3px !important;
  }
}

@keyframes ah-stats-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Counter .ah-stat b and .ah-stat span from aastha-modern.css */
.ah-stats-bar .ah-stat b,
.ah-stats-bar .ah-stat span {
  all: unset;
}

/* Counter the ah-stat + ah-stat left border from aastha-modern.css */
.ah-stats-bar .ah-stat+.ah-stat {
  padding-left: 0 !important;
  border-left: none !important;
}

.ah-stat__num {
  display: block !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #7c3aed !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  letter-spacing: -0.3px !important;
  line-height: 1.2 !important;
}

.ah-stat__label {
  display: block !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  margin-top: 5px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  line-height: 1.4 !important;
  opacity: 1 !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TESTIMONIALS — topper photo support
   ────────────────────────────────────────────────────────────────────────── */
.ah-root .topper-avatar-img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: top !important;
  border: 3px solid #C9A84C !important;
  display: block !important;
  flex-shrink: 0 !important;
}

@media (max-width: 767px) {
  .ah-root .topper-avatar-img {
    width: 60px !important;
    height: 60px !important;
  }
}

/* Override the default 48px avatar to match photo size */
.ah-root .topper-avatar-wrap {
  display: flex !important;
  align-items: flex-start !important;
}

.ah-root .topper-avatar {
  width: 72px !important;
  height: 72px !important;
  font-size: 20px !important;
}

/* Small topper card photo */
.topper-card-img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: top !important;
  border: 2px solid #C9A84C !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.topper-card-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #C9A84C;
  color: #0D1B3E;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ABOUT PILLARS — nested card layout
   ────────────────────────────────────────────────────────────────────────── */
.about-pillars-container {
  background: rgba(124, 58, 237, 0.03) !important;
  border: 1px solid rgba(124, 58, 237, 0.08) !important;
  border-radius: 24px !important;
  padding: 20px !important;
  margin-top: 16px !important;
}

.about-pillars-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

/* Individual small cards inside */
.about-pillar-card {
  background: #ffffff !important;
  border: 1px solid rgba(13, 27, 62, 0.08) !important;
  border-radius: 16px !important;
  padding: 22px 20px !important;
  box-shadow: 0 4px 12px rgba(13, 27, 62, 0.02) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.about-pillar-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(124, 58, 237, 0.4) !important;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.08) !important;
}

.about-pillar-em-wrap {
  width: 42px !important;
  height: 42px !important;
  border-radius: 10px !important;
  background: rgba(124, 58, 237, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  margin-bottom: 12px !important;
  flex-shrink: 0 !important;
}

.about-pillar-title {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0D1B3E !important;
  margin: 0 0 6px !important;
  line-height: 1.3 !important;
}

.about-pillar-desc {
  font-size: 11.5px !important;
  color: #64748B !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* Align heights on desktop */
@media (min-width: 1024px) {
  .about-pillars-grid {
    grid-template-rows: 1fr 1fr !important;
    height: 100% !important;
  }
}

/* Mobile: left-right horizontal scrolling */
@media (max-width: 767px) {
  .about-pillars-container {
    padding: 12px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  .about-pillars-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 12px !important;
    padding: 4px 4px 12px 4px !important;
    scrollbar-width: none !important;
    /* Firefox */
  }

  .about-pillars-grid::-webkit-scrollbar {
    display: none !important;
    /* Safari/Chrome */
  }

  .about-pillar-card {
    flex: 0 0 85% !important;
    scroll-snap-align: start !important;
    padding: 18px 16px !important;
    border-radius: 14px !important;
  }

  .about-pillar-em-wrap {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  .about-pillar-title {
    font-size: 13px !important;
  }

  .about-pillar-desc {
    font-size: 11px !important;
  }
}


/* ─────────────────────────────────────────────────────────────────────────────
   COURSE SQUARE CARDS + DETAIL PANEL (CourseCategoryGrid)
   ────────────────────────────────────────────────────────────────────────── */

/* Square card — same proportions on mobile & desktop */
.ah-root button.cc-square-card,
.cc-square-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff !important;
  border-radius: 20px !important;
  border: 1.5px solid rgba(13, 27, 62, 0.08) !important;
  padding: 18px 12px 14px !important;
  gap: 8px !important;
  cursor: pointer;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1), border-color 250ms ease, background-color 250ms ease !important;
  box-shadow: 0 8px 24px rgba(13, 27, 62, 0.03) !important;
  aspect-ratio: 1 / 1.05 !important;
  overflow: hidden !important;
}

.ah-root button.cc-square-card:hover,
.cc-square-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 32px rgba(13, 27, 62, 0.08) !important;
  border-color: var(--c-color, #7c3aed) !important;
}

.ah-root button.cc-square-card--active,
.cc-square-card--active {
  border-color: var(--c-color, #7c3aed) !important;
  border-width: 2px !important;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.12) !important;
  background: #ffffff !important;
}

/* Colored rounded icon area — takes up ~40% of card height */
.cc-sq-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--c-bg, #F4F6FB);
  color: var(--c-color, #C9A84C);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.cc-square-card--active .cc-sq-icon-wrap,
.cc-square-card:hover .cc-sq-icon-wrap {
  background: var(--c-color, #C9A84C);
  color: #ffffff;
}

@media (max-width: 480px) {
  .cc-sq-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}

.cc-sq-label {
  font-size: 12px;
  font-weight: 700;
  color: #0D1B3E;
  line-height: 1.3;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .cc-sq-label {
    font-size: 11px;
  }
}

.cc-sq-fee {
  font-size: 11px;
  font-weight: 800;
  color: var(--c-color, #0D1B3E);
  background: var(--c-bg, #F4F6FB);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.cc-sq-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--c-color, #C9A84C);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

/* Detail panel — slides in inline below the active row */
.cc-detail-panel {
  margin-top: 16px;
  margin-bottom: 8px;
  background: #ffffff;
  border-radius: 24px;
  border: 2px solid var(--c-color, #7c3aed);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(13, 27, 62, 0.08);
  animation: ccDetailIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cc-detail-panel-inline {
  grid-column: 1 / -1;
}

@keyframes ccDetailIn {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(-10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.cc-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(13, 27, 62, 0.02);
  border-bottom: 1px solid rgba(13, 27, 62, 0.06);
}

.cc-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-color, #C9A84C);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.cc-detail-title {
  font-size: 18px;
  font-weight: 800;
  color: #0D1B3E;
  margin: 0;
  line-height: 1.2;
}

.cc-detail-sub {
  font-size: 12px;
  color: #64748B;
  margin: 2px 0 0;
  font-weight: 500;
}

.ah-root button.cc-detail-close,
.cc-detail-close {
  margin-left: auto !important;
  background: rgba(13, 27, 62, 0.05) !important;
  border: none !important;
  cursor: pointer !important;
  color: #64748B !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

.ah-root button.cc-detail-close:hover,
.cc-detail-close:hover {
  color: #ffffff !important;
  background: #EF4444 !important;
  transform: rotate(90deg) !important;
}

.cc-detail-modules {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Sub-modules styled as modern small cards ("chota chota card") */
.cc-module-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(13, 27, 62, 0.08);
  border-left: 5px solid var(--c-color, #7c3aed);
  padding: 18px 24px;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(13, 27, 62, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cc-module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 27, 62, 0.08);
  border-color: var(--c-color, #7c3aed);
}

.cc-module-info {
  flex: 1;
}

.cc-module-name {
  font-size: 15px;
  font-weight: 700;
  color: #0D1B3E;
  line-height: 1.4;
}

.cc-module-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cc-module-fee {
  font-size: 15px;
  font-weight: 800;
  color: var(--c-color, #7c3aed);
  white-space: nowrap;
}

.cc-module-enroll {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff !important;
  background: var(--c-color, #7c3aed);
  padding: 8px 18px;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.cc-module-enroll:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  opacity: 0.95;
}

/* Mobile responsive card adjustments */
@media (max-width: 640px) {
  .cc-module-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 12px;
    border-radius: 14px;
    border-left-width: 4px;
  }

  .cc-module-name {
    font-size: 13.5px;
  }

  .cc-module-actions {
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid rgba(13, 27, 62, 0.06);
    padding-top: 10px;
    margin-top: 4px;
    gap: 8px;
  }

  .cc-module-fee {
    font-size: 14px;
  }

  .cc-module-enroll {
    font-size: 12px;
    padding: 6px 14px;
  }
}

.cc-detail-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid rgba(13, 27, 62, 0.06);
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cc-detail-footer {
    justify-content: space-between;
  }
}

.cc-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: #0D1B3E;
  background: linear-gradient(135deg, #F5CD53 0%, #E2A61E 100%);
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(226, 166, 30, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cc-wa-btn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(226, 166, 30, 0.3);
  color: #0D1B3E;
}

.cc-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 800;
  color: #0D1B3E;
  text-decoration: none;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cc-all-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-color, #C9A84C);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.cc-all-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cc-all-btn:hover {
  color: var(--c-color, #C9A84C);
}

/* ─────────────────────────────────────────────────────────────────────────────
   COURSE CATEGORY GRID CARDS (old tile style — kept for /courses page)
   ────────────────────────────────────────────────────────────────────────── */
.ccg-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ccg-card--open {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
  border-color: var(--c-color, #C9A84C);
}

.ccg-row {
  width: 100%;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.ccg-row:hover {
  background: rgba(0, 0, 0, 0.02);
}

.ccg-card--open .ccg-row {
  background: var(--c-bg, #F4F6FB);
}

.ccg-sno {
  font-size: 13px;
  font-weight: 700;
  color: #94A3B8;
  text-align: center;
}

.ccg-label-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ccg-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--c-bg, #F4F6FB);
  color: var(--c-color, #C9A84C);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.ccg-card--open .ccg-icon-wrap {
  background: var(--c-color, #C9A84C);
  color: #fff;
}

.ccg-label-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ccg-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-color, #0D1B3E);
  line-height: 1.3;
}

.ccg-subtitle {
  font-size: 11px;
  color: #64748B;
  font-weight: 500;
}

.ccg-badge {
  display: inline-block;
  background: var(--c-color, #C9A84C);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 4px;
  width: fit-content;
}

.ccg-fee-col {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.ccg-fee {
  font-size: 13px;
  font-weight: 800;
  color: var(--c-color, #0D1B3E);
  white-space: nowrap;
}

.ccg-chevron {
  color: #94A3B8;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.ccg-chevron--open {
  transform: rotate(180deg);
  color: var(--c-color, #C9A84C);
}

/* Expanded detail panel */
.ccg-detail {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  animation: ccgSlideDown 0.22s ease both;
}

@keyframes ccgSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ccg-detail-inner {
  padding: 12px 16px 8px 62px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 480px) {
  .ccg-detail-inner {
    padding-left: 16px;
  }
}

.ccg-module-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--c-bg, #F4F6FB);
  border-radius: 8px;
}

@media (max-width: 480px) {
  .ccg-module-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.ccg-module-name {
  font-size: 13px;
  color: #334155;
  font-weight: 500;
}

.ccg-module-fee {
  font-size: 13px;
  font-weight: 800;
  color: var(--c-color, #0D1B3E);
  white-space: nowrap;
}

.ccg-enroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: var(--c-color, #0D1B3E);
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.ccg-enroll-btn:hover {
  opacity: 0.85;
  color: #fff;
}

.ccg-detail-footer {
  padding: 10px 16px 14px;
  display: flex;
  justify-content: flex-end;
}

.ccg-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0D1B3E;
  background: #F5CD53;
  padding: 7px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.ccg-wa-btn:hover {
  background: #e6b800;
  color: #0D1B3E;
}

/* ─────────────────────────────────────────────────────────────────────────────
   COURSE CATEGORY GRID CARDS (old tile style — kept for /courses page)
   ────────────────────────────────────────────────────────────────────────── */
/* display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.16,1,0.3,1), box-shadow 0.22s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
} */
.course-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
  text-decoration: none;
}

/* Coloured icon area at the top */
.course-cat-icon-wrap {
  background: var(--cat-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.course-cat-icon {
  color: var(--cat-color);
  transition: transform 0.3s ease;
}

.course-cat-card:hover .course-cat-icon {
  transform: scale(1.15);
}

/* Text body */
.course-cat-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px 8px;
  flex: 1;
}

.course-cat-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #0D1B3E;
  line-height: 1.3;
}

.course-cat-sub {
  font-size: 11px;
  color: #64748B;
  font-weight: 500;
}

/* CTA row at bottom */
.course-cat-cta {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px 13px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cat-color);
  transition: gap 0.2s;
}

.course-cat-card:hover .course-cat-cta {
  gap: 8px;
}

.course-cat-arrow {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.course-cat-card:hover .course-cat-arrow {
  transform: translateX(3px);
}

@media (max-width: 480px) {
  .course-cat-label {
    font-size: 12.5px;
  }

  .course-cat-icon-wrap {
    padding: 18px 12px 14px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   LEGACY hero classes — kept for other sections that still reference them
   ────────────────────────────────────────────────────────────────────────── */
.ah-root .ah-hero-section {
  padding-top: 0 !important;
}

/* Hide Google Translate top bar, tooltips, and iframe widget wrappers */
.goog-te-banner-frame,
.goog-te-banner,
.goog-te-menu-value,
#goog-gt-tt,
.goog-te-balloon-frame,
.skiptranslate {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0 !important;
  position: static !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

/* Top Buttons Row Layout */
.top-buttons-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto 12px auto !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  .top-buttons-row {
    gap: 8px !important;
  }
}

@media (max-width: 480px) {
  .top-buttons-row {
    gap: 4px !important;
    padding: 0 4px !important;
    margin-bottom: 8px !important;
  }
}

.hero-top-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important;
  height: 44px !important;
  width: 100% !important;
}

.hero-top-btn:hover {
  transform: translateY(-1.5px) !important;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18) !important;
}

@media (max-width: 767px) {
  .hero-top-btn {
    border-radius: 6px !important;
    padding: 4px 6px !important;
    height: 34px !important;
    gap: 4px !important;
  }
}

@media (max-width: 480px) {
  .hero-top-btn {
    padding: 4px 4px !important;
    gap: 3px !important;
  }
}

.button-text {
  font-weight: 800 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-transform: uppercase !important;
}

@media (max-width: 767px) {
  .button-text {
    font-size: 8px !important;
  }
}

@media (max-width: 480px) {
  .button-text {
    font-size: 7.2px !important;
    letter-spacing: -0.2px !important;
  }
}

@media (max-width: 350px) {
  .button-text {
    font-size: 6.8px !important;
  }
}

.icon-circle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

@media (max-width: 767px) {
  .icon-circle {
    width: 16px !important;
    height: 16px !important;
  }
}

.hero-top-btn.hindi {
  background: #FFF2A3 !important;
  color: #7C5300 !important;
}

.hero-top-btn.hindi .icon-circle {
  background: #E6AF00 !important;
  color: #FFFFFF !important;
}

.hero-top-btn.english {
  background: #FFD3E8 !important;
  color: #8C1D54 !important;
}

.hero-top-btn.english .icon-circle {
  background: #D62276 !important;
  color: #FFFFFF !important;
}

.hero-top-btn.app {
  background: #E5D5FF !important;
  color: #4C1D95 !important;
}

.hero-top-btn.app .icon-circle {
  background: #8B5CF6 !important;
  color: #FFFFFF !important;
}

/* Carousel Wrapper - Full Width */
.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px !important;
  margin: 0 auto 20px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  background: #0A132C;
  aspect-ratio: 16/6.5 !important;
  /* Shorter banner height */
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 767px) {
  .hero-carousel-wrapper {
    max-width: 100% !important;
    border-radius: 8px;
    aspect-ratio: 16/9.5 !important;
    /* Slightly taller on mobile */
  }
}

@media (max-width: 480px) {
  .hero-carousel-wrapper {
    aspect-ratio: 16/10 !important;
    /* Even taller on small mobile viewports */
  }
}

.hero-slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-item.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  animation: slideFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-slide-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center !important;
}

/* Fallback text slide layout */
.hero-slide-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, #0D1B3E 0%, #0A132C 100%);
  border: 1px solid rgba(201, 168, 76, 0.3);
  box-sizing: border-box;
}

.fallback-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 10px !important;
  max-width: 650px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.fallback-desc {
  font-size: 14px !important;
  color: #E2C97E !important;
  max-width: 550px !important;
  line-height: 1.6 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

@media (max-width: 767px) {
  .fallback-title {
    font-size: 16px !important;
  }

  .fallback-desc {
    font-size: 11px !important;
  }
}

/* Premium 4-Card Stats Container */
.stats-main-card {
  background: rgba(10, 19, 44, 0.6) !important;
  border: 1px solid rgba(201, 168, 76, 0.2) !important;
  padding: 24px !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(12px) !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  .stats-main-card {
    padding: 12px !important;
    border-radius: 12px !important;
  }
}

.stat-small-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 16px 12px !important;
  border-radius: 12px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  box-sizing: border-box !important;
}

.stat-small-card:hover {
  transform: translateY(-3px) !important;
  background: rgba(201, 168, 76, 0.08) !important;
  border-color: rgba(201, 168, 76, 0.3) !important;
  box-shadow: 0 8px 20px rgba(201, 168, 76, 0.12) !important;
}

@media (max-width: 767px) {
  .stat-small-card {
    padding: 10px 6px !important;
    border-radius: 8px !important;
  }
}

.stat-label-text {
  color: #9BAEC8 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  margin-top: 6px !important;
  line-height: 1.4 !important;
}

@media (max-width: 767px) {
  .stat-label-text {
    font-size: 9px !important;
    margin-top: 4px !important;
  }
}

/* Floating WhatsApp Contact Button */
.whatsapp-button {
  position: fixed;
  bottom: 80px;
  left: 15px;
  background-color: #25D366 !important;
  /* WhatsApp Green */
  color: #fff !important;
  padding: 10px !important;
  border-radius: 100% !important;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25) !important;
  z-index: 1000 !important;
  font-size: 20px !important;
  text-align: center !important;
  transition: transform 0.2s ease, background-color 0.3s ease !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.whatsapp-button:hover {
  background-color: #128C7E !important;
  color: #fff !important;
  transform: scale(1.06) !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BPSC UPDATES PORTAL — premium minimal styling
   ────────────────────────────────────────────────────────────────────────── */
.bpsc-updates-section {
  position: relative !important;
  overflow: hidden !important;
  background: #f8fafc !important;
}

/* Symmetrical White cards for left and right columns */
.bpsc-feed-card,
.bpsc-focus-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03) !important;
  padding: 35px 30px !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
}

.bpsc-timeline {
  position: relative !important;
  padding-left: 28px !important;
  margin-top: 24px !important;
}

.bpsc-timeline-line {
  position: absolute !important;
  left: 9px !important;
  top: 10px !important;
  bottom: 10px !important;
  width: 2px !important;
  background: #e2e8f0 !important;
}

.bpsc-timeline-item {
  position: relative !important;
  margin-bottom: 24px !important;
}

.bpsc-timeline-item:last-child {
  margin-bottom: 0 !important;
}

.bpsc-timeline-item:hover {
  transform: translateX(4px) !important;
  transition: transform 0.2s ease !important;
}

.bpsc-timeline-node {
  position: absolute !important;
  left: -28px !important;
  top: 6px !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 3px solid #7c3aed !important;
  z-index: 2 !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1) !important;
}

/* Color nodes according to categories */
.bpsc-timeline-item--upcoming .bpsc-timeline-node {
  border-color: #7c3aed !important;
}

.bpsc-timeline-item--newbatch .bpsc-timeline-node {
  border-color: #f59e0b !important;
}

.bpsc-timeline-item--dailytest .bpsc-timeline-node {
  border-color: #10b981 !important;
}

.bpsc-update-inner-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 18px 20px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bpsc-update-inner-card:hover {
  background: #ffffff !important;
  border-color: #7c3aed !important;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.05) !important;
}

.bpsc-badge-tag {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 8px !important;
  border: 1px solid transparent !important;
}

.bpsc-badge-tag--upcoming {
  background: rgba(124, 58, 237, 0.06) !important;
  color: #7c3aed !important;
  border-color: rgba(124, 58, 237, 0.1) !important;
}

.bpsc-badge-tag--newbatch {
  background: rgba(245, 158, 11, 0.06) !important;
  color: #d97706 !important;
  border-color: rgba(245, 158, 11, 0.1) !important;
}

.bpsc-badge-tag--dailytest {
  background: rgba(16, 185, 129, 0.06) !important;
  color: #059669 !important;
  border-color: rgba(16, 185, 129, 0.1) !important;
}

/* Right side legacy item (now clean light minimal) */
.bpsc-legacy-item {
  display: flex !important;
  gap: 14px !important;
  align-items: flex-start !important;
  padding: 14px 16px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin-bottom: 12px !important;
}

.bpsc-legacy-item:last-child {
  margin-bottom: 0 !important;
}

.bpsc-legacy-item:hover {
  background: #ffffff !important;
  border-color: #7c3aed !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.05) !important;
}

.bpsc-legacy-badge-circle {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  flex-shrink: 0 !important;
}

.bpsc-legacy-badge-circle--gold {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #d97706 !important;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
}

.bpsc-legacy-badge-circle--silver {
  background: rgba(148, 163, 184, 0.1) !important;
  color: #475569 !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
}

.bpsc-legacy-badge-circle--info {
  background: rgba(59, 130, 246, 0.1) !important;
  color: #1d4ed8 !important;
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
}

.bpsc-legacy-badge-circle--success {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #047857 !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

/* Minimalist Dark Slate button */
.btn-shine-whatsapp {
  background: #0d1b3e !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(13, 27, 62, 0.1) !important;
  transition: all 0.25s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 16px !important;
  text-decoration: none !important;
}

.btn-shine-whatsapp:hover {
  background: #7c3aed !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25) !important;
}

/* Swing animation keyframes */
.animate-swing {
  animation: bell-swing 2.5s ease-in-out infinite !important;
  transform-origin: top center !important;
  display: inline-block !important;
}

@keyframes bell-swing {
  0% {
    transform: rotate(0);
  }

  15% {
    transform: rotate(12deg);
  }

  30% {
    transform: rotate(-10deg);
  }

  45% {
    transform: rotate(8deg);
  }

  60% {
    transform: rotate(-6deg);
  }

  75% {
    transform: rotate(4deg);
  }

  85% {
    transform: rotate(-2deg);
  }

  100% {
    transform: rotate(0);
  }
}

@keyframes bpsc-slide-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {

  .bpsc-feed-card,
  .bpsc-focus-card {
    padding: 24px 20px !important;
    border-radius: 20px !important;
  }

  .bpsc-timeline {
    padding-left: 22px !important;
  }

  .bpsc-timeline-line {
    left: 6px !important;
  }

  .bpsc-timeline-node {
    left: -22px !important;
    width: 14px !important;
    height: 14px !important;
    border-width: 3px !important;
  }

  .bpsc-update-inner-card {
    padding: 16px !important;
    border-radius: 14px !important;
  }

  .bpsc-legacy-item {
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }
}

/* Icon wrapper styles in updates timeline cards */
.bpsc-update-icon-wrap {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}

.bpsc-update-inner-card:hover .bpsc-update-icon-wrap {
  transform: scale(1.08) !important;
}

.bpsc-update-icon-wrap--upcoming {
  background: rgba(124, 58, 237, 0.08) !important;
  color: #7c3aed !important;
}

.bpsc-update-icon-wrap--newbatch {
  background: rgba(245, 158, 11, 0.08) !important;
  color: #d97706 !important;
}

.bpsc-update-icon-wrap--dailytest {
  background: rgba(16, 185, 129, 0.08) !important;
  color: #059669 !important;
}

@media (max-width: 767px) {
  .bpsc-update-icon-wrap {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }

  .bpsc-update-icon-wrap svg {
    width: 16px !important;
    height: 16px !important;
  }
}