/* ==========================================================================
   R.S. Computer Institute - Design System & Modern Stylesheet
   ========================================================================== */

/* --- CSS Variables & Tokens --- */
:root {
  /* Brand Colors */
  --primary: #1267dc;
  --primary-hover: #0c52b5;
  --primary-deep: #073a80;
  --primary-glow: rgba(18, 103, 220, 0.28);
  --primary-subtle: #eaf3ff;

  --accent-cyan: #00d2ff;
  --accent-cyan-glow: rgba(0, 210, 255, 0.3);
  --accent-emerald: #10b981;
  --accent-gold: #f59e0b;
  --whatsapp: #25d366;

  /* Neutrals */
  --navy-950: #040e1e;
  --navy-900: #071936;
  --navy-800: #0b254e;
  --ink: #0d223f;
  --ink-light: #243d60;
  --muted: #5e738f;
  --muted-light: #899cb4;

  /* Surfaces & Borders */
  --bg-page: #ffffff;
  --bg-alt: #f6faff;
  --bg-dark: #071731;
  --surface: #ffffff;
  --line: #e1ebf7;
  --line-light: #edf3fa;

  /* Shadows */
  --shadow-xs: 0 2px 4px rgba(11, 42, 85, 0.04);
  --shadow-sm: 0 4px 12px rgba(11, 42, 85, 0.06);
  --shadow-md: 0 10px 25px -4px rgba(11, 42, 85, 0.08);
  --shadow-lg: 0 20px 40px -8px rgba(11, 42, 85, 0.12);
  --shadow-xl: 0 28px 60px -12px rgba(11, 42, 85, 0.18);
  --shadow-card-hover: 0 24px 50px -10px rgba(18, 103, 220, 0.16);

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.35s;
  --duration-slow: 0.6s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg-page);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f6fc;
}
::-webkit-scrollbar-thumb {
  background: #bcd4f5;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- Reading Progress Bar --- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3.5px;
  background: linear-gradient(90deg, #1267dc, #00d2ff, #10b981);
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* --- Container --- */
.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* --- Typography Utilities --- */
.highlight {
  font-style: normal;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.highlight-cyan {
  font-style: normal;
  color: var(--accent-cyan);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #76b5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow.center {
  justify-content: center;
}

.eyebrow.light {
  color: #a3d0ff;
}

.eyebrow-bar {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.2;
  letter-spacing: -1.2px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-title.text-white {
  color: #ffffff;
}

.section-desc {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
}

.section-desc.max-w-lg {
  max-width: 620px;
  margin-inline: auto;
}

.section-desc-light {
  font-size: 15.5px;
  line-height: 1.7;
  color: #bdd7fa;
  max-width: 540px;
  margin-bottom: 32px;
}

.text-center {
  text-align: center;
}

/* --- Buttons --- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-spring);
  white-space: nowrap;
}

.button svg {
  width: 17px;
  height: 17px;
  transition: transform var(--duration-fast) ease;
}

.button:hover svg {
  transform: translateX(4px);
}

.button-sm {
  padding: 9px 16px;
  font-size: 12.5px;
  border-radius: 7px;
}

.button-sm svg {
  width: 14px;
  height: 14px;
}

.button-lg {
  padding: 15px 28px;
  font-size: 15px;
  border-radius: 10px;
}

/* Primary Button with Shine Effect */
.button-primary {
  background: linear-gradient(135deg, #1670e8 0%, #0d59c5 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(18, 103, 220, 0.28);
}

.button-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(18, 103, 220, 0.4);
  background: linear-gradient(135deg, #1d79f5 0%, #0e60d4 100%);
}

.button-primary:hover::before {
  left: 140%;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.button-glass {
  background: rgba(8, 28, 64, 0.45);
  color: #72baff;
  border-color: rgba(114, 186, 255, 0.3);
  backdrop-filter: blur(8px);
}

.button-glass:hover {
  background: rgba(18, 103, 220, 0.35);
  color: #ffffff;
  border-color: #72baff;
  transform: translateY(-3px);
}

.button-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--line);
}

.button-outline:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
  transform: translateY(-2px);
}

.button-white {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.button-white:hover {
  background: #f4f9ff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.button-ghost-white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.button-ghost-white:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.w-full {
  width: 100%;
}

/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 84px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 42, 80, 0.07);
  transition: all var(--duration-normal) ease;
}

.site-header.scrolled {
  height: 72px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 30px rgba(7, 25, 54, 0.08);
}

.nav-container {
  max-width: 1320px;
  height: 100%;
  margin-inline: auto;
  padding-inline: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1877f2 0%, #0a4aa1 100%);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(18, 103, 220, 0.35);
  transition: transform var(--duration-normal) var(--ease-spring);
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-4deg);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-text strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.brand-text small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

/* Desktop Nav Links */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--ink-light);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color var(--duration-fast) ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  border-radius: 4px;
  transition: width var(--duration-normal) var(--ease-spring);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-nav-footer {
  display: none;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-light);
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  transition: all var(--duration-fast) ease;
}

