/* ============================================================
   SHA HINDI CLASSES MADURAI — STYLESHEET
   ============================================================ */

/* --- 1. CSS VARIABLES & RESET --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

:root {
  --color-primary:     #E8722A;
  --color-primary-dark:#C45E1A;
  --color-primary-light:#FF9A5C;
  --color-secondary:   #1E3A5F;
  --color-accent:      #F7C948;
  --color-bg:          #FFFBF5;
  --color-bg-alt:      #FFF5ED;
  --color-dark:        #1A1A2E;
  --color-dark-alt:    #16213E;
  --color-text:        #2D2D2D;
  --color-text-light:  #6B7280;
  --color-white:       #FFFFFF;
  --color-border:      #E5E7EB;
  --color-success:     #10B981;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-hindi:   'Noto Sans Devanagari', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  --container: 1200px;
  --section-padding: 100px;
  --navbar-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

/* Page fade-in */
.page-wrapper {
  animation: pageFadeIn 0.5s ease forwards;
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Custom cursor */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 2px solid var(--color-primary);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, opacity 0.3s ease;
}
.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  border-color: var(--color-primary-light);
}
.cursor-ring.clicking {
  width: 24px;
  height: 24px;
}
body:not(.cursor-visible) .cursor-dot,
body:not(.cursor-visible) .cursor-ring {
  opacity: 0;
}

/* --- 2. TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--color-text-light); }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,114,42,0.1);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(232,114,42,0.2);
  margin-bottom: 16px;
}
.section-badge svg { flex-shrink: 0; }

.section-title {
  text-align: center;
  margin-bottom: 16px;
}
.section-title span { color: var(--color-primary); }
.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* --- 3. LAYOUT --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: var(--section-padding) 0;
}
@media (max-width: 768px) {
  section { padding: 60px 0; }
  :root { --section-padding: 60px; }
}

/* Mobile viewport fix — prevent horizontal scroll */
@media (max-width: 900px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
}

/* Ensure all containers respect mobile boundaries */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
    overflow-x: hidden;
  }
  /* Force all major sections to respect viewport */
  .hero, .about-section, .stats-section,
  .courses-section, .why-section, .video-section,
  .testimonials-section, .cta-banner, .footer,
  .page-hero, .about-content-grid {
    overflow-x: hidden;
  }
}

/* --- 4. BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: none;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,114,42,0.35);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}
.btn-dark:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn svg { flex-shrink: 0; }

/* --- 5. NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 1000;
  transition: all var(--transition-base);
}
.navbar.scrolled {
  background: rgba(255,251,245,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}
.navbar.dark-mode {
  background: transparent;
}
.navbar.dark-mode.scrolled {
  background: rgba(26,26,46,0.97);
  backdrop-filter: blur(12px);
}
.navbar.dark-mode.scrolled .nav-logo-text,
.navbar.dark-mode.scrolled .nav-link {
  color: var(--color-text);
}
.navbar.dark-mode.scrolled .nav-logo-text span,
.navbar.dark-mode.scrolled .nav-link:hover {
  color: var(--color-primary);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: none;
}
.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-secondary);
  line-height: 1.2;
  transition: color var(--transition-base);
}
.nav-logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-light);
}
.navbar:not(.scrolled) .nav-logo-text,
.navbar:not(.scrolled) .nav-link {
  color: var(--color-white);
}
.navbar:not(.scrolled) .nav-logo-icon {
  background: rgba(255,255,255,0.2);
}
.navbar:not(.scrolled) .nav-logo-text span {
  color: rgba(255,255,255,0.7);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  color: var(--color-text);
  cursor: none;
  position: relative;
}
.nav-link svg { transition: transform var(--transition-base); }
.nav-link:hover svg { transform: translateX(-2px); }
.nav-link.active { color: var(--color-primary); font-weight: 600; }
.nav-link:hover { background: rgba(232,114,42,0.06); color: var(--color-primary); }
.nav-cta { margin-left: 8px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}
.navbar:not(.scrolled) .nav-hamburger span {
  background: var(--color-white);
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 999;
}
.nav-mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.nav-mobile-menu .nav-link {
  color: var(--color-text);
  padding: 12px 16px;
}
.nav-mobile-menu .nav-link:hover {
  background: var(--color-bg-alt);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu { display: flex; }
}

/* --- 6. HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,46,0.85) 0%,
    rgba(232,114,42,0.25) 50%,
    rgba(30,58,95,0.7) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: var(--navbar-height);
}
.hero-photo-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-photo-wrapper {
  position: relative;
  width: 360px;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(255,255,255,0.15);
  position: relative;
  z-index: 2;
}
.hero-ring-1,
.hero-ring-2,
.hero-ring-3 {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(232,114,42,0.4);
  animation: heroRingSpin 20s linear infinite;
}
.hero-om { position: absolute; top: 60px; left: 20px; z-index: 3; pointer-events: none; }
.hero-om-right { position: absolute; bottom: 40px; right: 20px; z-index: 3; pointer-events: none; }
.hero-om, .hero-om-right { font-size: 4rem; }

/* Hindi inline label (in feature lists) */
.hindi-inline {
  font-family: var(--font-hindi);
  font-size: 0.75em;
  color: var(--color-primary);
  font-weight: 500;
  margin-left: 6px;
}

