/* =====================================================
   Granth Computer — Website Stylesheet
   Design: Premium Dark-Energy · Authority + Excitement
   Brand colors: Purple #2F2B60 · Red #ED3237 · Yellow #FFF212
   ===================================================== */

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

/* ── CSS Variables ───────────────────────────────── */
:root {
  /* Logo-accurate brand colors */
  --purple:        #2F2B60;
  --purple-light:  #3D3880;
  --purple-dark:   #1E1A45;
  --purple-deep:   #0F0D24;
  --red:           #ED3237;
  --red-light:     #FF5A5F;
  --red-dark:      #C41018;
  --yellow:        #FFF212;
  --yellow-warm:   #FFD700;
  --yellow-dim:    #F5E642;

  /* Backgrounds */
  --white:         #FFFFFF;
  --bg-soft:       #F5F3FF;
  --bg-card:       #FFFFFF;
  --bg-dark:       #1E1A45;
  --bg-hero:       #0F0D24;

  /* Text */
  --text-heading:  #1E1A45;
  --text-body:     #4A4770;
  --text-muted:    #8885AA;
  --text-light:    #C0BDDD;
  --text-white:    #FFFFFF;

  /* Borders */
  --border:        #E0DEFF;
  --border-strong: #C0BDDD;
  --border-glow:   rgba(237,50,55,.4);

  /* Gradients */
  --grad-primary:  linear-gradient(135deg, #2F2B60 0%, #4A3FA0 50%, #7B5EA7 100%);
  --grad-hero:     linear-gradient(135deg, #0F0D24 0%, #1E1A45 40%, #2F2B60 70%, #4A3FA0 100%);
  --grad-red:      linear-gradient(135deg, #ED3237 0%, #FF5A5F 100%);
  --grad-yellow:   linear-gradient(135deg, #FFF212 0%, #FFD700 100%);
  --grad-card:     linear-gradient(135deg, #FFFFFF 0%, #F5F3FF 100%);
  --grad-dark:     linear-gradient(135deg, #1E1A45 0%, #2F2B60 100%);

  /* Glow shadows */
  --shadow-sm:     0 2px 12px rgba(47,43,96,.10);
  --shadow-md:     0 8px 32px rgba(47,43,96,.16);
  --shadow-lg:     0 20px 60px rgba(47,43,96,.22);
  --shadow-xl:     0 32px 80px rgba(47,43,96,.28);
  --glow-purple:   0 0 40px rgba(74,63,160,.50), 0 0 80px rgba(47,43,96,.30);
  --glow-red:      0 0 30px rgba(237,50,55,.50), 0 0 60px rgba(237,50,55,.25);
  --glow-yellow:   0 0 30px rgba(255,242,18,.60), 0 0 60px rgba(255,242,18,.30);

  /* Spacing */
  --section-py:    100px;
  --container:     1200px;
  --radius:        16px;
  --radius-sm:     10px;
  --radius-lg:     24px;
  --radius-xl:     32px;
  --radius-full:   9999px;

  /* Fonts */
  --font-head:     'Outfit', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* Transition */
  --tr:            .3s cubic-bezier(.4,0,.2,1);
  --tr-bounce:     .4s cubic-bezier(.34,1.56,.64,1);
}

/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scroll Progress Bar ─────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  z-index: 9999;
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(255,242,18,.6);
}

/* ── Container ───────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ──────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { font-size: 1rem; line-height: 1.75; }

/* Yellow-to-red gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-red    { color: var(--red); }
.text-yellow { color: var(--yellow); }
.text-purple { color: var(--purple); }
.text-muted  { color: var(--text-muted); }

/* Neon glow text */
.neon-text {
  color: var(--yellow);
  text-shadow: 0 0 20px rgba(255,242,18,.8), 0 0 40px rgba(255,242,18,.4);
}

.neon-red {
  color: var(--red);
  text-shadow: 0 0 20px rgba(237,50,55,.8), 0 0 40px rgba(237,50,55,.4);
}

/* Section label pill */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-white);
  background: var(--purple);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

/* On light sections: yellow pill with dark text */
.section-label.light {
  color: var(--purple-dark);
  background: var(--yellow);
}
.section-label.light::before { background: var(--red); }

.section-label.red {
  color: var(--text-white);
  background: var(--red);
}
.section-label.red::before { background: var(--yellow); }

/* ── Magnetic Button Wrapper ─────────────────────── */
.magnetic-wrap {
  display: inline-block;
  position: relative;
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius-full);
  padding: 14px 32px;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Purple primary button */
.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(47,43,96,.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--glow-purple);
  background: linear-gradient(135deg, #3D3880 0%, #5B50B8 50%, #8B6EC0 100%);
}

/* Red button */
.btn-red {
  background: var(--grad-red);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(237,50,55,.30);
}
.btn-red:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--glow-red);
  background: linear-gradient(135deg, #FF5A5F 0%, #ED3237 100%);
}

/* Yellow button (replaces old btn-gold) */
.btn-yellow {
  background: var(--grad-yellow);
  color: var(--purple-dark);
  box-shadow: 0 6px 24px rgba(255,242,18,.30);
  font-weight: 700;
}
.btn-yellow:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--glow-yellow);
  background: linear-gradient(135deg, #FFD700 0%, #FFF212 100%);
  color: var(--purple-dark);
}

/* Legacy alias kept for backward compatibility */
.btn-gold {
  background: var(--grad-yellow);
  color: var(--purple-dark);
  box-shadow: 0 6px 24px rgba(255,242,18,.30);
  font-weight: 700;
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--glow-yellow);
  background: linear-gradient(135deg, #FFD700 0%, #FFF212 100%);
  color: var(--purple-dark);
}

/* Outline button — used on dark backgrounds */
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  padding: 12px 30px;
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* Outline on light/purple backgrounds */
.btn-outline-purple {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
  padding: 12px 30px;
}
.btn-outline-purple:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--glow-purple);
}