.nav-phone svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

.nav-phone:hover {
  background: var(--primary-subtle);
  border-color: var(--primary);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.menu-toggle:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  background: #061836 url('assets/computer-lab-hero.png') center center/cover no-repeat;
  color: #ffffff;
  overflow: hidden;
  padding: 80px 0 100px;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4, 16, 38, 0.94) 0%,
    rgba(7, 30, 70, 0.85) 50%,
    rgba(3, 13, 31, 0.92) 100%
  );
  z-index: 1;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(18, 103, 220, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 210, 255, 0.22) 0%, transparent 45%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(18, 103, 220, 0.25);
  border: 1px solid rgba(114, 186, 255, 0.35);
  backdrop-filter: blur(8px);
  color: #bfe0ff;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 22px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 10px #00d2ff;
  animation: pulseGlow 2s infinite ease-in-out;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.12;
  letter-spacing: -2px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: clamp(15.5px, 1.3vw, 18px);
  line-height: 1.75;
  color: #d6e8ff;
  max-width: 580px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.avatars {
  display: flex;
}

.avatar-item {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: grid;
  place-items: center;
  margin-right: -10px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.trust-info .stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fbbf24;
  font-size: 12px;
  margin-bottom: 3px;
}

.trust-info .stars strong {
  color: #ffffff;
  margin-left: 6px;
  font-size: 13px;
}

.trust-info p {
  font-size: 12.5px;
  color: #c9e0fa;
}

.trust-info strong {
  color: #ffffff;
}

/* Floating Feature Badges */
.hero-visual-col {
  position: relative;
  min-height: 380px;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(7, 28, 64, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.floating-badge:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.35);
}

.floating-badge strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.floating-badge small {
  display: block;
  font-size: 11.5px;
  color: #aed1fa;
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.icon-cyan {
  background: rgba(0, 210, 255, 0.18);
  color: #00d2ff;
  border: 1px solid rgba(0, 210, 255, 0.4);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.icon-gold {
  background: rgba(245, 158, 11, 0.18);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-top-right {
  top: 15px;
  right: 20px;
  animation: floatSlow 5s ease-in-out infinite;
}

.badge-bottom-left {
  bottom: 25px;
  left: 20px;
  animation: floatReverse 6s ease-in-out infinite;
}

.badge-mid-right {
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  animation: floatSlow 5.5s ease-in-out infinite 1s;
}

/* Mouse Wheel Scroll Indicator */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #b7dbff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  transition: all var(--duration-fast) ease;
}

.scroll-cue:hover {
  color: #ffffff;
}

.mouse-icon {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  position: relative;
}

.mouse-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5px;
  height: 6px;
  background: #00d2ff;
  border-radius: 3px;
  animation: mouseWheel 2s infinite ease-in-out;
}

/* --- Infinite Course Marquee Strip --- */
.course-strip {
  background: #f8fbff;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  color: var(--ink-light);
  font-size: 13.5px;
  white-space: nowrap;
  transition: all var(--duration-fast) ease;
}

.marquee-item svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
}

.marquee-item strong {
  color: var(--ink);
}

.marquee-item:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
  transform: translateY(-2px);
  color: var(--primary);
}

/* --- Common Section Styles --- */
.section {
  padding: 100px 0;
}

/* --- About Section --- */
.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 80px;
}

.image-stack {
  position: relative;
  min-height: 480px;
}

.about-image-card {
  position: relative;
  width: 90%;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-glow {
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, rgba(18, 103, 220, 0.3), rgba(0, 210, 255, 0.2));
  filter: blur(20px);
  z-index: 0;
  border-radius: 24px;
}

