/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --font-sans: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Outfit', 'Manrope', sans-serif;

  /* Brand — soft violet + rose (brighter, smoother contrast) */
  --color-primary: #8b5cf6;
  --color-primary-dark: #7c3aed;
  --color-primary-light: #c4b5fd;
  --color-secondary: #fb923c;
  --color-accent: #e879f9;
  --color-accent-warm: #fb7185;
  --color-accent-pink: #f472b6;

  --color-bg-light: #ffffff;
  --color-surface-soft: #f7f5ff;
  --color-surface-card: #ffffff;
  --color-border-subtle: #ebe6ff;
  --color-border-light: #e4dff5;

  --color-text-main: #1e1635;
  --color-text-muted: #6f6785;
  --color-text-subtle: #9a93ad;

  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 50%, #e879f9 100%);
  --gradient-btn: linear-gradient(105deg, #8b5cf6 0%, #e879f9 50%, #fb7185 100%);
  --gradient-cta: linear-gradient(105deg, #8b5cf6 0%, #f472b6 55%, #fb923c 100%);
  --gradient-accent-line: linear-gradient(90deg, #8b5cf6, #e879f9, #fb7185);
  --gradient-hero: linear-gradient(160deg, #1a1340 0%, #2a1c58 45%, #3b2670 75%, #241850 100%);
  --gradient-accent: linear-gradient(135deg, #f472b6, #fb923c);
  --gradient-soft: #f7f5ff;

  /* Hero — mid violet (not near-black), soft lilac/rose glows */
  --hero-bg: #1a1340;
  --hero-surface: #2a1c58;
  --hero-surface-2: #352668;
  --hero-border: rgba(167, 139, 250, 0.28);
  --hero-border-strong: rgba(232, 121, 249, 0.4);
  --hero-glow-a: rgba(139, 92, 246, 0.38);
  --hero-glow-b: rgba(244, 114, 182, 0.24);
  --hero-accent: #ede9fe;
  --hero-accent-soft: rgba(139, 92, 246, 0.32);
  --hero-accent-a: #c4b5fd;
  --hero-accent-b: #f9a8d4;

  --shadow-soft: 0 8px 24px -10px rgba(139, 92, 246, 0.18);
  --shadow-card: 0 10px 30px -10px rgba(30, 22, 53, 0.08);
  --shadow-elegant: 0 24px 48px -20px rgba(139, 92, 246, 0.3);
  --shadow-glow: 0 0 40px rgba(232, 121, 249, 0.28);
  --shadow-cta: 0 10px 28px -8px rgba(236, 72, 153, 0.45);
}

/* Base styling — Anti-FOUC & Smooth Native Scrolling */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-surface-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.site-main {
  flex: 1 0 auto;
  display: block;
  width: 100%;
  min-height: calc(100vh - 4.25rem);
  background-color: var(--color-surface-soft);
}

.site-footer {
  flex-shrink: 0;
  width: 100%;
  background-color: #160f30;
  color: #ffffff;
}

/* Prevent raw images / icons from bumping layout before Tailwind JS initializes */
.header-logo-img {
  height: 2.25rem;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

@media (min-width: 640px) {
  .header-logo-img {
    height: 2.5rem;
    max-width: 165px;
  }
}

@media (min-width: 1024px) {
  .header-logo-img {
    height: 2.75rem;
    max-width: 180px;
  }
}

[hidden] {
  display: none !important;
}

/* Polished Form Controls — Zero Focus Bump & Clean 1px Border Transition */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select,
textarea {
  outline: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  border-width: 1px;
  border-style: solid;
  border-color: #cbd5e1;
  transition: border-color 150ms ease, background-color 150ms ease !important;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover,
select:hover,
textarea:hover {
  border-color: #94a3b8;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible {
  outline: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  border-color: #6d28d9 !important;
  background-color: #ffffff !important;
}

select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem 1rem;
  padding-right: 2.25rem;
}

img {
  max-width: 100%;
  height: auto;
}

i[data-lucide] {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Eliminate GPU scroll lag caused by expensive 90px-140px Gaussian blur filters */
[class*="blur-["] {
  display: none !important;
}

.hero-glow-left,
.hero-glow-right {
  display: none !important;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* Container */
.container-lms {
  width: 100%;
  margin-inline: auto;
  max-width: 1240px;
  padding-inline: 1.25rem;
}

/* Gradients and Special Utilities */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-btn {
  background: var(--gradient-btn);
}

.bg-hero-gradient {
  background: var(--gradient-hero);
}

.bg-primary-gradient {
  background: var(--gradient-primary);
}

.bg-soft-gradient {
  background: var(--gradient-soft);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-card {
  box-shadow: var(--shadow-card);
}

.shadow-elegant {
  box-shadow: var(--shadow-elegant);
}

.bg-mesh {
  background-image:
    radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.16), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(232, 121, 249, 0.14), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.14), transparent 55%);
}

/* ==================== SITE HEADER (full-width, flush top) ==================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding: 0;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

/* Full-width solid white bar — hero does not show through */
.header-bar {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  border-radius: 0;
  background: #ffffff;
  border: none;
  border-bottom: 1px solid rgba(26, 18, 48, 0.06);
  box-shadow: 0 8px 28px -16px rgba(15, 10, 40, 0.18);
  transition: box-shadow 350ms ease;
}

.site-header.header-scrolled .header-bar {
  box-shadow: 0 10px 30px -16px rgba(15, 10, 40, 0.16);
}

/* Content stays centered; height slightly taller */
.header-inner {
  display: flex;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
}

@media (min-width: 640px) {
  .header-inner {
    gap: 0.75rem;
    padding: 0.95rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    padding: 1rem 1.75rem;
  }
}

/* Logo */
.header-logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.header-logo-mark {
  display: grid;
  height: 2.15rem;
  width: 2.15rem;
  place-items: center;
  border-radius: 9999px;
  background: var(--gradient-cta);
  color: #ffffff;
  box-shadow: 0 8px 16px -8px rgba(139, 92, 246, 0.55);
}

@media (min-width: 640px) {
  .header-logo-mark {
    height: 2.35rem;
    width: 2.35rem;
  }
}

.header-logo-icon {
  height: 1rem;
  width: 1rem;
}

@media (min-width: 640px) {
  .header-logo-icon {
    height: 1.1rem;
    width: 1.1rem;
  }
}

.header-logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111018;
}

@media (min-width: 640px) {
  .header-logo-text {
    font-size: 1.05rem;
  }
}

/* Desktop nav */
.header-nav {
  display: none;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }
}

.desktop-nav-link {
  position: relative;
  flex-shrink: 0;
  border-radius: 9999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #2a2438;
  text-decoration: none;
  transition: color 220ms ease;
}

@media (min-width: 640px) {
  .desktop-nav-link {
    padding-inline: 0.95rem;
    font-size: 0.98rem;
  }
}

.desktop-nav-link:hover {
  color: var(--color-primary);
}

.desktop-nav-link.is-active {
  color: var(--color-primary);
  background: transparent;
}

.desktop-nav-link .active-indicator {
  position: absolute;
  inset-inline: 0.85rem;
  bottom: 0.05rem;
  height: 2.5px;
  border-radius: 9999px;
  background: var(--gradient-accent-line);
}

.desktop-nav-link .active-indicator.is-hidden {
  display: none;
}

.desktop-nav-link.is-active .active-indicator {
  display: block;
}

/* Actions */
.header-actions {
  margin-left: auto;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.35rem;
}

/* Primary Action Button — solid deep hero violet, standard radius */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #3b2670;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(26, 19, 64, 0.18), 0 1px 2px rgba(26, 19, 64, 0.1);
  transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.btn-primary:hover {
  background-color: #2a1c58;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -3px rgba(26, 19, 64, 0.28);
}

.btn-primary:active {
  background-color: #221548;
  transform: translateY(0);
}

/* Login CTA — solid hero-matched professional button */
.header-cta-btn {
  display: none;
  align-items: center;
  justify-content: center;
  height: 2.35rem;
  padding-inline: 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  background-color: #3b2670;
  box-shadow: 0 2px 6px rgba(26, 19, 64, 0.18), 0 1px 2px rgba(26, 19, 64, 0.1);
  transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

@media (min-width: 640px) {
  .header-cta-btn {
    height: 2.45rem;
    padding-inline: 1.35rem;
    font-size: 0.925rem;
  }
}

@media (min-width: 1024px) {
  .header-cta-btn {
    display: inline-flex;
  }
}

.header-cta-btn:hover {
  background-color: #2a1c58;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -3px rgba(26, 19, 64, 0.28);
}

.header-cta-btn:active {
  background-color: #221548;
  transform: translateY(0);
}

.header-cta-btn--block {
  display: inline-flex;
  width: 100%;
  height: 2.65rem;
}

.header-menu-btn {
  display: grid;
  height: 2.25rem;
  width: 2.25rem;
  place-items: center;
  border: none;
  border-radius: 0.5rem;
  background-color: rgba(59, 38, 112, 0.08);
  color: #3b2670;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}

@media (min-width: 640px) {
  .header-menu-btn {
    height: 2.45rem;
    width: 2.45rem;
  }
}

@media (min-width: 1024px) {
  .header-menu-btn {
    display: none;
  }
}

.header-menu-btn:hover {
  background-color: rgba(139, 92, 246, 0.16);
}

.header-menu-icon {
  height: 1.25rem;
  width: 1.25rem;
}

.header-menu-icon.is-hidden {
  display: none;
}

/* Mobile menu — sits under the full-width bar */
.header-mobile-menu {
  width: calc(100% - 1.5rem);
  max-width: 1240px;
  margin: 0.5rem auto 0;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid rgba(26, 18, 48, 0.06);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px -18px rgba(26, 18, 48, 0.35);
}

@media (min-width: 1024px) {
  .header-mobile-menu {
    display: none !important;
  }
}

.header-mobile-menu.is-hidden {
  display: none;
}

.header-mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

.header-mobile-link {
  border-radius: 0.9rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #2a2438;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}

.header-mobile-link:hover {
  background-color: rgba(139, 92, 246, 0.08);
  color: var(--color-primary);
}

.header-mobile-link.is-active {
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--color-primary);
}

.header-mobile-cta {
  margin-top: 0.25rem;
  border-top: 1px solid rgba(26, 18, 48, 0.06);
  padding: 0.75rem 0.5rem 0.5rem;
}

/* Utility used by header JS */
.is-hidden {
  display: none !important;
}

/* ==================== MOBILE APP BOTTOM NAVIGATION BAR ==================== */
.mobile-bottom-nav {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(26, 19, 64, 0.08);
  box-shadow: 0 -6px 24px -10px rgba(26, 19, 64, 0.12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 1024px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

.mobile-bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  max-width: 540px;
  margin-inline: auto;
  height: 3.75rem;
  padding-inline: 0.35rem;
}

.mobile-bottom-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  height: 100%;
  color: #64748b;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 200ms ease;
}

.mobile-bottom-link:hover {
  color: #7c3aed;
}

.mobile-bottom-icon {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1.25rem;
  line-height: 1;
  stroke-width: 2;
}

.mobile-bottom-label {
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}

.mobile-bottom-link.is-active {
  color: #7c3aed;
}

.mobile-bottom-link.is-active .mobile-bottom-icon {
  stroke-width: 2.25;
}

.mobile-bottom-link.is-active .mobile-bottom-label {
  font-weight: 600;
}

/* Hero Carousel Transitions */
.carousel-slide {
  transition: opacity 1000ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
  z-index: 10;
}

.carousel-slide:not(.active) {
  opacity: 0;
  transform: scale(1.04);
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f8f7fd;
}

::-webkit-scrollbar-thumb {
  background: #c4b5fd;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a855f7;
}

/* Custom Instructor & Testimonial Swiper Styling */
.instructor-swiper .swiper-pagination-bullet,
.testimonial-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #cbd5e1;
  opacity: 0.7;
  border-radius: 9999px;
  transition: all 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.instructor-swiper .swiper-pagination-bullet-active,
.testimonial-swiper .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 9999px;
  background: #3b2670;
  opacity: 1;
  box-shadow: 0 0 12px rgba(59, 38, 112, 0.35);
}

/* ==================== STUDENT REVIEWS MARQUEE (2-ROW FULL WIDTH) ==================== */
@keyframes marqueeLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

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

.reviews-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.reviews-marquee-left {
  animation: marqueeLeft 42s linear infinite;
}

.reviews-marquee-right {
  animation: marqueeRight 42s linear infinite;
}

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

@media (max-width: 640px) {
  .reviews-marquee-left {
    animation-duration: 34s;
  }
  .reviews-marquee-right {
    animation-duration: 34s;
  }
}

/* ==================== HERO SECTION GLOBAL CLASSES ==================== */
.hero-section {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, var(--hero-glow-a), transparent 55%),
    radial-gradient(ellipse 60% 50% at 88% 30%, var(--hero-glow-b), transparent 50%),
    var(--hero-bg);
  color: #ffffff;
  padding-top: 4.85rem;
  padding-bottom: 2.25rem;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 4.25rem;
    padding-bottom: 1.5rem;
  }
}

.hero-glow-left {
  pointer-events: none;
  position: absolute;
  left: -5rem;
  top: 25%;
  height: 24rem;
  width: 24rem;
  border-radius: 9999px;
  background-color: rgba(139, 92, 246, 0.28);
  filter: blur(120px);
}

.hero-glow-right {
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 33%;
  height: 30rem;
  width: 30rem;
  border-radius: 9999px;
  background-color: rgba(244, 114, 182, 0.2);
  filter: blur(140px);
}

@media (max-width: 768px) {
  .hero-glow-left,
  .hero-glow-right {
    opacity: 0.35;
  }
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  padding-block: 0.85rem 1.15rem;
  padding-inline: 0;
}

@media (max-width: 768px) {
  .hero-slider-wrapper {
    padding-block: 0.35rem 0.2rem;
  }
}

.hero-swiper-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  overflow: visible !important;
  padding-bottom: 0.25rem;
}

@media (max-width: 768px) {
  .hero-swiper-container {
    overflow: hidden !important;
    padding-bottom: 0;
  }
}

/* Coverflow look: scale/blur the INNER card so Swiper translateX stays intact */
.hero-slide {
  width: min(64%, 880px) !important;
  height: auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .hero-slide {
    width: calc(100% - 1.75rem) !important;
  }
}

.hero-slide-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  background-color: var(--hero-surface);
  box-shadow: 0 20px 50px -18px rgba(12, 6, 24, 0.85);
  aspect-ratio: 16 / 9;
  width: 100%;
  transform: scale(0.88);
  filter: brightness(0.5) blur(3.5px);
  opacity: 0.55;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
              filter 650ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 650ms ease;
  will-change: transform, filter, opacity;
}