/* Hindi card label (on course cards) */
.hindi-card-label {
  font-family: var(--font-hindi);
  font-size: 0.6em;
  color: var(--color-primary);
  background: rgba(232,114,42,0.08);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 600;
}

/* Hero Hindi subtitle */
.hero-subtitle-hindi {
  font-family: var(--font-hindi);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
  font-weight: 500;
}

/* Courses Om decoration */
.courses-om-decor {
  position: absolute;
  top: -20px;
  right: 40px;
  z-index: 0;
  font-size: 5rem;
}
.hero-ring-1 {
  width: 420px; height: 420px;
  top: -30px; left: -30px;
  animation-duration: 25s;
}
.hero-ring-2 {
  width: 480px; height: 480px;
  top: -60px; left: -60px;
  border-color: rgba(232,114,42,0.2);
  animation-duration: 30s;
  animation-direction: reverse;
}
.hero-ring-3 {
  width: 360px; height: 360px;
  top: 0; left: 0;
  border-color: rgba(255,255,255,0.1);
  animation-duration: 15s;
}
@keyframes heroRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero-float-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: badgeFloat 3s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-float-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}
.hero-float-badge .badge-text {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1.3;
}

.hero-text-col {
  padding: 40px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,114,42,0.15);
  border: 1px solid rgba(232,114,42,0.3);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.hero-badge svg { color: var(--color-accent); }
.hero-title {
  color: var(--color-white);
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--color-primary-light);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-description {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.hero-social-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 500;
}
.hero-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition-base);
  cursor: none;
}
.hero-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: calc(var(--navbar-height) + 20px);
  }
  .hero-photo-wrapper { width: 280px; height: 320px; }
  .hero-ring-1 { width: 320px; height: 320px; top: -20px; left: -20px; }
  .hero-ring-2 { width: 360px; height: 360px; top: -40px; left: -40px; }
  .hero-description { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .hero-social { justify-content: center; }
}