.about-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 103, 220, 0.25), rgba(7, 28, 64, 0.4)),
              url('https://images.unsplash.com/photo-1523580494863-6f3031224c94?auto=format&fit=crop&w=1000&q=85') center/cover;
  border-radius: 20px;
}

.experience-card {
  position: absolute;
  top: 40px;
  right: 0;
  background: linear-gradient(145deg, #1267dc, #09479b);
  color: #ffffff;
  padding: 24px 26px;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(18, 103, 220, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
  animation: floatSlow 5s ease-in-out infinite;
}

.exp-number {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  display: flex;
  align-items: baseline;
}

.exp-number span:last-child {
  color: var(--accent-cyan);
}

.experience-card p {
  font-size: 12px;
  line-height: 1.5;
  color: #d6e8ff;
  margin-top: 8px;
  font-weight: 500;
}

.mini-trust-card {
  position: absolute;
  bottom: 0;
  left: 20px;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
  transition: transform var(--duration-fast) ease;
}

.mini-trust-card:hover {
  transform: translateY(-4px);
}

.mini-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.mini-icon svg {
  width: 22px;
  height: 22px;
}

.mini-trust-card strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
}

.mini-trust-card small {
  font-size: 11.5px;
  color: var(--muted);
}

/* About Copy */
.about-features-grid {
  display: grid;
  gap: 20px;
  margin: 28px 0;
  padding-block: 24px;
  border-block: 1px solid var(--line);
}

.about-feature-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid transparent;
  transition: all var(--duration-fast) ease;
}

.about-feature-box:hover {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.feature-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.about-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-xs);
  transition: all var(--duration-fast) ease;
}

.stat-pill:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.stat-pill svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.stat-pill strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.stat-pill small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

/* --- Courses Section --- */
.course-section {
  background: var(--bg-alt);
}

.section-heading {
  margin-bottom: 48px;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all var(--duration-fast) ease;
}

.filter-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(18, 103, 220, 0.3);
}

/* Course Cards Grid */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.course-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-spring);
}

.card-glow-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: #bcd4f5;
}

.course-card:hover .card-glow-bar {
  opacity: 1;
}

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

.course-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.course-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: grid;
  place-items: center;
  transition: all var(--duration-fast) ease;
}

.course-card:hover .course-icon-badge {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08) rotate(-4deg);
}

.course-icon-badge svg {
  width: 26px;
  height: 26px;
}

.badge-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.tag-popular {
  background: #fee2e2;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tag-popular svg {
  width: 12px;
  height: 12px;
}

.tag-cert {
  background: #eff6ff;
  color: #2563eb;
}

.tag-govt {
  background: #ecfdf5;
  color: #059669;
}

.tag-primary {
  background: var(--primary-subtle);
  color: var(--primary);
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.star-row {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}

.star-row svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.course-rating span {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.course-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-bottom: 3px;
}

.course-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.course-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.course-highlights {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.course-highlights li {
  font-size: 12px;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-highlights li svg {
  width: 14px;
  height: 14px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* Course Footer */
.course-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

.meta-item svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

.course-price small {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted-light);
  font-weight: 600;
}

.course-price strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.course-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.course-note-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: var(--shadow-xs);
}

.course-note-box svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.course-note-box p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* --- Why Choose Us Section --- */
.why-section {
  background: linear-gradient(135deg, #051633 0%, #092c63 50%, #041430 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 110px 0;
}

.why-mesh-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(18, 103, 220, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 210, 255, 0.25) 0%, transparent 45%);
  pointer-events: none;
}

.why-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 80px;
}

/* 4 Stat Counter Tiles */
.why-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 34px;
}

.why-stat-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 20px;
  backdrop-filter: blur(10px);
  transition: all var(--duration-fast) ease;
}

.why-stat-box:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 210, 255, 0.4);
  transform: translateY(-3px);
}

.why-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  font-family: var(--font-heading);
}

.why-stat-label {
  font-size: 12.5px;
  color: #b5d5fa;
  margin-top: 4px;
}

/* Benefit Cards */
.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  backdrop-filter: blur(8px);
  transition: all var(--duration-normal) var(--ease-spring);
  cursor: default;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(114, 186, 255, 0.4);
  transform: translateX(8px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(18, 103, 220, 0.35);
  border: 1px solid rgba(114, 186, 255, 0.3);
  color: #76b5ff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all var(--duration-fast) ease;
}

.benefit-card:hover .benefit-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.1) rotate(-4deg);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.benefit-desc {
  font-size: 12.5px;
  color: #bdd6f5;
  line-height: 1.55;
  margin: 0;
}

