/* ==========================================================================
   MRBS — Premium Landing Page
   Design system built on the original brand (teal / orange / green + Result Ring)
   ========================================================================== */

:root {
  /* Brand palette */
  --teal-bright: #20e2d7;
  --teal-deep:   #29aca5;
  --orange:      #ff751f;
  --green:       #7ed957;
  --ink:         #0e2a28;
  --white:       #f8f9fa;

  /* Fonts */
  --font-display: 'Clash Display', 'General Sans', sans-serif;
  --font-body:    'General Sans', 'Segoe UI', sans-serif;
  --font-sinhala: 'Noto Sans Sinhala', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 76px;

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 50px;

  /* Theming tokens (light default) */
  --bg:           #f6fbfa;
  --bg-alt:       #eef6f5;
  --bg-deep:      #0e2a28;
  --surface:      #ffffff;
  --surface-glass: rgba(255,255,255,0.65);
  --text:         #0e2a28;
  --text-soft:    #4a615f;
  --border:       rgba(14,42,40,0.08);
  --shadow:       0 20px 45px rgba(14,42,40,0.10);
  --shadow-lg:    0 30px 70px rgba(14,42,40,0.16);
  --glow:         0 0 40px rgba(32,226,215,0.35);
}

/* Dark theme */
body.dark {
  --bg:           #071716;
  --bg-alt:       #0b201e;
  --bg-deep:      #04100f;
  --surface:      #0f2523;
  --surface-glass: rgba(15,37,35,0.55);
  --text:         #eafcfa;
  --text-soft:    #9db8b5;
  --border:       rgba(255,255,255,0.08);
  --shadow:       0 20px 45px rgba(0,0,0,0.45);
  --shadow-lg:    0 30px 70px rgba(0,0,0,0.6);
}

/* ------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; }
a { text-decoration: none; color: inherit; transition: all .3s ease; }
img, video { max-width: 100%; display: block; }
ul { list-style: none; }
em { color: var(--text-soft); font-style: italic; }

.sinhala { font-family: var(--font-sinhala); }

/* Focus states */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 4px;
}

/* ----------------------------- Utilities -------------------------------- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: 820px; }
.text-center { text-align: center; }
.section { padding: 6.5rem 0; position: relative; overflow: hidden; }
.bg-light { background: var(--bg-alt); }
.bg-deep { background: var(--bg-deep); color: #eafcfa; }

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--teal-deep);
  background: rgba(32,226,215,.12);
  padding: .4rem 1rem; border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
}
.section-tag.center { display: inline-block; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; color: var(--text); }
.section-header p { font-size: 1.1rem; max-width: 640px; margin: 0 auto; color: var(--text-soft); }
.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255,255,255,.8); }

/* ----------------------------- Buttons ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.9rem; border-radius: var(--radius-pill);
  font-weight: 600; font-family: var(--font-body); font-size: 1rem;
  cursor: pointer; border: none; position: relative;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, background .3s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-sm { padding: .55rem 1.3rem; font-size: .88rem; }
.btn-lg { padding: 1.05rem 2.4rem; font-size: 1.1rem; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 25px rgba(255,117,31,.35); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(255,117,31,.5); }
.btn-secondary {
  background: rgba(255,255,255,.14); color: #fff;
  backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.35);
}
.btn-secondary:hover { background: rgba(255,255,255,.24); }
.btn-outline { background: transparent; color: var(--teal-deep); border: 2px solid var(--teal-deep); }
.btn-outline:hover { background: var(--teal-deep); color: #fff; }

/* Glow pulse */
.btn-glow::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(255,117,31,.5); animation: glowPulse 2.6s infinite;
}
@keyframes glowPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,117,31,.5); }
  70% { box-shadow: 0 0 0 18px rgba(255,117,31,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,117,31,0); }
}

/* ------------------------- Signature Result Ring ------------------------ */
.result-ring {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--surface);
}
.result-ring::before { content:''; position:absolute; inset:-4px; border-radius:50%; border:2px solid var(--green); z-index:0; }
.result-ring::after  { content:''; position:absolute; inset:-1px; border-radius:50%; border:3px solid var(--orange); z-index:1; }
.result-ring-content {
  position: relative; z-index: 2; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); width: 100%; height: 100%;
}

/* ------------------------- Glass card primitive ------------------------- */
.glass-card {
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Blobs (ambient background decoration) */
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px);
  opacity: .5; pointer-events: none; z-index: 0;
}
.blob-soft { width: 480px; height: 480px; background: radial-gradient(circle, rgba(32,226,215,.25), transparent 70%); opacity:.6; top:-10%; right:-8%; }

