/* ========================================
   BASE STYLES & CSS VARIABLES
   ======================================== */

:root {
  /* Brand Colors */
  --primary: #ff2d2d;
  --primary-dark: #d62525;
  --accent: #0066ff;
  --accent-dark: #0052cc;
  
  /* Neutral Colors */
  --dark: #1a1a1a;
  --text: #333333;
  --text-light: #555555;
  --muted: #777777;
  --bg: #fff5f5;
  --bg-light: #ffffff;
  --card-bg: #ffffff;
  --border-light: #eaeaea;
  --light-gray: #f5f5f5;
  
  /* Status Colors */
  --success: #28a745;
  --error: #dc3545;
  --warning: #ffc107;

  /* Spacing System */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Typography */
  --font-primary: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-hindi: 'Noto Sans Devanagari', 'Poppins', sans-serif;
  
  --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --font-size-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --font-size-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.25rem);
  --font-size-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  --font-size-3xl: clamp(2rem, 1.8rem + 1vw, 2.5rem);
  --font-size-4xl: clamp(2.5rem, 2.2rem + 1.5vw, 3.5rem);
  
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;
  
  /* Borders & Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 32px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 15px 30px rgba(255, 45, 45, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --container-max-width: 1440px;
  --container-padding: clamp(1rem, 5vw, 2rem);
  --header-height: 80px;
  
  /* Z-Index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  background-color: var(--bg-light);
  color: var(--text);
  line-height: var(--line-height-normal);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--dark);
  margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
  line-height: var(--line-height-normal);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

img, picture, video, canvas, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  cursor: pointer;
  border: none;
  background: transparent;
}

/* ========================================
   ANIMATIONS & UTILITIES
   ======================================== */

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  position: relative;
  overflow: hidden;
}

.img-loading {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.img-loaded {
  opacity: 1;
}

* {
  scroll-margin-top: 80px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.bg-primary { background-color: var(--primary); }
.bg-light { background-color: var(--bg); }

.hindi-font {
  font-family: var(--font-hindi);
  font-weight: 700;
  color: var(--primary);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

::selection {
  background-color: var(--primary);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  top: 0;
}

@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;
  }
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.section {
  padding: clamp(2rem, 6vw, 4rem) 0;
}

/* ========================================
   TOP BAR
   ======================================== */

.top-bar {
  background: #0056c7;
  color: white;
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  padding: 0.4rem 0;
  overflow: hidden;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
}

.marquee-item {
  flex-shrink: 0;
  font-weight: 500;
}

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

@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    gap: 0.5rem;
    animation: none;
    text-align: center;
  }
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all var(--transition-fast);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  gap: clamp(0.5rem, 2vw, 1rem);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: clamp(36px, 5vw, 42px);
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--dark);
  font-weight: 500;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex !important;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 0.8rem);
  padding: clamp(0.55rem, 1.2vw, 0.85rem) clamp(1.4rem, 3vw, 2.2rem) !important;
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  min-height: 44px;
}

@media (max-width: 991px) {
  .nav-cta {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ========================================
   HAMBURGER & MOBILE MENU
   ======================================== */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  margin-left: 10px;   
  margin-right: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: calc(var(--z-modal) + 2);
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  z-index: calc(var(--z-modal) + 1);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 80px 0 30px 0;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.mobile-menu-link {
  display: block;
  padding: 1rem 2rem;
  color: var(--dark);
  font-weight: 500;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
}

.mobile-menu-link:hover {
  color: var(--primary);
  background-color: var(--bg);
  border-left-color: var(--primary);
  text-decoration: none;
}

.mobile-menu-link.btn-mobile-cta {
  margin: 1.5rem 2rem 0.5rem 2rem;
  padding: 0.9rem 1.5rem;
  background-color: var(--primary);
  color: #fff;
  border-radius: var(--border-radius-full);
  text-align: center;
  border: 2px solid var(--primary);
  font-weight: 600;
}

.mobile-menu-link.btn-mobile-cta:hover {
  background-color: #e02828;
  border-color: #e02828;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 45, 45, 0.3);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  backdrop-filter: blur(2px);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.menu-close:hover {
  background: rgba(255,45,45,0.1);
  transform: rotate(90deg);
}

@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-overlay,
  .hamburger {
    display: none !important;
  }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(0.6rem, 1.2vw, 0.8rem) clamp(1.4rem, 2.5vw, 1.8rem);
  border-radius: var(--border-radius-full);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: clamp(0.88rem, 1.5vw, 0.95rem);
  line-height: 1.5;
  min-height: 44px;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: #e02828;
  border-color: #e02828;
  box-shadow: 0 8px 20px rgba(252, 43, 43, 0.3);
  color: #ffffff;
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-loading::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* ========================================
   SECTIONS & CARDS
   ======================================== */

.section-title {
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.section-title .accent {
  color: var(--primary);
  position: relative;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.125rem);
  color: var(--muted);
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  padding: clamp(1.8rem, 4vw, 2.8rem) 0 clamp(1.5rem, 3.5vw, 2.4rem);
  background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 4vw, 2.8rem);
  align-items: center;
}

.hero-left {
  z-index: 2;
}

.hero-kicker {
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: clamp(0.6rem, 1.5vw, 0.8rem);
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: clamp(0.8rem, 2vw, 1rem);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--muted);
  margin-bottom: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 1.6;
}

