/**
 * New Media Animation (NMA) — MuscleGrid-Inspired Obsidian & Amber Theme Engine
 * Features:
 * 1. Dark Mode Default Color Correction (Deep Obsidian + Fiery Amber/Orange + Crisp White)
 * 2. Top Studio Ticker Bar (Image 2)
 * 3. Glowing Section Divider Beams with Traveling Light Streaks (Image 3)
 * 4. Highlighted Section Frame with Glowing Side Rails & Corner Nodes (Image 4)
 * 5. Mid-Page Spec Capability Ticker Strip (Image 5)
 * 6. Ambient Institute Grid & Floating Particles Backdrop (Image 1)
 * 7. Scroll-Reveal Section Opening & Content-Visibility Optimization
 * 8. Full Light-Mode Preservation via [data-theme="light"]
 */

/* =========================================================================
   1. DARK MODE OBSIDIAN COLOR CORRECTION TOKENS & GLOBAL SURFACES
   ========================================================================= */
html[data-theme="dark"] {
  --nma-dark: #060608;
  --nma-dark-surface: #0B0C10;
  --nma-dark-card: #111319;
  --nma-dark-border: rgba(255, 255, 255, 0.1);
  --nma-text-dark: #FFFFFF;
  --nma-text-muted: #9CA3AF;
  --nma-text-light: #F8FAFC;
  --nma-text-subtle: #CBD5E1;
  --nma-bg-light: #111319;
  --nma-bg-neutral: #0D0E13;
  --nma-bg-white: #0B0C10;
  --nma-border-light: rgba(255, 255, 255, 0.1);

  --mg-obsidian: #060608;
  --mg-surface: #0B0C10;
  --mg-card: #101218;
  --mg-orange: #FF7A18;
  --mg-amber: #F59E0B;
  --mg-gold: #FFC928;
  --mg-glow: rgba(255, 122, 24, 0.35);
}

html[data-theme="dark"] body {
  background-color: #060608 !important;
  color: #F3F4F6 !important;
}

html[data-theme="dark"] .site-header {
  background: rgba(6, 6, 8, 0.92) !important;
  border-bottom: 1px solid rgba(255, 138, 43, 0.16) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65) !important;
}

html[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(6, 6, 8, 0.97) !important;
  border-bottom-color: rgba(255, 138, 43, 0.28) !important;
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.84) !important;
}

html[data-theme="light"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.93) !important;
}

html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link.active {
  color: #FF8A1E !important;
}

html[data-theme="dark"] .theme-toggle-btn {
  background: rgba(255, 122, 24, 0.12) !important;
  border-color: rgba(255, 122, 24, 0.35) !important;
  color: #FFC928 !important;
}

html[data-theme="dark"] .theme-toggle-btn:hover {
  background: rgba(255, 122, 24, 0.24) !important;
  border-color: #FF7A18 !important;
  box-shadow: 0 0 14px rgba(255, 122, 24, 0.35) !important;
}

/* =========================================================================
   2. LIGHTWEIGHT AMBIENT BACKDROP (No expensive fixed multi-gradient repaint)
   ========================================================================= */
.nma-ambient-grid {
  display: none !important;
}

.nma-ambient-canvas {
  display: none !important;
}

/* Strictly contain every animated section & banner using overflow: clip (no heavy GPU scroll-clip surface!) */
.hero-master,
.stats-section,
.academic-courses-section,
.advantage-section,
.video-showcase-section,
.trainers-section,
.how-it-works-section,
.nma-placements-section,
.design-future-banner {
  position: relative !important;
  overflow: clip !important;
}

/* Per-Section Dedicated Institute Background Animation Canvas Layer (Isolated GPU Layer) */
.nma-sec-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: block;
  contain: strict;
  transform: translateZ(0);
}

.hero-master > .nma-sec-bg-canvas {
  z-index: 4;
}

.stats-section > .container,
.academic-courses-section > .container,
.advantage-section > .container,
.video-showcase-section > .container,
.trainers-section > .container,
.how-it-works-section > .container,
.nma-placements-section > .container {
  position: relative;
  z-index: 3 !important;
}

.design-future-banner > *:not(.nma-sec-bg-canvas) {
  position: relative;
  z-index: 3;
}

/* Shared positioning for subtle per-section square grid overlays */
html[data-theme="dark"] .stats-section::after,
html[data-theme="dark"] .academic-courses-section::after,
html[data-theme="dark"] .advantage-section::after,
html[data-theme="dark"] .video-showcase-section::after,
html[data-theme="dark"] .trainers-section::after,
html[data-theme="dark"] .how-it-works-section::after,
html[data-theme="dark"] .nma-placements-section::after,
html[data-theme="dark"] .design-future-banner::after,
html[data-theme="light"] .stats-section::after,
html[data-theme="light"] .academic-courses-section::after,
html[data-theme="light"] .advantage-section::after,
html[data-theme="light"] .video-showcase-section::after,
html[data-theme="light"] .trainers-section::after,
html[data-theme="light"] .how-it-works-section::after,
html[data-theme="light"] .nma-placements-section::after,
html[data-theme="light"] .design-future-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* 1. Stats Section: Classic 52px Crisp Square Grid */
html[data-theme="dark"] .stats-section::after {
  background-image:
    linear-gradient(rgba(255, 138, 43, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 43, 0.028) 1px, transparent 1px);
  background-size: 52px 52px;
}
html[data-theme="light"] .stats-section::after {
  background-image:
    linear-gradient(rgba(234, 88, 12, 0.072) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 88, 12, 0.072) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* 2. Courses Section: 40px Fine Square Grid with Pinpoint Dots */
html[data-theme="dark"] .academic-courses-section::after {
  background-image:
    radial-gradient(circle, rgba(255, 201, 40, 0.22) 1.25px, transparent 1.25px),
    linear-gradient(rgba(255, 138, 43, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 43, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
html[data-theme="light"] .academic-courses-section::after {
  background-image:
    radial-gradient(circle, rgba(217, 119, 6, 0.26) 1.25px, transparent 1.25px),
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* 3. Why Choose NMA (Advantage): Dual-Scale Architectural Blueprint Square Grid (28px minor + 112px major) */
html[data-theme="dark"] .advantage-section::after {
  background-image:
    linear-gradient(rgba(255, 138, 43, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 43, 0.032) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 112px 112px, 112px 112px, 28px 28px, 28px 28px;
}
html[data-theme="light"] .advantage-section::after {
  background-image:
    linear-gradient(rgba(234, 88, 12, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 88, 12, 0.075) 1px, transparent 1px),
    linear-gradient(rgba(15, 23, 42, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.038) 1px, transparent 1px);
  background-size: 112px 112px, 112px 112px, 28px 28px, 28px 28px;
}

/* 4. Studio Showreels: Wide 16:9 Cinema Frame Grid (64px x 36px) */
html[data-theme="dark"] .video-showcase-section::after {
  background-image:
    linear-gradient(rgba(255, 180, 60, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.022) 1px, transparent 1px);
  background-size: 64px 36px;
}
html[data-theme="light"] .video-showcase-section::after {
  background-image:
    linear-gradient(rgba(234, 88, 12, 0.058) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.052) 1px, transparent 1px);
  background-size: 64px 36px;
}

/* 5. Faculty & Mentors: 40px Fine Square Grid with Pinpoint Corner Dots */
html[data-theme="dark"] .trainers-section::after {
  background-image:
    radial-gradient(circle, rgba(255, 201, 40, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(255, 138, 43, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 43, 0.018) 1px, transparent 1px);
  background-size: 40px 40px;
}
html[data-theme="light"] .trainers-section::after {
  background-image:
    radial-gradient(circle, rgba(217, 119, 6, 0.22) 1px, transparent 1px),
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* 6. How It Works Roadmap: 48px + 16px Technical Sub-Grid Matrix */
html[data-theme="dark"] .how-it-works-section::after {
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.024) 1px, transparent 1px),
    linear-gradient(rgba(255, 138, 43, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 43, 0.014) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 16px 16px, 16px 16px;
}
html[data-theme="light"] .how-it-works-section::after {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.062) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.062) 1px, transparent 1px),
    linear-gradient(rgba(234, 88, 12, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 88, 12, 0.036) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 16px 16px, 16px 16px;
}

/* 7. Student Placements: Clean Warm Gold-Amber 56px Milestone Square Grid */
html[data-theme="dark"] .nma-placements-section::after {
  background-image:
    linear-gradient(rgba(255, 201, 40, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 122, 24, 0.026) 1px, transparent 1px);
  background-size: 56px 56px;
}
html[data-theme="light"] .nma-placements-section::after {
  background-image:
    linear-gradient(rgba(217, 119, 6, 0.072) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 88, 12, 0.065) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* 8. Bottom CTA Banner: Crisp 32px Precision Grid */
html[data-theme="dark"] .design-future-banner::after {
  background-image:
    linear-gradient(rgba(255, 138, 43, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 43, 0.024) 1px, transparent 1px);
  background-size: 32px 32px;
}
html[data-theme="light"] .design-future-banner::after {
  background-image:
    linear-gradient(rgba(234, 88, 12, 0.062) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 88, 12, 0.062) 1px, transparent 1px);
  background-size: 32px 32px;
}

#main-content,
.site-header,
.site-footer,
.announcement-bar,
.nma-top-ticker {
  position: relative;
  z-index: 2;
}

/* =========================================================================
   3. TOP STUDIO MARQUEE TICKER STRIP (IMAGE 2)
   ========================================================================= */
.nma-top-ticker {
  width: 100%;
  height: var(--nma-top-ticker-height, 34px);
  background: var(--nma-top-ticker-bg-dark, #050507);
  border-bottom: 1px solid rgba(255, 122, 24, 0.18);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10002;
  user-select: none;
}

html[data-theme="light"] .nma-top-ticker {
  background: var(--nma-top-ticker-bg-light, #0F172A);
  border-bottom: 1px solid rgba(245, 158, 11, 0.28);
}

.nma-top-ticker::before,
.nma-top-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.nma-top-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--nma-top-ticker-bg-dark, #050507) 0%, transparent 100%);
}

.nma-top-ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--nma-top-ticker-bg-dark, #050507) 0%, transparent 100%);
}

html[data-theme="light"] .nma-top-ticker::before {
  background: linear-gradient(90deg, var(--nma-top-ticker-bg-light, #0F172A) 0%, transparent 100%);
}

html[data-theme="light"] .nma-top-ticker::after {
  background: linear-gradient(270deg, var(--nma-top-ticker-bg-light, #0F172A) 0%, transparent 100%);
}

.nma-top-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: nmaTopTickerScroll var(--nma-top-ticker-duration, 38s) linear infinite;
  animation-direction: var(--nma-top-ticker-direction, normal);
}

.nma-top-ticker:hover .nma-top-ticker-track {
  animation-play-state: var(--nma-top-ticker-hover-state, paused);
}

.nma-top-ticker-group {
  display: flex;
  align-items: center;
  gap: var(--nma-top-ticker-gap, 32px);
  padding-right: var(--nma-top-ticker-gap, 32px);
  white-space: nowrap;
}

.nma-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: var(--nma-top-ticker-font-size, 0.7rem);
  letter-spacing: 0.08em;
  text-transform: var(--nma-top-ticker-transform, uppercase);
  line-height: 1;
  text-decoration: none;
}

a.nma-ticker-item {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

a.nma-ticker-item:hover {
  opacity: 0.86;
}

.nma-ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nma-top-ticker-dot, #FF6B1A);
  box-shadow: 0 0 8px rgba(255, 107, 26, 0.75);
  flex-shrink: 0;
}

.nma-ticker-strong {
  color: var(--nma-top-ticker-strong, #FFFFFF);
  font-weight: 800;
}

.nma-ticker-sep {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
}

.nma-ticker-muted {
  color: var(--nma-top-ticker-muted, #9CA3AF);
  font-weight: 600;
}

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

/* =========================================================================
   4. GLOWING SECTION DIVIDERS WITH TRAVELING LIGHT BEAMS (IMAGE 3)
   ========================================================================= */
.nma-glow-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 122, 24, 0.06) 0%,
    rgba(255, 140, 40, 0.24) 20%,
    rgba(255, 196, 60, 0.28) 50%,
    rgba(255, 140, 40, 0.24) 80%,
    rgba(255, 122, 24, 0.06) 100%
  );
  overflow: visible;
  z-index: 4;
  margin: 0;
}

html[data-theme="light"] .nma-glow-divider {
  background: linear-gradient(
    90deg,
    rgba(217, 119, 6, 0.08) 0%,
    rgba(245, 158, 11, 0.32) 50%,
    rgba(217, 119, 6, 0.08) 100%
  );
}

.nma-glow-node {
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #FF6B1A;
  box-shadow: 0 0 10px 2px rgba(255, 107, 26, 0.85), 0 0 20px rgba(255, 165, 30, 0.5);
  z-index: 3;
  animation: nmaNodePulse 2.6s ease-in-out infinite;
}

.nma-glow-node.node-left {
  left: 3.5%;
}

.nma-glow-node.node-right {
  right: 3.5%;
  animation-delay: 1.3s;
}

.nma-glow-beam {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  width: 170px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 140, 40, 0.55) 22%,
    #FFFBEB 50%,
    rgba(255, 165, 40, 0.75) 75%,
    transparent 100%
  );
  box-shadow: 0 0 6px rgba(255, 155, 40, 0.5);
  will-change: transform, opacity;
  animation: nmaBeamGlide 5.5s linear infinite;
  pointer-events: none;
}

.nma-glow-beam.beam-2 {
  width: 120px;
  animation-duration: 7.4s;
  animation-delay: 2.4s;
  opacity: 0.85;
}

html[data-theme="light"] .nma-glow-beam {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(245, 158, 11, 0.55) 25%,
    #F59E0B 50%,
    rgba(234, 88, 12, 0.6) 75%,
    transparent 100%
  );
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

@keyframes nmaBeamGlide {
  0% {
    transform: translate3d(-18vw, -50%, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate3d(108vw, -50%, 0);
    opacity: 0;
  }
}

@keyframes nmaNodePulse {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translateY(-50%) scale(1.35);
    opacity: 1;
  }
}

/* =========================================================================
   5. HIGHLIGHTED SECTION WITH BOTH-SIDE & TOP/BOTTOM GLOWING RAILS (IMAGE 4)
   ========================================================================= */
.nma-highlight-section {
  position: relative !important;
  overflow: hidden !important;
}

/* Top & Bottom horizontal glowing edges inside highlighted section */
.nma-highlight-section .nma-hl-rail-top,
.nma-highlight-section .nma-hl-rail-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 107, 26, 0.15) 0%,
    rgba(255, 175, 50, 0.45) 50%,
    rgba(255, 107, 26, 0.15) 100%
  );
  z-index: 4;
  pointer-events: none;
}

