/* 
  Sai Tuition Centre - Ultra-Bright Vibrant Stylesheet
  Unified Fixed Top Header Stack (Navbar + Marquee Announcement Bar)
  Primary Color: Electric Pink (#ff007f)
  Paired Bright Colors: Vivid Neon Magenta, Bright Sunset Red, Deep Violet, Golden Accent
  Gradient: linear-gradient(135deg, #ff007f 0%, #ff4d6d 45%, #7000ff 100%)
*/

:root {
  --primary-pink: #ff007f;
  --secondary-pink: #ff4d6d;
  --bright-magenta: #ff1493;
  --accent-purple: #7000ff;
  --deep-purple: #3a0ca3;
  --soft-pink-bg: #fff0f6;
  --gradient-primary: linear-gradient(135deg, #ff007f 0%, #ff4d6d 45%, #7000ff 100%);
  --gradient-bright: linear-gradient(135deg, #ff1493 0%, #ff66b2 35%, #9d4edd 70%, #7000ff 100%);
  --gradient-sunset: linear-gradient(135deg, #ff007f 0%, #ff758c 50%, #ff70a6 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #fff4f9 100%);
  --text-dark: #1f051d;
  --text-muted: #5e4b5b;
  --box-shadow-soft: 0 12px 32px rgba(255, 0, 127, 0.14);
  --box-shadow-hover: 0 20px 45px rgba(255, 0, 127, 0.3);
  --border-radius-card: 22px;
  --transition-fast: 0.3s ease;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
}

section[id], footer[id], div[id] {
  scroll-margin-top: 108px;
}

body {
  overflow-x: hidden;
  background-color: #fff8fb;
  padding-top: 0;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

/* 0. UNIFIED FIXED TOP HEADER STACK */
.fixed-top-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100%;
  z-index: 1050;
  box-shadow: 0 8px 30px rgba(255, 0, 127, 0.18);
  transition: all 0.3s ease;
}

.top-gradient-stripe {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #ff007f 0%, #ff4d6d 25%, #ff70a6 50%, #9d4edd 75%, #7000ff 100%);
}

/* 1. Running Announcement Bar (Inside Fixed Header) */
.announcement-bar {
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 7px 0;
  font-size: 0.92rem;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  margin-top: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.marquee-content {
  display: inline-block;
  animation: marquee 35s linear infinite;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  margin-right: 35px;
}

.marquee-item i {
  margin-right: 8px;
  font-size: 1.1rem;
  color: #ffe600;
}

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

/* 2. Navigation Bar (Inside Fixed Header) */
.navbar-custom {
  position: relative !important;
  top: 0 !important;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(255, 0, 127, 0.25);
  transition: all 0.4s ease;
  padding: 10px 0;
}

.navbar-custom.scrolled {
  padding: 7px 0;
  background: rgba(255, 255, 255, 0.98);
}

/* Mobile Navbar Styling & Toggler Button */
.navbar-toggler-icon-custom {
  font-size: 1.85rem;
  color: var(--primary-pink);
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block;
  line-height: 1;
}

.navbar-toggler {
  outline: none !important;
  box-shadow: none !important;
  border-radius: 10px;
  background: rgba(255, 0, 127, 0.08);
  padding: 6px 12px;
  transition: background 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  z-index: 1060;
}

.navbar-toggler:focus, .navbar-toggler:active, .navbar-toggler[aria-expanded="true"] {
  background: rgba(255, 0, 127, 0.18);
  box-shadow: 0 0 0 3px rgba(255, 0, 127, 0.25) !important;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 0, 127, 0.25);
    border-radius: 18px;
    padding: 16px 14px;
    margin-top: 10px;
    box-shadow: 0 16px 36px rgba(255, 0, 127, 0.25);
    max-height: calc(85vh - 90px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all 0.3s ease;
  }

  .navbar-collapse:not(.show):not(.collapsing) {
    display: none !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 0 !important;
    box-shadow: none !important;
  }

  .navbar-nav {
    gap: 4px;
  }

  .nav-link {
    padding: 12px 18px !important;
    border-radius: 12px;
    font-size: 1.02rem;
    font-weight: 700;
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(255, 0, 127, 0.08);
    color: var(--primary-pink) !important;
  }

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

.navbar-brand-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-brand-img {
  transform: scale(1.06);
}

.brand-text {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 700;
  padding: 8px 16px !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-pink) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* 00. Rolling Graduation Cap Page Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-icon-box {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 3rem;
  box-shadow: 0 12px 35px rgba(255, 0, 127, 0.45);
  animation: capRoll 2s infinite ease-in-out;
  margin-bottom: 20px;
}

@keyframes capRoll {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-25deg) scale(1.15); }
  50% { transform: rotate(360deg) scale(1.2); }
  75% { transform: rotate(385deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}

.preloader-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.preloader-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Gradient Text & Utilities */
.text-pink {
  color: var(--primary-pink) !important;
}

.bg-pink-light {
  background: linear-gradient(180deg, #fff0f6 0%, #fff7fa 100%) !important;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.gradient-bg {
  background: var(--gradient-primary);
  color: #ffffff;
}

/* Pill Buttons */
.btn-gradient-primary {
  background: var(--gradient-primary);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(255, 0, 127, 0.4);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gradient-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(255, 0, 127, 0.55);
  color: #ffffff !important;

}

.btn-outline-pink {
  border: 2px solid var(--primary-pink);
  color: var(--primary-pink) !important;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 50px;
  background: #ffffff;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(255, 0, 127, 0.15);
}

.btn-outline-pink:hover {
  background: var(--gradient-primary);
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 0, 127, 0.4);
}

.btn-whatsapp {
  background: var(--gradient-primary) !important;
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(255, 0, 127, 0.15);;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:  0 10px 25px rgba(255, 0, 127, 0.4);;
}

.btn-call {
  background: linear-gradient(135deg, #0077ff 0%, #7000ff 100%) !important;
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.35);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-call:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 119, 255, 0.5);
}

/* 3. Hero Section */
.hero-section {
  position: relative;
  padding: 195px 0 70px 0 !important; /* Top offset for fixed header stack */
  background: radial-gradient(circle at 10% 20%, rgba(255, 224, 238, 0.9) 0%, rgba(255, 255, 255, 1) 90%);
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  opacity: 0.7;
}

.shape-1 {
  width: 350px;
  height: 350px;
  background: rgba(255, 0, 127, 0.3);
  top: -50px;
  right: -50px;
  animation: floatShape 8s ease-in-out infinite alternate;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(112, 0, 255, 0.3);
  bottom: 20px;
  left: -50px;
  animation: floatShape 10s ease-in-out infinite alternate-reverse;
}

@keyframes floatShape {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 30px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Ultra-Bright Linear Gradient Hero Badge Button */
.hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #ff007f 0%, #ff1493 30%, #9d4edd 70%, #7000ff 100%) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  padding: 10px 26px !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  font-size: 1.02rem !important;
  margin-bottom: 22px !important;
  box-shadow: 0 8px 25px rgba(255, 0, 127, 0.45) !important;
  letter-spacing: 0.4px;
  transition: all 0.3s ease;
}

.hero-badge i {
  color: #ffe600 !important;
  font-size: 1.15rem;
}

.hero-badge:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(255, 0, 127, 0.6) !important;
  color: #ffffff !important;
}

.highlight-cyan-accent {
  color: #00d2ff;
  background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
  font-weight: 900;
}

/* Active Nav Link Soft Pill Highlight */
.nav-link.active {
  background: rgba(255, 0, 127, 0.12) !important;
  color: var(--primary-pink) !important;
  border-radius: 20px !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 30px;
  font-weight: 500;
}

/* 3.5. Running Marquee Banner Ticker ("it should also scroll") */
.hero-scrolling-marquee-bar {
  background: linear-gradient(90deg, #10002b 0%, #240046 30%, #3c096c 60%, #10002b 100%);
  color: #ffffff;
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  border-top: 3px solid rgba(255, 0, 127, 0.4);
  border-bottom: 3px solid rgba(112, 0, 255, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: heroMarqueeScroll 30s linear infinite;
  width: max-content;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 0 25px;
  letter-spacing: 0.4px;
}

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

/* Gallery Card Hover Effects */
.gallery-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.gallery-card img {
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(31, 5, 29, 0.92) 0%, rgba(31, 5, 29, 0) 100%);
  transition: opacity 0.3s ease;
}

.hero-img-wrapper {
  position: relative;
  z-index: 2;
}

.hero-img {
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(255, 0, 127, 0.28);
  border: 6px solid #ffffff;
  transition: transform 0.5s ease;
  animation: floatHero 6s ease-in-out infinite;
}

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

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 14px 22px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(255, 0, 127, 0.2);
  border: 2px solid rgba(255, 0, 127, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: floatCard 4s ease-in-out infinite alternate;
}

.float-card-1 {
  top: 10%;
  left: -20px;
}

.float-card-2 {
  bottom: 12%;
  right: -10px;
  animation-delay: 2s;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.float-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 16px rgba(255, 0, 127, 0.35);
}

/* 4. Feature & Custom Card Styling */
.section-title-wrapper {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.section-subtitle-tag {
  color: var(--primary-pink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: block;
}

.custom-card {
  background: #ffffff;
  border-radius: var(--border-radius-card);
  padding: 32px 26px;
  border: 2px solid rgba(255, 0, 127, 0.16);
  box-shadow: var(--box-shadow-soft);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.custom-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

.custom-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
  border-color: var(--primary-pink);
}

.card-icon-box {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 22px;
  box-shadow: 0 8px 22px rgba(255, 0, 127, 0.35);
  transition: transform 0.3s ease;
}

.custom-card:hover .card-icon-box {
  transform: scale(1.1) rotate(6deg);
}

.quote-box {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.08) 0%, rgba(112, 0, 255, 0.08) 100%);
  border-left: 5px solid var(--primary-pink);
  padding: 22px 26px;
  border-radius: 0 18px 18px 0;
  font-style: italic;
  font-weight: 700;
  color: var(--deep-purple);
  margin: 25px 0;
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.08);
}

/* 5. Stat Badge Cards - STRICT EQUAL HEIGHT & ALIGNMENT */
.stat-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 14px;
  box-shadow: 0 8px 25px rgba(255, 0, 127, 0.12);
  border: 2px solid rgba(255, 0, 127, 0.2);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 145px;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-pink);
  box-shadow: 0 14px 30px rgba(255, 0, 127, 0.25);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.3;
}