@media (max-width: 768px) {
  .hero-slide-card {
    filter: none !important;
    transform: scale(1) !important;
    opacity: 1 !important;
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 32px -12px rgba(10, 6, 24, 0.78);
  }

  .hero-slide-card::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 36%;
    background: linear-gradient(to top, rgba(10, 6, 24, 0.62) 0%, rgba(10, 6, 24, 0.18) 55%, transparent 100%);
    pointer-events: none;
  }
}

@media (min-width: 1024px) {
  .hero-slide-card {
    border-radius: 1.5rem;
  }
}

.hero-slide.swiper-slide-active .hero-slide-card {
  transform: scale(1);
  filter: brightness(1) blur(0);
  opacity: 1;
  box-shadow:
    0 32px 80px -16px rgba(12, 6, 24, 0.92),
    0 0 0 1px rgba(168, 85, 247, 0.16),
    0 0 40px -12px rgba(232, 121, 249, 0.28);
}

.hero-slide.swiper-slide-active {
  z-index: 2;
}

.hero-slide.swiper-slide-prev,
.hero-slide.swiper-slide-next {
  z-index: 1;
}

.hero-slide-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Circular nav — thin glass ring (color-tuned) */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: grid;
  height: 2.75rem;
  width: 2.75rem;
  place-items: center;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: background-color 250ms ease, transform 250ms ease, border-color 250ms ease;
  cursor: pointer;
}