/* Legacy alias */
.btn-outline-navy {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
  padding: 12px 30px;
}
.btn-outline-navy:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--glow-purple);
}

.btn-sm { padding: 10px 22px; font-size: .875rem; }
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }

/* ── Navbar ──────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: var(--purple-dark);
  transition: var(--tr);
}

.navbar.scrolled {
  background: rgba(15,13,36,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 32px rgba(47,43,96,.25);
  padding: 8px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar-logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  transition: var(--tr);
  background: rgba(255,255,255,0.96);
  border-radius: 12px;
  padding: 5px 8px;
}

.navbar.scrolled .navbar-logo img {
  width: 68px;
  height: 68px;
  border-radius: 10px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  color: rgba(255,255,255,.80);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: var(--tr);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transition: var(--tr);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  left: 16px;
  right: 16px;
}

/* Scrolled state — same styling, slightly darker bg handles it */
.navbar.scrolled .nav-link {
  color: rgba(255,255,255,.80);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--white);
}

/* Enroll / CTA button */
.navbar-cta {
  background: var(--grad-red) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(237,50,55,.35);
}

.navbar-cta:hover {
  background: linear-gradient(135deg, #C41018 0%, #ED3237 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(237,50,55,.55), var(--glow-red);
  color: var(--white) !important;
}

.navbar-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: var(--tr);
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  border-radius: 2px;
  background: var(--white);
  transition: var(--tr);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu — full-screen dark purple overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15,13,36,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 100px 24px 40px;
}

.mobile-menu.open { display: flex; }

.mobile-menu .nav-link {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  padding: 14px 40px;
  width: 100%;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  transition: var(--tr);
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
  background: rgba(255,242,18,.08);
  border-color: rgba(255,242,18,.25);
  color: var(--yellow);
}

.mobile-menu .nav-link::after { display: none; }

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--grad-hero);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 0;
  overflow: hidden;
}

.hero > .container {
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
}

/* Subtle grid pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Animated background shapes */
.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .10;
  pointer-events: none;
}

.hero-bg-shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--red-light), transparent 70%);
  top: -150px; right: -100px;
  animation: float1 8s ease-in-out infinite;
}

.hero-bg-shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--yellow), transparent 70%);
  bottom: -100px; left: -80px;
  opacity: .07;
  animation: float2 10s ease-in-out infinite;
}

.hero-bg-shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--purple-light), transparent 70%);
  top: 30%; left: 40%;
  opacity: .12;
  animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(30px,-40px) scale(1.05); }
  66%       { transform: translate(-20px,20px) scale(.95); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0); }
  50%       { transform: translate(40px,-30px); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50%       { transform: translate(-30px,30px) rotate(15deg); }
}

/* Particle canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .6;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Hero badge — red background, yellow text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,242,18,.25);
  margin-bottom: 24px;
  box-shadow: var(--glow-red);
}

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,242,18,.6); }
  50%      { box-shadow: 0 0 0 6px rgba(255,242,18,0); }
}

/* Hero headline — white + yellow gradient key words */
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  background: var(--grad-yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 32px 0;
  margin-top: 60px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-stats .container { width: 100%; }

/* stats-grid used inside hero-stats (new HTML structure) */
.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  text-shadow: 0 0 20px rgba(255,242,18,.5);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-plus {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--yellow);
}