.nma-highlight-section .nma-hl-rail-top {
  top: 0;
}

.nma-highlight-section .nma-hl-rail-bottom {
  bottom: 0;
}

.nma-highlight-section .nma-hl-rail-top::after,
.nma-highlight-section .nma-hl-rail-bottom::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 180, 50, 0.8), #FFFBEB, rgba(255, 180, 50, 0.8), transparent);
  box-shadow: 0 0 10px rgba(255, 165, 30, 0.65);
  will-change: transform, opacity;
  animation: nmaBeamGlide 6s linear infinite;
}

.nma-highlight-section .nma-hl-rail-bottom::after {
  animation-delay: 3s;
}

/* Left & Right vertical glowing rails (both sides glowing lines!) */
.nma-highlight-section .nma-hl-rail-left,
.nma-highlight-section .nma-hl-rail-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 107, 26, 0.08) 0%,
    rgba(255, 122, 24, 0.75) 28%,
    rgba(255, 201, 40, 0.95) 50%,
    rgba(255, 122, 24, 0.75) 72%,
    rgba(255, 107, 26, 0.08) 100%
  );
  box-shadow: 0 0 14px 1px rgba(255, 122, 24, 0.45);
}

.nma-highlight-section .nma-hl-rail-left {
  left: 0;
}

.nma-highlight-section .nma-hl-rail-right {
  right: 0;
}

.nma-highlight-section .nma-hl-rail-left::after,
.nma-highlight-section .nma-hl-rail-right::after {
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  width: 4px;
  height: 90px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, #FFFBEB, #FF7A18, transparent);
  box-shadow: 0 0 12px rgba(255, 180, 50, 0.8);
  will-change: transform, opacity;
  animation: nmaVerticalBeam 4.6s linear infinite;
}

.nma-highlight-section .nma-hl-rail-right::after {
  animation-delay: 2.3s;
}

@keyframes nmaVerticalBeam {
  0% {
    transform: translate3d(0, -100px, 0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 680px, 0);
    opacity: 0;
  }
}

/* Corner glowing dots on highlighted section */
.nma-hl-corner {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF6B1A;
  box-shadow: 0 0 10px 2px rgba(255, 107, 26, 0.85);
  z-index: 5;
  pointer-events: none;
}

.nma-hl-corner.tl { top: 8px; left: 16px; }
.nma-hl-corner.tr { top: 8px; right: 16px; }
.nma-hl-corner.bl { bottom: 8px; left: 16px; }
.nma-hl-corner.br { bottom: 8px; right: 16px; }

/* MuscleGrid Proof-Backed Eyebrow Header inside Highlighted Stats Section */
.nma-proof-header {
  position: relative;
  z-index: 2;
  margin-bottom: 26px;
  text-align: left;
}

.nma-proof-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F59E0B;
  margin-bottom: 8px;
}

.nma-proof-eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1.5px;
  background: #FF7A18;
  box-shadow: 0 0 8px rgba(255, 122, 24, 0.7);
}

.nma-proof-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
  color: #0A0A0D;
}

html[data-theme="dark"] .nma-proof-heading {
  color: #FFFFFF;
}

.nma-proof-heading-accent {
  color: #FF6B1A;
}

html[data-theme="dark"] .nma-proof-heading-accent {
  color: #FF7A18;
  text-shadow: 0 0 24px rgba(255, 122, 24, 0.35);
}

html[data-theme="light"] .nma-proof-heading-accent {
  color: #FF6B1A;
  text-shadow: none;
}

/* Unified Section Heading Color Rules: White+Orange (Dark) / Black+Orange (Light) */
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .academic-courses-section .section-title,
html[data-theme="dark"] .academic-courses-section .section-title .m-courses-title-prefix,
html[data-theme="dark"] .video-showcase-section .section-title {
  color: #FFFFFF !important;
}

html[data-theme="light"] .section-title,
html[data-theme="light"] .academic-courses-section .section-title,
html[data-theme="light"] .academic-courses-section .section-title .m-courses-title-prefix,
html[data-theme="light"] .video-showcase-section .section-title {
  color: #0A0A0D !important;
}

html[data-nma-grids="0"] .stats-section::after,
html[data-nma-grids="0"] .academic-courses-section::after,
html[data-nma-grids="0"] .advantage-section::after,
html[data-nma-grids="0"] .video-showcase-section::after,
html[data-nma-grids="0"] .trainers-section::after,
html[data-nma-grids="0"] .how-it-works-section::after,
html[data-nma-grids="0"] .nma-placements-section::after,
html[data-nma-grids="0"] .design-future-banner::after,
html[data-nma-grids="0"] #main-content::after {
  display: none !important;
}