/* ============================ PRELOADER ================================= */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(160deg, #0e2a28, #123c39);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-ring {
  width: 92px; height: 92px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; position: relative;
  background: #0e2a28;
}
.preloader-ring::before { content:''; position:absolute; inset:-6px; border-radius:50%;
  border:3px solid transparent; border-top-color: var(--orange); border-right-color: var(--green);
  animation: spin .9s linear infinite; }
.preloader-ring img { width: 54px; height: auto; }
.preloader-word { font-family: var(--font-display); font-weight: 700; letter-spacing: 4px; color:#fff; font-size:1.4rem; margin-bottom:1rem; }
.preloader-bar { width: 180px; height: 4px; background: rgba(255,255,255,.15); border-radius: 4px; margin: 0 auto; overflow: hidden; }
.preloader-bar span { display:block; height:100%; width:0; background: linear-gradient(90deg,var(--teal-bright),var(--orange)); transition: width .2s ease; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ========================= SCROLL PROGRESS ============================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--teal-bright), var(--orange));
  z-index: 1001; transition: width .1s linear;
}

/* ============================== NAVBAR ================================= */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height);
  z-index: 1000; display: flex; align-items: center; padding: 0 2rem;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.navbar.scrolled {
  background: var(--surface-glass); backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(14,42,40,.07); height: 66px;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: var(--max-width); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; }
.logo img { height: 40px; width: auto; }
.navbar.scrolled .logo { color: var(--teal-deep); }
body.dark .navbar.scrolled .logo { color: var(--teal-bright); }

.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links > a { color: rgba(255,255,255,.92); font-weight: 500; font-size: .95rem; position: relative; }
.nav-links > a::after { content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px; background: var(--orange); transition: width .3s ease; }
.nav-links > a:hover::after, .nav-links > a.active::after { width: 100%; }
.navbar.scrolled .nav-links > a { color: var(--text); }
.nav-links > a:hover { color: var(--orange); }

.theme-toggle {
  background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.25);
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  transition: all .3s ease;
}
.navbar.scrolled .theme-toggle { background: rgba(14,42,40,.06); color: var(--text); border-color: var(--border); }
.theme-toggle:hover { transform: rotate(20deg); }

.nav-right-mobile { display: none; align-items: center; gap: .8rem; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.menu-toggle span { width: 25px; height: 3px; background: #fff; border-radius: 2px; transition: all .3s ease; }
.navbar.scrolled .menu-toggle span { background: var(--text); }
.menu-toggle.open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity: 0; }
.menu-toggle.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 992px) {
  .nav-links {
    position: absolute; top: var(--nav-height); left: 0; width: 100%;
    background: var(--surface); flex-direction: column; padding: 2rem; gap: 1.4rem;
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
    transform: translateY(-160%); opacity: 0; transition: all .4s ease; pointer-events: none;
  }
  .nav-links.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links > a { color: var(--text); font-size: 1.05rem; }
  .nav-links .theme-toggle { display: none; }
  .nav-right-mobile { display: flex; }
  .menu-toggle { display: flex; }
}

/* =============================== HERO ================================= */
.hero {
  position: relative; width: 100%; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center; background: var(--bg-deep); isolation: isolate;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* Animated mesh gradient */
.hero-mesh {
  position: absolute; inset: -20%; z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(32,226,215,.55), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(126,217,87,.35), transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(255,117,31,.40), transparent 45%),
    radial-gradient(circle at 30% 75%, rgba(41,172,165,.55), transparent 50%);
  background-color: #0a201e;
  filter: blur(20px); animation: meshFloat 16s ease-in-out infinite alternate;
}
@keyframes meshFloat {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(-3%,2%) scale(1.08); }
  100% { transform: translate(2%,-2%) scale(1.04); }
}
.grid-overlay {
  position: absolute; inset: 0; z-index: 1; opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 80%);
}
.hero .blob { z-index: 1; }
.blob-1 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(32,226,215,.6), transparent 70%); top: -6%; left: -4%; animation: blobMove 12s ease-in-out infinite alternate; }
.blob-2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(255,117,31,.45), transparent 70%); bottom: -12%; right: -6%; animation: blobMove 15s ease-in-out infinite alternate-reverse; }
.blob-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(126,217,87,.4), transparent 70%); top: 40%; right: 30%; animation: blobMove 18s ease-in-out infinite alternate; }
@keyframes blobMove { to { transform: translate(40px,30px) scale(1.15); } }

