/* ==========================================================================
   Jai Tuition Centre - Premium CSS System
   Color Theme:
   - Primary: Electric Bright Yellow (#FFD600)
   - Accent Gradient: Electric Royal Blue to Violet-Magenta (135deg, #2563EB, #7C3AED, #DB2777)
   - Secondary: White (#FFFFFF)
   - Text: #0F172A (Deep Slate)
   - Glassmorphism Cards: 18px rounded, soft shadows, backdrop blur
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties & Reset
   -------------------------------------------------------------------------- */
:root {
  /* Bright Yellow Tokens */
  --primary-yellow: #FFD600;
  --primary-yellow-light: #FFFDE7;
  --primary-yellow-hover: #FFC400;
  --primary-yellow-glow: rgba(255, 214, 0, 0.45);
  
  /* Bright Linear Gradient Combinations */
  --gradient-primary: linear-gradient(135deg, #1E1B4B 0%, #2563EB 50%, #7C3AED 100%);
  --gradient-secondary: linear-gradient(135deg, #2563EB 0%, #7C3AED 50%, #DB2777 100%);
  --gradient-hero-bg: linear-gradient(135deg, #FFFDE7 0%, #FFF59D 45%, #FFD600 100%);
  --gradient-gold: linear-gradient(135deg, #FFE082 0%, #FFD600 50%, #FFA000 100%);
  --gradient-body-bg: linear-gradient(160deg, #FFFDE7 0%, #FFF9C4 20%, #FFF3B0 40%, #FFE9A8 60%, #FFDD94 80%, #FFD180 100%);
  
  --accent-blue: #1E1B4B;
  --accent-blue-hover: #0F172A;
  --accent-purple: #7C3AED;
  --accent-royal: #2563EB;
  
  --whatsapp-green: #25D366;
  --whatsapp-green-hover: #1EBE5B;
  --call-blue: #0284C7;
  --white: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-bg-hover: rgba(255, 255, 255, 0.96);
  --glass-border: rgba(255, 214, 0, 0.4);
  --glass-shadow: 0 12px 35px -5px rgba(30, 27, 75, 0.1);
  --glass-shadow-hover: 0 22px 45px -5px rgba(124, 58, 237, 0.22);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-card: 18px;
  --radius-pill: 50px;
  
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--gradient-body-bg);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* --------------------------------------------------------------------------
   2. Preloader Animation
   -------------------------------------------------------------------------- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--gradient-primary);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-content {
  text-align: center;
  color: var(--white);
}

.logo-spinner {
  font-size: 3.8rem;
  color: var(--primary-yellow);
  animation: pulseRotate 2s infinite ease-in-out;
  margin-bottom: 1rem;
}

.loader-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.loader-content p {
  color: var(--primary-yellow);
  font-size: 1.05rem;
  font-weight: 700;
  opacity: 0.95;
  margin-top: 0.3rem;
}

@keyframes pulseRotate {
  0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.18) rotate(180deg); opacity: 1; }
  100% { transform: scale(1) rotate(360deg); opacity: 0.8; }
}

body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
}

/* --------------------------------------------------------------------------
   3. Top Announcement Bar (Continuous Scrolling Marquee)
   -------------------------------------------------------------------------- */
.announcement-bar {
  background: var(--gradient-primary);
  color: var(--primary-yellow);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.65rem 0;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--primary-yellow);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
  position: relative;
  z-index: 1001;
}

.announcement-track {
  display: inline-block;
  white-space: nowrap;
  animation: scrollMarquee 35s linear infinite;
}

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

.announcement-track span {
  display: inline-block;
  padding: 0 1.8rem;
  letter-spacing: 0.4px;
}

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

/* --------------------------------------------------------------------------
   4. Canvas Particle Background
   -------------------------------------------------------------------------- */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* --------------------------------------------------------------------------
   5. Header & Sticky Navigation Bar
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 38px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  background: transparent;
}

.header.scrolled {
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 25px rgba(30, 27, 75, 0.12);
  border-bottom: 2px solid var(--primary-yellow);
}

.scroll-progress-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(30, 27, 75, 0.08);
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FFD600, #FF007A, #7C3AED, #2563EB);
  transition: width 0.1s ease-out;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  transition: height var(--transition-fast);
}

.header.scrolled .header-container {
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-dark);
}

.logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: var(--primary-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
  transition: transform var(--transition-bounce);
  border: 1px solid var(--primary-yellow);
}

.logo:hover .logo-icon {
  transform: scale(1.08) rotate(-6deg);
}