/* 6. Comprehensive Curriculum Cards - EQUAL HEIGHT */
.curriculum-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 38px 32px;
  box-shadow: 0 14px 40px rgba(255, 0, 127, 0.14);
  border: 2px solid rgba(255, 0, 127, 0.22);
  position: relative;
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.curriculum-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 26px 26px 0 0;
}

.curriculum-card:hover {
  box-shadow: 0 22px 50px rgba(255, 0, 127, 0.28);
  border-color: var(--primary-pink);
}

.badge-stream {
  background: var(--gradient-primary);
  color: #fff;
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(255, 0, 127, 0.3);
}

.subject-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 25px 0;
}

.subject-tag {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.1) 0%, rgba(112, 0, 255, 0.1) 100%);
  color: var(--deep-purple);
  padding: 7px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(255, 0, 127, 0.2);
}

/* 7. Exam Preparation Roadmap - SINGLE DIRECTION (ALL SAME SIDE) */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 10px 0 10px 10px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 5px;
  background: var(--gradient-primary);
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}

.timeline-step {
  position: relative;
  margin-bottom: 30px;
  width: 100%;
  padding-left: 75px;
  text-align: left !important;
}

.timeline-node {
  position: absolute;
  top: 15px;
  left: 3px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px rgba(255, 0, 127, 0.25), 0 8px 22px rgba(255, 0, 127, 0.4);
  z-index: 2;
}