.parallax-el {
  position: absolute; color: var(--teal-bright); opacity: .18; z-index: 2;
  pointer-events: none; transition: transform .15s ease-out;
}
.parallax-el.p-1 { top: 16%; right: 38%; font-size: 5rem; }
.parallax-el.p-2 { bottom: 24%; right: 44%; font-size: 7rem; opacity: .1; }
.parallax-el.p-3 { top: 26%; left: 8%; font-size: 3rem; }
.parallax-el.p-4 { bottom: 22%; left: 48%; font-size: 4rem; color: var(--green); opacity: .16; }
.parallax-el.p-5 { top: 60%; left: 15%; font-size: 3.5rem; color: var(--orange); opacity: .16; }

.hero-content {
  position: relative; z-index: 3; width: 60%; padding: 6rem 2rem 3rem; color: #fff;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-size: .82rem; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 1.4rem; color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: .5rem 1rem; border-radius: var(--radius-pill); backdrop-filter: blur(8px);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(126,217,87,.7); animation: dotPulse 1.8s infinite; }
@keyframes dotPulse { 70% { box-shadow: 0 0 0 8px rgba(126,217,87,0); } 100% { box-shadow: 0 0 0 0 rgba(126,217,87,0); } }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.1; margin-bottom: 1.5rem;
  text-shadow: 0 6px 30px rgba(0,0,0,.25);
}
.hero-title .caret { display:inline-block; width:3px; background:var(--orange); margin-left:4px; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-subtitle { font-size: clamp(1rem, 1.6vw, 1.3rem); margin-bottom: 2.5rem; max-width: 560px; color: rgba(255,255,255,.9); }
.hero-subtitle strong { color: #fff; }
.hero-actions { display: flex; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .num { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: #fff; }
.hero-stat .lbl { font-size: .85rem; color: rgba(255,255,255,.75); }

.scroll-down {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
}
.scroll-down span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 5px; height: 8px; background: #fff; border-radius: 3px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0%{ opacity:0; top:8px;} 40%{opacity:1;} 80%{opacity:0; top:22px;} 100%{opacity:0;} }

@media (max-width: 768px) {
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(14, 42, 40, 0.5);
    z-index: 2;
    pointer-events: none;
  }
  .hero-content { width: 100%; padding: 7rem 1.5rem 3rem; text-align: center; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .parallax-el.p-1, .parallax-el.p-2 { display: none; }
  .hero-video { object-position: 85% center; }
}

/* ============================ MARQUEE ================================= */
.marquee-wrap { background: var(--teal-deep); color: #fff; padding: 1.1rem 0; overflow: hidden; }
.marquee { width: 100%; overflow: hidden; }
.marquee-track { display: inline-flex; gap: 3rem; white-space: nowrap; animation: marquee 26s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; }
.marquee-track i { color: var(--green); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

/* ========================== HIGHLIGHTS ================================ */
.highlights-section { margin-top: -3.5rem; z-index: 5; padding-top: 5rem; }
.highlights-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.6rem; }
@media (max-width: 992px) { .highlights-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 576px) { .highlights-grid { grid-template-columns: 1fr; } }
.highlight-card { padding: 2.2rem 1.8rem; text-align: center; transition: transform .35s ease, box-shadow .35s ease; }
.highlight-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.hc-icon {
  width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
  box-shadow: 0 10px 24px rgba(41,172,165,.4);
}
.highlight-card:nth-child(2) .hc-icon { background: linear-gradient(135deg,#ffa15c,var(--orange)); box-shadow:0 10px 24px rgba(255,117,31,.4);}
.highlight-card:nth-child(4) .hc-icon { background: linear-gradient(135deg,#a5f07d,var(--green)); box-shadow:0 10px 24px rgba(126,217,87,.4);}
.highlight-card h3 { font-size: 1.25rem; margin-bottom: .6rem; color: var(--text); }
.highlight-card p { font-size: .95rem; color: var(--text-soft); }

/* ============================= ABOUT ================================= */
.about-section { position: relative; }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4.5rem; align-items: center; position: relative; z-index: 1; }
.about-image { position: relative; }
.about-img-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-img-frame::after { content:''; position:absolute; inset:0; background: linear-gradient(160deg, transparent 60%, rgba(41,172,165,.25)); }
.about-img-frame img { width: 100%; height: auto; object-fit: cover; }

.float-badge {
  position: absolute; display: flex; align-items: center; gap: .8rem;
  background: var(--surface); padding: .9rem 1.2rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.float-badge strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--text); }
.float-badge small { color: var(--text-soft); font-size: .78rem; }
.float-badge > i { font-size: 1.4rem; color: var(--orange); }
.float-badge .result-ring { width: 46px; height: 46px; }
.float-badge .result-ring-content { background: var(--teal-bright); color:#fff; }
.fb-1 { top: 8%; right: -6%; animation: floaty 5s ease-in-out infinite; }
.fb-2 { bottom: 16%; left: -8%; animation: floaty 6s ease-in-out infinite .5s; }
.fb-3 { bottom: -4%; right: 8%; animation: floaty 5.5s ease-in-out infinite 1s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

.about-info h2 { font-size: clamp(1.9rem,3.5vw,2.6rem); margin-bottom: .6rem; color: var(--teal-deep); }
body.dark .about-info h2 { color: var(--teal-bright); }
.about-info h3 { font-size: 1.1rem; font-weight: 500; color: var(--text-soft); margin-bottom: 1.4rem; }
.about-info p { margin-bottom: 1.2rem; color: var(--text-soft); font-size: 1.05rem; }

.skill-bars { margin-top: 2rem; display: grid; gap: 1.1rem; }
.skill-top { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; margin-bottom: .4rem; color: var(--text); }
.bar { height: 9px; background: var(--border); border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--teal-bright), var(--orange)); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.bar.animate i { width: var(--w); }

@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
  .fb-1 { right: 4%; } .fb-2 { left: 2%; }
}
@media (max-width: 576px) {
  .float-badge { padding: .6rem .8rem; gap: .5rem; }
  .float-badge strong { font-size: .9rem; }
  .fb-1 { top: -4%; right: 0; }
  .fb-2 { bottom: 5%; left: 0; }
  .fb-3 { bottom: -10%; right: 0; }
}

/* =========================== STATS BAND ============================== */
.stats-band {
  background: linear-gradient(120deg, var(--teal-deep), var(--teal-bright));
  color: #fff; padding: 4rem 0; position: relative; overflow: hidden;
}
.stats-band::before { content:''; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px); background-size: 22px 22px; opacity:.4; }
.stats-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 1.5rem; position: relative; z-index: 1; text-align: center; }
.stat-box { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,4vw,2.8rem); line-height: 1; }
.stat-label { font-size: .85rem; margin-top: .4rem; opacity: .9; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(3,1fr); gap: 2rem; } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: repeat(2,1fr); gap: 1.5rem; } }

/* =========================== WHY GRID =============================== */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; }
.why-card { padding: 1.8rem 1.5rem; text-align: center; transition: transform .3s ease, box-shadow .3s ease; }
.why-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.why-card i { font-size: 1.8rem; color: var(--teal-deep); margin-bottom: .9rem; }
body.dark .why-card i { color: var(--teal-bright); }
.why-card h4 { font-size: 1.1rem; margin-bottom: .4rem; color: var(--text); }
.why-card p { font-size: .88rem; color: var(--text-soft); }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 576px) { .why-grid { grid-template-columns: 1fr; } }