html[data-theme="dark"] .section-title-accent,
html[data-theme="dark"] .academic-courses-section .section-title .m-courses-title-accent,
html[data-theme="dark"] .m-courses-title-accent {
  color: var(--nma-cta-accent, #FF7A18) !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: var(--nma-cta-accent, #FF7A18) !important;
  filter: none !important;
}

html[data-theme="light"] .section-title-accent,
html[data-theme="light"] .academic-courses-section .section-title .m-courses-title-accent,
html[data-theme="light"] .m-courses-title-accent {
  color: var(--nma-cta-accent-light, var(--nma-cta-accent, #FF6B1A)) !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: var(--nma-cta-accent-light, var(--nma-cta-accent, #FF6B1A)) !important;
  filter: none !important;
}

/* Light Mode Adaptation for Video Showcase Section so Black+Orange Heading & Animations Shine */
html[data-theme="light"] .video-showcase-section {
  background: #F8FAFC !important;
  color: #0F172A !important;
  border-top: 1.5px solid #E2E8F0 !important;
  border-bottom: 1.5px solid #E2E8F0 !important;
}

html[data-theme="light"] .video-showcase-section .section-subtitle {
  color: #475569 !important;
}

html[data-theme="light"] .video-showcase-section .section-tag {
  background: rgba(255, 107, 26, 0.1) !important;
  color: #C2410C !important;
  border-color: rgba(255, 107, 26, 0.35) !important;
}

html[data-theme="light"] .showreel-card {
  background: rgba(255, 255, 255, 0.75) !important;
  box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.12), 0 0 18px -2px var(--sr-glow) !important;
}

html[data-theme="light"] .showreel-body {
  background: rgba(255, 255, 255, 0.75) !important;
}

html[data-theme="light"] .showreel-heading {
  color: #0F172A !important;
}

html[data-theme="light"] .showreel-author-meta,
html[data-theme="light"] .showreel-author-name {
  color: #475569 !important;
}

html[data-theme="light"] .showreel-chip {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #1E293B !important;
}

html[data-theme="light"] .showreel-card-footer {
  border-top-color: #E2E8F0 !important;
}

/* =========================================================================
   6. MID-PAGE SPEC / CAPABILITY TICKER STRIP (IMAGE 5)
   ========================================================================= */
.nma-mid-spec-ticker {
  width: 100%;
  padding: var(--nma-mid-ticker-pad-y, 13px) 0;
  background: var(--nma-mid-ticker-bg-dark, #070709);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 4;
}

html[data-theme="light"] .nma-mid-spec-ticker {
  background: var(--nma-mid-ticker-bg-light, #0F172A);
  border-top-color: rgba(245, 158, 11, 0.25);
  border-bottom-color: rgba(245, 158, 11, 0.25);
}

.nma-mid-spec-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: nmaTopTickerScroll var(--nma-mid-ticker-duration, 34s) linear infinite;
  animation-direction: var(--nma-mid-ticker-direction, normal);
}

.nma-mid-spec-ticker:hover .nma-mid-spec-track {
  animation-play-state: var(--nma-mid-ticker-hover-state, paused);
}

.nma-mid-spec-group {
  display: flex;
  align-items: center;
  gap: var(--nma-mid-ticker-gap, 38px);
  padding-right: var(--nma-mid-ticker-gap, 38px);
  white-space: nowrap;
}

.nma-spec-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: var(--nma-mid-ticker-font-size, 0.82rem);
  text-transform: var(--nma-mid-ticker-transform, none);
  text-decoration: none;
}

a.nma-spec-chip {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

a.nma-spec-chip:hover {
  opacity: 0.86;
}

.nma-spec-val {
  color: var(--nma-mid-ticker-val, #FBBF24);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nma-spec-lbl {
  color: var(--nma-mid-ticker-lbl, #D1D5DB);
  font-weight: 500;
}

/* =========================================================================
   7. DARK MODE COLOR CORRECTION ACROSS ALL HOMEPAGE SECTIONS
   ========================================================================= */
html[data-theme="dark"] .hero-master {
  background-color: #060608 !important;
}

/* Dark-mode hero artwork brightness & original dark overlay scrim */
html[data-theme="dark"] .hero-showcase-slide.slide-theme-dark img,
html[data-theme="dark"] .hero-bg-layer {
  filter: brightness(var(--nma-hero-dark-slide-brightness, 1.00));
}

html[data-theme="dark"] .hero-bg-showcase-viewport::after,
html[data-theme="dark"] .hero-bg-layer::after {
  background:
    linear-gradient(
      90deg,
      rgba(6, 6, 8, var(--nma-hero-dark-scrim, 0.96)) 0%,
      rgba(6, 6, 8, calc(var(--nma-hero-dark-scrim, 0.96) * 0.896)) 28%,
      rgba(6, 6, 8, calc(var(--nma-hero-dark-scrim, 0.96) * 0.583)) 52%,
      rgba(6, 6, 8, 0) 76%
    ),
    linear-gradient(
      0deg,
      rgba(6, 6, 8, 0.95) 0%,
      rgba(6, 6, 8, 0.6) 12%,
      rgba(6, 6, 8, 0) 26%
    ) !important;
}

html[data-theme="light"] .hero-bg-showcase-viewport::after,
html[data-theme="light"] .hero-bg-layer::after {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, var(--nma-hero-light-scrim, 0.90)) 0%,
      rgba(255, 255, 255, calc(var(--nma-hero-light-scrim, 0.90) * 0.88)) 28%,
      rgba(255, 255, 255, calc(var(--nma-hero-light-scrim, 0.90) * 0.56)) 48%,
      rgba(255, 255, 255, 0.14) 66%,
      rgba(255, 255, 255, 0) 80%
    ),
    linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.90) 0%,
      rgba(255, 255, 255, 0.58) 12%,
      rgba(255, 255, 255, 0) 24%
    ) !important;
}

html[data-theme="dark"] .hero-title,
html[data-theme="dark"] .hero-desc,
html[data-theme="dark"] .hero-tagline {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

html[data-theme="dark"] .hero-eyebrow {
  background: rgba(12, 13, 18, 0.88) !important;
  border-color: rgba(255, 140, 40, 0.5) !important;
  color: #FBBF24 !important;
}

html[data-theme="dark"] .hero-btn-explore {
  background: linear-gradient(135deg, #FFC928 0%, #FF7A18 100%) !important;
  border-color: #FF8C28 !important;
  color: #08090C !important;
  box-shadow: 0 8px 28px rgba(255, 122, 24, 0.4) !important;
}

html[data-theme="dark"] .hero-btn-explore:hover {
  background: linear-gradient(135deg, #FFD447 0%, #FF8B2E 100%) !important;
  box-shadow: 0 10px 34px rgba(255, 122, 24, 0.58) !important;
}

html[data-theme="dark"] .hero-btn-video {
  background: rgba(16, 18, 24, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

html[data-theme="dark"] .hero-btn-video:hover {
  border-color: #FF7A18 !important;
}

html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .rail-card {
  background: rgba(14, 16, 22, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.11) !important;
}

html[data-theme="light"] .stat-card,
html[data-theme="light"] .rail-card {
  background: rgba(255, 255, 255, 0.75) !important;
}

html[data-theme="dark"] .stat-card:hover,
html[data-theme="dark"] .rail-card:hover {
  border-color: #FF7A18 !important;
  box-shadow: 0 10px 26px rgba(255, 122, 24, 0.25) !important;
}

/* Hero subtle warm hairline divider (Image 1 inspired) */
.hero-hairline-divider {
  width: 240px;
  max-width: 70%;
  height: 1px;
  margin: 0 0 14px 0;
  background: linear-gradient(90deg, rgba(255, 122, 24, 0.75) 0%, rgba(255, 201, 40, 0.85) 45%, transparent 100%);
  box-shadow: 0 0 10px rgba(255, 140, 40, 0.35);
}

html[data-theme="light"] .hero-hairline-divider {
  background: linear-gradient(90deg, rgba(234, 88, 12, 0.55) 0%, rgba(245, 158, 11, 0.5) 45%, transparent 100%);
  box-shadow: none;
}

/* Section Obsidian Backgrounds */
html[data-theme="dark"] .stats-section.creative-stats-section {
  background: radial-gradient(circle at 18% 20%, rgba(255, 107, 26, 0.08) 0%, transparent 45%), #070709 !important;
  border-top: none !important;
  border-bottom: none !important;
}

html[data-theme="dark"] .stat-card-creative,
html[data-theme="dark"] body:not(.page-kiosk) .stat-card-creative {
  background: linear-gradient(180deg, var(--stat-bg-tint, rgba(255, 122, 24, 0.06)) 0%, rgba(14, 16, 22, 0.74) 130px) !important;
}

html[data-theme="light"] .stat-card-creative,
html[data-theme="light"] body:not(.page-kiosk) .stat-card-creative {
  background: linear-gradient(180deg, var(--stat-bg-tint, rgba(255, 122, 24, 0.05)) 0%, rgba(255, 255, 255, 0.74) 130px) !important;
}

html[data-theme="dark"] .academic-courses-section,
html[data-theme="dark"] .trainers-section,
html[data-theme="dark"] .nma-placements-section {
  background: #08090D !important;
  border-top: none !important;
  border-bottom: none !important;
}

html[data-theme="dark"] .advantage-section,
html[data-theme="dark"] .how-it-works-section,
html[data-theme="dark"] .video-showcase-section {
  background: #060608 !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Keep filter tab buttons 100% solid & crisp */
html[data-theme="dark"] .discipline-tab-btn {
  background: #111319 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #E5E7EB !important;
}

html[data-theme="light"] .discipline-tab-btn:not(.active) {
  background: #FFFFFF !important;
}

html[data-theme="dark"] .discipline-tab-btn.active {
  background: linear-gradient(135deg, #FFC928 0%, #FF7A18 100%) !important;
  color: #060608 !important;
  border-color: #FF8C28 !important;
}

/* Force 75% background opacity on ALL course cards (beating [data-color-theme], [--custom-card-bg], and .train-card-item in public.css) */
html[data-theme="dark"] body:not(.page-kiosk) .course-card,
html[data-theme="dark"] body:not(.page-kiosk) .train-card-item .course-card,
html[data-theme="dark"] body:not(.page-kiosk) .courses-showcase-grid > .course-card,
html[data-theme="dark"] body:not(.page-kiosk) .mobile-featured-card-wrapper .course-card,
html[data-theme="dark"] body:not(.page-kiosk) .course-card[data-color-theme],
html[data-theme="dark"] body:not(.page-kiosk) .course-card[style*="--custom-card-bg"],
html[data-theme="dark"] body:not(.page-kiosk) .m-course-card,
html[data-theme="dark"] body:not(.page-kiosk) .m-course-card.is-highlighted,
html[data-theme="dark"] .pipeline-tracker-bar,
html[data-theme="dark"] .pipeline-slab,
html[data-theme="dark"] .step-card,
html[data-theme="dark"] .placement-stat-box,
html[data-theme="dark"] .nma-placement-card,
html[data-theme="dark"] .trainer-card,
html[data-theme="dark"] .showreel-card,
html[data-theme="dark"] .showreel-body {
  background: rgba(14, 16, 22, 0.74) !important;
  background-color: rgba(14, 16, 22, 0.74) !important;
}

html[data-theme="light"] body:not(.page-kiosk) .course-card,
html[data-theme="light"] body:not(.page-kiosk) .train-card-item .course-card,
html[data-theme="light"] body:not(.page-kiosk) .courses-showcase-grid > .course-card,
html[data-theme="light"] body:not(.page-kiosk) .mobile-featured-card-wrapper .course-card,
html[data-theme="light"] body:not(.page-kiosk) .course-card[data-color-theme],
html[data-theme="light"] body:not(.page-kiosk) .course-card[style*="--custom-card-bg"],
html[data-theme="light"] body:not(.page-kiosk) .m-course-card,
html[data-theme="light"] body:not(.page-kiosk) .m-course-card.is-highlighted,
html[data-theme="light"] .pipeline-tracker-bar,
html[data-theme="light"] .pipeline-slab,
html[data-theme="light"] .step-card,
html[data-theme="light"] .placement-stat-box,
html[data-theme="light"] .nma-placement-card,
html[data-theme="light"] .trainer-card {
  background: rgba(255, 255, 255, 0.75) !important;
  background-color: rgba(255, 255, 255, 0.75) !important;
}

/* =========================================================================
   CONTINUOUS AMBIENT CARD ANIMATIONS + RESTORED CRISP HOVER EFFECTS
   (Stats Cards, Step Cards, Advantage Pipeline Slabs)
   ========================================================================= */
@keyframes nmaCardIconLevitate {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-4px) scale(1.04); }
}

@keyframes nmaDotBeaconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.6; }
}

/* Pause all CSS infinite animations cleanly when tab is in background (Multi-tab 0% CPU) */
html.nma-tab-paused *,
html.nma-tab-paused *::before,
html.nma-tab-paused *::after {
  animation-play-state: paused !important;
}

/* Disable heavy backdrop-filter blurs in BOTH Dark & Light Mode on header/cards/pills for zero scroll/hover lag */
.site-header,
.login-form-card,
.privacy-layout-grid aside,
.hero-slide-tag-link,
.btn-expand-showreels,
.hero-slider-arrow,
.placement-showcase-card,
.stat-card-creative,
.pipeline-slab,
.step-card,
.pipeline-tracker-bar,
.stat-card,
.rail-card,
.hero-eyebrow,
.hero-btn-video,
.trainer-category-tag,
.showreel-cat-pill,
.showreel-live-tag {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Stop off-screen/expensive box-shadow & background-position paint animations from animations.css */
.train-group-clone .course-3d-icon,
.train-group-clone .course-card-accent-rail,
.train-group-clone .course-code-floating-chip,
.train-group-clone .rating-star,
.trainer-avatar-wrap,
.nma-placement-card .placement-avatar-ring,
.showreel-play-btn,
.course-card-accent-rail,
.hero-btn-explore::before {
  animation: none !important;
}

/* Instant zero-delay hover transitions on all cards & icons */
.stat-card-creative,
.step-card,
.pipeline-slab,
.showreel-card,
.trainer-card,
.nma-placement-card,
.placement-stat-box,
.stat-card,
.rail-card,
.course-card,
.f-feature-card,
.hover-lift-card,
.course-filter-pill {
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.18s ease,
              border-color 0.16s ease !important;
  transition-delay: 0s !important;
}

/* Put continuous ambient levitation on wrapper so inner <img> hover zoom has 0ms snap or stutter */
.stat-card-creative .stat-icon-wrapper,
.step-card .step-card-img-wrap,
.pipeline-slab .slab-icon-pedestal {
  animation: nmaCardIconLevitate 3.6s ease-in-out infinite;
  will-change: transform;
}

.stat-card-creative:nth-child(2) .stat-icon-wrapper,
.step-card:nth-child(2) .step-card-img-wrap,
.pipeline-slab:nth-child(2) .slab-icon-pedestal { animation-delay: 0.45s; }

.stat-card-creative:nth-child(3) .stat-icon-wrapper,
.step-card:nth-child(3) .step-card-img-wrap,
.pipeline-slab:nth-child(3) .slab-icon-pedestal { animation-delay: 0.9s; }

.stat-card-creative:nth-child(4) .stat-icon-wrapper,
.step-card:nth-child(4) .step-card-img-wrap,
.pipeline-slab:nth-child(4) .slab-icon-pedestal { animation-delay: 1.35s; }

.pipeline-slab:nth-child(5) .slab-icon-pedestal { animation-delay: 1.8s; }
.pipeline-slab:nth-child(6) .slab-icon-pedestal { animation-delay: 2.25s; }

.stat-card-creative .stat-3d-icon,
.step-card .step-card-img,
.pipeline-slab .slab-3d-img {
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1) !important;
  transition-delay: 0s !important;
}

/* Instant silky GPU hover zoom on icons without pausing or snapping animation */
.stat-card-creative:hover .stat-3d-icon {
  transform: scale(1.14) translateY(-4px) rotate(3deg) !important;
}
.step-card:hover .step-card-img {
  transform: scale(1.15) translateY(-4px) rotate(2deg) !important;
}
.pipeline-slab:hover .slab-3d-img {
  transform: scale(1.14) translateY(-3px) rotate(2deg) !important;
}

/* Continuous beacon pulse on dots & badges */
.stat-badge-dot,
.slab-pulse-dot {
  animation: nmaDotBeaconPulse 2s ease-in-out infinite;
}

/* Guarantee exact original hover elevation on all 3 card groups */
.stat-card-creative:hover {
  transform: translateY(-8px) scale(1.015) !important;
}
.step-card:hover {
  transform: translateY(-8px) !important;
}
.pipeline-slab:hover {
  transform: translateY(-6px) !important;
}

html[data-theme="dark"] .placement-stat-box {
  background: linear-gradient(180deg, rgba(255, 122, 24, 0.05) 0%, rgba(14, 16, 22, 0.75) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html[data-theme="dark"] .placement-stat-box:hover {
  border-color: rgba(255, 122, 24, 0.65) !important;
  box-shadow: 0 12px 30px rgba(255, 122, 24, 0.18) !important;
}

html[data-theme="dark"] .design-future-banner {
  background: radial-gradient(circle at 50% 0%, rgba(255, 122, 24, 0.14) 0%, transparent 60%), linear-gradient(135deg, rgba(11, 12, 16, 0.75) 0%, rgba(18, 16, 24, 0.75) 50%, rgba(11, 12, 16, 0.75) 100%) !important;
  border-color: rgba(255, 122, 24, 0.4) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 36px rgba(255, 122, 24, 0.12) !important;
}

html[data-theme="dark"] .design-future-title {
  color: #FFFFFF !important;
}

html[data-theme="dark"] .design-future-desc {
  color: #CBD5E1 !important;
}

html[data-theme="dark"] .design-future-banner .btn-outline {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

html[data-theme="dark"] .design-future-banner .btn-outline:hover {
  border-color: #FF7A18 !important;
  color: #FFC928 !important;
  background: rgba(255, 122, 24, 0.1) !important;
}

html[data-theme="light"] .design-future-banner {
  background: radial-gradient(circle at 50% 0%, rgba(255, 122, 24, 0.08) 0%, transparent 60%), rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(255, 122, 24, 0.35) !important;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08), 0 0 24px rgba(255, 122, 24, 0.08) !important;
}

html[data-theme="light"] .design-future-title {
  color: #0A0A0D !important;
}

html[data-theme="light"] .design-future-desc {
  color: #475569 !important;
}

html[data-theme="light"] .design-future-banner .badge-yellow {
  background-color: #FFC928 !important;
  color: #0A0A0D !important;
}

html[data-theme="light"] .design-future-banner .btn-primary {
  background-color: #FFC928 !important;
  border-color: #FFC928 !important;
  color: #0A0A0D !important;
}

html[data-theme="light"] .design-future-banner .btn-primary:hover {
  background-color: #EBB61E !important;
  border-color: #EBB61E !important;
  color: #0A0A0D !important;
}

html[data-theme="light"] .design-future-banner .btn-outline {
  color: #0F172A !important;
  border-color: rgba(15, 23, 42, 0.25) !important;
  background: rgba(15, 23, 42, 0.03) !important;
}

html[data-theme="light"] .design-future-banner .btn-outline:hover {
  border-color: #FF6B1A !important;
  color: #EA580C !important;
  background: rgba(255, 107, 26, 0.08) !important;
}

html[data-theme="dark"] .site-footer {
  background: #050507 !important;
  border-top: 1px solid rgba(255, 122, 24, 0.2) !important;
}

/* Quick Enquiry Modal Dark & Light 75% Adaptation */
html[data-theme="dark"] .quick-enquiry-modal {
  background: rgba(13, 15, 20, 0.75) !important;
  border: 1px solid rgba(255, 122, 24, 0.35) !important;
  color: #F3F4F6 !important;
}

html[data-theme="light"] .quick-enquiry-modal {
  background: rgba(255, 255, 255, 0.75) !important;
}

html[data-theme="dark"] .quick-enquiry-modal-header {
  background: rgba(18, 21, 28, 0.75) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-theme="light"] .quick-enquiry-modal-header {
  background: rgba(248, 250, 252, 0.75) !important;
}

html[data-theme="dark"] #modalEnquiryTitle,
html[data-theme="dark"] .quick-enquiry-form label {
  color: #F8FAFC !important;
}

html[data-theme="dark"] .quick-enquiry-form input,
html[data-theme="dark"] .quick-enquiry-form select,
html[data-theme="dark"] .quick-enquiry-form textarea {
  background: rgba(7, 8, 11, 0.72) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

html[data-theme="light"] .quick-enquiry-form input,
html[data-theme="light"] .quick-enquiry-form select,
html[data-theme="light"] .quick-enquiry-form textarea {
  background: rgba(255, 255, 255, 0.75) !important;
}

html[data-theme="dark"] .nma-placements-hub-banner,
html[data-theme="light"] .nma-placements-hub-banner,
html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card.nma-placement-explore-card,
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card.nma-placement-explore-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 41, 59, 0.75) 68%, rgba(17, 24, 39, 0.75) 100%) !important;
}

/* =========================================================================
   8. SCROLL-REVEAL SECTION OPENING (ZERO LAYOUT THRASHING)
   ========================================================================= */
.nma-reveal-section.nma-reveal-pending {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.48s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.nma-reveal-section.nma-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Cards reveal cleanly with section without ever delaying card hover! */
.nma-reveal-section.nma-reveal-pending .nma-reveal-item {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

.nma-reveal-section.nma-revealed .nma-reveal-item {
  opacity: 1;
}

/* Hero Top Offset Sync with Top Ticker Strip */
body:has(.nma-top-ticker) {
  --hero-top-offset: 106px;
}

body:has(.nma-top-ticker):has(.announcement-bar) {
  --hero-top-offset: 144px;
}

@media (max-width: 480px) {
  body:has(.nma-top-ticker) {
    --hero-top-offset: 98px;
  }
  body:has(.nma-top-ticker):has(.announcement-bar) {
    --hero-top-offset: 136px;
  }
}

@media (max-width: 768px) {
  .nma-top-ticker {
    height: max(26px, calc(var(--nma-top-ticker-height, 34px) - 4px));
  }
  .nma-ticker-item {
    font-size: calc(var(--nma-top-ticker-font-size, 0.7rem) * 0.91);
  }
  .nma-proof-header {
    text-align: center;
    margin-bottom: 18px;
  }
  .nma-mid-spec-ticker {
    padding: max(8px, calc(var(--nma-mid-ticker-pad-y, 13px) - 3px)) 0;
  }
  .nma-spec-chip {
    font-size: calc(var(--nma-mid-ticker-font-size, 0.82rem) * 0.91);
  }
}

/* Ensure reduced motion never hides content */
@media (prefers-reduced-motion: reduce) {
  .nma-top-ticker-track,
  .nma-mid-spec-track,
  .nma-glow-beam,
  .nma-glow-node,
  .nma-highlight-section .nma-hl-rail-top::after,
  .nma-highlight-section .nma-hl-rail-bottom::after,
  .nma-highlight-section .nma-hl-rail-left::after,
  .nma-highlight-section .nma-hl-rail-right::after {
    animation: none !important;
  }
  .nma-reveal-section.nma-reveal-pending,
  .nma-reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================================
   9. GLOBAL MUSCLEGRID THEME ACROSS ALL PUBLIC SUBPAGES (DARK & LIGHT MODE)
   (Excludes Reception Kiosk /kiosk)
   ========================================================================= */
html[data-theme="dark"] {
  --nma-bg: #060608;
  --nma-bg-subtle: rgba(22, 25, 34, 0.72);
  --nma-card-bg: rgba(17, 19, 25, 0.75);
  --nma-card-border: rgba(255, 255, 255, 0.12);
  --nma-dark-surface: rgba(17, 19, 25, 0.75);
  --nma-dark-border: rgba(255, 255, 255, 0.12);
  --nma-text-dark: #F8FAFC;
  --nma-text-main: #F1F5F9;
  --nma-text-muted: #94A3B8;
}

html[data-theme="light"] {
  --nma-bg: #FFFFFF;
  --nma-bg-subtle: rgba(248, 250, 252, 0.75);
  --nma-card-bg: rgba(255, 255, 255, 0.75);
  --nma-card-border: #E2E8F0;
  --nma-dark-surface: rgba(255, 255, 255, 0.75);
  --nma-dark-border: #E2E8F0;
  --nma-text-dark: #0F172A;
  --nma-text-main: #1E293B;
  --nma-text-muted: #64748B;
}

.site-footer {
  position: relative !important;
  z-index: 5 !important;
}

/* Full-Page Subpage Background Canvas (Viewport-locked fixed layer inside #main-content so it always stays with scroll!) */
body:not(.page-home):not(.page-kiosk) #main-content {
  position: relative !important;
  overflow: clip !important;
}

.nma-subpage-full-canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  margin: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important;
  display: block;
}

body:not(.page-home):not(.page-kiosk) #main-content > *:not(.nma-subpage-full-canvas) {
  position: relative;
  z-index: 2;
}

/* Whole-Page Square Grid System on All Subpages:
   - Default (All distinct pages): Trainer-Section Dotted 40px Fine Square Grid
   - Section-Matched Subpages: Exact matching Homepage Section Square Grid */
body:not(.page-home):not(.page-kiosk) #main-content::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Default Trainer-style Dotted 40px Square Grid for all standalone pages (Contact, Franchise, Verify, Privacy, Login, Forgot/Reset Password, etc.) */
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) #main-content::after {
  background-image:
    radial-gradient(circle, rgba(255, 201, 40, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(255, 138, 43, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 43, 0.018) 1px, transparent 1px);
  background-size: 40px 40px;
}
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) #main-content::after {
  background-image:
    radial-gradient(circle, rgba(217, 119, 6, 0.22) 1px, transparent 1px),
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Courses & Online Courses -> Dotted 40px Square Grid */
html[data-theme="dark"] body.page-courses #main-content::after,
html[data-theme="dark"] body.page-online-courses #main-content::after {
  background-image:
    radial-gradient(circle, rgba(255, 201, 40, 0.22) 1.25px, transparent 1.25px),
    linear-gradient(rgba(255, 138, 43, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 43, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
html[data-theme="light"] body.page-courses #main-content::after,
html[data-theme="light"] body.page-online-courses #main-content::after {
  background-image:
    radial-gradient(circle, rgba(217, 119, 6, 0.26) 1.25px, transparent 1.25px),
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Placements Page -> 56px Placements Milestone Grid */
html[data-theme="dark"] body.page-placements #main-content::after {
  background-image:
    linear-gradient(rgba(255, 201, 40, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 122, 24, 0.026) 1px, transparent 1px);
  background-size: 56px 56px;
}
html[data-theme="light"] body.page-placements #main-content::after {
  background-image:
    linear-gradient(rgba(217, 119, 6, 0.072) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 88, 12, 0.065) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* About Page -> Dual-Scale Advantage Blueprint Grid (112px + 28px) */
html[data-theme="dark"] body.page-about #main-content::after {
  background-image:
    linear-gradient(rgba(255, 138, 43, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 43, 0.032) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 112px 112px, 112px 112px, 28px 28px, 28px 28px;
}
html[data-theme="light"] body.page-about #main-content::after {
  background-image:
    linear-gradient(rgba(234, 88, 12, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 88, 12, 0.075) 1px, transparent 1px),
    linear-gradient(rgba(15, 23, 42, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.038) 1px, transparent 1px);
  background-size: 112px 112px, 112px 112px, 28px 28px, 28px 28px;
}

/* Admission & Registration Pages -> How-It-Works 48px + 16px Matrix Grid */
html[data-theme="dark"] body.page-registration #main-content::after,
html[data-theme="dark"] body.page-admission #main-content::after {
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.024) 1px, transparent 1px),
    linear-gradient(rgba(255, 138, 43, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 43, 0.014) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 16px 16px, 16px 16px;
}
html[data-theme="light"] body.page-registration #main-content::after,
html[data-theme="light"] body.page-admission #main-content::after {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.062) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.062) 1px, transparent 1px),
    linear-gradient(rgba(234, 88, 12, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 88, 12, 0.036) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 16px 16px, 16px 16px;
}

