/* ==========================================================================
   GLOBAL DESIGN SYSTEM (Swatantra Classes)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-primary: #FFFFFF;       /* Pure White Background */
  --bg-secondary: #F8FAFC;     /* Off-White Background */
  --bg-dark: #141E55;          /* Dark Royal Blue (institutional accent) */
  --bg-gradient: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
  --bg-radial: radial-gradient(circle at 50% 50%, #FFFFFF 0%, #F8FAFC 100%);
  
  --color-blue: #1D2A6B;       /* Royal Blue - Accent */
  --color-blue-dark: #141E55;  /* Deep Royal Blue - Text */
  --color-yellow: #FFDE00;     /* Bright Yellow */
  --color-yellow-hover: #E5C700;
  
  --color-pink: #E0115F;       /* Hot Pink */
  --color-pink-hover: #C20E4F;
  --color-pink-glow: rgba(224, 17, 95, 0.4);
  
  --color-white: #FFFFFF;
  --color-light: #F1F5F9;
  --color-muted: #64748B;
  --color-border-blue: #E2E8F0;
  --color-light-blue: #3E8BFF;
  
  --text-main: #0F172A;        /* Slate 900 */
  --text-light: #334155;       /* Slate 700 */
  --text-muted: #64748B;       /* Slate 500 */
  
  --whatsapp-green: #25D366;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);
  
  /* Glassmorphic settings for light elements */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-shadow: rgba(0, 0, 0, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.95);
  
  /* Typography */
  --font-en: 'Outfit', sans-serif;
  --font-hi: 'Noto Sans Devanagari', sans-serif;
  
  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing */
  --section-padding: 80px 20px;
  --section-padding-mobile: 40px 15px;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-en);
  background: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-hi);
  font-weight: 700;
  color: var(--color-blue-dark);
  letter-spacing: 0.5px;
}

p {
  color: var(--text-light);
}

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

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes float-delayed {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-whatsapp {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 5px rgba(255, 222, 0, 0.4); }
  50% { box-shadow: 0 0 20px rgba(255, 222, 0, 0.8); }
  100% { box-shadow: 0 0 5px rgba(255, 222, 0, 0.4); }
}

@keyframes pulse-pink {
  0% { box-shadow: 0 0 5px rgba(224, 17, 95, 0.4); }
  50% { box-shadow: 0 0 20px rgba(224, 17, 95, 0.8); }
  100% { box-shadow: 0 0 5px rgba(224, 17, 95, 0.4); }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Common Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
  font-family: var(--font-hi);
  font-size: 1.1rem;
}

/* Pure White Background CTA with Royal Blue Text */
.btn-cta {
  background-color: var(--color-white);
  color: var(--color-blue-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
  background-color: var(--color-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta:active {
  transform: translateY(0);
}

/* Accent Pink Button */
.btn-pink {
  background-color: var(--color-pink);
  color: var(--color-white);
  box-shadow: 0 4px 15px var(--color-pink-glow);
}

.btn-pink:hover {
  background-color: var(--color-pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 17, 95, 0.6);
}

.btn-pink:active {
  transform: translateY(0);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-main);
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-title span {
  color: var(--color-blue);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-pink);
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* 1. STICKY MICRO-HEADER (TOP BAR) */
.top-bar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  font-size: 0.9rem;
}

.top-bar-left a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
}

.top-bar-left a:hover {
  color: var(--color-yellow);
}

.top-bar-right {
  display: flex;
  align-items: center;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--whatsapp-green);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-link svg {
  fill: var(--color-white);
}

/* 2. NAVIGATION BAR */
.navbar {
  position: sticky;
  top: 40px;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border-blue);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: var(--transition-normal);
}

.nav-logo {
  font-family: var(--font-hi);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-blue-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo span {
  color: var(--color-pink);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  font-family: var(--font-hi);
  font-weight: 500;
}

.nav-link {
  color: var(--text-light);
  font-size: 1.1rem;
  position: relative;
  padding: 5px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue);
  transition: var(--transition-normal);
}

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

/* Hamburger Menu Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
  z-index: 1003;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-blue-dark);
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* Hamburger Open States */
.hamburger.open span:nth-child(1) {
  background-color: var(--color-white);
  transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  background-color: var(--color-white);
  transform: translateY(-9px) rotate(-45deg);
}