.logo-icon.light {
  background: var(--primary-yellow);
  color: var(--accent-blue);
  border: none;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--accent-blue);
}

.brand-name .highlight {
  color: #7C3AED;
  background: linear-gradient(135deg, #2563EB, #7C3AED, #DB2777);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-name.light {
  color: var(--white);
}

.highlight-yellow {
  color: var(--primary-yellow);
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent-purple);
}

/* Navigation List */
.nav-list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.96rem;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-secondary);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

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

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

.btn-nav-doubt {
  background: var(--gradient-primary);
  color: var(--primary-yellow) !important;
  padding: 0.6rem 1.35rem !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
  border: 1.5px solid var(--primary-yellow);
  transition: all var(--transition-fast) !important;
}

.btn-nav-doubt::after {
  display: none !important;
}

.btn-nav-doubt:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
  background: var(--gradient-secondary);
}

/* Mobile Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.hamburger-btn .bar {
  height: 3.5px;
  width: 100%;
  background: var(--accent-blue);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

.hamburger-btn.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .bar:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  padding-top: 155px;
  padding-bottom: 85px;
  background: var(--gradient-hero-bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.blob-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.6;
  z-index: 0;
  animation: floatBlob 10s infinite alternate ease-in-out;
}

.blob-1 {
  width: 420px;
  height: 420px;
  background: linear-gradient(135deg, #3B82F6, #7C3AED);
  top: -100px;
  right: -50px;
}

.blob-2 {
  width: 380px;
  height: 380px;
  background: linear-gradient(135deg, #FFD600, #FF007A);
  bottom: -50px;
  left: -100px;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, -45px) scale(1.12); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  z-index: 1;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--accent-blue);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 800;
  border: 2px solid var(--primary-yellow);
  box-shadow: 0 4px 15px rgba(255, 214, 0, 0.4);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  font-weight: 900;
  color: var(--accent-blue);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.hero-subtitle-gradient {
  display: block;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 900;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 0.25rem;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-dark);
  font-weight: 500;
  opacity: 0.95;
  max-width: 550px;
  margin-bottom: 2.2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Button Base & Ripple Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.9rem;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.02rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-yellow);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
  border: 1.5px solid var(--primary-yellow);
}

.btn-primary:hover {
  background: var(--gradient-secondary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.45);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-green-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.btn-call {
  background: var(--call-blue);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.35);
}

.btn-call:hover {
  background: #0369A1;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.5);
}

.btn-outline-dark {
  background: var(--white);
  color: var(--accent-blue);
  border: 2px solid var(--primary-yellow);
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.btn-outline-dark:hover {
  background: var(--gradient-primary);
  color: var(--primary-yellow);
  transform: translateY(-3px);
}

.btn-direction {
  width: 100%;
  background: var(--gradient-primary);
  color: var(--primary-yellow);
  padding: 0.95rem;
  border: 1px solid var(--primary-yellow);
}

.btn-direction:hover {
  background: var(--gradient-secondary);
  color: var(--white);
}

.btn-whatsapp-submit {
  width: 100%;
  background: var(--whatsapp-green);
  color: var(--white);
  padding: 1.05rem;
  font-size: 1.12rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.38);
}

.btn-whatsapp-submit:hover {
  background: var(--whatsapp-green-hover);
  transform: translateY(-2px);
}

/* Ripple Effect Element */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.hero-trust-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary-yellow);
}

.trust-item i {
  color: #7C3AED;
}

/* Hero Visual & Floating Elements */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 30px;
}

.glowing-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 106%;
  height: 106%;
  border-radius: 36px;
  background: var(--gradient-secondary);
  filter: blur(12px);
  z-index: 0;
  opacity: 0.7;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(30, 27, 75, 0.25);
  position: relative;
  z-index: 1;
  border: 5px solid var(--primary-yellow);
}

/* Floating Educational Elements */
.float-element {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(30, 27, 75, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--accent-purple);
  z-index: 2;
  border: 2.5px solid var(--primary-yellow);
}