/* ========================= SEQUENCE CARDS ========================== */
.sequence-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; position: relative; margin-top: 4rem; }
.sequence-grid::before { content:''; position:absolute; top: 40px; left: 12%; right: 12%; height: 2px; background: var(--teal-bright); opacity: .3; z-index: 0; }
.sequence-card {
  position: relative; z-index: 1; background: var(--surface); padding: 3rem 2rem 2rem;
  border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: center;
  transition: transform .3s ease; overflow: hidden; border: 1px solid var(--border);
}
.sequence-card::after { content:''; position:absolute; bottom:0; left:0; width:0; height:4px; background: var(--orange); transition: width .5s cubic-bezier(.25,1,.5,1); }
.sequence-card:hover::after { width: 100%; }
.sequence-card:hover { transform: translateY(-10px); }
.sequence-num { width: 80px; height: 80px; margin: -5rem auto 1.5rem; }
.sequence-num .result-ring-content { background: var(--surface); font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--teal-deep); }
.sequence-card h3 { font-size: 1.4rem; margin-bottom: .8rem; color: var(--text); }
.sequence-card p { font-size: .95rem; color: var(--text-soft); }
@media (max-width: 900px) { .sequence-grid { grid-template-columns: 1fr; gap: 4rem; } .sequence-grid::before { display:none; } .sequence-card { padding-top: 3.5rem; } }

