/**
 * The Vision Academy — Core Stylesheet (Full Emergent Restoration)
 * High-Contrast Modern EdTech Architecture
 */

:root {
  --canvas-dark: #070D1F;
  --surface-dark: #0A1128;
  --surface-card: #111827;
  --surface-card-hover: #1E293B;
  --primary: #6366F1;
  --primary-hover: #4F46E5;
  --gold: #D4AF37;
  --gold-light: #E8D48B;
  --gold-dark: #9B7B1E;
  --accent-cyan: #06B6D4;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-gold-strong: rgba(212, 175, 55, 0.5);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-sans);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--canvas-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

/* ==========================================================================
   ENFORCE MOBILE-FIRST GRID SYSTEM & FLUID CONTAINERS
   w-[92%] sm:w-[540px] md:w-[720px] lg:w-[960px] xl:w-[1140px] mx-auto
   ========================================================================== */
.container,
.site-container {
  width: 92%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .container,
  .site-container {
    width: 540px;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .container,
  .site-container {
    width: 720px;
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  .container,
  .site-container {
    width: 960px;
    max-width: 100%;
  }
}

@media (min-width: 1280px) {
  .container,
  .site-container {
    width: 1140px;
    max-width: 100%;
  }
}

@media (min-width: 1536px) {
  .container,
  .site-container {
    max-width: 1320px;
    width: 100%;
  }
}

/* Texture & Gradients */
.navy-grid-texture {
  background-image: radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFFFFF 0%, #E8D48B 40%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-navy {
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
}

.card-premium {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-premium:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.05);
}

.card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
}

/* Section Tags */
.section-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 9999px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.bg-gold {
  background-color: var(--gold);
  color: #0A1128 !important;
}

.bg-gold:hover {
  background-color: #C9A227;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary) !important;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: #FFFFFF !important;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.badge-primary {
  background-color: rgba(99, 102, 241, 0.15);
  color: #818CF8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-success {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-warning {
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

/* Form Inputs */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: #060911;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Marquee Animation */
@keyframes marqueeScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
}

.marquee-content {
  display: inline-flex;
  gap: 32px;
  animation: marqueeScroll 35s linear infinite;
}

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

/* Float Animation */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

/* Modal Dialog */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog {
  background: #0E1526;
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #FFF;
}

/* ========================================================
   CAPSULE NAVBAR (REFERENCE 1 MATCH)
   ======================================================== */

.header-wrapper,
header.main-navbar-sticky {
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  padding: 12px 24px;
  background: rgba(7, 13, 31, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
}


.capsule-nav-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.capsule-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #080C16;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 9999px;
  padding: 4px 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.08);
  position: relative;
}

.capsule-item {
  position: relative;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #94A3B8;
  padding: 8px 16px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

.capsule-item:hover {
  color: #FFFFFF;
}

.capsule-item.active {
  color: #FFD700 !important;
}

/* Glowing illuminated top light notch */
.capsule-light-notch {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  background: #FFFFFF;
  border-radius: 9999px;
  box-shadow: 0 0 10px 1px #FFFFFF, 0 0 18px 4px rgba(212, 175, 55, 0.85);
}

.capsule-light-beam {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 26px;
  background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.45) 0%, rgba(212, 175, 55, 0.1) 50%, transparent 80%);
  pointer-events: none;
}

/* ========================================================
   ONE-SCREEN HERO REDESIGN (THE VISION ACADEMY EDITION)
   ======================================================== */

.hero-ref-wrapper {
  position: relative;
  background-color: #070D1F;
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(212, 175, 55, 0.09) 0%, transparent 60%),
    radial-gradient(circle at 80% 40%, rgba(30, 58, 138, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 60%, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-ref-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-tagline-sub {
  font-size: clamp(13px, 1.4vw, 15px);
  color: #94A3B8;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Primary Button in Golden Yellow & Navy */
.hero-ref-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FBBF24 0%, #D4AF37 100%);
  color: #070D1F;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 28px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.hero-ref-btn-primary:hover {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: #070D1F;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.hero-ref-btn-ghost {
  color: #E2E8F0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: rgba(212, 175, 55, 0.5);
  transition: all 0.2s ease;
  cursor: pointer;
}

.hero-ref-btn-ghost:hover {
  color: #FBBF24;
  text-decoration-color: #FBBF24;
}

/* 3D Perspective Wireframe Grid with Forward Zoom-In Depth Animation */
.hero-ref-grid-plane {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) perspective(420px) rotateX(58deg);
  width: 1400px;
  height: 420px;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.22) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.22) 1.5px, transparent 1.5px);
  background-size: 44px 44px;
  background-position: 0 0;
  animation: gridForwardMotion 2.8s linear infinite;
  mask-image: radial-gradient(ellipse at 50% 55%, black 45%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 55%, black 45%, transparent 85%);
  pointer-events: none;
  z-index: 1;
}

@keyframes gridForwardMotion {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 44px;
  }
}


/* Background Animated Stars (8-Point Sparkles) */
.hero-star-bg {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  color: #334155;
}

.hero-star-1 {
  top: 70px;
  right: 16%;
  width: 48px;
  height: 48px;
  animation: starPulse 6s ease-in-out infinite;
}

.hero-star-2 {
  bottom: 80px;
  left: 14%;
  width: 56px;
  height: 56px;
  animation: starPulse 8s ease-in-out infinite alternate;
  opacity: 0.45;
}

@keyframes starPulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15) rotate(20deg);
    opacity: 0.95;
  }
}

/* Floating Doodle (Lightbulb) */
.hero-doodle-bulb {
  position: absolute;
  top: 60px;
  left: 10%;
  width: 44px;
  height: 44px;
  animation: doodleBob 5s ease-in-out infinite;
  z-index: 3;
}

@keyframes doodleBob {
  0%, 100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-10px) rotate(6deg);
  }
}

/* Rotating GET IN TOUCH Circular Badge (Gold Accent) */
.hero-rotating-stamp {
  position: absolute;
  top: 80px;
  right: 9%;
  width: 80px;
  height: 80px;
  z-index: 4;
}