.hero-points {
  list-style: none;
  margin-bottom: clamp(1.5rem, 3.5vw, 2rem);
  padding-left: 0;
}

.hero-points li {
  font-size: clamp(0.88rem, 1.8vw, 1rem);
  color: var(--text);
  padding-left: 1.8rem;
  margin-bottom: clamp(0.7rem, 1.5vw, 0.9rem);
  position: relative;
  line-height: 1.6;
}

.hero-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: clamp(0.8rem, 2vw, 1rem);
  flex-wrap: wrap;
}

.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-box {
  position: relative;
  width: 100%;
  max-width: clamp(280px, 50vw, 340px);
}

.hero-image-rect {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
}

.hero-comment-badge {
  position: absolute;
  bottom: clamp(0.8rem, 2vw, 1.2rem);
  left: clamp(0.8rem, 2vw, 1.2rem);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: clamp(0.8rem, 2vw, 1rem);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  min-width: clamp(180px, 35vw, 220px);
}

.badge-title {
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: clamp(0.4rem, 1vw, 0.6rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-person {
  margin-bottom: clamp(0.5rem, 1vw, 0.7rem);
}

.badge-person:last-child {
  margin-bottom: 0;
}

.badge-name {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

.badge-name-line {
  display: inline;
}

.badge-name-line-second {
  margin-left: 0.3rem;
}

.badge-role {
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  color: var(--muted);
  line-height: 1.3;
}

.badge-role-line {
  display: inline;
}

.badge-role-line-second {
  margin-left: 0.3rem;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 2.5rem);
  }

  .hero-right {
    order: -1;
  }

  .hero-image-box {
    max-width: clamp(240px, 60vw, 300px);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
  background-color: #fff;
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.about-photos {
  position: relative;
}

.photo-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.about-photo {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.about-photo:hover {
  box-shadow: var(--shadow-xl);
  transform: scale(1.02);
}

.about-content {
  max-width: 100%;
}

.about-content p {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.7;
  color: var(--text);
  margin-bottom: clamp(1rem, 2.5vw, 1.3rem);
}

.highlight-name {
  font-weight: 600;
  color: var(--primary);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 45vw, 280px), 1fr));
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.feature {
  display: flex;
  gap: clamp(0.8rem, 1.5vw, 1rem);
  align-items: flex-start;
}

.check {
  flex-shrink: 0;
  width: clamp(20px, 3vw, 24px);
  height: clamp(20px, 3vw, 24px);
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  font-weight: 700;
  margin-top: 0.2rem;
}

.feature h3 {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: clamp(0.3rem, 0.8vw, 0.5rem);
}

.feature p {
  font-size: clamp(0.88rem, 1.8vw, 0.95rem);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 2.5rem);
  }

  .about-photos {
    order: 1;
  }

  .about-content {
    order: 2;
  }
}

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

/* ========================================
   COURSES SECTION
   ======================================== */

.courses {
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 40vw, 300px), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 3vw, 2rem);
  align-items: stretch;
}