.float-1 { top: -15px; left: -15px; animation: floatAnim 4s infinite ease-in-out; color: #2563EB; }
.float-2 { top: 25%; right: -25px; animation: floatAnim 4.5s infinite ease-in-out 0.5s; color: #E11D48; }
.float-3 { bottom: 20%; left: -25px; animation: floatAnim 5s infinite ease-in-out 1s; color: #7C3AED; }
.float-4 { bottom: -15px; right: 20%; animation: floatAnim 4.2s infinite ease-in-out 1.5s; color: #059669; }
.float-5 { top: 10%; left: 40%; animation: floatAnim 3.8s infinite ease-in-out 0.2s; color: #D97706; }
.float-6 { top: 60%; right: -15px; animation: floatAnim 4.8s infinite ease-in-out 0.8s; color: #2563EB; }
.float-7 { bottom: -20px; left: 15%; animation: floatAnim 5.2s infinite ease-in-out 1.2s; color: var(--whatsapp-green); }

@keyframes floatAnim {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(6deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* SVG Wave Divider */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: transparent;
  margin-top: -3px;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 65px;
}

/* --------------------------------------------------------------------------
   7. Common Section Layout & Glassmorphism Cards
   -------------------------------------------------------------------------- */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.bg-light-yellow {
  background: var(--gradient-gold);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-blue);
  background: var(--primary-yellow);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.8rem;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 12px rgba(255, 214, 0, 0.4);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 900;
  color: var(--accent-blue);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.5rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.title-underline {
  width: 80px;
  height: 5px;
  background: var(--gradient-secondary);
  border-radius: 3px;
  margin: 1rem auto 0;
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow: var(--glass-shadow);
  padding: 2rem;
  transition: all var(--transition-normal);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-6px);
  border-color: var(--primary-yellow);
}

/* --------------------------------------------------------------------------
   8. About Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.about-teacher-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 5px solid var(--primary-yellow);
}

.teacher-img-container {
  position: relative;
  width: 185px;
  height: 185px;
  margin-bottom: 1.5rem;
}

.teacher-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-yellow);
  box-shadow: 0 10px 25px rgba(30, 27, 75, 0.25);
}

.teacher-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--primary-yellow);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  border: 1px solid var(--primary-yellow);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.teacher-name {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--accent-blue);
}

.teacher-role {
  color: var(--accent-purple);
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.qualifications-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.qual-card {
  background: var(--primary-yellow);
  color: var(--accent-blue);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 3px 10px rgba(255, 214, 0, 0.35);
}

.teacher-bio {
  font-size: 0.98rem;
  color: var(--text-dark);
  line-height: 1.65;
}

/* About Highlights Grid */
.highlights-heading {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
}

.hl-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--primary-yellow);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 214, 0, 0.4);
}

.hl-content h4 {
  font-family: var(--font-main);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 0.2rem;
}

.hl-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. Courses Offered & Boards Section (Bright Linear Gradient Cards & Letters)
   -------------------------------------------------------------------------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
  margin-top: 1.2rem;
  margin-bottom: 3.5rem;
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 22px;
  padding: 2.5rem 2rem;
  overflow: visible;
  transition: all var(--transition-normal);
}

/* Card 1: Classes 6 - 10 Bright Gradient Background */
.course-card-1 {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 45%, #2563EB 80%, #3B82F6 100%);
  border: 3.5px solid var(--primary-yellow);
  box-shadow: 0 16px 45px rgba(37, 99, 235, 0.4);
  color: var(--white);
}

.course-card-1:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.55);
}

/* Card 2: Classes 11 - 12 Bright Gradient Background */
.course-card-2 {
  background: linear-gradient(135deg, #1E1B4B 0%, #4F46E5 40%, #7C3AED 75%, #DB2777 100%);
  border: 3.5px solid var(--primary-yellow);
  box-shadow: 0 18px 50px rgba(124, 58, 237, 0.45);
  color: var(--white);
}

.course-card-2:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 25px 65px rgba(219, 39, 119, 0.6);
}

.popular-ribbon {
  position: absolute;
  top: -16px;
  right: 24px;
  background: linear-gradient(135deg, #FFD600 0%, #FF9800 50%, #FF5722 100%);
  color: #0F172A;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(255, 214, 0, 0.65);
  border: 1.5px solid var(--white);
  z-index: 10;
}

.course-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0F172A;
  background: var(--primary-yellow);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.9rem;
  box-shadow: 0 4px 14px rgba(255, 214, 0, 0.45);
}

/* Bright Linear Gradient Letters for Class Titles */
.course-class-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  background: linear-gradient(90deg, #FFD600 0%, #FFEA00 45%, #FFFFFF 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.course-stream-subtitle {
  font-size: 1.02rem;
  color: #FFE082;
  font-weight: 700;
  margin-bottom: 1.8rem;
}