/* Unified Base Surface on #main-content; child sections stay transparent so grid & canvas flow seamlessly end-to-end */
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) #main-content {
  background: radial-gradient(circle at 50% 0%, rgba(255, 122, 24, 0.08) 0%, #060608 42%, #060608 100%) !important;
  color: #F1F5F9;
}
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) #main-content {
  background: radial-gradient(circle at 50% 0%, rgba(255, 122, 24, 0.05) 0%, #FFFFFF 45%, #F8FAFC 100%) !important;
  color: #0F172A;
}

body:not(.page-home):not(.page-kiosk) #main-content > section,
body:not(.page-home):not(.page-kiosk) .courses-hero-section,
body:not(.page-home):not(.page-kiosk) .online-courses-wrapper,
body:not(.page-home):not(.page-kiosk) .online-courses-wrapper > section,
body:not(.page-home):not(.page-kiosk) .online-detail-wrapper,
body:not(.page-home):not(.page-kiosk) .online-detail-wrapper > section,
body:not(.page-home):not(.page-kiosk) .franchise-hero,
body:not(.page-home):not(.page-kiosk) .page-section {
  background: transparent !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .detail-hero-section {
  background: linear-gradient(180deg, rgba(255, 122, 24, 0.08) 0%, transparent 100%) !important;
  border-bottom-color: rgba(255, 122, 24, 0.25) !important;
}

html[data-theme="light"] body:not(.page-kiosk) .detail-hero-section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.88) 100%) !important;
}