.benefit-hover-arrow {
  color: #76b5ff;
  opacity: 0.6;
  margin-left: auto;
  transition: all var(--duration-fast) ease;
}

.benefit-card:hover .benefit-hover-arrow {
  opacity: 1;
  color: #ffffff;
  transform: translate(3px, -3px);
}

.benefit-hover-arrow svg {
  width: 20px;
  height: 20px;
}

/* --- Gallery Section --- */
.gallery-section {
  background: var(--bg-page);
}

.gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 20px;
  margin-top: 36px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #091c36;
}

.gallery-main {
  grid-row: span 2;
}

.gallery-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.gallery-main img {
  object-position: center;
}

.gallery-two img {
  object-position: center 30%;
}

.gallery-three img {
  object-position: center;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(4, 15, 33, 0.88) 0%,
    rgba(4, 15, 33, 0.4) 40%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: #ffffff;
  opacity: 0.95;
  transition: all var(--duration-normal) ease;
}

.zoom-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: grid;
  place-items: center;
  align-self: flex-end;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--duration-fast) ease;
}

.gallery-item:hover .zoom-btn {
  opacity: 1;
  transform: scale(1);
}

.zoom-btn svg {
  width: 18px;
  height: 18px;
}

.gallery-overlay figcaption {
  transform: translateY(6px);
  transition: transform var(--duration-fast) ease;
}

.gallery-item:hover .gallery-overlay figcaption {
  transform: translateY(0);
}

.fig-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #72baff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.gallery-overlay h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 12.5px;
  color: #c9e0fa;
  margin: 0;
}

/* --- Testimonials Section --- */
.testimonials-section {
  background: var(--bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--duration-normal) var(--ease-spring);
}

.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-card-hover);
  border-color: #bcd4f5;
}

.testimonial-quote-icon {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 56px;
  font-family: Georgia, serif;
  line-height: 1;
  color: #e5f0ff;
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-light);
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line-light);
  padding-top: 18px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.author-role {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

/* --- FAQ Accordion Section --- */
.faq-section {
  background: var(--bg-page);
}

.faq-accordion {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--duration-fast) ease;
}

.faq-item:hover {
  border-color: #bcd4f5;
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(18, 103, 220, 0.1);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: color var(--duration-fast) ease;
}

.faq-item.active .faq-trigger {
  color: var(--primary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-smooth);
}

.faq-content p {
  padding: 0 24px 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* --- Contact Section --- */
.contact-section {
  background: var(--bg-alt);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: flex-start;
  gap: 80px;
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin: 32px 0 24px;
}

.contact-method-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-xs);
  transition: all var(--duration-fast) ease;
}

.contact-method-card:hover {
  border-color: var(--primary);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.method-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all var(--duration-fast) ease;
}

.method-icon svg {
  width: 20px;
  height: 20px;
}

.contact-method-card:hover .method-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

.method-icon.icon-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.contact-method-card:hover .method-icon.icon-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.method-info small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
}

.method-info strong {
  font-size: 14px;
  color: var(--ink);
}

.method-arrow {
  margin-left: auto;
  color: var(--muted-light);
  width: 18px;
  height: 18px;
  transition: transform var(--duration-fast) ease;
}

.contact-method-card:hover .method-arrow {
  color: var(--primary);
  transform: translate(3px, -3px);
}

.map-wrap {
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Form */
.contact-form-wrap {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.form-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.form-badge svg {
  width: 22px;
  height: 22px;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.form-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-light);
  margin-bottom: 7px;
}

.form-group .required {
  color: #e11d48;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  width: 17px;
  height: 17px;
  pointer-events: none;
  transition: color var(--duration-fast) ease;
}

.input-icon-textarea {
  top: 14px;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
  transition: all var(--duration-fast) ease;
}

.input-wrap select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235e738f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.input-wrap textarea {
  resize: vertical;
  min-height: 105px;
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(18, 103, 220, 0.12);
}

.input-wrap input:focus + .input-icon,
.input-wrap textarea:focus + .input-icon {
  color: var(--primary);
}

.submit-button {
  width: 100%;
  margin-top: 10px;
}

.form-status {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
  min-height: 20px;
  font-weight: 600;
  transition: all var(--duration-fast) ease;
}

.form-status.success {
  color: #059669;
  background: #ecfdf5;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  color: #dc2626;
  background: #fef2f2;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #fecaca;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #1267dc 0%, #084393 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 70px 0;
}

.cta-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(0, 210, 255, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.badge-pulsing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}

.pulse-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 10px #00d2ff;
  animation: pulseGlow 1.8s infinite;
}