/* Bright Gradient Letters for Subjects Heading */
.subjects-heading {
  font-size: 1.12rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  background: linear-gradient(90deg, #FFD600 0%, #00F2FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subjects-heading i {
  color: var(--primary-yellow);
  -webkit-text-fill-color: initial;
}

.subject-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.2rem;
}

/* Bright Glass Tag Chips */
.subject-tag {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 800;
  border: 1.5px solid var(--primary-yellow);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-fast);
}

.subject-tag i {
  color: var(--primary-yellow);
}

.subject-tag:hover {
  background: linear-gradient(135deg, #FFD600 0%, #FF9800 100%);
  color: #0F172A;
  border-color: var(--white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 214, 0, 0.55);
}

.subject-tag:hover i {
  color: #0F172A;
}

/* Card Button Action */
.btn-card-action {
  width: 100%;
  background: linear-gradient(135deg, #FFD600 0%, #FF9800 100%);
  color: #0F172A;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 25px rgba(255, 214, 0, 0.45);
  border: 1.5px solid var(--white);
}

.btn-card-action:hover {
  background: var(--white);
  color: var(--accent-blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.6);
}

.course-footer {
  margin-top: auto;
}

/* Boards Grid (Bright Gradient Cards) */
.boards-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--accent-blue);
  margin-bottom: 2rem;
}

.boards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

.board-card {
  text-align: center;
  padding: 1.8rem 1.1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 45%, #2563EB 80%, #7C3AED 100%);
  border: 3px solid var(--primary-yellow);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.35);
  color: var(--white);
  transition: all var(--transition-normal);
}

.board-card:hover {
  transform: translateY(-8px) scale(1.03);
  background: linear-gradient(135deg, #1E1B4B 0%, #4F46E5 40%, #7C3AED 75%, #DB2777 100%);
  box-shadow: 0 20px 45px rgba(124, 58, 237, 0.5);
  border-color: var(--white);
}

.board-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD600 0%, #FF9800 100%);
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  border: 2px solid var(--white);
  box-shadow: 0 6px 18px rgba(255, 214, 0, 0.55);
  transition: transform var(--transition-bounce);
}

.board-card:hover .board-icon {
  transform: scale(1.12) rotate(6deg);
  background: var(--white);
  color: var(--accent-purple);
}

.board-card h4 {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
  background: linear-gradient(90deg, #FFD600 0%, #FFEA00 50%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.board-card p {
  font-size: 0.9rem;
  color: #FFE082;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   10. Why Students Love Us Section
   -------------------------------------------------------------------------- */
.love-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.love-card {
  text-align: center;
  padding: 2.2rem 1.5rem;
}

.love-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--primary-yellow);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin: 0 auto 1.2rem;
  box-shadow: 0 6px 18px rgba(255, 214, 0, 0.45);
  transition: transform var(--transition-bounce);
}

.love-card:hover .love-icon {
  transform: scale(1.15) rotate(6deg);
  background: var(--gradient-primary);
  color: var(--primary-yellow);
}

.love-card h3 {
  font-family: var(--font-main);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 0.6rem;
}

.love-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. Why Choose Us Section
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
}

.why-card {
  text-align: center;
  padding: 1.8rem 1rem;
}

.why-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--gradient-primary);
  color: var(--primary-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin: 0 auto 1rem;
  border: 1px solid var(--primary-yellow);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.why-card h4 {
  font-family: var(--font-main);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 0.4rem;
}

.why-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   12. Achievements Section (Animated Counters)
   -------------------------------------------------------------------------- */
.achievements-section {
  background: var(--gradient-primary);
  color: var(--white);
  border-top: 4px solid var(--primary-yellow);
  border-bottom: 4px solid var(--primary-yellow);
}

.achievements-section .section-tag {
  background: var(--primary-yellow);
  color: var(--accent-blue);
  border: none;
}

.achievements-section .section-title {
  color: var(--white);
}

.achievements-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.counter-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 214, 0, 0.4);
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.counter-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--primary-yellow);
}

.counter-icon {
  font-size: 2.6rem;
  color: var(--primary-yellow);
  margin-bottom: 1rem;
}