.course-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.course-image-wrapper {
  width: 100%;
  height: clamp(180px, 30vw, 220px);
  overflow: hidden;
  position: relative;
  background-color: var(--light-gray);
}

.course-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.course-card:hover .course-image-img {
  transform: scale(1.08);
}

.course-body {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 2vw, 1rem);
}

.course-body h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 clamp(0.5rem, 1vw, 0.8rem) 0;
}

.course-body ul {
  list-style: none;
  padding-left: 0;
  margin: clamp(0.8rem, 2vw, 1.2rem) 0 0 0;
  flex-grow: 1;
}

.course-body ul li {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: var(--text);
  padding-left: 1.5rem;
  margin-bottom: clamp(0.4rem, 1vw, 0.6rem);
  position: relative;
}

.course-body ul li::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ========================================
   VIDEOS & TESTIMONIALS
   ======================================== */

   .videos {
    background-color: #fff;
  }
  
  .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 40vw, 320px), 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: clamp(1.5rem, 3vw, 2rem);
  }
  
  .video-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    background: #fff;
  }
  
  .video-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
  }
  
  .video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
  }
  
  .video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius-lg);
  }

.student-testimonials {
  background-color: var(--bg);
}

.testimonial-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.testimonial-wrapper .scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.testimonial-wrapper .scroll-prev {
  left: 10px;
}

.testimonial-wrapper .scroll-next {
  right: 10px;
}

.testimonial-image-grid {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: clamp(0.8rem, 1.5vw, 1rem) 0;
  flex: 1;
  width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--light-gray);
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  will-change: scroll-position;
  transform: translateZ(0);
  overscroll-behavior-x: contain;
}

.testimonial-image-grid::-webkit-scrollbar {
  height: clamp(6px, 1vw, 8px);
}

.testimonial-image-grid::-webkit-scrollbar-track {
  background: var(--light-gray);
  border-radius: 10px;
}

.testimonial-image-grid::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
  transition: background 0.2s ease;
}

.testimonial-image-grid::-webkit-scrollbar-thumb:hover {
  background: #e02828;
}

.testimonial-image-card {
  flex: 0 0 auto;
  width: clamp(200px, 35vw, 280px);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  background: #fff;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.testimonial-image-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px) translateZ(0);
}

.testimonial-image-card img {
  width: 100%;
  height: clamp(250px, 45vw, 350px);
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.scroll-arrow {
  background-color: transparent !important;
  color: #fff !important;
  border: none !important;
  width: clamp(40px, 6vw, 60px);
  height: clamp(40px, 6vw, 60px);
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: none !important;
  flex-shrink: 0;
  font-size: 3rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.scroll-arrow:hover {
  background-color: transparent !important;
  color: #fff !important;
  transform: scale(1.2);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}

.scroll-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-image-card {
    width: clamp(180px, 50vw, 240px);
  }

  .testimonial-image-card img {
    height: clamp(220px, 55vw, 300px);
  }
}

@media (max-width: 480px) {
  .scroll-arrow {
    display: none;
  }
}

/* ========================================
   TESTIMONIAL MODAL
   ======================================== */

.testimonial-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.testimonial-modal.active {
  display: flex;
}

.testimonial-modal-content {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
}

.testimonial-modal-content img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
}

.testimonial-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  background: transparent;
  border: none;
  line-height: 1;
  z-index: calc(var(--z-modal) + 1);
  transition: all var(--transition-fast);
}

.testimonial-modal-close:hover {
  color: var(--primary);
  transform: scale(1.1);
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
  background: #ffffff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.stats-title {
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--spacing-2xl);
  text-align: center;
}