.hero-rotating-stamp svg.spin-ring {
  animation: spinRing 16s linear infinite;
  transform-origin: center;
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Floating Metric & Quote Cards (Navy & Gold Theme) */
.hero-happy-students {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 17, 36, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: 16px;
  animation: cardFloatSlow 5s ease-in-out infinite;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.hero-happy-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FBBF24 0%, #D4AF37 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  flex-shrink: 0;
}

.hero-quote-card {
  max-width: 250px;
  background: rgba(10, 17, 36, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

/* ========================================================
   HERO STAGGERED ENTRANCE & AMBIENT MOTION KEYFRAMES (ALATIX STACK)
   ======================================================== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-32px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(32px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.animate-fade-in-up,
.animate-\[fadeInUp_0\.8s_ease-out_forwards\] {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slide-up,
.animate-\[slideUp_0\.8s_ease-out_0\.3s_forwards\] {
  animation: slideUp 0.8s ease-out 0.3s forwards;
}

.animate-slide-in-left,
.animate-\[slideInLeft_0\.6s_ease-out_0\.6s_forwards\] {
  animation: slideInLeft 0.6s ease-out 0.6s forwards;
}

.animate-slide-in-right,
.animate-\[slideInRight_0\.6s_ease-out_0\.7s_forwards\] {
  animation: slideInRight 0.6s ease-out 0.7s forwards;
}

.animate-float,
.animate-\[float_3s_ease-in-out_infinite\] {
  animation: float 3s ease-in-out infinite;
}

.hero-rating-block {
  background: rgba(10, 17, 36, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: 16px;
  text-align: left;
  animation: cardFloatSlow 5.5s ease-in-out infinite;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.hero-stats-block {
  background: rgba(10, 17, 36, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 18px;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

@keyframes cardFloatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ========================================================
   ENHANCED STUDENT DUO FRAME (MALE + FEMALE REPRESENTATION)
   ======================================================== */

.hero-student-frame {
  position: relative;
  z-index: 3;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 56vh;
  max-height: 480px;
  width: 100%;
}

/* Ambient Radial Glow behind Student Duo */
.hero-student-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 320px;
  background: radial-gradient(ellipse at 50% 60%, rgba(212, 175, 55, 0.2) 0%, rgba(10, 17, 40, 0.6) 60%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* Duo Container */
.hero-student-duo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: -30px; /* Natural overlap */
  height: 100%;
  max-width: 780px;
  width: 100%;
}

.hero-student-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.student-male-item {
  z-index: 2;
  margin-right: -35px;
}

.student-female-item {
  z-index: 3;
  margin-left: -35px;
}

.hero-student-img {
  height: 100%;
  width: auto;
  max-height: 470px;
  display: block;
  position: relative;
  mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.95));
  transition: transform 0.3s ease;
}

.student-male-item:hover .hero-student-img {
  transform: scale(1.02);
}

.student-female-item:hover .hero-student-img {
  transform: scale(1.02);
}

/* Student Badge Micro-Pills */
.student-label-tag {
  position: absolute;
  bottom: 45px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(10, 17, 36, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
  white-space: nowrap;
  pointer-events: none;
}

.student-male-item .student-label-tag {
  left: 0;
}

.student-female-item .student-label-tag {
  right: 0;
}

.student-label-tag strong {
  color: #FBBF24;
}

/* Center Trust Banner at Base */
.hero-gender-trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -18px;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(7, 13, 31, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.1);
}

.hero-gender-trust-strip .trust-pill-badge {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #070D1F;
  background: linear-gradient(135deg, #FBBF24 0%, #D4AF37 100%);
  padding: 3px 10px;
  border-radius: 9999px;
}

.hero-gender-trust-strip .trust-stat {
  font-size: 12px;
  color: #CBD5E1;
}

.hero-gender-trust-strip .trust-stat strong {
  color: #FBBF24;
}

/* Announcement Pill */
.hero-announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 21, 38, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 5px 16px;
  border-radius: 9999px;
  font-size: 12px;
  color: #CBD5E1;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-announcement-pill .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FBBF24;
  box-shadow: 0 0 10px #FBBF24;
  animation: pillPulse 1.8s infinite;
}

@keyframes pillPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ========================================================
   RESPONSIVE BREAKPOINTS
   ======================================================== */


/* Media query 1200px override purged to support Tailwind grid/flex alignment */


@media (max-width: 992px) {
  .hero-ref-title {
    font-size: 34px;
  }
  .hero-student-frame {
    height: 48vh;
    max-height: 390px;
  }
  .hero-student-img {
    max-height: 380px;
  }
  .student-label-tag {
    display: none;
  }
  .hero-happy-students, .hero-quote-card,
  .hero-rating-block, .hero-stats-block {
    display: none; /* Keep clean on tablet to prevent clutter */
  }
  .hero-tablet-stats {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .hero-ref-wrapper {
    height: auto;
    min-height: auto;
    max-height: none;
    padding: 24px 16px 30px;
  }
  .hero-ref-title {
    font-size: 28px;
    margin-bottom: 12px;
  }
  .hero-tagline-sub {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .hero-ref-grid-plane {
    width: 100%;
    height: 280px;
  }
  .hero-grid-horizon-glow {
    width: 100%;
  }
  .hero-doodle-bulb,
  .hero-star-bg,
  .hero-rotating-stamp {
    display: none;
  }
  .hero-student-frame {
    height: auto;
    max-height: none;
    margin-top: 24px;
  }
  .hero-student-duo {
    gap: -15px;
    max-width: 360px;
  }
  .hero-student-img {
    max-height: 260px;
  }
  .student-male-item {
    margin-right: -15px;
  }
  .student-female-item {
    margin-left: -15px;
  }
  .hero-gender-trust-strip {
    margin-top: 10px;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding: 8px 14px;
  }
}


/* ==========================================================================
   REDESIGNED: Curriculum Pathways & Board Directory (Seamless Deep Navy & Gold)
   ========================================================================== */
.pathways-neo-section {
  position: relative;
  overflow: hidden;
  max-width: 100vw;
  background-color: #070D1F;
  background-image: 
    radial-gradient(circle at 50% 5%, rgba(212, 175, 55, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 14% 35%, rgba(13, 27, 65, 0.45) 0%, transparent 55%),
    radial-gradient(circle at 86% 65%, rgba(13, 27, 65, 0.45) 0%, transparent 55%);
  padding: 45px 20px 85px;
  margin: 0;
  border: none;
  min-height: auto;
}

/* Marquee Integrated Seamless Styling */
.marquee-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 13px;
  color: #E2E8F0;
}

.marquee-dot {
  color: rgba(212, 175, 55, 0.4);
  font-size: 14px;
  margin: 0 4px;
}

.marquee-3d-ico {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* Ambient Slow-Moving Soft Illustrative Background Aesthetics */
.pathways-bg-illustrations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.6;
  will-change: transform;
}

.ambient-orb-gold {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, rgba(245, 158, 11, 0.04) 70%, transparent 100%);
  top: 5%;
  right: -60px;
  animation: floatDriftGold 24s ease-in-out infinite alternate;
}

.ambient-orb-navy {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 38, 92, 0.65) 0%, rgba(8, 18, 43, 0.2) 70%, transparent 100%);
  bottom: 5%;
  left: -100px;
  animation: floatDriftNavy 28s ease-in-out infinite alternate;
}

@keyframes floatDriftGold {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 45px) scale(1.08); }
  100% { transform: translate(-30px, 90px) scale(0.95); }
}

@keyframes floatDriftNavy {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, -40px) scale(1.1); }
  100% { transform: translate(40px, -80px) scale(1.02); }
}

.float-academic-vector {
  position: absolute;
  pointer-events: none;
  opacity: 0.07;
  will-change: transform;
  animation: floatSlowAcademic 16s ease-in-out infinite alternate;
}

@keyframes floatSlowAcademic {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
  100% { transform: translateY(-30px) rotate(-1deg); }
}


/* 3D Icon Badges in Filter Row & Cards */
.icon-3d-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}

.category-filter-pill:hover .icon-3d-mini {
  transform: scale(1.12);
}

.category-filter-pill.active .icon-3d-mini {
  transform: scale(1.08);
}

/* Header Elements */
.pathways-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 5;
}

.pathways-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(10, 22, 52, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #FDE047;
  margin-bottom: 14px;
  box-shadow: 0 4px 20px rgba(5, 11, 26, 0.6), 0 0 15px rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(10px);
}

.pathways-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D4AF37;
  box-shadow: 0 0 10px #FDE047;
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.pathways-title {
  font-size: 38px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF0A8 35%, #D4AF37 70%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pathways-subtitle {
  color: #CBD5E1;
  font-size: 15px;
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ==========================================================================
   Continuous Glowing Animated Search Bar (Gold & Deep Navy Pulse)
   ========================================================================== */
.pathways-search-filter-system {
  max-width: 980px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 5;
}

.explorer-search-wrapper {
  position: relative;
  margin-bottom: 18px;
}

.explorer-search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(10, 20, 48, 0.88);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  padding: 16px 24px;
  box-shadow: 0 14px 38px rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(20px);
  animation: goldenNavyPulse 3.5s ease-in-out infinite;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

@keyframes goldenNavyPulse {
  0%, 100% {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(5, 11, 26, 0.85), 0 0 16px rgba(212, 175, 55, 0.2), inset 0 0 16px rgba(8, 18, 42, 0.9);
  }
  50% {
    border-color: rgba(253, 224, 71, 0.9);
    box-shadow: 0 14px 42px rgba(5, 11, 26, 0.92), 0 0 32px rgba(212, 175, 55, 0.55), inset 0 0 22px rgba(212, 175, 55, 0.16);
  }
}

.explorer-search-bar.is-focused,
.explorer-search-bar:focus-within {
  border-color: #FDE047;
  background: rgba(13, 27, 65, 0.96);
  box-shadow: 0 18px 48px rgba(3, 7, 18, 0.9), 0 0 35px rgba(212, 175, 55, 0.65), 0 0 0 2px rgba(253, 224, 71, 0.5);
  transform: translateY(-2px);
}

.search-icon-gold {
  width: 22px;
  height: 22px;
  color: #D4AF37;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
}

.explorer-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 500;
}

.explorer-search-input::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.search-clear-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #CBD5E1;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s ease;
}

.search-clear-btn:hover {
  background: #EF4444;
  border-color: #EF4444;
  color: #FFF;
}