html[data-theme="light"] body.page-privacy h1 {
  color: #0F172A !important;
}

body.page-login .login-bg-layer {
  opacity: 0.24 !important;
}

/* Soften Painted Corner Brushes & Re-ink Dark Doodle Strokes in Dark Mode */
html[data-theme="dark"] body:not(.page-kiosk) .corner-brush-container {
  opacity: 0.18;
}

html[data-theme="dark"] body:not(.page-kiosk) .idea-tag-inner .idea-main,
html[data-theme="dark"] body:not(.page-kiosk) .idea-tag-inner .idea-sub {
  color: #E2E8F0 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .doodle-bulb-svg path[stroke="#1F2937"],
html[data-theme="dark"] body:not(.page-kiosk) .doodle-plane-svg path[stroke="#1F2937"] {
  stroke: #FFA352 !important;
}

/* Unified Hero Headings (White+Orange in Dark, Black+Orange in Light) */
html[data-theme="dark"] body:not(.page-kiosk) .courses-hero-title,
html[data-theme="dark"] body:not(.page-kiosk) .section-title,
html[data-theme="dark"] body:not(.page-kiosk) .franchise-title,
html[data-theme="dark"] body:not(.page-kiosk) .login-title,
html[data-theme="dark"] body:not(.page-kiosk) .detail-course-title {
  color: #FFFFFF !important;
}

html[data-theme="light"] body:not(.page-kiosk) .courses-hero-title,
html[data-theme="light"] body:not(.page-kiosk) .section-title,
html[data-theme="light"] body:not(.page-kiosk) .franchise-title,
html[data-theme="light"] body:not(.page-kiosk) .login-title {
  color: #0F172A !important;
}

body:not(.page-kiosk) .brush-highlight-red,
body:not(.page-kiosk) .franchise-title .highlight-purple,
body:not(.page-kiosk) .login-title .highlight-portal,
body:not(.page-kiosk) .section-title .highlight {
  color: #FF7A18 !important;
  -webkit-text-fill-color: #FF7A18 !important;
  background: none !important;
}

body:not(.page-kiosk) .brush-highlight-red::before {
  background: rgba(255, 122, 24, 0.22) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .courses-hero-subtitle,
html[data-theme="dark"] body:not(.page-kiosk) .section-subtitle,
html[data-theme="dark"] body:not(.page-kiosk) .franchise-desc,
html[data-theme="dark"] body:not(.page-kiosk) .login-subtitle {
  color: #B4BAC8 !important;
}

/* Badges & Filter Pills across Subpages */
html[data-theme="dark"] body:not(.page-kiosk) .catalog-badge,
html[data-theme="dark"] body:not(.page-kiosk) .section-tag,
html[data-theme="dark"] body:not(.page-kiosk) .franchise-badge-pill {
  background: rgba(255, 122, 24, 0.14) !important;
  color: #FFA352 !important;
  border: 1px solid rgba(255, 122, 24, 0.36) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .course-filter-pill {
  background: #111319 !important;
  color: #E2E8F0 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

html[data-theme="light"] body:not(.page-kiosk) .course-filter-pill:not(.is-active) {
  background: #FFFFFF !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .course-filter-pill:hover {
  background: rgba(255, 122, 24, 0.2) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 122, 24, 0.65) !important;
  box-shadow: 0 6px 18px rgba(255, 122, 24, 0.18) !important;
}

body:not(.page-kiosk) .course-filter-pill.is-active {
  background: linear-gradient(135deg, #FF7A18 0%, #EA580C 100%) !important;
  color: #09090B !important;
  border-color: #FF7A18 !important;
  box-shadow: 0 6px 18px rgba(255, 122, 24, 0.35) !important;
}

/* Course Catalog Grid Cards & Placement Filter/Stats Strip 75% Opacity Adaptation */
html[data-theme="dark"] body:not(.page-kiosk) .courses-empty-card,
html[data-theme="dark"] body:not(.page-kiosk) .f-feature-card,
html[data-theme="dark"] body:not(.page-kiosk) .franchise-form-card,
html[data-theme="dark"] body:not(.page-kiosk) .login-form-card {
  background: rgba(17, 19, 25, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #F1F5F9 !important;
}

html[data-theme="light"] body:not(.page-kiosk) .courses-empty-card,
html[data-theme="light"] body:not(.page-kiosk) .f-feature-card,
html[data-theme="light"] body:not(.page-kiosk) .franchise-form-card,
html[data-theme="light"] body:not(.page-kiosk) .login-form-card {
  background: rgba(255, 255, 255, 0.75) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .f-feature-card:hover {
  border-color: rgba(255, 122, 24, 0.65) !important;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.6), 0 0 18px rgba(255, 122, 24, 0.14) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .f-feature-card h3,
html[data-theme="dark"] body:not(.page-kiosk) .f-stat-num {
  color: #FFFFFF !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .f-feature-card p,
html[data-theme="dark"] body:not(.page-kiosk) .f-stat-lbl {
  color: #94A3B8 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card {
  background: rgba(17, 19, 25, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card:hover {
  border-color: rgba(255, 122, 24, 0.65) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55), 0 0 22px rgba(255, 122, 24, 0.16) !important;
}

/* Subpage Inline Light Surface & Ink Adaptation (75% background opacity in BOTH Dark & Light Mode) */
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: #FFFFFF"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background:#FFFFFF"] {
  background: rgba(17, 19, 25, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-theme="light"] body:not(.page-home):not(.page-kiosk) [style*="background: #FFFFFF"],
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) [style*="background:#FFFFFF"],
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) [style*="background: #ffffff"],
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) [style*="background:#ffffff"],
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) [style*="background: linear-gradient(135deg, #F8FAFC"],
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) [style*="background: linear-gradient(135deg, #FFFBEB"] {
  background: rgba(255, 255, 255, 0.75) !important;
}

html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) section[style*="background"]:not([style*="border-radius"]),
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) section[style*="background"]:not([style*="border-radius"]) {
  background: transparent !important;
}

html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: #F8FAFC"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background:#F8FAFC"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: #f8fafc"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: #F1F5F9"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: linear-gradient(135deg, #F8FAFC"] {
  background: rgba(22, 25, 34, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.09) !important;
}