/* Fullscreen Mobile Overlay Menu */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(20, 30, 85, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-slow);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.overlay-menu {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.overlay-menu .nav-link {
  font-size: 2rem;
  font-family: var(--font-hi);
  font-weight: 700;
  color: var(--color-white);
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.nav-overlay.open .overlay-menu .nav-link {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.open .overlay-menu li:nth-child(1) a { transition-delay: 0.1s; }
.nav-overlay.open .overlay-menu li:nth-child(2) a { transition-delay: 0.2s; }
.nav-overlay.open .overlay-menu li:nth-child(3) a { transition-delay: 0.3s; }
.nav-overlay.open .overlay-menu li:nth-child(4) a { transition-delay: 0.4s; }

/* 3. HERO SECTION (ANTI-GRAVITY BANNER SLIDER WITH BACKGROUND IMAGES) */
.hero {
  position: relative;
  background: #000;
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Floating ambient elements in background */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 2;
  pointer-events: none;
}

.glow-1 {
  width: 300px;
  height: 300px;
  background: rgba(255, 222, 0, 0.08);
  top: -50px;
  left: -100px;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(224, 17, 95, 0.08);
  bottom: -100px;
  right: -100px;
}

.hero-slider-container {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 110px);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  padding: 80px 40px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: fadeIn 0.8s ease-in-out forwards;
}

.hero-slide.active {
  display: grid;
}

/* Overlay to darken background image and make overlay text extremely legible */
.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(20, 30, 85, 0.95) 0%, rgba(20, 30, 85, 0.85) 50%, rgba(20, 30, 85, 0.4) 100%);
  z-index: 1;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Yellow tag for headings */
.hero-tag {
  background-color: var(--color-yellow);
  color: var(--bg-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-family: var(--font-hi);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(255, 222, 0, 0.3);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  color: var(--color-white);
}

.hero-title span {
  color: var(--color-yellow);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--color-light);
  max-width: 500px;
}

.hero-graphic-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  min-height: 200px;
}

/* Floating overlay 3D badge shapes in Hero */
.floating-badge {
  position: absolute;
  background: rgba(20, 30, 85, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 15px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.badge-top-right {
  top: 10%;
  right: 0px;
  animation: float-delayed 4s ease-in-out infinite;
}

.badge-bottom-left {
  bottom: 25%;
  right: 150px;
  animation: float 6s ease-in-out infinite;
}

.badge-icon {
  background: var(--color-pink);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon svg {
  color: var(--color-white);
  width: 20px;
  height: 20px;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-family: var(--font-hi);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-yellow);
}

.badge-sub {
  font-size: 0.75rem;
  color: var(--color-light);
}

/* Slider Controls */
.slider-dots {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-border-blue);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

/* 4. CORE FEATURES SECTION */
.features-section {
  padding: var(--section-padding);
  background: var(--bg-primary);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition-slow);
  box-shadow: 0 4px 15px var(--glass-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--color-white);
  border-color: var(--color-blue);
  box-shadow: 0 10px 30px rgba(29, 42, 107, 0.12);
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(29, 42, 107, 0.05);
  border: 1px solid rgba(29, 42, 107, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  background: rgba(29, 42, 107, 0.12);
  border-color: var(--color-blue);
  transform: rotateY(360deg);
}

.feature-icon-wrapper svg {
  width: 35px;
  height: 35px;
  color: var(--color-blue);
}

.feature-title {
  font-size: 1.25rem;
  font-family: var(--font-hi);
  font-weight: 700;
  color: var(--color-blue-dark);
  line-height: 1.4;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-light);
}

.features-footer {
  text-align: center;
  margin-top: 30px;
}

/* 5. COURSES GRID */
.courses-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.course-card {
  background: var(--color-white);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-slow);
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  position: relative;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-blue);
  transition: var(--transition-normal);
}

.course-card:hover::before {
  height: 8px;
  background: var(--color-pink);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(29, 42, 107, 0.1);
  border-color: var(--color-blue);
}

.course-body {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
  justify-content: flex-start;
}

.course-tag {
  align-self: flex-start;
  background: rgba(29, 42, 107, 0.05);
  border: 1px solid rgba(29, 42, 107, 0.15);
  color: var(--color-blue);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-hi);
}

.course-name {
  font-size: 1.6rem;
  color: var(--color-blue-dark);
  font-family: var(--font-hi);
  font-weight: 700;
  margin-top: 5px;
}