/* Category Filter Chips / Pills */
.explorer-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.category-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.category-filter-pill {
  background: rgba(10, 22, 50, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #E2E8F0;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.category-filter-pill:hover {
  background: rgba(18, 38, 86, 0.9);
  color: #FFF0A8;
  border-color: rgba(212, 175, 55, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 11, 26, 0.6);
}

.category-filter-pill.active {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #050B1A;
  font-weight: 800;
  border-color: #FDE047;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

.filter-results-counter {
  font-size: 12px;
  color: #FDE047;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(10, 22, 52, 0.65);
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   Dedicated Category Highlight Box (Revealed dynamically for selection)
   ========================================================================== */
.category-highlight-box {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto 36px;
  box-sizing: border-box;
  background: linear-gradient(165deg, rgba(12, 25, 58, 0.92) 0%, rgba(6, 14, 34, 0.96) 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 22px;
  padding: 26px 30px;
  box-shadow: 0 24px 60px -10px rgba(2, 6, 20, 0.85), inset 0 1px 0 rgba(255, 240, 168, 0.2);
  backdrop-filter: blur(24px);
  position: relative;
  z-index: 5;
  animation: highlightBoxReveal 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes highlightBoxReveal {
  from { opacity: 0; transform: translateY(-10px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.category-highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FDE047, #D4AF37, transparent);
  border-radius: 999px;
}

.highlight-box-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.highlight-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.highlight-crest-frame {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(10, 22, 52, 0.8) 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(212, 175, 55, 0.2);
  flex-shrink: 0;
}

.highlight-title-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.highlight-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.highlight-title {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
}

.highlight-badge-gold {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.18);
  color: #FDE047;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.highlight-subtext {
  font-size: 14px;
  color: #FFF0A8;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.highlight-subtext strong {
  color: #FFFFFF;
  font-weight: 700;
}

.highlight-meta-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.highlight-tag-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.highlight-box-subfilters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.highlight-class-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.highlight-class-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 13px;
  border-radius: 999px;
  background: rgba(10, 22, 50, 0.7);
  color: #CBD5E1;
  border: 1px solid rgba(212, 175, 55, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.highlight-class-pill:hover,
.highlight-class-pill.active {
  background: rgba(212, 175, 55, 0.22);
  color: #FFFFFF;
  border-color: #FDE047;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

.highlight-mentor-info {
  font-size: 12.5px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.highlight-mentor-info strong {
  color: #E2E8F0;
}

/* ==========================================================================
   Dynamically Loaded Courses Grid (Rendered directly beneath highlight box)
   ========================================================================== */
.dynamic-courses-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  min-height: auto;
  box-sizing: border-box;
}

.dynamic-courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  align-content: start;
  min-height: auto;
}


.dyn-course-card {
  background: linear-gradient(160deg, rgba(11, 23, 54, 0.88) 0%, rgba(6, 14, 34, 0.96) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: cardFadeUp 0.3s ease forwards;
}

.dyn-course-card > div:first-child {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dyn-course-card:hover {
  border-color: rgba(212, 175, 55, 0.8);
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 28px rgba(212, 175, 55, 0.25);
}

.dyn-card-thumb {
  height: 165px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #0A1430;
  flex-shrink: 0;
}

.dyn-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.dyn-course-card:hover .dyn-card-img {
  transform: scale(1.06);
}

.dyn-card-badge-top {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(6, 14, 34, 0.85);
  color: #FDE047;
  border: 1px solid rgba(212, 175, 55, 0.4);
  backdrop-filter: blur(8px);
}

.dyn-card-stream-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(212, 175, 55, 0.9);
  color: #050B1A;
}

.dyn-card-body {
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dyn-card-body > div {
  display: flex;
  flex-direction: column;
}

.dyn-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 5px;
  min-height: unset;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dyn-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #94A3B8;
  margin-bottom: 7px;
  line-height: 1.3;
}

.dyn-card-meta strong {
  color: #E2E8F0;
}

.dyn-card-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  color: #CBD5E1;
  line-height: 1.4;
}

.dyn-card-perks li {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  line-height: 1.4;
}

.dyn-card-perks li span.bullet {
  color: #D4AF37;
  font-weight: 800;
  flex-shrink: 0;
}

.dyn-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px 12px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.dyn-card-price-wrap {
  display: flex;
  flex-direction: column;
}

.dyn-card-price-label {
  font-size: 10.5px;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dyn-card-price {
  font-size: 19px;
  font-weight: 800;
  color: #FDE047;
}

.dyn-card-price.free {
  color: #34D399;
}

.dyn-enroll-btn {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #050B1A;
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #FDE047;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dyn-enroll-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #FFF0A8 0%, #D4AF37 100%);
  color: #050B1A;
}

.dyn-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: rgba(10, 22, 50, 0.6);
  border: 1.5px dashed rgba(212, 175, 55, 0.3);
  border-radius: 20px;
}

.dyn-empty-icon {
  font-size: 34px;
  margin-bottom: 10px;
}

.dyn-empty-title {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.dyn-empty-desc {
  color: #94A3B8;
  font-size: 14px;
  max-width: 480px;
  margin: 0 auto;
}

/* ==========================================================================
   Responsive Rules
   ========================================================================== */
@media (max-width: 1024px) {
  .dynamic-courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pathways-neo-section {
    padding: 60px 16px 70px;
  }
  .pathways-title {
    font-size: 28px;
  }
  .explorer-search-bar {
    padding: 12px 16px;
  }
  .explorer-search-input {
    font-size: 14px;
  }
  .explorer-filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  .category-filter-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .category-filter-pill {
    white-space: nowrap;
    font-size: 12px;
    padding: 6px 13px;
    flex-shrink: 0;
  }
  .category-highlight-box {
    padding: 20px 18px;
  }
  .highlight-title {
    font-size: 20px;
  }
  .highlight-subtext {
    font-size: 13px;
  }
  .highlight-box-subfilters {
    flex-direction: column;
    align-items: flex-start;
  }
  .dynamic-courses-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* 3D Visual Badges for Bundles & Features */
.bundle-3d-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(10, 22, 52, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: transform 0.25s ease;
}

.bundle-3d-badge:hover {
  transform: translateY(-2px) scale(1.05);
}

.methodology-3d-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10, 22, 52, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

/* ==========================================================================
   FEATURED COURSES & BATCHES (Absolute Deep Navy Continuity & Precision Cards)
   ========================================================================== */
.featured-courses-section {
  position: relative;
  overflow: hidden;
  max-width: 100vw;
  background-color: #070D1F;
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 85% 45%, rgba(13, 27, 65, 0.45) 0%, transparent 55%),
    radial-gradient(circle at 15% 75%, rgba(13, 27, 65, 0.45) 0%, transparent 55%);
  padding: 40px 20px 90px;
  margin: 0;
  border: none;
  min-height: auto;
}

/* Background Vectors Specific to Featured Batches */
.featured-bg-vectors {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.float-featured-vector {
  position: absolute;
  pointer-events: none;
  opacity: 0.065;
  will-change: transform;
  animation: floatFeaturedDrift 20s ease-in-out infinite alternate;
}

.ambient-orb-featured-gold {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(245, 158, 11, 0.02) 65%, transparent 100%);
  top: 10%;
  left: -80px;
}

.ambient-orb-featured-navy {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(29, 58, 143, 0.22) 0%, rgba(10, 22, 52, 0.05) 70%, transparent 100%);
  bottom: 5%;
  right: -100px;
}

@keyframes floatFeaturedDrift {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(-1.5deg); }
  100% { transform: translateY(-28px) rotate(1.5deg); }
}


/* Header & Toggle Controls */
.featured-section-header {
  position: relative;
  z-index: 3;
  margin-bottom: 28px;
}

.featured-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.featured-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: rgba(10, 22, 52, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  width: fit-content;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.featured-toggle-pill {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  color: #94A3B8;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.featured-toggle-pill:hover {
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.06);
}

.featured-toggle-pill.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.6);
  color: #FDE047;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.18);
}

/* ==========================================================================
   COURSE CARDS (PRECISION SIZING MATCHING REFERENCE IMAGE & 4-COL GRID)
   ========================================================================== */
.featured-cards-grid,
.catalog-courses-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  align-content: start;
  min-height: auto;
}

.featured-batch-card,
.dyn-course-card,
.catalog-course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0D1630;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  cursor: pointer;
  text-align: left;
}

.featured-batch-card:hover,
.dyn-course-card:hover,
.catalog-course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(212, 175, 55, 0.16);
}

.featured-card-thumb,
.dyn-card-thumb,
.catalog-card-thumb {
  position: relative;
  height: 165px;
  width: 100%;
  overflow: hidden;
  background: #070D1F;
  flex-shrink: 0;
}

.featured-card-thumb img,
.dyn-card-thumb img,
.catalog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease-out;
  display: block;
}

.featured-batch-card:hover .featured-card-thumb img,
.dyn-course-card:hover .dyn-card-thumb img,
.catalog-course-card:hover .catalog-card-thumb img {
  transform: scale(1.05);
}

.featured-card-body,
.dyn-card-body,
.catalog-card-body {
  padding: 16px 18px 18px;
  background: #0D1630;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.featured-card-title,
.dyn-card-title,
.catalog-card-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0 0 10px 0;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card-stars,
.dyn-card-stars,
.catalog-card-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.featured-stars-flex {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.featured-rating-count {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
}

.featured-card-instructor,
.dyn-card-instructor,
.catalog-card-instructor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.featured-instructor-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #FDE047;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.featured-instructor-details {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.featured-instructor-name {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-instructor-stream {
  font-size: 11px;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-card-meta-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  margin-top: auto;
  margin-bottom: 12px;
}

.featured-card-price {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: #D4AF37;
}

.featured-card-price.free {
  color: #34D399;
}

.featured-card-duration {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #94A3B8;
}

.featured-card-cta {
  width: 100%;
}

.featured-start-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #FDE047;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 12.5px;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: 9px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.featured-start-btn:hover {
  background: linear-gradient(135deg, #FDE047 0%, #D4AF37 100%);
  color: #070D1F;
  border-color: #FDE047;
  box-shadow: 0 4px 16px rgba(253, 224, 71, 0.35);
  transform: translateY(-1px);
}

.featured-start-btn:active {
  transform: scale(0.97);
}

.featured-start-btn.enrolled {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10B981;
  color: #34D399;
  pointer-events: none;
}

/* ==========================================================================
   DYNAMIC BATCH ENROLLMENT MODAL
   ========================================================================== */
.batch-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 27, 0.85);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: modalFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.batch-modal-dialog {
  background: linear-gradient(180deg, #0D1B42 0%, #08122B 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.15);
  animation: modalPop 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.batch-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.batch-modal-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #EF4444;
  color: #FFFFFF;
}

.batch-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.batch-modal-crest {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(10, 22, 52, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.batch-modal-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(6, 13, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 22px;
}

.batch-modal-item {
  display: flex;
  flex-direction: column;
}

.batch-modal-label {
  font-size: 11px;
  color: #64748B;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.batch-modal-val {
  font-size: 13.5px;
  color: #F1F5F9;
  font-weight: 600;
  margin-top: 2px;
}

.batch-confirm-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #FDE047 0%, #D4AF37 100%);
  color: #070D1F;
  border: none;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(253, 224, 71, 0.35);
}

.batch-confirm-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(253, 224, 71, 0.5);
}

.batch-confirm-cta:active {
  transform: scale(0.98);
}

.batch-confirm-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .featured-filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    border-radius: 12px;
  }
  .featured-toggle-pill {
    flex-shrink: 0;
  }
  .batch-modal-details-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   COURSES CLOSURE CTA & STORE SHOWCASE SECTION
   ========================================================================== */