html[data-theme="light"] body:not(.page-home):not(.page-kiosk) [style*="background: #F8FAFC"],
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) [style*="background:#F8FAFC"],
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) [style*="background: #f8fafc"],
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) [style*="background: #F1F5F9"] {
  background: rgba(248, 250, 252, 0.75) !important;
}

html[data-theme="light"] body:not(.page-home):not(.page-kiosk) div[style*="background: #FFFBEB"]:not([class*="badge"]):not([class*="pill"]),
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) div[style*="background: #FEF3C7"]:not([class*="badge"]):not([class*="pill"]) {
  background: rgba(255, 251, 235, 0.75) !important;
}

html[data-theme="light"] body:not(.page-home):not(.page-kiosk) div[style*="background: #EFF6FF"]:not([class*="badge"]):not([class*="pill"]),
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) div[style*="background: #FAF5FF"]:not([class*="badge"]):not([class*="pill"]),
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) div[style*="background: #F5F3FF"]:not([class*="badge"]):not([class*="pill"]),
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) div[style*="background: #EDE9FE"]:not([class*="badge"]):not([class*="pill"]) {
  background: rgba(245, 243, 255, 0.75) !important;
}

html[data-theme="light"] body:not(.page-home):not(.page-kiosk) div[style*="background: #F0FDF4"]:not([class*="badge"]):not([class*="pill"]),
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) div[style*="background: #ECFDF5"]:not([class*="badge"]):not([class*="pill"]),
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) div[style*="background: linear-gradient(135deg, #F0FDF4"]:not([class*="badge"]):not([class*="pill"]),
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) div[style*="background: #DCFCE7"]:not([class*="badge"]):not([class*="pill"]),
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) div[style*="background: #D1FAE5"]:not([class*="badge"]):not([class*="pill"]) {
  background: rgba(240, 253, 244, 0.75) !important;
}

html[data-theme="light"] body:not(.page-home):not(.page-kiosk) div[style*="background: #FEE2E2"]:not([class*="badge"]):not([class*="pill"]) {
  background: rgba(254, 226, 226, 0.75) !important;
}

html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) div[style*="background: linear-gradient(135deg, #111827"],
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) div[style*="background: linear-gradient(135deg, #111827"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) div[style*="background: linear-gradient(135deg, #0F172A"],
html[data-theme="light"] body:not(.page-home):not(.page-kiosk) div[style*="background: linear-gradient(135deg, #0F172A"] {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.75) 0%, rgba(31, 41, 55, 0.75) 100%) !important;
}

html[data-theme="dark"] body.page-privacy #section-student-privacy,
html[data-theme="light"] body.page-privacy #section-student-privacy,
html[data-theme="dark"] body.page-privacy #section-grievance,
html[data-theme="light"] body.page-privacy #section-grievance {
  background: linear-gradient(135deg, rgba(20, 27, 45, 0.74) 0%, rgba(13, 19, 34, 0.76) 100%) !important;
}

html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: #FFFBEB"]:not(.course-category-badge):not(.course-feature-highlight-pill),
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: #FFF4CC"]:not(.course-category-badge):not(.course-feature-highlight-pill),
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: #FEF3C7"]:not(.course-category-badge):not(.course-feature-highlight-pill) {
  background: rgba(255, 122, 24, 0.12) !important;
  border-color: rgba(255, 122, 24, 0.35) !important;
}

html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: #EFF6FF"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: #FAF5FF"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: #F5F3FF"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: #EDE9FE"] {
  background: rgba(139, 92, 246, 0.14) !important;
  border-color: rgba(139, 92, 246, 0.35) !important;
}

html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: #F0FDF4"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: linear-gradient(135deg, #F0FDF4"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: #DCFCE7"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="background: #D1FAE5"] {
  background: rgba(16, 185, 129, 0.14) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
}

html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #0F172A"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #111827"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #1E293B"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #334155"] {
  color: #F8FAFC !important;
}

html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #475569"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #64748B"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #4B5563"] {
  color: #94A3B8 !important;
}

html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #92400E"]:not(.course-feature-highlight-pill):not(.course-category-badge):not(.placement-badge-gold),
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #451A03"]:not(.course-feature-highlight-pill):not(.course-category-badge):not(.placement-badge-gold),
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #B45309"]:not(.course-feature-highlight-pill):not(.course-category-badge):not(.placement-badge-gold) {
  color: #FDBA74 !important;
}

html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #166534"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #15803D"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #047857"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #065F46"] {
  color: #6EE7B7 !important;
}

html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #1E40AF"],
html[data-theme="dark"] body:not(.page-home):not(.page-kiosk) [style*="color: #2563EB"] {
  color: #7DD3FC !important;
}