.timeline-content {
  background: #ffffff;
  padding: 24px 28px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 0, 127, 0.12);
  border: 2px solid rgba(255, 0, 127, 0.2);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateX(8px);
  border-color: var(--primary-pink);
  box-shadow: 0 16px 38px rgba(255, 0, 127, 0.25);
}

/* 8. DARK PINK BACKGROUND FOR WHY CHOOSE SAI TUITION */
#why-choose-us {
  background: linear-gradient(135deg, #580038 0%, #80004d 50%, #4a0033 100%) !important;
  color: #ffffff !important;
}

#why-choose-us .section-title-wrapper h2 {
  color: #ffffff !important;
}

#why-choose-us .section-title-wrapper p {
  color: #ffd0e8 !important;
}

#why-choose-us .section-subtitle-tag {
  color: #ff85c0 !important;
}

#why-choose-us .stat-card-dark {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(10px);
  border-radius: 24px;
  color: #ffffff !important;
  padding: 28px 20px;
}

#why-choose-us .stat-card-dark h1 {
  background: linear-gradient(135deg, #ffffff 0%, #ff85c0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

#why-choose-us .stat-card-dark h5, 
#why-choose-us .stat-card-dark p {
  color: #ffffff !important;
}

#why-choose-us .bg-pink-light-dark {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(8px);
  color: #ffffff !important;
}