/* Courses Section Transition Closure CTA */
.courses-explore-more-wrap {
  margin-top: 44px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.btn-courses-explore-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: rgba(13, 27, 65, 0.7);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 9999px;
  color: #F8FAFC;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-courses-explore-more svg {
  transition: transform 0.3s ease;
  color: #FDE047;
}

.btn-courses-explore-more:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(253, 224, 71, 0.15) 100%);
  border-color: #FDE047;
  color: #FDE047;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-courses-explore-more:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   EXPLORE STORE PRODUCTS SECTION (Strict #070D1F Continuity & High-Density UI)
   ========================================================================== */
.store-showcase-section {
  position: relative;
  overflow: hidden;
  max-width: 100vw;
  background-color: #070D1F;
  background-image:
    radial-gradient(circle at 18% 25%, rgba(212, 175, 55, 0.04) 0%, transparent 55%),
    radial-gradient(circle at 82% 65%, rgba(29, 58, 143, 0.18) 0%, transparent 60%);
  padding: 50px 20px 75px;
  margin: 0;
  border: none;
}

/* Seamless Section Transition Overlays to eliminate harsh visual edges */
.featured-batches-section::after,
.store-showcase-section::after,
.platform-features-section::after,
.bestsellers-showcase-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #070D1F);
  pointer-events: none;
  z-index: 2;
}

.store-showcase-section::before,
.platform-features-section::before,
.bestsellers-showcase-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, transparent, #070D1F);
  pointer-events: none;
  z-index: 2;
}

.store-bg-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.store-bg-vectors {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.float-store-vector {
  position: absolute;
  pointer-events: none;
  opacity: 0.065;
  will-change: transform;
  animation: floatStoreDrift 22s ease-in-out infinite alternate;
}

@keyframes floatStoreDrift {
  0% { transform: translate(0px, 0px) rotate(0deg); }
  50% { transform: translate(14px, -18px) rotate(1.5deg); }
  100% { transform: translate(-10px, -30px) rotate(-1.5deg); }
}

.store-orb-gold {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  top: 5%;
  right: -100px;
}

.store-orb-navy {
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(13, 27, 65, 0.5) 0%, transparent 70%);
  bottom: 0%;
  left: -120px;
}

.store-container {
  position: relative;
  z-index: 3;
}

.store-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.store-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 9999px;
  color: #FDE047;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.store-main-heading {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(26px, 3.8vw, 36px);
  font-weight: 800;
  color: #F8FAFC;
  line-height: 1.25;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.store-sub-heading {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(14px, 1.8vw, 15.5px);
  color: #94A3B8;
  max-width: 650px;
  line-height: 1.6;
  margin: 0;
}

.store-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FDE047;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  transition: all 0.25s ease;
}

.store-quick-link:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: #FDE047;
  transform: translateX(3px);
}

/* Products Grid */
.store-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

@media (max-width: 1024px) {
  .store-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .store-products-grid {
    grid-template-columns: 1fr;
  }
}

/* Store Product Card (Compact Goods & Merchandise Architecture) */
.store-product-card {
  background: linear-gradient(180deg, rgba(14, 21, 44, 0.85) 0%, rgba(10, 15, 33, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  position: relative;
}

.store-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 224, 71, 0.45);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.15);
}

.store-card-image-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(circle at center, #111d47 0%, #070d1f 100%);
  flex-shrink: 0;
}

.store-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-product-card:hover .store-product-img {
  transform: scale(1.05);
}

.store-format-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: rgba(7, 13, 31, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  color: #F8FAFC;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.store-discount-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 7px;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFF;
  font-size: 10px;
  font-weight: 800;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.store-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.store-card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.store-author-tag {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #FDE047;
  line-height: 1.2;
}

.store-product-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.25;
  margin: 0 0 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-product-desc {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.35;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.store-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 600;
  color: #34D399;
  line-height: 1.2;
}

.store-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 10px;
  margin-top: auto;
}

.store-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.store-price-current {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: #D4AF37;
}

.store-price-original {
  font-size: 11.5px;
  color: #64748B;
  text-decoration: line-through;
}

.btn-store-buy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #FDE047 0%, #D4AF37 100%);
  color: #070D1F;
  border-radius: 6px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.btn-store-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(253, 224, 71, 0.45);
  color: #070D1F;
}

/* Store Section Closure: All Products Routing Button */
.store-all-products-wrap {
  margin-top: 48px;
  text-align: center;
}

.btn-store-all-products {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #FDE047 0%, #D4AF37 100%);
  color: #070D1F;
  border-radius: 9999px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(253, 224, 71, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-store-all-products svg {
  transition: transform 0.25s ease;
}

.btn-store-all-products:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(253, 224, 71, 0.5);
  color: #070D1F;
}

.btn-store-all-products:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   DUAL MARQUEE TICKERS: TOP (NAVY LTR) & BOTTOM (GOLD RTL)
   Hardware-Accelerated transform: translateX for 60fps infinite fluidity
   ========================================================================== */
.dual-marquee-strip-section {
  width: 100%;
  overflow: hidden;
  user-select: none;
  position: relative;
  z-index: 10;
  background-color: #070D1F;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.marquee-strip-row {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Top Strip: Navy Blue Background, Golden Yellow Text */
.ticker-row-navy-ltr {
  background: #070D1F;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding: 10px 0;
}

/* Bottom Strip: Golden Yellow Background, Navy Blue Text */
.ticker-row-gold-rtl {
  background: #FBBF24;
  border-bottom: 2px solid rgba(7, 13, 31, 0.35);
  padding: 9px 0;
}

/* Ribbon Pill Badges */
.ticker-ribbon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  border-radius: 9999px;
  margin: 0 16px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.ticker-pill-gold {
  background: #FDE047;
  color: #070D1F;
  border: 1px solid rgba(212, 175, 55, 0.6);
}

.ticker-pill-navy {
  background: #070D1F;
  color: #FDE047;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.ticker-viewport-outer {
  overflow: hidden;
  flex-grow: 1;
  display: flex;
}

.ticker-continuous-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

/* Left-to-Right Marquee (Subjects) */
.ticker-anim-ltr {
  animation: tickerMoveLTR 38s linear infinite;
}

@keyframes tickerMoveLTR {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* Right-to-Left Marquee (Classes) */
.ticker-anim-rtl {
  animation: tickerMoveRTL 44s linear infinite;
}

@keyframes tickerMoveRTL {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.dual-marquee-strip-section:hover .ticker-continuous-track {
  animation-play-state: paused;
}

.ticker-token-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-token {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 13.5px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  padding: 0 18px;
}

.ticker-row-navy-ltr .ticker-token {
  color: #FDE047;
  font-weight: 800;
}

.ticker-row-gold-rtl .ticker-token {
  color: #070D1F;
  font-weight: 800;
  font-size: 13px;
}

.ticker-star {
  flex-shrink: 0;
  opacity: 0.85;
}

@media (max-width: 640px) {
  .ticker-ribbon-pill {
    padding: 4px 10px;
    font-size: 10px;
    margin: 0 8px;
  }
  .ticker-token {
    font-size: 12px;
    padding: 0 12px;
  }
}

/* ==========================================================================
   PLATFORM KEY FEATURES (3-Column Animated Auto-Scrolling Data Grid)
   Strict Deep Navy Background Continuity (#070D1F) & Modern Typography
   ========================================================================== */
.platform-features-section {
  position: relative;
  background-color: #070D1F;
  background-image: 
    radial-gradient(circle at 15% 30%, rgba(29, 58, 143, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(212, 175, 55, 0.06) 0%, transparent 45%);
  padding: 80px 20px 60px;
  overflow: hidden;
  border: none;
  margin: 0;
}

.features-bg-ambient,
.bestsellers-bg-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.features-orb-navy {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 58, 143, 0.24) 0%, rgba(10, 22, 52, 0.05) 70%, transparent 100%);
  top: 15%;
  left: -100px;
}

.features-orb-gold {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(245, 158, 11, 0.02) 65%, transparent 100%);
  bottom: 10%;
  right: -80px;
}

.features-container,
.bestsellers-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
}

.features-header,
.bestsellers-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 44px;
}

.features-pill-tag,
.bestsellers-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FDE047;
  color: #070D1F;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(253, 224, 71, 0.3);
}

.features-heading,
.bestsellers-heading {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 34px;
  font-weight: 800;
  color: #F8FAFC;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
  text-align: center;
  width: 100%;
}