.counter-number-wrapper {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.counter-plus, .counter-percent {
  color: var(--primary-yellow);
}

.counter-text {
  font-size: 2rem;
  color: var(--primary-yellow);
}

.counter-label {
  font-family: var(--font-main);
  font-size: 1.08rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   13. Exam Preparation Timeline Section (Single-Sided Sequential Layout)
   -------------------------------------------------------------------------- */
.timeline-wrapper {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  padding: 1rem 0 1rem 10px;
}

.timeline-line {
  position: absolute;
  top: 20px;
  bottom: 40px;
  left: 31px;
  width: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.8rem;
  width: 100%;
  padding-left: 72px;
}

.timeline-dot {
  position: absolute;
  top: 18px;
  left: 10px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--primary-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 0 0 5px var(--primary-yellow-light);
  border: 1.5px solid var(--primary-yellow);
  z-index: 2;
}

.timeline-content {
  padding: 1.6rem 2rem;
  border-left: 5px solid var(--primary-yellow);
}

.timeline-content h3 {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 0.4rem;
}

.timeline-content p {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. Contact Section & Submit Doubt Form
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.c-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: var(--primary-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid var(--primary-yellow);
}

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

.c-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
}

.c-val {
  font-family: var(--font-main);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--accent-blue);
  text-decoration: none;
}

.c-val-address {
  font-size: 0.96rem;
  color: var(--text-dark);
  line-height: 1.55;
}

.map-embed-container {
  margin-top: 1.2rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--primary-yellow);
}

/* Doubt Form Styling */
.doubt-card {
  padding: 2.5rem;
  border-top: 5px solid var(--whatsapp-green);
}

.form-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--whatsapp-green);
  background: rgba(37, 211, 102, 0.12);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.8rem;
}

.doubt-card h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--accent-blue);
}

.form-subtitle {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 0.45rem;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.15rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(30, 27, 75, 0.15);
  background: var(--white);
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

.form-textarea {
  resize: vertical;
}

/* --------------------------------------------------------------------------
   15. Floating Action Buttons (WhatsApp, Call, Back to Top)
   -------------------------------------------------------------------------- */
.floating-action-group {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.45rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  position: relative;
  transition: all var(--transition-bounce);
}

.float-whatsapp {
  background: var(--whatsapp-green);
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.float-call {
  background: var(--call-blue);
  animation: floatAnim 4s infinite ease-in-out;
}

.float-top {
  background: var(--gradient-primary);
  color: var(--primary-yellow);
  border: 1px solid var(--primary-yellow);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.5);
  transition: all var(--transition-fast);
}

.float-top.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.float-top:hover {
  animation: bounceTop 0.8s infinite alternate ease-in-out;
  background: var(--gradient-secondary);
  color: var(--white);
}

@keyframes bounceTop {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.float-tooltip {
  position: absolute;
  right: 68px;
  background: var(--accent-blue);
  color: var(--primary-yellow);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast);
  pointer-events: none;
  border: 1px solid var(--primary-yellow);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--gradient-primary);
  color: var(--white);
  padding-top: 85px;
  padding-bottom: 35px;
  border-top: 5px solid var(--primary-yellow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr;
  gap: 2.5rem;
  margin-bottom: 45px;
}

.footer-tagline {
  color: var(--primary-yellow);
  font-weight: 800;
  font-size: 1rem;
  margin-top: 0.8rem;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-yellow);
  margin-bottom: 1.2rem;
}

.footer-links, .footer-contact-list {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--primary-yellow);
  transform: translateX(4px);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact-list i {
  color: var(--primary-yellow);
  margin-top: 0.2rem;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.btn-footer-map {
  background: var(--primary-yellow);
  color: var(--accent-blue);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.7rem 1.2rem;
  width: 100%;
}

.btn-footer-map:hover {
  background: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 25px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   17. Scroll Reveal Animations
   -------------------------------------------------------------------------- */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.active, .reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Helper Spacing Utilities */
.margin-top-sm { margin-top: 0.8rem; }
.margin-top-md { margin-top: 1.2rem; }
.margin-top-xl { margin-top: 3.5rem; }
.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   18. Responsive Styles (Mobile, Tablet, Desktop)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons, .hero-trust-badges {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .boards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width: 768px) {
  .header {
    top: 38px;
  }

  .hamburger-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82vw;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    padding: 100px 2rem 2rem;
    transition: right 0.4s ease-in-out;
    z-index: 1001;
    border-left: 4px solid var(--primary-yellow);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 1.15rem;
  }

  .timeline-wrapper {
    padding-left: 0;
  }

  .timeline-line {
    left: 24px;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-dot {
    left: 4px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .love-grid {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }
}

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

  .btn {
    width: 100%;
  }

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

  .why-grid {
    grid-template-columns: 1fr;
  }

  .counters-grid {
    grid-template-columns: 1fr;
  }

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

  .floating-action-group {
    bottom: 15px;
    right: 15px;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}