#why-choose-us .bg-pink-light-dark i {
  color: #ff85c0 !important;
}

/* 9. Doubt Form & Registration */
.form-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 45px 40px;
  box-shadow: 0 18px 45px rgba(255, 0, 127, 0.18);
  border: 2px solid rgba(255, 0, 127, 0.25);
}

.form-control, .form-select {
  border-radius: 14px;
  padding: 14px 18px;
  border: 2px solid rgba(255, 0, 127, 0.25);
  font-size: 0.98rem;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 4px rgba(255, 0, 127, 0.25);
}

/* 10. Floating Sticky Actions */
.floating-sticky-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.45rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.sticky-btn:hover {
  transform: scale(1.14);
}

.sticky-whatsapp {
  background: linear-gradient(135deg, #25d366, #109648);
}

.sticky-call {
  background: var(--gradient-primary);
}

.sticky-top {
  background: var(--deep-purple);
  opacity: 0;
  visibility: hidden;
}

.sticky-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Floating Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(255, 0, 127, 0.4);
  font-weight: 700;
  font-size: 0.98rem;
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* 11. FOOTER WITH ENROLL NOW GRADIENT BACKGROUND COLOR */
.footer-section {
  background: var(--gradient-primary) !important; /* Exactly the Enroll Now button gradient */
  color: #ffffff !important;
  padding: 75px 0 28px 0;
  position: relative;
  box-shadow: 0 -10px 30px rgba(255, 0, 127, 0.25);
}

.footer-section h5, 
.footer-section p, 
.footer-section small {
  color: #ffffff !important;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.footer-links a:hover {
  color: #ffe600 !important; /* Vibrant golden hover */
  padding-left: 6px;
}

/* Scroll Reveal Initial States */
.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive Adjustments */
@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 120px;
  }
  section[id], footer[id], div[id] {
    scroll-margin-top: 120px;
  }
  .hero-section {
    padding-top: 180px !important;
    padding-bottom: 50px !important;
  }
  .hero-title {
    font-size: clamp(2rem, 5.5vw, 2.8rem);
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-img {
    margin-top: 25px;
    max-width: 100%;
  }
  .floating-card {
    position: relative;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin-top: 15px;
    display: inline-flex;
  }
  .stat-card {
    min-height: 120px;
    padding: 16px 10px;
  }
  .curriculum-card {
    padding: 28px 20px;
  }
}