.hero-nav-btn:hover {
  background-color: rgba(139, 92, 246, 0.28);
  border-color: rgba(168, 85, 247, 0.65);
  transform: translateY(-50%) scale(1.06);
}

.hero-nav-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.hero-nav-prev {
  left: max(0.75rem, calc((100% - min(64%, 880px)) / 2 + 0.75rem));
}

.hero-nav-next {
  right: max(0.75rem, calc((100% - min(64%, 880px)) / 2 + 0.75rem));
}

@media (max-width: 768px) {
  .hero-nav-btn {
    top: auto;
    bottom: 0.7rem;
    transform: none;
    height: 2.3rem;
    width: 2.3rem;
    background-color: rgba(14, 10, 32, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  }

  .hero-nav-btn:hover {
    background-color: rgba(30, 20, 62, 0.85);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.04);
  }

  .hero-nav-btn:active {
    transform: scale(0.94);
  }

  .hero-nav-prev {
    left: 1.55rem;
  }

  .hero-nav-next {
    right: 1.55rem;
  }
}

/* Pagination: small dots + white pill for active */
.hero-swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  margin-top: 0.9rem;
  z-index: 30;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.32);
  opacity: 1;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 9999px;
  transition: width 400ms cubic-bezier(0.22, 1, 0.36, 1),
              background 400ms ease,
              box-shadow 400ms ease;
  margin: 0 3.5px !important;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 9999px;
  background: var(--gradient-accent-line);
  opacity: 1;
  box-shadow: 0 0 12px rgba(232, 121, 249, 0.45);
}