/* --- 7. MARQUEE --- */
.marquee-section {
  background: var(--color-primary);
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 40px;
  animation: marqueeScroll 30s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.9;
  flex-shrink: 0;
}
.marquee-item::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- 8. ABOUT SECTION --- */
.about-section { background: var(--color-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrapper {
  position: relative;
}
.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
}
.about-accent-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.about-accent-card .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.about-accent-card .label {
  font-size: 0.85rem;
  opacity: 0.9;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 20px; font-size: 1.05rem; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--color-text);
}
.about-feature-icon {
  width: 32px; height: 32px;
  background: rgba(232,114,42,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-accent-card { bottom: 16px; right: 16px; }
}

/* --- 9. STATS SECTION --- */
.stats-section {
  background: var(--color-dark-alt);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
}
.stat-icon {
  width: 56px; height: 56px;
  background: rgba(232,114,42,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-primary);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number span { color: var(--color-primary); }
.stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  font-weight: 500;
}

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

/* --- 10. COURSES SECTION --- */
.courses-section { background: var(--color-bg-alt); position: relative; overflow: hidden; }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
  cursor: none;
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.course-card:hover::before { transform: scaleX(1); }
.course-icon {
  width: 60px; height: 60px;
  background: rgba(232,114,42,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
  transition: all var(--transition-base);
}
.course-card:hover .course-icon {
  background: var(--color-primary);
  color: var(--color-white);
}
.course-card h3 { margin-bottom: 10px; }
.course-card p { font-size: 0.95rem; margin-bottom: 20px; }
.course-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap var(--transition-base);
}
.course-link:hover { gap: 10px; }

@media (max-width: 900px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .courses-grid { grid-template-columns: 1fr; }
}

/* --- 11. WHY HINDI SECTION --- */
.why-section { background: var(--color-bg); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}
.why-item:hover {
  background: var(--color-bg-alt);
  transform: translateX(8px);
}
.why-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}
.why-text h4 { margin-bottom: 6px; color: var(--color-secondary); }
.why-text p { font-size: 0.95rem; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* --- 12. VIDEO SECTION --- */
.video-section {
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}
.video-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,114,42,0.1), transparent 70%);
  border-radius: 50%;
}
.video-section .section-badge {
  background: rgba(232,114,42,0.15);
  border-color: rgba(232,114,42,0.3);
  color: var(--color-primary-light);
}
.video-section .section-title { color: var(--color-white); }
.video-section .section-title span { color: var(--color-primary-light); }
.video-section .section-subtitle { color: rgba(255,255,255,0.6); }

.video-showcase {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}
.video-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--color-dark-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
}
.video-main-poster {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.video-main-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
}
.video-main:hover .video-main-overlay { background: rgba(0,0,0,0.2); }
.play-btn-large {
  width: 80px; height: 80px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  box-shadow: 0 0 0 0 rgba(232,114,42,0.4);
  animation: playPulse 2s ease-in-out infinite;
}
@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(232,114,42,0.4); }
  70% { box-shadow: 0 0 0 20px rgba(232,114,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,114,42,0); }
}
.play-btn-large:hover {
  transform: scale(1.1);
  background: var(--color-primary-dark);
}
.video-thumbs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.video-thumb {
  display: flex;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: none;
  transition: all var(--transition-base);
  border: 1px solid rgba(255,255,255,0.08);
}
.video-thumb:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(232,114,42,0.3);
}
.video-thumb-img {
  width: 100px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.video-thumb-info h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  margin-bottom: 4px;
  line-height: 1.3;
}
.video-thumb-info span {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}
.video-thumb-play {
  width: 28px; height: 28px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: auto;
}

@media (max-width: 768px) {
  .video-showcase { grid-template-columns: 1fr; }
  .video-thumbs { flex-direction: row; overflow-x: auto; }
  .video-thumb { min-width: 240px; }
}

/* --- 13. TESTIMONIALS SECTION --- */
.testimonials-section { background: var(--color-bg-alt); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  border: 1px solid var(--color-border);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.testimonial-quote-icon {
  color: var(--color-primary);
  opacity: 0.2;
  margin-bottom: 16px;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.testimonial-stars svg { color: var(--color-accent); }
.testimonial-text {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--color-text);
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-secondary);
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* --- 14. CTA BANNER --- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(247,201,72,0.15), transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-white-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

/* --- 15. FOOTER --- */
.footer {
  background: var(--color-dark);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .nav-logo-text {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.footer-brand .nav-logo-text span {
  color: rgba(255,255,255,0.5);
}
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-base);
  cursor: none;
}
.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}
.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--color-primary);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover {
  color: var(--color-primary-light);
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  align-items: flex-start;
}
.footer-contact-item svg { color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.55); transition: color var(--transition-base); }
.footer-contact-item a:hover { color: var(--color-primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  transition: color var(--transition-base);
}
.footer-bottom-links a:hover { color: var(--color-primary-light); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* --- 16. FLOATING BUTTONS (HINDI-STYLE) --- */
/* Floating Buttons: Fixed bottom-right with pill-shaped buttons + main chatbot FAB */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 998;
}

/* Main chatbot FAB — the circular button that triggers the panel */
.floating-btn-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-dark-alt) 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  box-shadow: 0 6px 24px rgba(30, 58, 95, 0.45);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: visible;
  z-index: 999;
}
.floating-btn-main::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}
.floating-btn-main:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 32px rgba(30, 58, 95, 0.6), 0 0 0 4px rgba(232,114,42,0.15);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}
.floating-btn-main svg { color: var(--color-white); transition: transform 0.3s ease; }
.floating-btn-main:hover svg { transform: scale(1.1); }