@media (max-width: 767.98px) {
  html {
    scroll-padding-top: 130px;
  }
  section[id], footer[id], div[id] {
    scroll-margin-top: 130px;
  }
  .hero-section {
    padding-top: 175px !important;
  }
  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }
  .hero-badge {
    font-size: 0.88rem !important;
    padding: 8px 18px !important;
    white-space: normal;
    text-align: center;
  }
  .hero-content .d-flex.gap-3 {
    flex-direction: column;
    width: 100%;
  }
  .hero-content .d-flex.gap-3 .btn {
    width: 100%;
    justify-content: center;
  }
  .timeline-container::before {
    left: 20px;
  }
  .timeline-step {
    padding-left: 55px;
  }
  .timeline-node {
    left: -5px !important;
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
  .timeline-content {
    padding: 18px 20px;
  }
  .floating-sticky-container {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }
  .sticky-btn {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }
  .form-card {
    padding: 24px 16px;
    border-radius: 20px;
  }
  .announcement-bar {
    font-size: 0.85rem;
    padding: 5px 0;
  }
}

@media (max-width: 480px) {
  .brand-text {
    font-size: 1.15rem;
  }
  .navbar-brand-img {
    height: 42px;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .stat-label {
    font-size: 0.82rem;
  }
  .payment-qr-card {
    padding: 20px 14px !important;
  }
  .upi-id-box code {
    font-size: 0.82rem !important;
  }
}

/* ==========================================================================
   17. TUITION FEE & REGISTRATION PAYMENT SECTION & SCANNER STYLES
   ========================================================================== */
.payment-qr-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #ffffff;
}

.payment-qr-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(255, 0, 127, 0.22) !important;
}

.qr-image-wrapper {
  overflow: hidden;
  background: #ffffff;
}

.qr-scanner-img {
  width: 100%;
  height: auto;
  max-height: 290px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.payment-qr-card:hover .qr-scanner-img {
  transform: scale(1.02);
}

/* Animated Scanner Laser Line */
@keyframes scanLaser {
  0% { top: 8%; opacity: 0.7; }
  50% { top: 86%; opacity: 1; }
  100% { top: 8%; opacity: 0.7; }
}

.scan-overlay-line {
  position: absolute;
  left: 8%;
  width: 84%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff007f 30%, #ffe600 50%, #ff007f 70%, transparent);
  box-shadow: 0 0 12px #ff007f, 0 0 22px #ffe600;
  animation: scanLaser 3s ease-in-out infinite;
  border-radius: 3px;
  pointer-events: none;
}

.upi-id-box {
  background: var(--soft-pink-bg);
  border-left: 4px solid var(--primary-pink) !important;
}

.border-pink-subtle {
  border-color: rgba(255, 0, 127, 0.25) !important;
}

.bg-pink-gradient {
  background: var(--gradient-primary) !important;
}

.btn-outline-pink {
  border: 2px solid var(--primary-pink);
  color: var(--primary-pink);
  background: transparent;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-outline-pink:hover, .btn-outline-pink:focus {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.35);
  transform: translateY(-2px);
}

.btn-pink-glow {
  background: linear-gradient(135deg, #ff007f 0%, #ff1493 100%);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  box-shadow: 0 8px 25px rgba(255, 0, 127, 0.38);
  transition: all 0.3s ease;
}

.btn-pink-glow:hover {
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 0, 127, 0.55);
}

/* Saved Doubts Log Styles */
.fs-7 {
  font-size: 0.82rem;
}

.saved-doubts-container {
  max-height: 360px;
  overflow-y: auto;
  padding-right: 5px;
}

.saved-doubts-container::-webkit-scrollbar {
  width: 5px;
}

.saved-doubts-container::-webkit-scrollbar-thumb {
  background: var(--primary-pink);
  border-radius: 10px;
}

.saved-doubt-item {
  background: #fff8fb;
  border-left: 4px solid var(--primary-pink);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  border-top: 1px solid rgba(255, 0, 127, 0.1);
  border-right: 1px solid rgba(255, 0, 127, 0.1);
  border-bottom: 1px solid rgba(255, 0, 127, 0.1);
  transition: all 0.2s ease;
}

.saved-doubt-item:hover {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.12);
}

#savedDoubtsCollapse {
  display: none;
  transition: all 0.3s ease;
}

#savedDoubtsCollapse.show {
  display: block !important;
}