@media (max-width: 768px) {
  .hero-swiper-pagination {
    position: absolute !important;
    bottom: 1.35rem !important;
    left: 0 !important;
    right: 0 !important;
    margin-top: 0 !important;
  }

  .hero-swiper-pagination .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.45);
  }

  .hero-swiper-pagination .swiper-pagination-bullet-active {
    width: 24px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }
}

/* Bottom Feature Cards — match main content width (1240px) */
.hero-cards-wrapper {
  max-width: 1240px;
  margin-inline: auto;
  margin-top: 1.5rem;
  padding-inline: 1.25rem;
  width: 100%;
}

.hero-cards-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .hero-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.hero-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid var(--hero-border);
  background: linear-gradient(160deg, #160e28 0%, #1a1030 55%, #22153a 100%);
  padding: 1.35rem 1.35rem 1.15rem;
  box-shadow: 0 12px 30px -10px rgba(12, 6, 24, 0.55);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

@media (min-width: 640px) {
  .hero-feature-card {
    padding: 1.5rem 1.5rem 1.25rem;
  }
}

.hero-feature-card:hover {
  transform: translateY(-0.25rem);
  border-color: var(--hero-border-strong);
  box-shadow:
    0 20px 40px -15px rgba(12, 6, 24, 0.65),
    0 0 28px -12px rgba(232, 121, 249, 0.25);
}

/* Dual accent cards */
.hero-feature-card--green {
  border-color: rgba(139, 92, 246, 0.22);
}

.hero-feature-card--green:hover {
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow:
    0 20px 40px -15px rgba(12, 6, 24, 0.65),
    0 0 28px -12px rgba(139, 92, 246, 0.3);
}

.hero-feature-card--green .hero-card-badge {
  background-color: rgba(139, 92, 246, 0.18);
  color: var(--hero-accent-a);
  border-color: rgba(192, 132, 252, 0.4);
}

.hero-feature-card--green .hero-card-sub,
.hero-feature-card--green .hero-card-link {
  color: var(--hero-accent-a);
}

.hero-feature-card--green .hero-course-icon {
  background: rgba(139, 92, 246, 0.16);
  color: var(--hero-accent-a);
}

.hero-feature-card--blue {
  border-color: rgba(232, 121, 249, 0.22);
}

.hero-feature-card--blue:hover {
  border-color: rgba(244, 114, 182, 0.45);
  box-shadow:
    0 20px 40px -15px rgba(12, 6, 24, 0.65),
    0 0 28px -12px rgba(232, 121, 249, 0.3);
}

.hero-feature-card--blue .hero-card-badge {
  background-color: rgba(232, 121, 249, 0.18);
  color: var(--hero-accent-b);
  border-color: rgba(244, 114, 182, 0.4);
}

.hero-feature-card--blue .hero-card-sub,
.hero-feature-card--blue .hero-card-link {
  color: var(--hero-accent-b);
}

.hero-feature-card--blue .hero-course-icon {
  background: rgba(232, 121, 249, 0.16);
  color: var(--hero-accent-b);
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  width: fit-content;
  border-radius: 9999px;
  background-color: var(--hero-accent-soft);
  padding: 0.25rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hero-accent);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.hero-card-title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .hero-card-title {
    font-size: 1.45rem;
  }
}