.course-features {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.course-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-features svg {
  color: var(--color-pink);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.courses-footer {
  text-align: center;
  margin-top: 30px;
}

/* 6. MISSION & VISION STATEMENT */
.vision-section {
  padding: var(--section-padding);
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.vision-container {
  max-width: 800px;
  width: 100%;
  padding: 0 20px;
}

.vision-box {
  background: var(--bg-secondary);
  border: 3px solid var(--color-blue);
  border-radius: 24px;
  padding: 45px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.vision-quote-icon {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-pink);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 5px 15px rgba(224, 17, 95, 0.4);
}

.vision-quote-icon svg {
  color: var(--color-white);
  width: 24px;
  height: 24px;
}

.vision-title {
  color: var(--color-blue);
  font-family: var(--font-hi);
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.vision-text {
  font-family: var(--font-hi);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-main);
  font-weight: 600;
}

/* 7. LEAD GENERATION CONTACT FORM */
.contact-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}

.contact-container {
  max-width: 650px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.form-title {
  text-align: center;
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 30px;
}

.form-title span {
  color: var(--color-blue);
}

.form-group {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-hi);
  font-size: 0.95rem;
  color: var(--color-blue-dark);
  font-weight: 600;
}

.form-input {
  background: var(--color-white);
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-main);
  font-family: var(--font-en);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-normal);
}

.form-input:focus {
  border-color: var(--color-blue);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(29, 42, 107, 0.15);
}

/* Optimized for Devanagari drop-down */
select.form-input {
  font-family: var(--font-hi);
}

select.form-input option {
  background: var(--color-white);
  color: var(--text-main);
}

.form-reassurance {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-reassurance svg {
  color: var(--whatsapp-green);
  width: 14px;
  height: 14px;
}

.form-submit-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* Form Status Messages */
.form-message {
  padding: 14px 18px;
  border-radius: 12px;
  font-family: var(--font-hi);
  font-size: 0.95rem;
  margin-top: 20px;
  text-align: center;
  display: none;
  animation: slideInUp 0.3s ease forwards;
  width: 100%;
}

.form-message.success {
  display: block;
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #15803d;
}

.form-message.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

/* Button Loading & Disabled State */
.btn-pink:disabled {
  background-color: var(--color-muted);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  opacity: 0.8;
}

/* 8. STRUCTURAL FOOTER */
.footer {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--glass-border);
  padding: 60px 40px 20px;
  font-family: var(--font-hi);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-white);
}

.footer-logo span {
  color: var(--color-yellow);
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--color-light);
  line-height: 1.6;
}

.footer-heading {
  font-size: 1.25rem;
  color: var(--color-yellow);
  margin-bottom: 20px;
  position: relative;
  font-weight: 700;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--color-pink);
  margin-top: 8px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-light);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-yellow);
  padding-left: 5px;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 0.95rem;
  color: var(--color-white);
}

.footer-contact-item.hi-text {
  font-family: var(--font-hi);
}

.footer-contact-item svg {
  color: var(--color-pink);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-pink);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 4px 10px var(--color-pink-glow);
  margin-top: 10px;
  font-family: var(--font-en);
  align-self: flex-start;
}

.btn-call:hover {
  background-color: var(--color-pink-hover);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   POPUP MODAL (SYLLABUS VIEW)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 15, 45, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

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

.modal-container {
  background: var(--color-white);
  border: 1px solid var(--color-border-blue);
  border-radius: 24px;
  max-width: 500px;
  width: 90%;
  padding: 30px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
  transform: scale(0.9);
  transition: var(--transition-normal);
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--glass-bg);
  border: 1px solid var(--color-border-blue);
  color: var(--text-main);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-pink);
  border-color: var(--color-pink);
  color: var(--color-white);
}

.modal-title {
  font-size: 1.8rem;
  color: var(--color-blue);
  margin-bottom: 15px;
  font-family: var(--font-hi);
  text-align: center;
}

.modal-desc {
  color: var(--text-light);
  margin-bottom: 25px;
  text-align: center;
  font-size: 0.95rem;
}

.syllabus-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.syllabus-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 18px;
  transition: var(--transition-normal);
}

.syllabus-item:hover {
  border-color: var(--color-yellow);
  transform: translateX(3px);
}

.syllabus-name {
  font-family: var(--font-hi);
  font-weight: 600;
  font-size: 1.1rem;
}