/* Unified 75% Translucent Inputs, Selects & Textareas on Subpages & Auth Forms */
html[data-theme="dark"] body:not(.page-kiosk) .main-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="range"]),
html[data-theme="dark"] body:not(.page-kiosk) .main-content select,
html[data-theme="dark"] body:not(.page-kiosk) .main-content textarea,
html[data-theme="dark"] body:not(.page-kiosk) .login-input {
  background: rgba(13, 15, 20, 0.72) !important;
  color: #F8FAFC !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

html[data-theme="light"] body:not(.page-kiosk) .main-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="range"]),
html[data-theme="light"] body:not(.page-kiosk) .main-content select,
html[data-theme="light"] body:not(.page-kiosk) .main-content textarea,
html[data-theme="light"] body:not(.page-kiosk) .login-input {
  background: rgba(255, 255, 255, 0.75) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .main-content input:focus,
html[data-theme="dark"] body:not(.page-kiosk) .main-content select:focus,
html[data-theme="dark"] body:not(.page-kiosk) .main-content textarea:focus,
html[data-theme="dark"] body:not(.page-kiosk) .login-input:focus {
  border-color: #FF7A18 !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.25) !important;
  outline: none !important;
}

html[data-theme="light"] body:not(.page-kiosk) .main-content input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):focus,
html[data-theme="light"] body:not(.page-kiosk) .main-content select:focus,
html[data-theme="light"] body:not(.page-kiosk) .main-content textarea:focus,
html[data-theme="light"] body:not(.page-kiosk) .login-input:focus {
  border-color: #EA580C !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.24) !important;
  outline: none !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .main-content input::placeholder,
html[data-theme="dark"] body:not(.page-kiosk) .main-content textarea::placeholder {
  color: #64748B !important;
}

/* =========================================================================
   10. COURSE CARDS: CRISP SOLID BADGES, 4-SIDED MERGED IMAGE & RICH HOVER FX
   ========================================================================= */

/* 1. Short Code Chip (GFSD / ADCA / GWDA): Full crisp solid golden pill + red ink */
html[data-theme="dark"] body:not(.page-kiosk) .course-card .course-code-floating-chip,
html[data-theme="light"] body:not(.page-kiosk) .course-card .course-code-floating-chip {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 55%, #FDE68A 100%) !important;
  color: #B91C1C !important;
  border: 2px solid #F59E0B !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
  opacity: 1 !important;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.2s ease,
              color 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease !important;
}

/* 2. Category Badge (Professional Computer Course) & Laptop Required Pill: Full 100% crisp solid background */
html[data-theme="dark"] body:not(.page-kiosk) .course-card .course-category-badge,
html[data-theme="light"] body:not(.page-kiosk) .course-card .course-category-badge {
  background: var(--custom-cat-bg, #FFFBEB) !important;
  color: var(--custom-cat-color, #991B1B) !important;
  border: 1.5px solid var(--custom-cat-border, #FDE68A) !important;
  opacity: 1 !important;
  transition: all 0.2s ease !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .course-card .course-category-badge .cat-badge-text,
html[data-theme="light"] body:not(.page-kiosk) .course-card .course-category-badge .cat-badge-text {
  color: var(--custom-cat-color, #991B1B) !important;
  opacity: 1 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .course-card .course-feature-highlight-pill,
html[data-theme="light"] body:not(.page-kiosk) .course-card .course-feature-highlight-pill {
  background: var(--custom-feature-bg, #FEF3C7) !important;
  color: var(--custom-feature-color, #92400E) !important;
  border: 1.5px solid var(--custom-feature-border, #F59E0B) !important;
  opacity: 1 !important;
  transition: all 0.2s ease !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .course-card .course-feature-highlight-pill .hl-badge-text,
html[data-theme="light"] body:not(.page-kiosk) .course-card .course-feature-highlight-pill .hl-badge-text {
  color: var(--custom-feature-color, #92400E) !important;
  opacity: 1 !important;
}

/* 3. Course 3D Icon: Smoothly merged/feathered on all 4 sides (no harsh white rectangle!) */
html[data-theme="dark"] body:not(.page-kiosk) .course-card .course-3d-icon,
html[data-theme="dark"] body:not(.page-kiosk) .m-course-card .m-card-3d-img {
  border-radius: 28px !important;
  -webkit-mask-image: radial-gradient(ellipse 68% 66% at 50% 50%, #000 38%, rgba(0, 0, 0, 0.52) 66%, transparent 94%) !important;
  mask-image: radial-gradient(ellipse 68% 66% at 50% 50%, #000 38%, rgba(0, 0, 0, 0.52) 66%, transparent 94%) !important;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), filter 0.24s ease !important;
}

html[data-theme="light"] body:not(.page-kiosk) .course-card .course-3d-icon,
html[data-theme="light"] body:not(.page-kiosk) .m-course-card .m-card-3d-img {
  border-radius: 24px !important;
  -webkit-mask-image: radial-gradient(ellipse 76% 74% at 50% 50%, #000 54%, rgba(0, 0, 0, 0.65) 78%, transparent 98%) !important;
  mask-image: radial-gradient(ellipse 76% 74% at 50% 50%, #000 54%, rgba(0, 0, 0, 0.65) 78%, transparent 98%) !important;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), filter 0.24s ease !important;
}

/* 4. Rich Course Card Hover Effects (Lift, Red Title, Red Code Invert, Icon Zoom, CTA Glow) */
html[data-theme="dark"] body:not(.page-kiosk) .course-card:hover,
html[data-theme="dark"] body:not(.page-kiosk) .train-card-item .course-card:hover {
  transform: translateY(-8px) scale(1.016) !important;
  border-color: #FF7A18 !important;
  box-shadow: 0 22px 48px -8px rgba(0, 0, 0, 0.65), 0 0 26px rgba(255, 122, 24, 0.28) !important;
}

html[data-theme="light"] body:not(.page-kiosk) .course-card:hover,
html[data-theme="light"] body:not(.page-kiosk) .train-card-item .course-card:hover {
  transform: translateY(-8px) scale(1.016) !important;
  border-color: #E11D48 !important;
  box-shadow: 0 22px 44px -10px rgba(225, 29, 72, 0.22), 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

/* Course Long Title turns Crimson Red on Hover in BOTH Dark & Light Mode */
html[data-theme="dark"] body:not(.page-kiosk) .course-card .course-card-title,
html[data-theme="light"] body:not(.page-kiosk) .course-card .course-card-title {
  transition: color 0.18s ease, text-shadow 0.18s ease !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .course-card:hover .course-card-title,
html[data-theme="light"] body:not(.page-kiosk) .course-card:hover .course-card-title {
  color: #FF3B30 !important;
  text-shadow: 0 2px 12px rgba(255, 59, 48, 0.3) !important;
}

/* Short Code Chip inverts to Crimson Red + White on Hover */
html[data-theme="dark"] body:not(.page-kiosk) .course-card:hover .course-code-floating-chip,
html[data-theme="light"] body:not(.page-kiosk) .course-card:hover .course-code-floating-chip {
  background: linear-gradient(135deg, #EF4444 0%, #E11D48 100%) !important;
  color: #FFFFFF !important;
  border-color: #FFC928 !important;
  transform: scale(1.1) translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.45) !important;
}

/* Icon zooms & glows smoothly on card hover */
html[data-theme="dark"] body:not(.page-kiosk) .course-card:hover .course-3d-icon,
html[data-theme="light"] body:not(.page-kiosk) .course-card:hover .course-3d-icon {
  transform: translateY(-6px) scale(1.09) rotate(1.5deg) !important;
  filter: drop-shadow(0 12px 24px rgba(255, 122, 24, 0.4)) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .course-card:hover .course-media-ambient-halo,
html[data-theme="light"] body:not(.page-kiosk) .course-card:hover .course-media-ambient-halo {
  opacity: 1 !important;
  transform: translateX(-50%) scale(1.2) !important;
}

/* Category Badge & Top Rail + CTA Button illuminate on hover */
html[data-theme="dark"] body:not(.page-kiosk) .course-card:hover .course-category-badge,
html[data-theme="light"] body:not(.page-kiosk) .course-card:hover .course-category-badge {
  background: #0F172A !important;
  color: #FFC928 !important;
  border-color: #FFC928 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .course-card:hover .course-category-badge .cat-badge-text,
html[data-theme="light"] body:not(.page-kiosk) .course-card:hover .course-category-badge .cat-badge-text {
  color: #FFC928 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .course-card:hover .course-card-accent-rail,
html[data-theme="light"] body:not(.page-kiosk) .course-card:hover .course-card-accent-rail {
  height: 5px !important;
  opacity: 1 !important;
  box-shadow: 0 0 14px rgba(255, 122, 24, 0.75) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .course-card:hover .course-curriculum-btn,
html[data-theme="light"] body:not(.page-kiosk) .course-card:hover .course-curriculum-btn {
  background: linear-gradient(135deg, #FF7A18 0%, #E11D48 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.35) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .course-card:hover .course-curriculum-btn .btn-arrow-circle,
html[data-theme="light"] body:not(.page-kiosk) .course-card:hover .course-curriculum-btn .btn-arrow-circle {
  transform: translateX(4px) scale(1.08) !important;
}

/* =========================================================================
   11. TRAINER / FACULTY CARDS: DARK & LIGHT COLOR CORRECTION & HOVER FX
   High-contrast obsidian readability, solid studio chips, fiery hover state
   ========================================================================= */

/* Card base border + crisp instant MuscleGrid hover lift */
html[data-theme="dark"] body:not(.page-kiosk) .trainer-card {
  border-color: rgba(255, 255, 255, 0.14) !important;
}

html[data-theme="light"] body:not(.page-kiosk) .trainer-card {
  border-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card:hover {
  transform: translateY(-8px) scale(1.016) !important;
  border-color: #FF7A18 !important;
  box-shadow: 0 22px 48px -8px rgba(0, 0, 0, 0.68), 0 0 28px rgba(255, 122, 24, 0.3) !important;
}

html[data-theme="light"] body:not(.page-kiosk) .trainer-card:hover {
  transform: translateY(-8px) scale(1.016) !important;
  border-color: #E11D48 !important;
  box-shadow: 0 22px 44px -10px rgba(225, 29, 72, 0.22), 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

/* Trainer Name + Legal Name: Fixes dark #0F172A name invisible on dark obsidian card */
html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-name {
  color: #FFFFFF !important;
  transition: color 0.18s ease, text-shadow 0.18s ease !important;
}

html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-name {
  color: #0F172A !important;
  transition: color 0.18s ease, text-shadow 0.18s ease !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card:hover .trainer-name,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card:hover .trainer-name {
  color: #FF3B30 !important;
  text-shadow: 0 2px 14px rgba(255, 59, 48, 0.32) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-legal-name {
  color: #CBD5E1 !important;
}

html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-legal-name {
  color: #475569 !important;
}

/* Top Discipline Tag (e.g. Animation Specialist): Solid high-contrast pill + hover ignite */
html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-category-tag,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-category-tag {
  background: #0F172A !important;
  color: #FFFFFF !important;
  border: 1.5px solid #FFC928 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28) !important;
  opacity: 1 !important;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card:hover .trainer-category-tag,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card:hover .trainer-category-tag {
  background: linear-gradient(135deg, #FF7A18 0%, #E11D48 100%) !important;
  color: #FFFFFF !important;
  border-color: #FFC928 !important;
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.42) !important;
}

/* Avatar Ring & Verified Check Badge */
html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-avatar-wrap,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-avatar-wrap {
  border: 3.5px solid #FFC928 !important;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.36), 0 0 0 2px rgba(225, 29, 72, 0.2) !important;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.24s ease !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card:hover .trainer-avatar-wrap,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card:hover .trainer-avatar-wrap {
  transform: translateY(-2px) scale(1.07) !important;
  border-color: #FF3B30 !important;
  box-shadow: 0 10px 28px rgba(255, 59, 48, 0.42), 0 0 0 3px rgba(255, 201, 40, 0.48) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-verified-badge,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-verified-badge {
  background: linear-gradient(135deg, #FF7A18 0%, #E11D48 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.45) !important;
  transition: transform 0.22s ease !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card:hover .trainer-verified-badge,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card:hover .trainer-verified-badge {
  transform: scale(1.12) !important;
}

/* Designation Badge (Director & Senior Faculty): Fix dark smoky override, crisp Crimson pill + gold hover invert */
html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-designation-badge,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-designation-badge {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 201, 40, 0.48) !important;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.34) !important;
  opacity: 1 !important;
  transition: all 0.2s ease !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-designation-badge svg,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-designation-badge svg {
  stroke: #FFFFFF !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-designation-badge span,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-designation-badge span {
  color: #FFFFFF !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card:hover .trainer-designation-badge,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card:hover .trainer-designation-badge {
  background: #0F172A !important;
  color: #FFC928 !important;
  border-color: #FFC928 !important;
  box-shadow: 0 6px 16px rgba(255, 201, 40, 0.28) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card:hover .trainer-designation-badge svg,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card:hover .trainer-designation-badge svg {
  stroke: #FFC928 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card:hover .trainer-designation-badge span,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card:hover .trainer-designation-badge span {
  color: #FFC928 !important;
}

/* Education & Experience Pills: Crisp solid readability in Dark & Light Mode */
html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-education-pill,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-education-pill {
  background: #F0F9FF !important;
  color: #0369A1 !important;
  border: 1.5px solid #BAE6FD !important;
  opacity: 1 !important;
  transition: all 0.2s ease !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card:hover .trainer-education-pill,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card:hover .trainer-education-pill {
  border-color: #38BDF8 !important;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.26) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-exp-badge,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-exp-badge {
  background: linear-gradient(135deg, #FFC928 0%, #F59E0B 100%) !important;
  color: #0F172A !important;
  border: 1.5px solid #D97706 !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
  opacity: 1 !important;
  transition: all 0.2s ease !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-exp-badge svg,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-exp-badge svg {
  fill: #B91C1C !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card:hover .trainer-exp-badge,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card:hover .trainer-exp-badge {
  box-shadow: 0 6px 18px rgba(255, 201, 40, 0.48) !important;
  transform: scale(1.03) !important;
}

/* Bio Quote Box: Balanced translucency + crisp readable bio text */
html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-bio-quote {
  background: rgba(15, 23, 42, 0.62) !important;
  border: 1px dashed rgba(255, 201, 40, 0.24) !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}

html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-bio-quote {
  background: rgba(248, 250, 252, 0.85) !important;
  border: 1px dashed #CBD5E1 !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card:hover .trainer-bio-quote,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card:hover .trainer-bio-quote {
  border-color: rgba(255, 122, 24, 0.55) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .bio-quote-svg {
  color: #FFC928 !important;
  opacity: 0.78 !important;
}

html[data-theme="light"] body:not(.page-kiosk) .trainer-card .bio-quote-svg {
  color: #E11D48 !important;
  opacity: 0.65 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-bio-text {
  color: #E2E8F0 !important;
}

html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-bio-text {
  color: #334155 !important;
}

/* Skills Header & Software Chips (1..6+): Uniform crisp studio chips across both modes */
html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-skills-header {
  color: #CBD5E1 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-skills-header svg {
  stroke: #FFC928 !important;
}

html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-skills-header {
  color: #475569 !important;
}

html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-skills-header svg {
  stroke: #E11D48 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-skills-wrapper .trainer-skill-chip:nth-child(6n+1),
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-skills-wrapper .trainer-skill-chip:nth-child(6n+1) {
  background: #EFF6FF !important;
  color: #1D4ED8 !important;
  border: 1.5px solid #93C5FD !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-skills-wrapper .trainer-skill-chip:nth-child(6n+2),
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-skills-wrapper .trainer-skill-chip:nth-child(6n+2) {
  background: #FEF3C7 !important;
  color: #92400E !important;
  border: 1.5px solid #FCD34D !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-skills-wrapper .trainer-skill-chip:nth-child(6n+3),
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-skills-wrapper .trainer-skill-chip:nth-child(6n+3) {
  background: #FFF1F2 !important;
  color: #BE123C !important;
  border: 1.5px solid #FDA4AF !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-skills-wrapper .trainer-skill-chip:nth-child(6n+4),
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-skills-wrapper .trainer-skill-chip:nth-child(6n+4) {
  background: #ECFDF5 !important;
  color: #047857 !important;
  border: 1.5px solid #6EE7B7 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-skills-wrapper .trainer-skill-chip:nth-child(6n+5),
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-skills-wrapper .trainer-skill-chip:nth-child(6n+5) {
  background: #F5F3FF !important;
  color: #6D28D9 !important;
  border: 1.5px solid #C4B5FD !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-skills-wrapper .trainer-skill-chip:nth-child(6n+6),
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-skills-wrapper .trainer-skill-chip:nth-child(6n+6) {
  background: #ECFEFF !important;
  color: #0E7490 !important;
  border: 1.5px solid #67E8F9 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-skill-chip:hover,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-skill-chip:hover {
  transform: translateY(-2px) scale(1.06) !important;
  border-color: #FF3B30 !important;
  box-shadow: 0 5px 12px rgba(225, 29, 72, 0.25) !important;
}

/* Trainer Actions Divider + Mentor CTA Button (.btn-trainer-consult) matching Course Card CTA */
html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-actions-bar {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-actions-bar {
  border-top-color: rgba(15, 23, 42, 0.1) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .btn-trainer-consult,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .btn-trainer-consult,
html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .trainer-consult-btn,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .trainer-consult-btn {
  background: #0F172A !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 0.84rem !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
  opacity: 1 !important;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .trainer-card:hover .btn-trainer-consult,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card:hover .btn-trainer-consult,
html[data-theme="dark"] body:not(.page-kiosk) .trainer-card .btn-trainer-consult:hover,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card .btn-trainer-consult:hover,
html[data-theme="dark"] body:not(.page-kiosk) .trainer-card:hover .trainer-consult-btn,
html[data-theme="light"] body:not(.page-kiosk) .trainer-card:hover .trainer-consult-btn {
  background: linear-gradient(135deg, #FF7A18 0%, #E11D48 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.38) !important;
  transform: translateY(-2px) !important;
}

/* =========================================================================
   12. PLACEMENT CARDS: 100% UNIFIED HOME & /PLACEMENTS COLORS + HOVER FX
   Fixes dark #0F172A student name on Home & pale #FDBA74 LPA ink on /placements
   ========================================================================= */

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card:not(.nma-placement-explore-card) {
  background: rgba(14, 16, 22, 0.74) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card:not(.nma-placement-explore-card) {
  background: rgba(255, 255, 255, 0.75) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card:not(.nma-placement-explore-card):hover {
  transform: translateY(-8px) scale(1.016) !important;
  border-color: #FF7A18 !important;
  box-shadow: 0 22px 48px -8px rgba(0, 0, 0, 0.68), 0 0 28px rgba(255, 122, 24, 0.3) !important;
}

html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card:not(.nma-placement-explore-card):hover {
  transform: translateY(-8px) scale(1.016) !important;
  border-color: #E11D48 !important;
  box-shadow: 0 22px 44px -10px rgba(225, 29, 72, 0.22), 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

/* Header Pills: PLACED IN COMPANY + Package LPA (Fixes washed-out LPA ink on /placements) */
html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-status-badge,
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-status-badge {
  background: #ECFDF5 !important;
  color: #065F46 !important;
  border: 1.5px solid #6EE7B7 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-card-header > span[style*="background"]:not(.placement-status-badge),
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-card-header > span[style*="background"]:not(.placement-status-badge) {
  background: linear-gradient(135deg, #FFC928 0%, #F59E0B 100%) !important;
  color: #0F172A !important;
  border: 1.5px solid #D97706 !important;
  font-weight: 900 !important;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.28) !important;
  opacity: 1 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card:hover .placement-card-header > span[style*="background"]:not(.placement-status-badge),
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card:hover .placement-card-header > span[style*="background"]:not(.placement-status-badge) {
  transform: scale(1.06) !important;
  box-shadow: 0 5px 14px rgba(255, 201, 40, 0.45) !important;
}

/* Avatar Ring & Checkmark Hover Pop */
html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-avatar-ring,
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-avatar-ring {
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card:hover .placement-avatar-ring,
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card:hover .placement-avatar-ring {
  transform: translateY(-2px) scale(1.07) !important;
  box-shadow: 0 10px 28px rgba(255, 59, 48, 0.42), 0 0 0 3px rgba(255, 201, 40, 0.48) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card:hover .placement-verified-badge,
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card:hover .placement-verified-badge {
  transform: scale(1.12) !important;
}

/* Student Name: Bright #FFFFFF on Dark Mode (both Home & /placements) -> Crimson Red #FF3B30 on Hover */
html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-student-name {
  color: #FFFFFF !important;
  transition: color 0.18s ease, text-shadow 0.18s ease !important;
}

html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-student-name {
  color: #0F172A !important;
  transition: color 0.18s ease, text-shadow 0.18s ease !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card:hover .placement-student-name,
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card:hover .placement-student-name {
  color: #FF3B30 !important;
  text-shadow: 0 2px 14px rgba(255, 59, 48, 0.32) !important;
}

/* Student Category Badge: Solid Crisp Pills (Fixes muddy dark overlay from public.css) */
html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-student-badge.badge-old-student,
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-student-badge.badge-old-student {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%) !important;
  color: #B45309 !important;
  border: 1.5px solid #F59E0B !important;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.22) !important;
  opacity: 1 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-student-badge.badge-old-student .stud-badge-text,
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-student-badge.badge-old-student .stud-badge-text {
  color: #B45309 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-student-badge.badge-passed-student,
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-student-badge.badge-passed-student {
  background: #F0FDF4 !important;
  color: #166534 !important;
  border: 1.5px solid #4ADE80 !important;
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.22) !important;
  opacity: 1 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-student-badge.badge-passed-student .stud-badge-text,
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-student-badge.badge-passed-student .stud-badge-text {
  color: #166534 !important;
}

/* Job Role Badge: Crisp Solid Crimson Pill (Matches Trainer Designation) -> Obsidian Gold on Hover */
html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-role-badge,
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-role-badge {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 201, 40, 0.48) !important;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.34) !important;
  opacity: 1 !important;
  transition: all 0.2s ease !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card:hover .placement-role-badge,
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card:hover .placement-role-badge {
  background: #0F172A !important;
  color: #FFC928 !important;
  border-color: #FFC928 !important;
  box-shadow: 0 6px 16px rgba(255, 201, 40, 0.28) !important;
}

/* Hired By Company Card: Clean contrast + hover glow */
html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-company-card {
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
}

html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-company-card {
  background: rgba(248, 250, 252, 0.85) !important;
  border: 1.5px solid #E2E8F0 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card:hover .placement-company-card {
  background: rgba(255, 122, 24, 0.1) !important;
  border-color: rgba(255, 122, 24, 0.6) !important;
}

html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card:hover .placement-company-card {
  background: #FFFDF5 !important;
  border-color: #F59E0B !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-company-label {
  color: #CBD5E1 !important;
}

html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-company-label {
  color: #475569 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-company-title {
  color: #FFFFFF !important;
}

html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-company-title {
  color: #0F172A !important;
}

/* Track Pill (GWDA Diploma) & Batch Year */
html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-track-pill,
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-track-pill {
  background: #EFF6FF !important;
  color: #1D4ED8 !important;
  border: 1.5px solid #93C5FD !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-track-row {
  color: #CBD5E1 !important;
}

html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-track-row {
  color: #475569 !important;
}

/* Footer: Verified Tag, Full Record Link & Placements ID # */
html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-card-footer {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-card-footer {
  border-top-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-card-tag {
  color: #34D399 !important;
}

html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-card-tag {
  color: #059669 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-card-link {
  color: #FFC928 !important;
}

html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-card-link {
  color: #E11D48 !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card:hover .placement-card-link,
html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card:hover .placement-card-link {
  color: #FF7A18 !important;
  transform: translateX(3px) !important;
}

html[data-theme="dark"] body:not(.page-kiosk) .nma-placement-card .placement-card-footer > span:last-child:not(.placement-card-tag) {
  color: #CBD5E1 !important;
}

html[data-theme="light"] body:not(.page-kiosk) .nma-placement-card .placement-card-footer > span:last-child:not(.placement-card-tag) {
  color: #475569 !important;
}

/* =========================================================================
   13. ONLINE COURSES, DETAIL & REMAINING CARDS: 75% OPACITY IN LIGHT & DARK
   Ensures background canvas animation breathes cleanly behind every card/box
   ========================================================================= */
html[data-theme="dark"] body:not(.page-kiosk) .online-catalog-control-box,
html[data-theme="dark"] body:not(.page-kiosk) .online-course-card,
html[data-theme="dark"] body:not(.page-kiosk) .why-feature-card,
html[data-theme="dark"] body:not(.page-kiosk) .course-pricing-card,
html[data-theme="dark"] body:not(.page-kiosk) .detail-card-box,
html[data-theme="dark"] body:not(.page-kiosk) .chapter-card,
html[data-theme="dark"] body:not(.page-kiosk) .instructor-profile-card,
html[data-theme="dark"] body:not(.page-kiosk) .faq-card,
html[data-theme="dark"] body:not(.page-kiosk) .order-summary-box,
html[data-theme="dark"] body:not(.page-kiosk) .upi-qr-card,
html[data-theme="dark"] body:not(.page-kiosk) .placement-showcase-card {
  background: rgba(14, 16, 22, 0.74) !important;
  background-color: rgba(14, 16, 22, 0.74) !important;
}

html[data-theme="light"] body:not(.page-kiosk) .online-catalog-control-box,
html[data-theme="light"] body:not(.page-kiosk) .online-course-card,
html[data-theme="light"] body:not(.page-kiosk) .why-feature-card,
html[data-theme="light"] body:not(.page-kiosk) .course-pricing-card,
html[data-theme="light"] body:not(.page-kiosk) .detail-card-box,
html[data-theme="light"] body:not(.page-kiosk) .chapter-card,
html[data-theme="light"] body:not(.page-kiosk) .instructor-profile-card,
html[data-theme="light"] body:not(.page-kiosk) .faq-card,
html[data-theme="light"] body:not(.page-kiosk) .order-summary-box,
html[data-theme="light"] body:not(.page-kiosk) .upi-qr-card,
html[data-theme="light"] body:not(.page-kiosk) .placement-showcase-card {
  background: rgba(255, 255, 255, 0.75) !important;
  background-color: rgba(255, 255, 255, 0.75) !important;
}