/* Decorative ring around FAB */
.floating-btn-main::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px dashed rgba(232,114,42,0.3);
  animation: fabRingSpin 10s linear infinite;
}
@keyframes fabRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Sub-buttons that slide out from the main FAB */
.floating-btn-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(20px);
  pointer-events: none;
}
.floating-btn-panel.open {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Individual pill buttons */
.floating-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: none;
  transition: all var(--transition-base);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transform: translateX(80px);
  opacity: 0;
}
.floating-btn-panel.open .floating-btn {
  transform: translateX(0);
  opacity: 1;
}
.floating-btn-panel.open .floating-btn:nth-child(1) { transition-delay: 0.05s; }
.floating-btn-panel.open .floating-btn:nth-child(2) { transition-delay: 0.12s; }

/* Stagger the WhatsApp button a tiny bit later */
.floating-btn-panel.open .whatsapp-btn {
  transform: translateX(0);
  opacity: 1;
}

.floating-btn:hover {
  transform: translateX(-4px) !important;
  box-shadow: var(--shadow-xl);
}
.floating-btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-white);
  position: relative;
}
.floating-btn-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
}
.floating-btn-label {
  font-family: var(--font-body);
}

/* Chat button */
.floating-btn.chat-btn .floating-btn-icon { background: linear-gradient(135deg, var(--color-secondary), var(--color-dark-alt)); }
.floating-btn.chat-btn:hover { color: var(--color-secondary); }

/* WhatsApp button */
.floating-btn.whatsapp-btn .floating-btn-icon { background: linear-gradient(135deg, #25D366, #128C7E); }
.floating-btn.whatsapp-btn:hover { color: #25D366; }

/* WhatsApp pulse ring */
.floating-btn.whatsapp-btn .floating-btn-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,0.25);
  animation: whatsappPulseRing 2s ease-in-out infinite;
}
@keyframes whatsappPulseRing {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.floating-btn.whatsapp-btn:hover .floating-btn-icon::before { animation: none; }

@keyframes whatsappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.floating-btn.whatsapp-btn {
  animation: whatsappPulse 2s ease-in-out infinite;
}
.floating-btn.whatsapp-btn:hover { animation: none; }

/* Hindi label in button */
.floating-btn-hindi {
  font-family: var(--font-hindi);
  font-size: 0.7rem;
  color: var(--color-primary);
  font-weight: 500;
  display: block;
  line-height: 1.2;
  margin-top: 1px;
}

/* On mobile — collapse to icons only */
@media (max-width: 480px) {
  .floating-btn-label-main { display: none; }
  .floating-btn-label-hindi { display: none; }
  .floating-btn span:not(.floating-btn-icon *) { display: none; }
  .floating-btn { padding: 10px; }
  .floating-btn-label { display: none; }
  .floating-btn-hindi { display: none; }
  .floating-btn-panel.open .floating-btn { padding: 12px; }
}

/* --- 17. CHATBOT --- */
.chatbot-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  background: var(--color-secondary);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  cursor: none;
  z-index: 1000;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}
.chatbot-toggle:hover {
  background: var(--color-primary);
  transform: scale(1.08);
}
.chatbot-toggle .close-icon { display: none; }
.chatbot-toggle.active .chat-icon { display: none; }
.chatbot-toggle.active .close-icon { display: block; }

.chatbot-overlay {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 390px;
  max-height: 600px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chatbot-overlay.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-dark-alt));
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chatbot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chatbot-brand-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}
.chatbot-brand-text {
  color: var(--color-white);
}
.chatbot-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}
.chatbot-brand-status {
  font-size: 0.78rem;
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 5px;
}
.chatbot-brand-status::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  display: inline-block;
}
.chatbot-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: none;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  display: flex;
}
.chatbot-close:hover { background: rgba(255,255,255,0.1); color: var(--color-white); }

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}
.chatbot-body::-webkit-scrollbar { width: 4px; }
.chatbot-body::-webkit-scrollbar-track { background: transparent; }
.chatbot-body::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }

.chat-message {
  display: flex;
  gap: 10px;
  animation: chatFadeIn 0.3s ease forwards;
  opacity: 0;
}
@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-message.user { flex-direction: row-reverse; }
.chat-message-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-message.bot .chat-message-avatar {
  background: var(--color-primary);
  color: var(--color-white);
}
.chat-message.user .chat-message-avatar {
  background: var(--color-secondary);
  color: var(--color-white);
}
.chat-message-content {
  max-width: 75%;
}
.chat-bubble {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.6;
}
.chat-message.bot .chat-bubble {
  background: #F3F4F6;
  color: var(--color-text);
  border-bottom-left-radius: 4px;
}
.chat-message.user .chat-bubble {
  background: var(--color-primary);
  color: var(--color-white);
  border-bottom-right-radius: 4px;
}

.chat-quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.chat-q-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}
.chat-q-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.chat-q-btn svg { flex-shrink: 0; }

.chatbot-input-area {
  padding: 14px 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--color-white);
}
.chatbot-input {
  flex: 1;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-base);
  color: var(--color-text);
}
.chatbot-input:focus { border-color: var(--color-primary); }
.chatbot-input::placeholder { color: var(--color-text-light); }
.chatbot-send {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: all var(--transition-base);
  flex-shrink: 0;
}
.chatbot-send:hover { background: var(--color-primary-dark); transform: scale(1.05); }

.chatbot-quick-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.chat-quick-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  cursor: none;
  transition: all var(--transition-base);
  text-align: center;
}
.chat-quick-nav-item:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}
.chat-quick-nav-item svg { color: var(--color-primary); transition: color var(--transition-base); }
.chat-quick-nav-item:hover svg { color: var(--color-white); }
.chat-quick-nav-item span { font-size: 0.75rem; font-weight: 600; color: var(--color-text); transition: color var(--transition-base); }
.chat-quick-nav-item:hover span { color: var(--color-white); }

@media (max-width: 480px) {
  .chatbot-overlay {
    right: 0; bottom: 0;
    width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}

/* --- 18. SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* --- 19. PAGE-SPECIFIC STYLES --- */

/* About Page */
.page-hero {
  background: var(--color-dark);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .om-decor {
  font-size: 5rem;
  color: rgba(232,114,42,0.08);
  position: absolute;
  z-index: 0;
  animation: omPulse 4s ease-in-out infinite;
}
.page-hero .om-decor.light {
  color: rgba(232,114,42,0.05);
}
@keyframes omPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.05) rotate(5deg); opacity: 0.7; }
}
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(232,114,42,0.1), transparent 50%);
}
.page-hero h1 { color: var(--color-white); margin-bottom: 12px; position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.1rem; position: relative; z-index: 1; }

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.value-icon {
  width: 48px; height: 48px;
  background: rgba(232,114,42,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--color-primary);
}
.value-card h4 { margin-bottom: 8px; color: var(--color-secondary); }
.value-card p { font-size: 0.9rem; }

/* Services Page */
.services-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .services-hero-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content-grid { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; }
}

/* Videos Page */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .videos-grid { grid-template-columns: 1fr; }
}