.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.12);
  align-self: center;
}

/* Legacy hero-stat aliases */
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  text-shadow: 0 0 16px rgba(255,242,18,.4);
}
.hero-stat-label {
  font-size: .8rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Hero inner — two-column layout */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Hero visual / device mockup */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 20px 40px;
}

.device-mockup {
  position: relative;
  width: 380px; height: 320px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: 28px;
  animation: floatDevice 6s ease-in-out infinite;
  box-shadow:
    0 30px 80px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.2),
    var(--glow-purple);
}

@keyframes floatDevice {
  0%,100% { transform: translateY(0px) rotate(-1deg); }
  50%      { transform: translateY(-16px) rotate(1deg); }
}

.device-bar {
  height: 4px;
  border-radius: 2px;
  margin-bottom: 10px;
  background: var(--grad-yellow);
}

.device-bar:nth-child(2) { width: 60%; background: rgba(255,255,255,.25); }
.device-bar:nth-child(3) { width: 80%; background: rgba(255,255,255,.15); }
.device-bar:nth-child(4) { width: 45%; background: rgba(255,255,255,.10); }

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.device-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.device-card-icon {
  width: 32px; height: 32px;
  margin: 0 auto 6px;
  background: var(--grad-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.device-card-label {
  font-family: var(--font-head);
  font-size: .65rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* Floating badges around device */
.float-badge {
  position: absolute;
  background: rgba(255,255,255,.95);
  border-radius: var(--radius);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
}

.float-badge-1 {
  top: -20px; right: 20px;
  animation: floatB1 5s ease-in-out infinite;
}

.float-badge-2 {
  bottom: 30px; left: -30px;
  animation: floatB2 7s ease-in-out infinite;
}

@keyframes floatB1 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes floatB2 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

.float-badge .icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* 3D Hero floating cards */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: heroFloat linear infinite;
  transform-style: preserve-3d;
  box-shadow: 0 8px 32px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.2);
  white-space: nowrap;
}

@keyframes heroFloat {
  0%   { transform: translateY(0px) rotate(0deg); }
  25%  { transform: translateY(-12px) rotate(.5deg); }
  50%  { transform: translateY(-6px) rotate(0deg); }
  75%  { transform: translateY(-16px) rotate(-.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* ── 3D Tilt Card ────────────────────────────────── */
.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0) rotateY(0);
  transition: transform .1s ease, box-shadow var(--tr);
  will-change: transform;
}

.tilt-card:hover {
  box-shadow: var(--shadow-xl), var(--glow-purple);
}

.tilt-card .tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--tr);
  pointer-events: none;
}

.tilt-card:hover .tilt-shine { opacity: 1; }

/* ── Stats Band ───────────────────────────────────── */
.stats-band {
  background: var(--purple-dark);
  border-top: 3px solid var(--yellow);
  position: relative;
  z-index: 2;
}

.stats-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
}

.stats-band-item {
  padding: 36px 24px;
  text-align: center;
  position: relative;
  transition: var(--tr);
}

.stats-band-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: rgba(255,255,255,.1);
}

.stats-band-item:hover { background: rgba(255,255,255,.04); }

.stat-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  display: block;
  text-shadow: 0 0 16px rgba(255,242,18,.4);
}

.stat-label {
  font-size: .85rem;
  color: var(--text-light);
  margin-top: 6px;
  font-weight: 500;
}

/* ── Section Commons ──────────────────────────────── */
.section {
  padding: var(--section-py) 0;
}

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

/* Dark section variant */
.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header p {
  color: var(--text-body);
  margin-top: 14px;
  font-size: 1.05rem;
}

.section-dark .section-header p {
  color: var(--text-light);
}

/* Angled section divider (add as empty div between sections) */
.section-divider {
  height: 60px;
  background: var(--bg-soft);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
  margin-bottom: -2px;
}

.section-divider-flip {
  height: 60px;
  background: var(--white);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  margin-top: -2px;
}

/* ── Course Cards ─────────────────────────────────── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--tr);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Red top accent bar */
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--tr);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--glow-purple);
  border-color: rgba(47,43,96,.20);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-card-header {
  padding: 28px 28px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.course-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.course-card-body {
  padding: 0 28px 24px;
  flex: 1;
}

.course-card-body p {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.course-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-head);
}

.tag-duration {
  background: rgba(47,43,96,.08);
  color: var(--purple);
}

.tag-category {
  background: rgba(237,50,55,.08);
  color: var(--red);
}

.course-card-footer {
  padding: 16px 28px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
  color: var(--purple);
}