.features-subheading,
.bestsellers-subheading {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  color: #94A3B8;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

/* 3-Column Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

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

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-col-card {
  background: rgba(11, 22, 54, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-col-card:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 224, 71, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(212, 175, 55, 0.14);
}

.feature-col-emerald {
  border-color: rgba(16, 185, 129, 0.3);
}

.feature-col-emerald:hover {
  border-color: rgba(52, 211, 153, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(16, 185, 129, 0.2);
}

.feature-col-gold {
  border-color: rgba(212, 175, 55, 0.3);
}

.feature-col-gold:hover {
  border-color: rgba(253, 224, 71, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(212, 175, 55, 0.2);
}

.feature-col-blue {
  border-color: rgba(56, 189, 248, 0.3);
}

.feature-col-blue:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(56, 189, 248, 0.2);
}

.feature-col-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.feature-badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.18);
}

.feature-badge-gold {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(253, 224, 71, 0.4);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.18);
}

.feature-badge-blue {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.18);
}

.feature-col-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: #F8FAFC;
  margin: 0 0 3px 0;
  line-height: 1.25;
}

.feature-col-sub {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 700;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.feature-sub-emerald {
  color: #34D399;
}

.feature-sub-gold {
  color: #FDE047;
}

.feature-sub-blue {
  color: #38BDF8;
}

/* Feature Auto-Scrolling Viewport & Hardware Accelerated Track */
.feature-scroll-viewport {
  height: 250px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.feature-scroll-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  will-change: transform;
}

.feature-scroll-anim-1 {
  animation: verticalScrollTrack 18s linear infinite;
}

.feature-scroll-anim-2 {
  animation: verticalScrollTrack 22s linear infinite;
}

.feature-scroll-anim-3 {
  animation: verticalScrollTrack 20s linear infinite;
}

@keyframes verticalScrollTrack {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.feature-col-card:hover .feature-scroll-track {
  animation-play-state: paused;
}

/* Data Row Modern Vibrant Themed Rows */
.feature-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(7, 13, 31, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-row-emerald {
  background: linear-gradient(90deg, rgba(6, 78, 59, 0.28) 0%, rgba(7, 13, 31, 0.8) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.feature-row-emerald:hover {
  background: linear-gradient(90deg, rgba(6, 78, 59, 0.5) 0%, rgba(13, 27, 65, 0.9) 100%);
  border-color: rgba(52, 211, 153, 0.65);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25), inset 0 0 12px rgba(16, 185, 129, 0.08);
}

.feature-row-gold {
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.28) 0%, rgba(7, 13, 31, 0.8) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.feature-row-gold:hover {
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.5) 0%, rgba(13, 27, 65, 0.9) 100%);
  border-color: rgba(253, 224, 71, 0.65);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.25), inset 0 0 12px rgba(245, 158, 11, 0.08);
}

.feature-row-blue {
  background: linear-gradient(90deg, rgba(12, 74, 110, 0.28) 0%, rgba(7, 13, 31, 0.8) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.feature-row-blue:hover {
  background: linear-gradient(90deg, rgba(12, 74, 110, 0.5) 0%, rgba(13, 27, 65, 0.9) 100%);
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.25), inset 0 0 12px rgba(56, 189, 248, 0.08);
}

.feature-item-num {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 68px;
  padding: 5px 8px;
  border-radius: 8px;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.feature-num-emerald {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #34D399;
}

.feature-num-gold {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(253, 224, 71, 0.45);
  color: #FDE047;
}

.feature-num-blue {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38BDF8;
}

.feature-item-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feature-item-info strong {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-item-info span {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   BESTSELLERS CHOSEN BY OUR STUDENTS (Rebuilt Exact Contained Master Panel)
   Distinct Dark Slate/Charcoal Panel (#181E2A) with 2-Column Asymmetrical Layout
   ========================================================================== */
.bestsellers-panel-section {
  position: relative;
  background-color: #070D1F;
  padding: 40px 20px 80px;
  overflow: hidden;
  border: none;
  margin: 0;
}

.bestsellers-master-panel {
  background: #181E2A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 42px 46px;
  display: grid;
  grid-template-columns: 31% 69%;
  gap: 36px;
  align-items: stretch;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* Left Column: Context & 3D Illustration Container */
.bestsellers-context-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bestsellers-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  border: 1.5px solid #FDE047;
  border-radius: 999px;
  color: #FDE047;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.bestsellers-panel-heading {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0 0 14px 0;
}

.bestsellers-panel-desc {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.bestsellers-view-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FDE047;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.bestsellers-view-more-link:hover {
  color: #FEF08A;
  transform: translateX(4px);
}

/* 3D Illustration Square Container (styled with ambient glow and anti-gravity floating) */
.bestsellers-3d-box {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  background: #0B111E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 220px;
  height: 130px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
  isolation: isolate;
}

/* Right Column: 3 Course Cards Flexbox Track */
.bestsellers-cards-col {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.bestseller-rebuilt-card {
  flex: 1 1 0;
  min-width: 0;
  background: #0D1630;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  text-align: left;
}

.bestseller-rebuilt-card:hover {
  transform: translateY(-6px);
  border-color: rgba(253, 224, 71, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(253, 224, 71, 0.12);
}

.bestseller-thumb-frame {
  height: 155px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #070D1F;
}

.bestseller-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.bestseller-rebuilt-card:hover .bestseller-img {
  transform: scale(1.06);
}

.bestseller-info-body {
  padding: 18px 20px 20px;
  background: #0D1630;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bestseller-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0 0 10px 0;
  min-height: 42px;
}

.bestseller-stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.bestseller-stars-flex {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.bestseller-rating-count {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
}

.bestseller-instructor-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.bestseller-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
  border: 1.5px solid rgba(253, 224, 71, 0.5);
  color: #FDE047;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.bestseller-instructor-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.bestseller-instructor-name {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  color: #F1F5F9;
}

.bestseller-instructor-stream {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  color: #94A3B8;
}

.bestseller-card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  margin-top: auto;
}

.bestseller-price-tag {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 19px;
  font-weight: 800;
  color: #FDE047;
}

.bestseller-duration-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  color: #94A3B8;
  font-weight: 600;
}

/* ==========================================================================
   Responsive Breakpoints for Bestsellers Section
   ========================================================================== */
@media (max-width: 1180px) {
  .bestsellers-master-panel {
    grid-template-columns: 35% 65%;
    gap: 24px;
    padding: 32px;
  }
  .bestsellers-panel-heading {
    font-size: 28px;
  }
}

@media (max-width: 1023px) {
  .bestsellers-master-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px;
    border-radius: 22px;
  }
  
  .bestsellers-3d-box {
    max-width: 100%;
    height: 110px;
    margin-top: 16px;
  }
  
  .bestsellers-cards-col {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    padding-bottom: 14px;
    width: 100%;
  }
  
  .bestsellers-cards-col::-webkit-scrollbar {
    height: 6px;
  }
  
  .bestsellers-cards-col::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
  }
  
  .bestsellers-cards-col::-webkit-scrollbar-thumb {
    background: rgba(253, 224, 71, 0.4);
    border-radius: 3px;
  }
  
  .bestseller-rebuilt-card {
    flex: 0 0 280px;
    min-width: 280px;
    scroll-snap-align: start;
  }
}

/* ==========================================================================
   TOP COURSE BUNDLES SECTION (Layered Cards & 2-Column Grid)
   Deep Navy Base (#070D1F) with Vibrant Gradients and Offset Dark Cards
   ========================================================================== */
.bundles-showcase-section {
  position: relative;
  background-color: #070D1F;
  padding: 50px 20px 80px;
  overflow: hidden;
  border: none;
  margin: 0;
}

.bundles-bg-vector {
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.bundles-layout-grid {
  display: grid;
  grid-template-columns: 34% 66%;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left Column: Context, 4K+ Stat & Glowing Explore Button */
.bundles-context-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bundles-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  border: 1.5px solid #FDE047;
  border-radius: 999px;
  color: #FDE047;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.bundles-heading {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 38px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.18;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.bundles-subheading {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  color: #94A3B8;
  line-height: 1.6;
  margin: 0 0 24px 0;
  max-width: 380px;
}

.bundles-stat-box {
  border-left: 3.5px solid #FDE047;
  padding-left: 14px;
  margin-bottom: 28px;
}

.bundles-stat-number {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.bundles-stat-label {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px;
  color: #94A3B8;
  font-weight: 600;
  margin-top: 4px;
}

.btn-explore-bundles {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FDE047 0%, #EAB308 100%);
  color: #070D1F;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(253, 224, 71, 0.38);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-explore-bundles:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(253, 224, 71, 0.55);
  color: #070D1F;
}

/* Right Column: 2x2 Layered Bundle Cards */
.bundles-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

.bundle-layered-wrapper {
  position: relative;
  cursor: pointer;
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bundle-layered-wrapper:hover {
  transform: translateY(-5px);
}

.bundle-layered-wrapper:hover .bundle-fore-card {
  border-color: rgba(253, 224, 71, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

/* Background Gradient Layer */
.bundle-back-gradient {
  border-radius: 20px;
  padding-top: 14px;
  padding-left: 16px;
  min-height: 190px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bundle-grad-blue {
  background: linear-gradient(135deg, #2563EB 0%, #4338CA 100%);
}

.bundle-grad-purple {
  background: linear-gradient(135deg, #7E22CE 0%, #A21CAF 100%);
}

.bundle-grad-teal {
  background: linear-gradient(135deg, #0F766E 0%, #0369A1 100%);
}

.bundle-grad-orange {
  background: linear-gradient(135deg, #D97706 0%, #C2410C 100%);
}

/* Top-Left Exposed Icon Badge */
.bundle-corner-icon-box {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Foreground Offset Dark Navy Card */
.bundle-fore-card {
  background: #0E1628;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px 20px;
  margin-top: 38px;
  margin-left: 14px;
  margin-right: -1px;
  margin-bottom: -1px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 2;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bundle-card-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 15.5px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0 0 8px 0;
}

.bundle-instructor-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.bundle-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1E293B;
  border: 1px solid rgba(253, 224, 71, 0.4);
  color: #FDE047;
  font-size: 9.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bundle-instructor-name {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  color: #94A3B8;
  font-weight: 600;
}

.bundle-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.bundle-courses-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  color: #94A3B8;
  font-weight: 600;
}

.bundle-card-price {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: #FDE047;
}

/* ==========================================================================
   TOP RATED BY OUR STUDENTS SECTION (Contained Panel with Technical Grid)
   Charcoal Panel (#131A29) with Animated 3D Graphic & 3 High-Contrast Cards
   ========================================================================== */
.top-rated-panel-section {
  position: relative;
  background-color: #070D1F;
  padding: 40px 20px 80px;
  overflow: hidden;
  border: none;
  margin: 0;
}

.top-rated-master-panel {
  background-color: #131A29;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 42px 46px;
  display: grid;
  grid-template-columns: 31% 69%;
  gap: 36px;
  align-items: stretch;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* Left Column: Context & Animated 3D Graphic */
.top-rated-context-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-rated-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  border: 1.5px solid #FDE047;
  border-radius: 999px;
  color: #FDE047;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.top-rated-panel-heading {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0 0 14px 0;
}

.top-rated-panel-desc {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.top-rated-view-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FDE047;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.top-rated-view-more-link:hover {
  color: #FEF08A;
  transform: translateX(4px);
}

/* 3D Illustration Container - Ambient Inner Glow & Anti-Gravity Floating */
.top-rated-3d-box {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  background: #0B111E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 220px;
  height: 130px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
  isolation: isolate;
}

/* Ambient Inner Glow Orbs (Strictly Contained) */
.ambient-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Soft, highly blurred yellow orb at top-left corner */
.ambient-glow-yellow {
  top: -15px;
  left: -15px;
  width: 90px;
  height: 90px;
  background: rgba(250, 204, 21, 0.4);
  filter: blur(40px);
  -webkit-filter: blur(40px);
}

/* Soft, highly blurred sky-blue orb at bottom-right corner */
.ambient-glow-blue {
  bottom: -15px;
  right: -15px;
  width: 90px;
  height: 90px;
  background: rgba(56, 189, 248, 0.4);
  filter: blur(40px);
  -webkit-filter: blur(40px);
}

/* Anti-Gravity Floating Keyframe Animation (~10px over 3 seconds) */
@keyframes antiGravityFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatSub1 {
  0%, 100% { transform: translate(18px, 55px); }
  50% { transform: translate(18px, 51px); }
}

@keyframes floatSub2 {
  0%, 100% { transform: translate(68px, 22px); }
  50% { transform: translate(68px, 17px); }
}

@keyframes floatSub3 {
  0%, 100% { transform: translate(108px, 68px); }
  50% { transform: translate(108px, 63px); }
}

.top-rated-3d-animator,
.bestsellers-3d-animator {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: antiGravityFloat 3s ease-in-out infinite;
  will-change: transform;
}

.floating-sub-item-1 {
  animation: floatSub1 3s ease-in-out infinite;
}

.floating-sub-item-2 {
  animation: floatSub2 3s ease-in-out infinite;
}

.floating-sub-item-3 {
  animation: floatSub3 3s ease-in-out infinite;
}

.top-rated-3d-svg,
.bestsellers-3d-svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

/* Right Column: 3 Course Cards Flexbox Track */
.top-rated-cards-col {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.top-rated-card {
  flex: 1 1 0;
  min-width: 0;
  background: #0D1630;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  text-align: left;
}

.top-rated-card:hover {
  transform: translateY(-6px);
  border-color: rgba(253, 224, 71, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(253, 224, 71, 0.12);
}

.top-rated-thumb-frame {
  height: 155px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #070D1F;
}

.top-rated-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.top-rated-card:hover .top-rated-img {
  transform: scale(1.06);
}

.top-rated-info-body {
  padding: 18px 20px 20px;
  background: #0D1630;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.top-rated-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0 0 10px 0;
  min-height: 42px;
}

.top-rated-stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.top-rated-stars-flex {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.top-rated-rating-count {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
}

.top-rated-instructor-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.top-rated-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
  border: 1.5px solid rgba(253, 224, 71, 0.5);
  color: #FDE047;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.top-rated-instructor-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.top-rated-instructor-name {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  color: #F1F5F9;
}

.top-rated-instructor-stream {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  color: #94A3B8;
}

.top-rated-card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  margin-top: auto;
}

.top-rated-price-tag {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 19px;
  font-weight: 800;
  color: #FDE047;
}

.top-rated-duration-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  color: #94A3B8;
  font-weight: 600;
}

/* ==========================================================================
   Responsive Breakpoints for Bundles & Top Rated Sections
   ========================================================================== */
@media (max-width: 1180px) {
  .bundles-layout-grid {
    grid-template-columns: 35% 65%;
    gap: 28px;
  }
  .bundles-heading {
    font-size: 32px;
  }
  
  .top-rated-master-panel {
    grid-template-columns: 35% 65%;
    gap: 24px;
    padding: 32px;
  }
  .top-rated-panel-heading {
    font-size: 28px;
  }
}

@media (max-width: 1023px) {
  /* Bundles Section Mobile Carousel */
  .bundles-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .bundles-cards-grid {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    padding-bottom: 16px;
    width: 100%;
  }
  
  .bundles-cards-grid::-webkit-scrollbar {
    height: 6px;
  }
  
  .bundles-cards-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
  }
  
  .bundles-cards-grid::-webkit-scrollbar-thumb {
    background: rgba(253, 224, 71, 0.4);
    border-radius: 3px;
  }
  
  .bundle-layered-wrapper {
    flex: 0 0 280px;
    min-width: 280px;
    scroll-snap-align: start;
  }

  /* Top Rated Section Mobile Carousel */
  .top-rated-master-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px;
    border-radius: 22px;
  }
  
  .top-rated-3d-box {
    max-width: 100%;
    height: 110px;
    margin-top: 16px;
  }
  
  .top-rated-cards-col {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    padding-bottom: 14px;
    width: 100%;
  }
  
  .top-rated-cards-col::-webkit-scrollbar {
    height: 6px;
  }
  
  .top-rated-cards-col::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
  }
  
  .top-rated-cards-col::-webkit-scrollbar-thumb {
    background: rgba(253, 224, 71, 0.4);
    border-radius: 3px;
  }
  
  .top-rated-card {
    flex: 0 0 280px;
    min-width: 280px;
    scroll-snap-align: start;
  }
}

/* ==========================================================================
   10. EXPERT INSTRUCTORS SECTION (CMS Data Binding & Focal Point Optimization)
   Strict Deep Navy Background Continuity (#070D1F) & Card Elevation
   ========================================================================== */
.instructors-showcase-section {
  position: relative;
  background-color: #070D1F;
  padding: 96px 20px 60px;
  overflow: hidden;
}

.instructors-bg-vector {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.instructors-header {
  position: relative;
  z-index: 2;
  margin-bottom: 52px;
  text-align: center;
}

.instructors-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  border: 1px solid rgba(253, 224, 71, 0.4);
  background: rgba(253, 224, 71, 0.08);
  border-radius: 999px;
  margin-bottom: 16px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #FDE047;
  text-transform: uppercase;
}

.instructors-heading {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #F8FAFC;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.instructors-subheading {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(14px, 1.8vw, 16px);
  color: #94A3B8;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

/* 3-Column Instructors Cards Grid */
.instructors-cards-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Individual Instructor Profile Card */
.instructor-profile-card {
  background: #0D1630;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.instructor-profile-card:hover {
  transform: translateY(-8px);
  border-color: rgba(253, 224, 71, 0.45);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.52), 0 0 24px rgba(253, 224, 71, 0.16);
}

/* Top Half: Image Container & Focal Point Fix */
.instructor-image-frame {
  position: relative;
  width: 100%;
  height: 280px;
  background: #182238;
  overflow: hidden;
}

.instructor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* Strict focal point lock to frame instructor faces */
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.instructor-img-mujahid {
  object-fit: cover;
  object-position: center 15%;
}

.instructor-profile-card:hover .instructor-img {
  transform: scale(1.05);
}

/* 3D Golden Verified Badge (Positioned Top Right, Un-clipped) */
.instructor-verified-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), 0 4px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 3;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.instructor-profile-card:hover .instructor-verified-badge {
  transform: scale(1.1);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.45), 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 12px rgba(253, 224, 71, 0.4);
}

/* Bottom Half: Navy Blue Info Area (#0D1630) */
.instructor-info-area {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #0D1630;
}

.instructor-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.instructor-name {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 19px;
  font-weight: 800;
  color: #F8FAFC;
  margin: 0;
  line-height: 1.3;
}

.instructor-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: #FDE047;
  background: rgba(253, 224, 71, 0.1);
  border: 1px solid rgba(253, 224, 71, 0.25);
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

.instructor-designation {
  font-size: 12px;
  color: #38BDF8;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

/* Rounded Subject Tags */
.instructor-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.instructor-tag {
  font-size: 11px;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.instructor-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(253, 224, 71, 0.4);
}

.instructor-bio {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.55;
  margin: 0 0 18px 0;
  flex-grow: 1;
}

/* Card Footer & Meeting Booking CTA */
.instructor-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.instructor-fee-box {
  display: flex;
  flex-direction: column;
}

.instructor-fee-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  font-weight: 700;
}

.instructor-fee-value {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: #FDE047;
}

.btn-instructor-meeting {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(253, 224, 71, 0.12);
  border: 1px solid rgba(253, 224, 71, 0.35);
  border-radius: 999px;
  color: #FDE047;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-instructor-meeting:hover {
  background: #FDE047;
  color: #070D1F;
  border-color: #FDE047;
  box-shadow: 0 4px 14px rgba(253, 224, 71, 0.4);
  transform: translateY(-2px);
}


/* ==========================================================================
   12. FORUMS COMMUNITY SECTION (Demographic Localization & Glassmorphism)
   Strict Deep Navy Background Continuity (#070D1F), Arched Frames & Floating Bubbles
   ========================================================================== */
.forums-showcase-section {
  position: relative;
  background-color: #070D1F;
  padding: 96px 20px 96px;
  overflow: hidden;
}

.forums-bg-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.forums-orb-gold {
  position: absolute;
  top: 15%;
  left: 6%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(54px);
}

.forums-orb-navy {
  position: absolute;
  bottom: 12%;
  right: 8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
}

.forums-layout-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Left Visual Column: Arched Frames & Overlapping Bubbles */
.forums-visual-col {
  position: relative;
}

.forums-visual-stage {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 22px;
}

/* Arched Image Containers with Indian Students */
.forum-arch-frame {
  position: relative;
  border-radius: 120px 120px 0 0; /* Arched Top as per specification */
  overflow: hidden;
  border: 2px solid rgba(253, 224, 71, 0.35);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), inset 0 0 24px rgba(0, 0, 0, 0.45);
  background: #111D38;
}

.forum-arch-left {
  width: 220px;
  height: 390px;
  transform: translateY(-32px); /* Parallax offset styling */
}

.forum-arch-right {
  width: 220px;
  height: 440px;
  transform: translateY(0);
}

.forum-arch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.05) contrast(1.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.forum-arch-frame:hover .forum-arch-img {
  transform: scale(1.04);
}

/* Floating Glassmorphism Chat Bubbles */
.forum-glass-bubble {
  position: absolute;
  background: rgba(13, 22, 48, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(253, 224, 71, 0.32);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(253, 224, 71, 0.12);
  max-width: 290px;
  z-index: 4;
}

.forum-bubble-upper {
  top: 24px;
  left: -8px;
  animation: floatBubbleUpper 4.5s ease-in-out infinite;
}

.forum-bubble-lower {
  bottom: 28px;
  right: -12px;
  animation: floatBubbleLower 5.2s ease-in-out infinite;
}

@keyframes floatBubbleUpper {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatBubbleLower {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

.forum-bubble-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.forum-bubble-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38BDF8 0%, #1E40AF 100%);
  color: #FFF;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.forum-bubble-avatar-circle.faculty-avatar {
  background: linear-gradient(135deg, #FDE047 0%, #D97706 100%);
  color: #070D1F;
}

.forum-bubble-meta {
  display: flex;
  flex-direction: column;
}

.forum-bubble-author {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.2;
}

.forum-bubble-role {
  font-size: 10px;
  color: #94A3B8;
  font-weight: 500;
}

.forum-bubble-badge {
  font-size: 9.5px;
  color: #FDE047;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.forum-bubble-text {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  color: #E2E8F0;
  line-height: 1.45;
  margin: 0;
}

/* Right Context Column: Header, Checklist & CTA */
.forums-context-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.forums-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  border: 1px solid rgba(253, 224, 71, 0.4);
  background: rgba(253, 224, 71, 0.08);
  border-radius: 999px;
  margin-bottom: 16px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #FDE047;
  text-transform: uppercase;
}

.forums-heading {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 800;
  color: #F8FAFC;
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.forums-subheading {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  color: #94A3B8;
  line-height: 1.65;
  margin: 0 0 28px 0;
}

/* Vertically Stacked Checklist with Yellow Checkmark Icons */
.forums-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 34px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.forums-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.forums-check-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(253, 224, 71, 0.12);
  border: 1px solid rgba(253, 224, 71, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: #FDE047;
  box-shadow: 0 2px 8px rgba(253, 224, 71, 0.16);
}

.forums-feature-text {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 14px;
  color: #E2E8F0;
  line-height: 1.5;
  font-weight: 500;
}

/* Glowing Yellow Explore Forums CTA */
.btn-explore-forums {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FDE047;
  color: #070D1F;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 13px 30px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(253, 224, 71, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-explore-forums:hover {
  background: #FFF9D2;
  color: #070D1F;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(253, 224, 71, 0.65);
}


/* ==========================================================================
   GLOBAL SCROLL TRIGGER TRANSITIONS
   IntersectionObserver Animations for Cards, Images & Context
   ========================================================================== */
.scroll-fade-item {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-fade-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation timing across grids */
.instructors-cards-grid .scroll-fade-item:nth-child(1) {
  transition-delay: 0.05s;
}
.instructors-cards-grid .scroll-fade-item:nth-child(2) {
  transition-delay: 0.18s;
}
.instructors-cards-grid .scroll-fade-item:nth-child(3) {
  transition-delay: 0.3s;
}

.forums-layout-grid .forums-visual-col.scroll-fade-item {
  transition-delay: 0.1s;
}
.forums-layout-grid .forums-context-col.scroll-fade-item {
  transition-delay: 0.22s;
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Instructors & Forums)
   ========================================================================== */
@media (max-width: 1024px) {
  .instructors-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  
  .forums-layout-grid {
    gap: 40px;
  }
  
  .forum-arch-left, .forum-arch-right {
    width: 190px;
  }
}

@media (max-width: 868px) {
  .instructors-cards-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  
  .forums-layout-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .forums-visual-stage {
    height: 400px;
  }
  
  .forum-arch-left {
    width: 160px;
    height: 330px;
    transform: translateY(-20px);
  }
  
  .forum-arch-right {
    width: 160px;
    height: 360px;
  }
  
  .forum-arch-frame {
    border-radius: 90px 90px 0 0;
  }
  
  .forum-bubble-upper {
    top: 10px;
    left: 0;
    max-width: 250px;
  }
  
  .forum-bubble-lower {
    bottom: 15px;
    right: 0;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .instructors-showcase-section,
  .forums-showcase-section {
    padding: 70px 16px 50px;
  }
  
  .instructor-image-frame {
    height: 240px;
  }
  
  .instructor-info-area {
    padding: 18px;
  }
  
  .forums-visual-stage {
    height: 340px;
    gap: 12px;
  }
  
  .forum-arch-left,
  .forum-arch-right {
    width: 135px;
    height: 290px;
    border-radius: 70px 70px 0 0;
  }
  
  .forum-arch-left {
    transform: translateY(-16px);
  }
  
  .forum-glass-bubble {
    max-width: 220px;
    padding: 10px 12px;
    border-radius: 14px;
  }
  
  .forum-bubble-text {
    font-size: 11px;
  }
  
  .btn-explore-forums {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   13. BLOG AND ARTICLES SECTION (Hero Featured + 2x2 Subgrid)
   Strict Deep Navy Background Continuity (#070D1F) & Interactive Overlays
   ========================================================================== */
.blog-showcase-section {
  position: relative;
  background-color: #070D1F;
  padding: 96px 0 84px;
  overflow: hidden;
}

.blog-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.blog-bg-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.blog-orb-gold {
  position: absolute;
  top: 20%;
  left: 4%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
}

.blog-orb-blue {
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
}

.blog-header {
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
  text-align: center;
}

.blog-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  border: 1px solid rgba(253, 224, 71, 0.4);
  background: rgba(253, 224, 71, 0.08);
  border-radius: 999px;
  margin-bottom: 16px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #FDE047;
  text-transform: uppercase;
}

.blog-heading {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #F8FAFC;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.blog-subheading {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(14px, 1.8vw, 16px);
  color: #94A3B8;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

/* Master Asymmetrical Layout: Hero Left, 2x2 Subgrid Right */
.blog-grid-master {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 36px;
}

/* Blog Card Container */
.blog-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0E1526;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(253, 224, 71, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(253, 224, 71, 0.16);
}

.blog-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

/* Semi-transparent dark gradient overlay */
.blog-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 13, 31, 0.96) 0%, rgba(7, 13, 31, 0.72) 42%, rgba(7, 13, 31, 0.25) 75%, transparent 100%);
  transition: background 0.35s ease;
}

.blog-card:hover .blog-card-gradient {
  background: linear-gradient(to top, rgba(7, 13, 31, 0.98) 0%, rgba(7, 13, 31, 0.65) 45%, rgba(7, 13, 31, 0.15) 80%, transparent 100%);
}

.blog-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  width: 100%;
}

/* Hero Card Specifics */
.blog-hero-card {
  min-height: 480px;
}

.blog-hero-card .blog-card-content {
  padding: 32px 28px;
}

.blog-hero-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 16px 0;
}

.blog-hero-title a {
  color: #F8FAFC;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-hero-title a:hover {
  color: #FDE047;
}

/* Subgrid 2x2 */
.blog-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}

.blog-mini-card {
  min-height: 228px;
}

.blog-mini-card .blog-card-content {
  padding: 18px 20px;
}

.blog-mini-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px 0;
}

.blog-mini-title a {
  color: #F8FAFC;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-mini-title a:hover {
  color: #FDE047;
}

/* Blog Meta Rows & Author Tags */
.blog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-author-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FDE047 0%, #D97706 100%);
  color: #070D1F;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog-avatar-circle.faculty-avatar {
  background: linear-gradient(135deg, #38BDF8 0%, #1E40AF 100%);
  color: #FFF;
}

.blog-author-name {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: #F8FAFC;
}

.blog-category-tag {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 500;
}

.blog-extra-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #94A3B8;
  font-weight: 500;
}

.blog-date,
.blog-comments {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-footer-cta {
  position: relative;
  z-index: 2;
  padding-top: 10px;
}

.blog-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #FDE047;
  text-decoration: none;
  transition: all 0.25s ease;
}

.blog-view-all-link:hover {
  color: #FFF9D2;
  transform: translateX(4px);
}


/* ==========================================================================
   14. REDESIGNED MODERN FOOTER SECTION
   Full-Width Navy (#070D1F), Study Vector Silhouette, Newsletter Block & Social Bar
   ========================================================================== */
.site-footer-modern {
  position: relative;
  background-color: #070D1F;
  overflow: hidden;
  padding-top: 50px;
  margin-top: 0;
}

.footer-bg-vector {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.footer-study-skyline {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-top-gold-line {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(253, 224, 71, 0.6) 50%, transparent 100%);
  width: 100%;
  position: relative;
  z-index: 2;
}

.footer-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 24px 0;
  box-sizing: border-box;
}

/* Horizontal Newsletter Banner Block */
.footer-newsletter-card {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 60px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.footer-newsletter-info {
  flex: 1;
}

.footer-newsletter-heading {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  color: #F8FAFC;
  margin: 0 0 6px 0;
}

.footer-newsletter-subtext {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 13.5px;
  color: #94A3B8;
  margin: 0;
  line-height: 1.5;
}

.footer-newsletter-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  max-width: 480px;
  width: 100%;
}

.footer-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.footer-input-icon {
  position: absolute;
  left: 16px;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.footer-newsletter-input {
  width: 100%;
  background: #080D1B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 13px 18px 13px 44px;
  color: #F8FAFC;
  font-size: 13px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.footer-newsletter-input:focus {
  border-color: rgba(253, 224, 71, 0.5);
  box-shadow: 0 0 0 3px rgba(253, 224, 71, 0.15);
}

.btn-footer-join {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FDE047;
  color: #070D1F;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 13.5px;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(253, 224, 71, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-footer-join:hover {
  background: #FFF9D2;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 224, 71, 0.5);
}

/* 4-Column Directory Grid */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Column 1: Let's get started CTA */
.footer-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(253, 224, 71, 0.1);
  border: 1px solid rgba(253, 224, 71, 0.3);
  border-radius: 999px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 800;
  color: #FDE047;
  margin-bottom: 16px;
}

.footer-cta-heading {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: #F8FAFC;
  line-height: 1.25;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

.text-gold-accent {
  color: #FDE047;
}

.btn-footer-enroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FDE047;
  color: #070D1F;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 13.5px;
  font-weight: 800;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(253, 224, 71, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-footer-enroll:hover {
  background: #FFF9D2;
  color: #070D1F;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(253, 224, 71, 0.55);
}

/* Columns 2 & 3: Quick Links & Categories */
.footer-col-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  font-weight: 800;
  color: #F8FAFC;
  margin: 0 0 20px 0;
  letter-spacing: -0.01em;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a,
.footer-link-btn {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 13.5px;
  color: #94A3B8;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links-list a:hover,
.footer-link-btn:hover {
  color: #FDE047;
  transform: translateX(3px);
}

/* Column 4: Contact Us */
.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #94A3B8;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.footer-contact-row:hover {
  color: #E2E8F0;
}

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* 3. Developer & Social Media Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.footer-dev-credit {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 12.5px;
  color: #94A3B8;
  line-height: 1.5;
}

.footer-dev-link {
  color: #FDE047;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(253, 224, 71, 0.5);
  text-underline-offset: 3px;
  transition: all 0.2s ease;
  display: inline;
}

.footer-dev-link:hover {
  color: #FFF9D2;
  text-decoration-color: #FDE047;
  text-shadow: 0 0 10px rgba(253, 224, 71, 0.45);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-btn:hover {
  background: rgba(253, 224, 71, 0.15);
  border-color: rgba(253, 224, 71, 0.45);
  color: #FDE047;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 224, 71, 0.2);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Blog & Modern Footer)
   ========================================================================== */
@media (max-width: 1024px) {
  .blog-grid-master {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  
  .blog-hero-card {
    min-height: 380px;
  }
  
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  
  .footer-newsletter-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 24px;
  }
  
  .footer-newsletter-form {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .blog-showcase-section {
    padding: 70px 0 60px;
  }

  .blog-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .blog-subgrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-footer-join {
    width: 100%;
    justify-content: center;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 16px;
  }

  .footer-dev-credit {
    text-align: center;
    width: 100%;
  }
  
  .footer-social-icons {
    justify-content: center;
    margin-left: 0;
    width: 100%;
  }
}

/* ==========================================================================
   GLOBAL CONTAINER CONSTRAINTS & RESPONSIVENESS (1280px Max-Width Lockdown)
   ========================================================================== */
.pathways-neo-section .container,
.featured-courses-section .container,
.instructors-showcase-section .container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .featured-cards-grid,
  .dynamic-courses-grid,
  .catalog-courses-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px;
  }

  .instructors-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .pathways-neo-section .container,
  .featured-courses-section .container,
  .instructors-showcase-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .featured-cards-grid,
  .dynamic-courses-grid,
  .catalog-courses-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .instructors-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
}

/* ==========================================================================
   COURSE CATALOG & DETAIL PIPELINE EXTENSIONS
   ========================================================================== */
.catalog-page-wrapper {
  background-color: #070D1F;
}

.catalog-search-container input:focus {
  border-color: rgba(212, 175, 55, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
}

.catalog-filter-btn:hover:not(.active) {
  border-color: rgba(212, 175, 55, 0.5) !important;
  color: #FDE047 !important;
}

.catalog-sub-btn:hover {
  border-color: rgba(212, 175, 55, 0.5) !important;
  color: #FDE047 !important;
}

.course-detail-page-wrapper {
  background-color: #070D1F;
}

.course-detail-grid {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 36px;
  align-items: start;
}

.course-preview-player:hover .play-btn-glow {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.7);
}

.detail-tab-btn:hover:not(.active) {
  border-color: rgba(212, 175, 55, 0.4) !important;
  color: #FDE047 !important;
}

.curriculum-chapter-box {
  transition: border-color 0.2s ease;
}

.curriculum-chapter-box:hover {
  border-color: rgba(212, 175, 55, 0.3);
}

.course-checkout-aside {
  position: sticky;
  top: 96px;
}

@media (max-width: 1024px) {
  .course-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .course-checkout-aside {
    position: static !important;
    margin-top: 24px !important;
  }
}

/* ==========================================================================
   PORTAL SIDEBAR & CONTENT RESPONSIVE STABILIZATION
   ========================================================================== */
.portal-sidebar {
  width: 260px;
  background: #111827;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  min-height: calc(100vh - 70px);
  padding: 24px 16px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.portal-content {
  flex: 1;
  padding: 32px;
  background: #090D16;
  min-width: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .portal-sidebar {
    width: 100% !important;
    min-height: auto !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 16px !important;
  }
  .portal-sidebar nav {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .portal-sidebar nav a {
    flex: 1 1 auto;
    text-align: center;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .portal-content {
    padding: 20px 16px !important;
    width: 100% !important;
  }
}

/* ==========================================================================
   TOUCH TARGET ERGONOMICS & MINIMUM HEIGHT COMPLIANCE (min-h-[44px])
   ========================================================================== */
.hero-ref-btn-primary,
.hero-ref-btn-ghost,
.btn-glass-gold,
button.glass-action-btn,
a.glass-action-btn,
.catalog-filter-btn,
.tab-nav-btn,
#category-pills button,
.class-pill,
#btn-save-continue,
#navbar-cart-btn,
#mobile-menu-btn,
#mobile-drawer-close,
.touch-target {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  touch-action: manipulation;
}

/* Fluid Typography Clamping */
.hero-ref-title {
  font-size: clamp(28px, 5.5vw, 54px) !important;
  word-break: break-word;
  overflow-wrap: break-word;
}

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