.btn-download {
  background: var(--color-pink);
  color: var(--color-white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-download:hover {
  background: var(--color-pink-hover);
}

/* ==========================================================================
   4.5 CTA BANNER SECTION
   ========================================================================== */
.cta-banner-section {
  padding: 60px 20px;
  background: var(--bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.cta-banner-title {
  font-family: var(--font-hi);
  font-size: 2.2rem;
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.3;
}

.cta-banner-title span {
  color: var(--color-yellow);
}

.cta-banner-desc {
  font-size: 1.1rem;
  color: var(--color-light);
  max-width: 600px;
  line-height: 1.6;
}

.cta-banner-section .btn-cta {
  margin-top: 10px;
}

/* Floating WhatsApp FAB for Mobile */
.whatsapp-fab {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-green);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: var(--transition-normal);
  animation: pulse-green-fab 2s infinite;
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}

@keyframes pulse-green-fab {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Hide on desktop, show only on mobile viewports */
@media (min-width: 769px) {
  .whatsapp-fab {
    display: none;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet & Mobile Screens under 1024px */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Screens under 768px */
@media (max-width: 768px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }

  body {
    font-size: 15px;
  }

  .section-title {
    font-size: 2rem;
  }

  /* 1. Sticky Micro-Header (Top Bar) */
  .top-bar {
    padding: 0 15px;
  }

  .top-bar-left span {
    display: none; /* Hide 'hscontact247@gmail.com' text, keep icon */
  }

  .top-bar-left a {
    font-size: 1.2rem;
  }

  .whatsapp-link span {
    display: none; /* Hide 'WhatsApp' text on mobile, keep icon */
  }

  .whatsapp-link {
    padding: 6px;
    border-radius: 50%;
  }

  /* 2. Navigation Bar */
  .navbar {
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.98);
  }

  .nav-menu {
    display: none; /* Collapses to Hamburger */
  }

  .hamburger {
    display: flex;
  }

  /* 3. Hero Section (Anti-Gravity Banner Slider) */
  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-slide {
    position: relative;
    grid-template-columns: 1fr !important;
    gap: 30px;
    text-align: center;
    padding: 60px 15px;
    height: auto;
    min-height: 480px;
  }

  .hero-slide::before {
    background: linear-gradient(180deg, rgba(20, 30, 85, 0.95) 0%, rgba(20, 30, 85, 0.9) 60%, rgba(20, 30, 85, 0.7) 100%) !important;
  }

  .hero-content {
    align-items: center;
    order: 1;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-desc {
    font-size: 1rem;
  }
  
  .hero-graphic-wrapper {
    order: 2;
    width: 100%;
    min-height: 80px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  .floating-badge {
    position: relative;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 8px 12px;
    border-radius: 12px;
    display: inline-flex;
    transform: none !important;
    animation: float 4s ease-in-out infinite;
  }

  .floating-badge:nth-child(2) {
    animation-delay: 2s;
  }

  /* 4. Core Features Section */
  .features-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 10px 5px 25px;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-pink) var(--bg-secondary);
  }

  .features-grid::-webkit-scrollbar {
    height: 6px;
  }

  .features-grid::-webkit-scrollbar-thumb {
    background: var(--color-pink);
    border-radius: 3px;
  }

  .feature-card {
    flex: 0 0 260px; /* Swiper card fixed width on mobile */
    scroll-snap-align: center;
    padding: 25px 15px;
  }

  /* 5. Courses Grid: switches automatically to a clean 2-column grid so tags are readable and tapable */
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .course-card {
    border-radius: 16px;
  }

  .course-body {
    padding: 15px 12px;
    gap: 8px;
  }

  .course-name {
    font-size: 1.15rem;
  }

  .course-tag {
    padding: 2px 8px;
    font-size: 0.75rem;
  }

  .course-features {
    display: flex; /* Show detailed features list on mobile course grid in light theme */
    font-size: 0.75rem;
    gap: 6px;
  }

  .course-features li {
    gap: 5px;
  }

  .course-features svg {
    width: 12px;
    height: 12px;
  }

  /* 6. Mission & Vision Statement */
  .vision-box {
    padding: 30px 15px;
  }

  .vision-text {
    font-size: 1.25rem;
  }

  /* 7. Lead Generation Contact Form */
  .contact-container {
    padding: 20px;
  }

  .form-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  /* 8. Structural Footer */
  .footer {
    padding: 40px 15px 20px;
  }

  /* 4.5 CTA Banner Section Mobile */
  .cta-banner-title {
    font-size: 1.6rem;
  }

  .cta-banner-desc {
    font-size: 0.95rem;
  }

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

/* Extra small mobile viewports */
@media (max-width: 480px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr); /* Ensure 2 columns */
  }

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