.course-card:hover .course-arrow {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
  transform: translateX(4px);
}

/* Course icon color themes */
.icon-blue   { background: linear-gradient(135deg,#EEF2FF,#C7D2FE); }
.icon-red    { background: linear-gradient(135deg,#FFF1F2,#FECDD3); }
.icon-gold   { background: linear-gradient(135deg,#FFFFF0,#FEF08A); }
.icon-green  { background: linear-gradient(135deg,#F0FDF4,#BBF7D0); }
.icon-purple { background: linear-gradient(135deg,#FAF5FF,#E9D5FF); }
.icon-cyan   { background: linear-gradient(135deg,#ECFEFF,#A5F3FC); }
.icon-orange { background: linear-gradient(135deg,#FFF7ED,#FED7AA); }
.icon-teal   { background: linear-gradient(135deg,#F0FDFA,#99F6E4); }
.icon-pink   { background: linear-gradient(135deg,#FDF2F8,#F5D0FE); }

/* ── Features / Why Choose Us ─────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--glow-purple);
  border-color: rgba(47,43,96,.20);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  position: relative;
  z-index: 1;
}

.feature-card h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ── CTA Banner ──────────────────────────────────── */
.cta-banner {
  background: var(--grad-hero);
  border-radius: var(--radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.cta-banner-shape {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner-shape-1 {
  top: -100px; right: -80px;
  background: radial-gradient(circle, rgba(255,242,18,.12), transparent 65%);
}
.cta-banner-shape-2 {
  bottom: -120px; left: -60px;
  background: radial-gradient(circle, rgba(237,50,55,.12), transparent 65%);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}

.cta-banner-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-contact {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
}

.cta-contact-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

/* ── About snippet ───────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-bg {
  position: absolute;
  inset: -20px;
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  z-index: 0;
}

.about-img-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.about-img-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -12px; right: -12px;
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md), var(--glow-yellow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  color: var(--purple-dark);
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-body);
  margin-bottom: 20px;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.about-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  font-weight: 500;
}

.about-point-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-red);
  flex-shrink: 0;
}

/* Stat chips — yellow background, dark purple text */
.about-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--purple-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--glow-yellow);
}

/* ── Testimonials ────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--tr);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--glow-purple);
  border-color: rgba(47,43,96,.20);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--yellow-warm);
  font-size: 1rem;
}

.testimonial-text {
  font-size: .95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-heading);
}

.testimonial-role {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 70px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {}

.footer-brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 6px 10px;
}

.footer-brand .brand-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--tr);
  color: var(--text-light);
}

.social-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--glow-red);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .875rem;
  color: var(--text-light);
  transition: var(--tr);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--white); transform: translateX(4px); }

.footer-links a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  opacity: .5;
}
.footer-links a:hover::before { opacity: 1; }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-text {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.5;
}

.footer-contact-text a {
  color: var(--text-light);
  transition: var(--tr);
}
.footer-contact-text a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  line-height: 1.5;
}

/* ── Page Hero (Inner pages) ──────────────────────── */
.page-hero {
  background: var(--grad-hero);
  padding: 160px 0 90px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: .10;
}

.page-hero-bg-circle-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--red-light), transparent 70%);
  top: -150px; right: -100px;
}

.page-hero-bg-circle-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--yellow), transparent 70%);
  bottom: -80px; left: 5%;
  opacity: .07;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: .875rem;
}

.breadcrumb a { color: rgba(255,255,255,.55); transition: var(--tr); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.30); }
.breadcrumb .current { color: var(--yellow); font-weight: 600; }

/* ── About Page ───────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-content .section-label { margin-bottom: 16px; }

.story-image {
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Stats cards in about */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--grad-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-xl), var(--glow-purple);
}

.about-stat-card {
  padding: 36px 24px;
  text-align: center;
  transition: var(--tr);
  position: relative;
  border-right: 1px solid rgba(255,255,255,.08);
}

.about-stat-card:last-child { border-right: none; }

.about-stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .3s;
}

.about-stat-card:hover::after {
  background: rgba(255,255,255,.04);
}

.about-stat-card:hover {
  transform: none;
}

.about-stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}

.about-stat-card .stat-number,
.about-stat-card [data-count] {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  text-shadow: 0 0 20px rgba(255,242,18,.4);
  display: block;
  margin-bottom: 8px;
}

.about-stat-card .stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
}

/* Mission Vision Values */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mvv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: var(--tr);
}

.mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--glow-purple);
}

.mvv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}

.mvv-card.mission::before { background: var(--grad-primary); }
.mvv-card.vision::before  { background: var(--grad-red); }
.mvv-card.values::before  { background: var(--grad-yellow); }

.mvv-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.mvv-card h3 { margin-bottom: 12px; }

.mvv-card p {
  font-size: .92rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Infrastructure */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.infra-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--tr);
}

.infra-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--glow-purple);
  border-color: rgba(47,43,96,.20);
}