.video-card {
  background: var(--color-dark-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid rgba(255,255,255,0.08);
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(232,114,42,0.3);
}
.video-card-img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  position: relative;
}
.video-card-img-wrapper {
  position: relative;
  overflow: hidden;
}
.video-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background var(--transition-base);
}
.video-card:hover .video-card-play { background: rgba(0,0,0,0.15); }
.video-card-play-btn {
  width: 52px; height: 52px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: transform var(--transition-base);
}
.video-card:hover .video-card-play-btn { transform: scale(1.1); }
.video-card-info { padding: 16px; }
.video-card-info h4 { color: var(--color-white); font-size: 0.95rem; margin-bottom: 6px; }
.video-card-info span { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

/* --- 20. HINDI DECORATIVE & CULTURAL ELEMENTS --- */

/* Hindi text styling */
.hindi-text {
  font-family: var(--font-hindi);
  color: var(--color-primary);
}
.hindi-text-light {
  font-family: var(--font-hindi);
  color: var(--color-primary-light);
  opacity: 0.85;
}

/* Om / Aum decorative symbol */
.om-decor {
  font-family: var(--font-hindi);
  font-size: 6rem;
  color: rgba(232,114,42,0.06);
  position: absolute;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.om-decor.light { color: rgba(232,114,42,0.04); }

/* Hindi rangoli-inspired divider */
.rangoli-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 30px auto;
  max-width: 300px;
}
.rangoli-divider::before,
.rangoli-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-primary-light), transparent);
}
.rangoli-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: rotate(45deg);
}
.rangoli-dot:nth-child(2) { background: var(--color-accent); width: 10px; height: 10px; }
.rangoli-dot:nth-child(3) { background: var(--color-primary); }

/* Diya (lamp) glow decoration */
.diya-glow {
  position: relative;
}
.diya-glow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(232,114,42,0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: diyaFlicker 3s ease-in-out infinite;
}
@keyframes diyaFlicker {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Hindi phrase banner */
.hindi-phrase-banner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hindi-phrase-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3Cpath d='M20 4 L22 10 L20 8 L18 10 Z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hindi-phrase,
.hindi-phrase-main {
  font-family: var(--font-hindi);
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hindi-phrase-sub {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

/* Marigold (Genda) flower decorative corner */
.corner-decor {
  position: absolute;
  width: 80px;
  height: 80px;
  pointer-events: none;
  opacity: 0.4;
}
.corner-decor.top-right {
  top: 0;
  right: 0;
  transform: rotate(15deg);
}
.corner-decor.bottom-left {
  bottom: 0;
  left: 0;
  transform: rotate(-15deg);
}
.corner-decor svg { width: 100%; height: 100%; }

/* Peacock feather motif */
.peacock-section {
  position: relative;
}
.peacock-section::before {
  content: '';
  position: absolute;
  top: -20px;
  right: 10%;
  width: 60px;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(232,114,42,0.05));
  border-radius: 50% 50% 0 0;
  transform: rotate(10deg);
}

/* Hindi calligraphic section header */
.hindi-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.hindi-section-header .sanskrit-line {
  font-family: var(--font-hindi);
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  opacity: 0.8;
}
.hindi-section-header .main-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
}
.hindi-section-header .main-heading span { color: var(--color-primary); }

/* Haldi (turmeric) color accent strips */
.haldi-strip {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-primary), var(--color-accent), transparent);
  border-radius: 2px;
  margin: 8px auto;
  max-width: 200px;
}

/* Elephant (Ganesh/Hathi) silhouette decoration */
.elephant-decor {
  position: absolute;
  bottom: 10px;
  opacity: 0.05;
  pointer-events: none;
}
.elephant-decor.left { left: 20px; }
.elephant-decor.right { right: 20px; transform: scaleX(-1); }

/* Hindi alphabet decorative row */
.alpha-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.alpha-char {
  font-family: var(--font-hindi);
  font-size: 1.1rem;
  color: var(--color-primary);
  opacity: 0.3;
  transition: all 0.3s ease;
  cursor: default;
}
.alpha-char:hover {
  opacity: 1;
  transform: scale(1.3) rotate(-5deg);
}
.alpha-char.accent { color: var(--color-accent); }