.stats-title .accent {
  color: var(--primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  background: #fdf8f8;
  border-radius: 12px;
  padding: clamp(2rem, 4vw, 2.5rem) 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.stat-number {
  display: block;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ========================================
   CONTACT & FORM
   ======================================== */

.contact {
  background-color: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-left h2,
.contact-right h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
}

.contact-left h2 .accent,
.contact-right h2 .accent {
  color: var(--primary);
}

.contact-block {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.contact-block h4 {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: clamp(0.5rem, 1vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-block p {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 0;
}

.register-form {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: clamp(0.7rem, 1.5vw, 0.9rem) 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius-md);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  transition: all var(--transition-fast);
  background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 45, 45, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.error-message {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: block;
}

.form-status {
  margin-top: var(--spacing-md);
  padding: 0.8rem;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  text-align: center;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 2.5rem);
  }
}

/* ========================================
   MAP & FOOTER
   ======================================== */

.map-section {
  background-color: var(--light-gray);
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.map-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-header {
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}

.map-header h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: clamp(0.5rem, 1vw, 0.8rem);
}

.map-header p {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text);
  margin-bottom: 0;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (min-width: 768px) {
  .map-wrapper {
    padding-bottom: 40%;
  }
}

@media (min-width: 1200px) {
  .map-wrapper {
    padding-bottom: 35%;
  }
}

.footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: clamp(1.5rem, 3vw, 2rem) 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   FLOATING WHATSAPP
   ======================================== */

.floating-whatsapp {
  position: fixed;
  bottom: clamp(20px, 4vw, 30px);
  right: clamp(20px, 4vw, 30px);
  width: clamp(50px, 8vw, 60px);
  height: clamp(50px, 8vw, 60px);
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: var(--z-fixed);
  transition: all var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: clamp(28px, 5vw, 32px);
  height: clamp(28px, 5vw, 32px);
}

/* ========================================
   RESPONSIVE OPTIMIZATIONS
   ======================================== */

@media (min-width: 1440px) {
  .nav-cta {
    padding: 0.9rem 2.4rem !important;
    font-size: 1.05rem;
  }
}

@media (min-width: 1920px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-image-box {
    max-width: 400px;
  }

  .about-content p {
    font-size: 1.15rem;
  }

  .stat-number {
    font-size: 3.5rem;
  }

  .stat-label {
    font-size: 1.2rem;
  }

  .map-wrapper {
    padding-bottom: 45%;
  }
}

@media (min-width: 2560px) {
  :root {
    --container-max-width: 2200px;
  }

  .container {
    max-width: 2200px;
    padding: 0 4rem;
  }
}

@media (max-width: 360px) {
  :root {
    --container-padding: 12px;
  }

  .section {
    padding: 1.5rem 0;
  }
}

/* ========================================
   FOOTER
   ======================================== */

/* ===== FOOTER FIX ===== */

.footer {
  background: #0f0f0f;
  color: #fff;
  padding: 2rem 0 2.5rem;
  position: relative;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-cta .btn-primary {
  background-color: #ff2d2d;
  color: #fff;
  border: none;
  border-radius: 999px;

  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;

  box-shadow: none;
  transform: none;
  transition: background-color 0.2s ease;
}

.footer-cta .btn-primary:hover {
  background-color: #ffffff;
}
/* COLUMN TEXT */
.footer-col h3,
.footer-col h4 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.footer-col p {
  margin-bottom: 0.5rem; /* 👈 was too large globally */
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* LINKS */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col a:hover {
  color: var(--primary);
}

/* CTA BOX */
.footer-cta {
  background: rgba(255,255,255,0.04);
  padding: 1rem;
  border-radius: 10px;
}

/* BOTTOM CLEAN*/
.footer-bottom {
  margin-top: 1.2rem;   
  padding-top: 0.8rem;  
  border-top: 1px solid rgba(255,255,255,0.1);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem; 

  text-align: center;
  font-size: 0.85rem;
}

/* CREDIT (IMPORTANT PART) */
.footer-credit a {
  color: var(--primary);
  font-weight: 600;
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* PREVENT WHATSAPP OVERLAP */

body {
  margin: 0;
}

main {
  display: block;
}

footer {
  margin-bottom: 0;
}

.footer {
  padding-bottom: 1 rem !important;
}

.floating-whatsapp {
  bottom: 15px;
}

/* GOLD BADGE STYLE */
.zenith-badge {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;

  background: linear-gradient(
    180deg,
    #f5d06f 0%,
    #d4af37 40%,
    #b8962e 60%,
    #8c6b1f 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-decoration: none;
}

.zenith-badge {
  text-shadow:
    0 0 1px rgba(255, 215, 0, 0.3),
    0 1px 1px rgba(0,0,0,0.6);
}