.infra-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.infra-card h4 {
  font-size: .95rem;
  margin-bottom: 6px;
}

.infra-card p {
  font-size: .82rem;
  color: var(--text-muted);
}

/* ── Courses Page ─────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-tab {
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  color: var(--text-body);
  background: var(--white);
  cursor: pointer;
  transition: var(--tr);
}

.filter-tab:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.filter-tab.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(47,43,96,.30);
}

.course-card.hidden,
.course-detail-card.hidden { display: none; }

/* Full course card (courses page) */
.course-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--tr);
  display: flex;
  flex-direction: column;
}

.course-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--glow-purple);
  border-color: rgba(47,43,96,.20);
}

.course-detail-top {
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.course-detail-body {
  padding: 0 28px 20px;
  flex: 1;
}

.course-detail-body h4 {
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.course-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.skill-chip {
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  color: var(--text-body);
  border: 1px solid var(--border);
}

.course-detail-footer {
  padding: 16px 28px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--purple);
  transition: var(--tr);
  box-shadow: var(--shadow-sm);
}

.step-item:hover .step-num {
  background: var(--grad-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(47,43,96,.35), var(--glow-purple);
  transform: scale(1.05);
}

.step-item h4 { margin-bottom: 8px; font-size: 1rem; }

.step-item p {
  font-size: .875rem;
  color: var(--text-muted);
}

/* ── Course Detail extras ─────────────────────────── */
.badge-cat-data {
  background: rgba(16,185,129,.10);
  color: #047857;
}

/* AI callout strip */
.ai-callout {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(47,43,96,.06), rgba(74,63,160,.06));
  border: 1px solid rgba(47,43,96,.15);
  border-left: 3px solid var(--purple-light);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: .82rem;
  color: var(--text-body);
  line-height: 1.55;
}

.ai-callout-icon {
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.ai-callout strong {
  color: var(--purple);
  font-weight: 700;
}

.course-hint {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Photo Slider ────────────────────────────────── */
.photo-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.photo-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

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

.photo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-head);
}

.photo-slide:nth-child(1) .photo-slide-placeholder { background: var(--grad-hero); }
.photo-slide:nth-child(2) .photo-slide-placeholder { background: linear-gradient(135deg, #0F0D24 0%, #2F2B60 60%, #4A3FA0 100%); }
.photo-slide:nth-child(3) .photo-slide-placeholder { background: linear-gradient(135deg, #1E1A45 0%, #7B5EA7 50%, #ED3237 100%); }
.photo-slide:nth-child(4) .photo-slide-placeholder { background: linear-gradient(135deg, #2F2B60 0%, #ED3237 50%, #FFF212 100%); }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: 0 4px 16px rgba(0,0,0,.20);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  color: var(--purple);
  font-size: 18px;
  font-weight: 700;
  transition: var(--tr);
}

.slider-btn:hover {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transform: translateY(-50%) scale(1.08);
}

.slider-btn-prev { left: 12px; }
.slider-btn-next { right: 12px; }

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: 2px solid rgba(255,255,255,.75);
  cursor: pointer;
  transition: var(--tr);
  padding: 0;
}

.slider-dot.active {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: scale(1.2);
}

/* ── Scroll Animations ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Utility ─────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8   { margin-top: 8px; }
.mt-12  { margin-top: 12px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-48  { margin-top: 48px; }
.mb-8   { margin-bottom: 8px; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }
.mb-32  { margin-bottom: 32px; }
.mb-48  { margin-bottom: 48px; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 60px 0;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps-grid::before { display: none; }
}

@media (max-width: 900px) {
  :root { --section-py: 70px; }
  .about-split, .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap:not(:has(.photo-slider)) { display: none; }
  .about-image-wrap:has(.photo-slider) { order: -1; }
  .about-image-wrap .about-image-bg { display: none; }
  .story-image { display: none; }
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-band-item:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  :root { --section-py: 60px; }

  .navbar-nav { display: none; }
  .hamburger  { display: flex; }

  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: 2.2rem; }

  .cta-banner { padding: 40px 24px; }
  .cta-banner h2 { font-size: 1.6rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .mvv-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }

  .about-stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { gap: 24px; }
  .stats-band-inner { grid-template-columns: 1fr 1fr; }
  .filter-tabs { justify-content: flex-start; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
}