/* =========================== ROADMAP TIMELINE ====================== */
.roadmap-section .timeline { display: flex; gap: 1rem; align-items: stretch; overflow-x: auto; padding: 1rem 0 1.5rem; }
.tl-item { position: relative; flex: 1 0 150px; padding-top: 1.4rem; }
.tl-item::before { content:''; position:absolute; top: 6px; left: 0; right: -1rem; height: 2px; background: rgba(255,255,255,.2); }
.tl-item:last-child::before { display: none; }
.tl-dot { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,117,31,.25); }
.tl-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); padding: 1.3rem 1.1rem; height: 100%; transition: transform .3s ease, background .3s ease; }
.tl-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.12); }
.tl-card i { font-size: 1.5rem; color: var(--teal-bright); margin-bottom: .6rem; }
.tl-card h4 { color: #fff; font-size: 1.05rem; margin-bottom: .3rem; }
.tl-card p { color: rgba(255,255,255,.7); font-size: .82rem; }
.tl-card.highlight { background: linear-gradient(135deg, var(--orange), #ff9d5c); border: none; }
.tl-card.highlight i, .tl-card.highlight p { color: #fff; }

/* ========================= SYLLABUS FLOW =========================== */
.flow-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
.flow-node {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  min-width: 130px; box-shadow: var(--shadow); transition: transform .3s ease;
}
.flow-node:hover { transform: translateY(-6px) scale(1.04); }
.flow-node i { font-size: 1.5rem; color: var(--orange); }
.flow-node span { font-weight: 600; font-size: .92rem; color: var(--text); font-family: var(--font-display); }
.flow-arrow i { color: var(--teal-deep); font-size: 1.1rem; opacity: .55; }
@media (max-width: 768px) { .flow-arrow { transform: rotate(90deg); } }

/* =========================== LMS SHOWCASE ========================== */
.lms-show-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.lms-copy h2 { font-size: clamp(1.8rem,3.5vw,2.6rem); margin-bottom: 1rem; color: var(--text); }
.lms-copy > p { color: var(--text-soft); margin-bottom: 1.5rem; font-size: 1.05rem; }
.lms-feats { display: grid; gap: .7rem; margin-bottom: 2rem; }
.lms-feats li { display: flex; align-items: center; gap: .7rem; color: var(--text); font-weight: 500; }
.lms-feats i { color: var(--green); }

.lms-mockups { position: relative; height: 380px; }
.device { position: absolute; }
.laptop { width: 90%; left: 5%; top: 30px; }
.laptop-screen { background: #0e2a28; border: 8px solid #14312e; border-radius: 14px 14px 0 0; padding: 6px; box-shadow: var(--shadow-lg); }
.laptop-base { height: 14px; background: linear-gradient(#1c3d3a,#0e2a28); border-radius: 0 0 12px 12px; margin: 0 -4%; }
.mock-ui { background: var(--bg-alt); border-radius: 8px; overflow: hidden; height: 220px; }
.mock-bar { display: flex; gap: 6px; padding: 8px 10px; background: var(--surface); }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: #ddd; }
.mock-bar span:nth-child(1){background:#ff5f57;} .mock-bar span:nth-child(2){background:#febc2e;} .mock-bar span:nth-child(3){background:#28c840;}
.mock-body { display: flex; height: calc(100% - 30px); }
.mock-side { width: 26%; background: linear-gradient(180deg,var(--teal-deep),var(--teal-bright)); }
.mock-main { flex: 1; padding: 12px; }
.mock-hero { height: 46px; border-radius: 6px; background: linear-gradient(90deg,rgba(255,117,31,.7),rgba(255,117,31,.3)); margin-bottom: 10px; }
.mock-row { height: 12px; border-radius: 6px; background: var(--border); margin-bottom: 8px; }
.mock-row.short { width: 60%; }
.mock-cards { display: flex; gap: 8px; margin-top: 12px; }
.mock-cards span { flex: 1; height: 44px; border-radius: 6px; background: var(--surface); box-shadow: var(--shadow); }

.phone { width: 128px; right: 0; bottom: -10px; animation: floaty 5s ease-in-out infinite; }
.phone-screen { background: #0e2a28; border: 7px solid #14312e; border-radius: 26px; padding: 10px 8px; height: 260px; position: relative; box-shadow: var(--shadow-lg); }
.mock-notch { width: 46px; height: 6px; background: #14312e; border-radius: 4px; margin: 0 auto 10px; }
.mock-phero { height: 70px; border-radius: 8px; background: linear-gradient(135deg,var(--teal-bright),var(--teal-deep)); margin-bottom: 10px; }
.mock-prow { height: 10px; border-radius: 5px; background: rgba(255,255,255,.25); margin-bottom: 7px; }
.mock-prow.short { width: 60%; }
.mock-pcards { display: flex; gap: 6px; margin-top: 10px; }
.mock-pcards span { flex: 1; height: 50px; border-radius: 8px; background: rgba(255,255,255,.15); }
@media (max-width: 900px) { .lms-show-grid { grid-template-columns: 1fr; } .lms-mockups { height: 340px; margin-top: 1rem; } }

/* =========================== RESULTS =============================== */
.results-swiper, .testi-swiper { padding-bottom: 3rem !important; }
.result-slide {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem 1.5rem; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.result-slide::before { content:''; position:absolute; top:0; left:0; right:0; height:5px; background: linear-gradient(90deg,var(--teal-bright),var(--orange)); }
.result-slide .grade {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: #fff;
  background: linear-gradient(135deg, var(--green), var(--teal-deep));
}
.result-slide h4 { font-size: 1.15rem; color: var(--text); margin-bottom: .2rem; }
.result-slide p { color: var(--text-soft); font-size: .85rem; margin-bottom: .5rem; }
.result-slide small { color: var(--teal-deep); font-weight: 600; }
body.dark .result-slide small { color: var(--teal-bright); }

/* ========================= TESTIMONIALS ============================ */
.testi-card { padding: 2rem; height: 100%; }
.testi-card .stars { color: #ffb400; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 1rem; }
.testi-card p { color: var(--text); font-size: 1rem; margin-bottom: 1.4rem; }
.testi-who { display: flex; align-items: center; gap: .8rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: linear-gradient(135deg,var(--orange),#ff9d5c); }
.testi-who strong { display: block; color: var(--text); font-size: .95rem; }
.testi-who small { color: var(--text-soft); font-size: .8rem; }
.swiper-pagination-bullet-active { background: var(--orange) !important; }

/* =========================== INSTITUTES ============================ */
.institutes-section h2 { color: var(--teal-deep); margin-bottom: 2.5rem; font-size: clamp(1.8rem,3.5vw,2.4rem); }
body.dark .institutes-section h2 { color: var(--teal-bright); }
.institutes-row { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.institute-badge { display: flex; align-items: center; gap: 1rem; padding: 1.4rem 2.6rem; }
.institute-badge i { color: var(--orange); font-size: 1.5rem; }
.institute-badge strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--text); }
.institute-badge small { color: var(--text-soft); }
@media (max-width: 576px) { .institute-badge { width: 100%; justify-content: center; } }

/* ============================ PRICING ============================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; align-items: stretch; }
.price-card { padding: 2.4rem 2rem; text-align: center; position: relative; transition: transform .35s ease, box-shadow .35s ease; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card.popular { border: 2px solid var(--orange); transform: scale(1.04); }
.price-card.popular:hover { transform: scale(1.04) translateY(-8px); }
.pop-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-size: .78rem; font-weight: 600; padding: .3rem 1rem; border-radius: var(--radius-pill); box-shadow: 0 6px 16px rgba(255,117,31,.4); }
.price-card h3 { font-size: 1.4rem; color: var(--text); margin-bottom: 1rem; }
.price { font-family: var(--font-display); font-weight: 700; color: var(--teal-deep); margin-bottom: 1.5rem; font-size: 1.2rem; }
body.dark .price { color: var(--teal-bright); }
.price span { font-size: 2.6rem; }
.price small { font-size: .9rem; color: var(--text-soft); font-weight: 500; }
.price-card ul { text-align: left; display: grid; gap: .7rem; margin-bottom: 1.8rem; flex: 1; }
.price-card li { display: flex; align-items: center; gap: .7rem; color: var(--text); font-size: .93rem; }
.price-card li i { color: var(--green); }
.price-card li.off { color: var(--text-soft); opacity: .6; }
.price-card li.off i { color: #c0392b; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } .price-card.popular { transform: none; } }

/* =========================== TIMETABLE ============================= */
.timetable-card { max-width: 800px; margin: 0 auto; padding: 3.5rem 2rem; text-align: center; border: 2px dashed var(--teal-bright); }
.timetable-card h3 { font-size: clamp(1.5rem,3vw,2rem); margin-bottom: 1rem; color: var(--teal-deep); }
body.dark .timetable-card h3 { color: var(--teal-bright); }
.timetable-card h3 i { color: var(--orange); margin-right: 8px; }
.timetable-card p { color: var(--text-soft); margin-bottom: 2rem; font-size: 1.05rem; }

/* ============================== FAQ =============================== */
.faq-list { display: grid; gap: 1rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 1.3rem 1.5rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q i { transition: transform .3s ease; color: var(--orange); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 1.5rem 1.3rem; color: var(--text-soft); }

/* ============================ CTA BAND ============================ */
.cta-band { position: relative; padding: 6rem 0; overflow: hidden; background: linear-gradient(120deg, var(--ink), #123c39); color: #fff; }
.cta-band::before { content:''; position:absolute; width:500px; height:500px; border-radius:50%; background: radial-gradient(circle,rgba(255,117,31,.4),transparent 70%); top:-30%; right:-5%; filter: blur(40px); }
.cta-band::after { content:''; position:absolute; width:400px; height:400px; border-radius:50%; background: radial-gradient(circle,rgba(32,226,215,.4),transparent 70%); bottom:-30%; left:-5%; filter: blur(40px); }
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto; }
.cta-tag { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,117,31,.2); border: 1px solid rgba(255,117,31,.4); color: #ffcaa0; padding: .5rem 1.2rem; border-radius: var(--radius-pill); font-size: .85rem; font-weight: 600; margin-bottom: 1.4rem; }
.cta-inner h2 { font-size: clamp(2rem,4.5vw,3rem); margin-bottom: 1rem; }
.cta-inner > p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 2.2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================= FOOTER ============================= */
.footer { background: var(--ink); color: #fff; padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; margin-bottom: 1rem; }
.footer-brand img { height: 46px; width: auto; }
.footer-about { opacity: .8; margin-bottom: 1.4rem; max-width: 280px; font-size: .95rem; }
.socials { display: flex; gap: .7rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); transition: all .3s ease; }
.socials a:hover { background: var(--orange); color: #fff; transform: translateY(-4px); }
.footer-col h4 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 1.3rem; color: var(--teal-bright); }
.footer-links li { margin-bottom: .7rem; }
.footer-links a { opacity: .8; }
.footer-links a:hover { opacity: 1; color: var(--teal-bright); padding-left: 4px; }
.footer-contact li { display: flex; gap: 1rem; margin-bottom: 1rem; opacity: .85; }
.footer-contact i { margin-top: 5px; color: var(--orange); }
.footer-contact a:hover { color: var(--teal-bright); }
.pay-note { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 1.2rem; border-radius: var(--radius-sm); }
.pay-note i { color: var(--green); font-size: 1.5rem; margin-bottom: .7rem; }
.pay-note p { font-size: .92rem; opacity: .9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: .9rem; opacity: .65; flex-wrap: wrap; gap: .6rem; }
.footer-bottom a { color: var(--teal-bright); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ========================= FLOATING BUTTONS ======================= */
.fab-stack { position: fixed; right: 20px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; gap: .8rem; align-items: flex-end; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.3rem; border: none; cursor: pointer; box-shadow: 0 10px 26px rgba(0,0,0,.25); transition: transform .25s ease; position: relative; }
.fab:hover { transform: scale(1.1); }
.fab-wa { background: #25d366; }
.fab-call { background: var(--teal-deep); }
.fab-chat { background: var(--orange); }
.fab-wa::before { content:''; position:absolute; inset:0; border-radius:50%; box-shadow:0 0 0 0 rgba(37,211,102,.6); animation: glowPulse 2.4s infinite; }
.fab-badge { position: absolute; top: -3px; right: -3px; background: var(--orange); color: #fff; font-size: .7rem; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #fff; }

.chat-pop {
  position: absolute; bottom: 72px; right: 0; width: 300px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  overflow: hidden; transform: translateY(20px) scale(.92); opacity: 0; pointer-events: none;
  transform-origin: bottom right; transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.chat-pop.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat-pop-head { display: flex; align-items: center; gap: .7rem; padding: 1rem; background: var(--teal-deep); color: #fff; }
.chat-pop-head img { width: 38px; height: 38px; border-radius: 50%; background: #fff; padding: 3px; }
.chat-pop-head strong { display: block; font-size: .95rem; }
.chat-pop-head small { font-size: .75rem; opacity: .85; }
.chat-pop-body { padding: 1.2rem; }
.chat-pop-body p { font-size: .92rem; color: var(--text-soft); margin-bottom: 1rem; }

/* ===================== YOUTUBE POPUP VIDEO SECTION & MODAL ===================== */
.video-popup-section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.video-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--teal-deep), #1a2a29);
  overflow: hidden;
}
.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.video-card:hover .video-thumb-wrap img {
  transform: scale(1.06);
  filter: brightness(0.85);
}
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 100%);
  transition: background 0.3s ease;
}
.video-card:hover .video-play-overlay {
  background: radial-gradient(circle, rgba(41,172,165,0.25) 0%, rgba(0,0,0,0.6) 100%);
}
.video-play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 0 0 0 rgba(255, 117, 31, 0.7);
  animation: glowPulse 2s infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
  padding-left: 4px;
}
.video-card:hover .video-play-btn {
  transform: scale(1.15);
  background: var(--teal-bright);
}
.video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.video-badge i {
  color: #ff0000;
}
.video-card-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.video-card-info h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.video-card-info p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.video-watch-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-bright);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.video-watch-link i {
  transition: transform 0.3s ease;
}
.video-card:hover .video-watch-link i {
  transform: translateX(4px);
}

/* Video Lightbox Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 15, 15, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: #000;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.video-modal.open .video-modal-content {
  transform: scale(1);
}
.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.video-modal-close:hover {
  background: var(--orange);
  transform: rotate(90deg);
}
.video-responsive-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}
.video-responsive-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
@media (max-width: 768px) {
  .video-modal {
    padding: 1rem;
  }
}

/* ===================== ABOUT SECTION INSIGHT VIDEO ===================== */
.about-video-frame {
  position: relative;
  width: 100%;
  background: #111;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-insight-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================== WHATSAPP GROUP HOVER TOOLTIP & CARDS ===================== */
.wa-group-wrapper {
  position: relative;
  display: inline-block;
}
.wa-group-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 320px;
  background: var(--surface);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1000;
  pointer-events: none;
}
/* Show on hover of icon or wrapper, or when active */
.wa-group-wrapper:hover .wa-group-tooltip,
.fab-wa:hover + .wa-group-tooltip,
.wa-group-tooltip:hover,
.wa-group-tooltip.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wa-group-tooltip-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.8rem;
}
.wa-group-tooltip-header i {
  font-size: 1.6rem;
  color: #25d366;
}
.wa-group-tooltip-header strong {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.3;
}
.wa-group-tooltip-body p {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.wa-group-tooltip-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}
.wa-group-tooltip-list li {
  font-size: 0.83rem;
  color: var(--text);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.wa-group-tooltip-list li i {
  color: #25d366;
  font-size: 0.9rem;
}
.wa-group-tooltip .btn-wa-join {
  width: 100%;
  background: #25d366;
  color: #fff;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}
.wa-group-tooltip .btn-wa-join:hover {
  background: #1ebc59;
  transform: translateY(-2px);
}
/* Position adjustment when attached to FAB stack */
.fab-stack .wa-group-tooltip {
  bottom: 66px;
  right: 0;
}

/* ===================== LMS SUPPORT PAGE STYLES ===================== */
.lms-support-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--teal-deep), #122221);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lms-support-hero .hero-mesh {
  opacity: 0.35;
}
.lms-support-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-family: var(--font-display);
  margin: 1rem 0 1rem;
  line-height: 1.2;
}
.lms-support-hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.lms-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
}
.lms-guide-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
}
.lms-guide-card h3 {
  font-size: 1.5rem;
  margin: 1.2rem 0 1.5rem;
  color: var(--teal-deep);
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.8rem;
}
body.dark .lms-guide-card h3 {
  color: var(--teal-bright);
}
.lms-step {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.lms-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-bright);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(41, 172, 165, 0.35);
}
.lms-step-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.lms-step-text p {
  font-size: 0.94rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}
.lms-tech-support {
  padding: 4.5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lms-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.lms-tech-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lms-tech-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.lms-tech-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(41, 172, 165, 0.12);
  color: var(--teal-bright);
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
}
.lms-tech-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.lms-tech-card p {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 1.2rem;
}

/* ========================= AOS reduced motion ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-mesh, .blob, .marquee-track { animation: none !important; }
}