.cta-title {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.cta-desc {
  font-size: 15px;
  color: #d6e8ff;
  margin: 0;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--navy-950);
  color: #a4bedc;
  padding-top: 70px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 50px;
}

.footer-brand .brand-text strong {
  color: #ffffff;
}

.footer-brand .brand-text small {
  color: #7ca8d8;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: #8faecc;
  margin: 18px 0 22px;
  max-width: 320px;
}

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

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a4bedc;
  display: grid;
  place-items: center;
  transition: all var(--duration-fast) ease;
}

.social-link:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.social-link svg {
  width: 17px;
  height: 17px;
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}

.footer-links-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links-list a {
  font-size: 13px;
  color: #8faecc;
  transition: all var(--duration-fast) ease;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
  display: inline-block;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #8faecc;
  margin-bottom: 12px;
}

.footer-info-item svg {
  width: 17px;
  height: 17px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-info-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #6983a4;
}

/* --- Course Syllabus Modal --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 14, 30, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  max-width: 620px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: scale(0.92) translateY(20px);
  transition: transform var(--duration-normal) var(--ease-spring);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--duration-fast) ease;
}

.modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fecaca;
  transform: rotate(90deg);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.modal-desc {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 24px;
}

.modal-modules-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.module-item {
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.module-item h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.module-item h5 svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.module-item p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  background: var(--primary-subtle);
  border-radius: 12px;
  margin-bottom: 24px;
  text-align: center;
}

.modal-meta-item small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.modal-meta-item strong {
  font-size: 14px;
  color: var(--primary);
}

/* --- Gallery Lightbox Modal --- */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 11, 24, 0.92);
  backdrop-filter: blur(10px);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) ease;
}

.lightbox-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--duration-fast) ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.lightbox-close svg {
  width: 22px;
  height: 22px;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-height: 75vh;
  width: auto;
  margin-inline: auto;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-caption {
  font-size: 14px;
  color: #d6e8ff;
  margin-top: 16px;
  font-weight: 500;
}

/* --- Floating Action Buttons --- */
.floating-actions-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  color: #ffffff;
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all var(--duration-normal) var(--ease-spring);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

.floating-btn svg {
  width: 22px;
  height: 22px;
}

.btn-whatsapp {
  background: #25d366;
}

.btn-phone {
  background: linear-gradient(135deg, #1267dc, #074294);
}

.back-to-top {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--duration-fast) ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.pulse-wave {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
  animation: pulseRadar 2s infinite ease-out;
}

/* --- Keyframe Animations --- */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@keyframes pulseRadar {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

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

@keyframes mouseWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  80% { transform: translate(-50%, 10px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal[data-direction="left"] {
  transform: translateX(-40px);
}

.reveal[data-direction="right"] {
  transform: translateX(40px);
}

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

/* --- Responsive Media Queries --- */
@media (max-width: 1080px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }

  .hero-visual-col {
    display: none;
  }

  .intro-grid,
  .why-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .course-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 74px;
  }

  .nav-container {
    padding-inline: 20px;
  }

  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  /* Solid, Frosted Mobile Menu (No text bleed-through) */
  .main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 24px 24px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all var(--duration-normal) var(--ease-spring);
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--primary-subtle);
  }

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

  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .mobile-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mobile-contact-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
  }

  .mobile-contact-pill svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
  }

  /* Gallery Grid on Mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-main {
    grid-row: auto;
    height: 260px;
  }

  .gallery-two,
  .gallery-three {
    height: 200px;
  }

  .gallery-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: calc(100svh - 74px);
    padding: 60px 0 80px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
  }

  .image-stack {
    min-height: 380px;
  }

  .about-image-card {
    height: 320px;
    width: 100%;
  }

  .experience-card {
    top: auto;
    bottom: -20px;
    right: 10px;
    padding: 16px 20px;
  }

  .exp-number {
    font-size: 34px;
  }

  .mini-trust-card {
    display: none;
  }

  .course-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .why-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .contact-form-wrap {
    padding: 24px 18px;
  }
}

/* --- Accessibility & Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none;
    overflow-x: auto;
  }
}