/* Saffron-colored cultural tag */
.cultural-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(232,114,42,0.1), rgba(247,201,72,0.1));
  border: 1px solid rgba(232,114,42,0.2);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
}
.cultural-tag .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: tagDotPulse 2s ease-in-out infinite;
}
@keyframes tagDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Tilak decoration for special sections */
.tilak-accent {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}
.tilak-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary));
}
.tilak-line.right {
  background: linear-gradient(90deg, var(--color-primary), transparent);
}
.tilak-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  position: relative;
}
.tilak-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Festival banner for homepage */
.festival-banner {
  background: linear-gradient(135deg, #E8722A 0%, #C45E1A 50%, #E8722A 100%);
  background-size: 200% 200%;
  animation: festivalGradient 4s ease infinite;
  padding: 14px 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}
@keyframes festivalGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.festival-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.festival-banner-hindi {
  font-family: var(--font-hindi);
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 700;
}
.festival-banner-sub {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}

/* Mandala background pattern for special sections */
.mandala-bg {
  position: relative;
}
.mandala-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23E8722A' stroke-opacity='0.04' stroke-width='1'%3E%3Ccircle cx='100' cy='100' r='20'/%3E%3Ccircle cx='100' cy='100' r='40'/%3E%3Ccircle cx='100' cy='100' r='60'/%3E%3Ccircle cx='100' cy='100' r='80'/%3E%3Ccircle cx='100' cy='100' r='100'/%3E%3Cpath d='M100 0 L100 200 M0 100 L200 100'/%3E%3Cpath d='M30 30 L170 170 M170 30 L30 170'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Swastika-inspired lucky pattern (auspicious) */
.swas-ornament {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  margin: 8px 0;
}
.swas-arm {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  opacity: 0.2;
  position: relative;
}

/* Vibrant gradient section backgrounds */
.hindi-gradient-1 {
  background: linear-gradient(135deg, #FFF5ED 0%, #FFFBF5 50%, #FFF5ED 100%);
}
.hindi-gradient-2 {
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #1A1A2E 100%);
}

/* --- 21. HINDI ANIMATIONS --- */

/* Fluttering butterfly for Hindi sections */
@keyframes butterflyFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  25% { transform: translateY(-15px) rotate(3deg); }
  75% { transform: translateY(-8px) rotate(-1deg); }
}
.butterfly-float {
  animation: butterflyFloat 4s ease-in-out infinite;
}

/* Typing Hindi text animation */
@keyframes hindiTypewriter {
  from { width: 0; }
  to   { width: 100%; }
}
.hindi-typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--color-primary);
  animation: typewriter 3s steps(30) 1s forwards, blink 0.7s step-end infinite;
  display: inline-block;
}
@keyframes typewriter {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes blink {
  50% { border-color: transparent; }
}

/* Scale pop for Hindi call-to-action */
@keyframes hindiPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.hindi-pop { animation: hindiPop 3s ease-in-out infinite; }

/* Rangoli expansion animation */
@keyframes rangoliExpand {
  0% { transform: scale(0) rotate(0deg); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: scale(1) rotate(180deg); opacity: 0.6; }
}
.rangoli-expand {
  animation: rangoliExpand 8s ease-in-out infinite;
  transform-origin: center;
}

/* Page section Hindi phrase reveal */
@keyframes phraseReveal {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.phrase-reveal {
  animation: phraseReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
}

/* --- 20. UTILITIES --- */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-white { color: var(--color-white); }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-gap-16 { gap: 16px; }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  .btn, a, button, .nav-link, .course-card { cursor: auto; }
}

/* --- 21. INTERNAL PAGES CONTENT --- */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.timeline-item {
  position: relative;
  margin-bottom: 32px;
}
.timeline-dot {
  position: absolute;
  left: -33px; top: 4px;
  width: 16px; height: 16px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid var(--color-bg);
}
.timeline-item h4 { color: var(--color-secondary); margin-bottom: 4px; }
.timeline-item p { font-size: 0.9rem; }