.hero-card-sub {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hero-accent);
}

/* Course list rows */
.hero-course-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.hero-course-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.hero-course-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
}

.hero-course-icon {
  display: grid;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 0.75rem;
}

.hero-course-icon-svg {
  height: 1.15rem;
  width: 1.15rem;
}

.hero-course-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.hero-course-name {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.hero-course-meta {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(196, 181, 253, 0.72);
}

.hero-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap 220ms ease, opacity 220ms ease;
}

.hero-card-link:hover {
  gap: 0.55rem;
  opacity: 0.9;
}

.hero-card-link-icon {
  height: 1rem;
  width: 1rem;
}

/* ==================== COURSES PAGE FILTER TABS ==================== */
.course-filter-pill {
  background-color: #ffffff;
  border-color: rgba(59, 38, 112, 0.14);
  color: #334155;
}

.course-filter-pill:hover {
  border-color: rgba(59, 38, 112, 0.38);
  color: #3b2670;
}

.course-filter-pill.is-active,
.course-filter-pill.is-active:hover,
.course-filter-pill.is-active:focus {
  background-color: #3b2670 !important;
  border-color: #3b2670 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px -6px rgba(59, 38, 112, 0.45);
}

.course-filter-pill.is-active > span,
.course-filter-pill.is-active:hover > span {
  color: #ffffff !important;
}

.course-filter-pill.is-active .filter-count,
.course-filter-pill.is-active:hover .filter-count {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}
