/* ============================================================
   TRINATRA EDUCATION — Custom Stylesheet
   Author: TRINATRA Dev Team
   Colors: Navy #0B0F2B | Gold #D4A843 | White #FFFFFF
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy: #0B0F2B;
  --navy-light: #131842;
  --navy-medium: #1a2050;
  --gold: #D4A843;
  --gold-light: #e8c876;
  --gold-dark: #b8912e;
  --white: #FFFFFF;
  --gray-100: #f0f0f5;
  --gray-200: #d1d1dc;
  --gray-300: #a0a0b8;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-gold: 0 0 30px rgba(212, 168, 67, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Global Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
  line-height: 1.6;
}

/* ---------- Selection ---------- */
::selection {
  background-color: var(--gold);
  color: var(--navy);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* ---------- Typography ---------- */
.font-display {
  font-family: 'Playfair Display', serif;
}

/* ---------- Glassmorphism Card ---------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 168, 67, 0.3);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

/* ---------- Gold Gradient Text ---------- */
.gold-gradient-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Gold Gradient Button ---------- */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1rem;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 168, 67, 0.4);
}

/* ---------- Outline Button ---------- */
.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 50px;
  background: transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1rem;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 168, 67, 0.3);
}

/* ---------- Navbar ---------- */
.navbar {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(11, 15, 43, 0.85);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(11, 15, 43, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  position: relative;
  color: var(--gray-200);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background-color: var(--navy-light);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 15, 43, 0.92), rgba(11, 15, 43, 0.7));
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Animated floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: #4a5fc1;
  bottom: -50px;
  left: -50px;
  animation-delay: 3s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: var(--gold-light);
  top: 50%;
  left: 50%;
  animation-delay: 5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ---------- Stats Counter ---------- */
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 3.5rem;
  }
}

/* ---------- Section Divider ---------- */
.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 0 auto;
}

/* ---------- Service Card Icon Circle ---------- */
.icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(212, 168, 67, 0.05));
  border: 1px solid rgba(212, 168, 67, 0.3);
  font-size: 1.5rem;
  color: var(--gold);
  transition: var(--transition-smooth);
}

.glass-card:hover .icon-circle {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  box-shadow: 0 0 20px rgba(212, 168, 67, 0.4);
}

/* ---------- How It Works Timeline ---------- */
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(212, 168, 67, 0.1));
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 2;
  position: relative;
  flex-shrink: 0;
}

/* ---------- Founder Image ---------- */
.founder-image-wrapper {
  position: relative;
}

.founder-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), transparent, var(--gold));
  z-index: -1;
  opacity: 0.6;
}

/* ---------- Testimonial Card ---------- */
.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  background: var(--glass-bg);
}

.faq-item:hover {
  border-color: rgba(212, 168, 67, 0.2);
}

.faq-item.active {
  border-color: rgba(212, 168, 67, 0.4);
  box-shadow: var(--shadow-gold);
}

.faq-question {
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--white);
  transition: color 0.3s ease;
  gap: 16px;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question .faq-icon {
  transition: transform 0.3s ease;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  color: var(--gray-300);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.08), transparent);
  z-index: 0;
}

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-smooth);
  text-decoration: none;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Particle Canvas (Hero) ---------- */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Star Rating ---------- */
.star-rating {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* ---------- Footer ---------- */
.footer-link {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: block;
  padding: 4px 0;
}

.footer-link:hover {
  color: var(--gold);
  padding-left: 6px;
}

/* ---------- Gold Pulse Ring ---------- */
.pulse-ring {
  position: relative;
}

.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: pulse-ring-anim 2s ease-out infinite;
}

@keyframes pulse-ring-anim {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ---------- Gradient Border ---------- */
.gradient-border {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), transparent, var(--gold));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

/* ---------- Loading Shimmer ---------- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- Hamburger Animation ---------- */
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Input Focus Styling ---------- */
.form-input {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  width: 100%;
  outline: none;
}

.form-input::placeholder {
  color: var(--gray-300);
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}

/* ---------- Page Header (Inner Pages) ---------- */
.page-header {
  padding-top: 120px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--gold);
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.08;
}

/* ---------- Responsive Utilities ---------- */
@media (max-width: 640px) {
  .stat-number {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.75rem;
  }
}

/* ============================================================
   EDUCATION BACKGROUNDS & MODERN ANIMATIONS — Enhancement Pack
   ============================================================ */

/* ---------- Floating Education Icons (Section Decoration) ---------- */
.floating-edu-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.float-icon {
  position: absolute;
  color: var(--gold);
  opacity: 0.05;
  animation: float-random 12s ease-in-out infinite;
  line-height: 1;
}

.float-icon:nth-child(1) { top: 8%;  left: 4%;   font-size: 3rem;   animation-delay: 0s;  animation-duration: 10s; }
.float-icon:nth-child(2) { top: 15%; right: 7%;  font-size: 2rem;   animation-delay: 2s;  animation-duration: 14s; }
.float-icon:nth-child(3) { top: 55%; left: 2%;   font-size: 2.5rem; animation-delay: 4s;  animation-duration: 11s; }
.float-icon:nth-child(4) { top: 65%; right: 4%;  font-size: 3.5rem; animation-delay: 1s;  animation-duration: 13s; }
.float-icon:nth-child(5) { bottom: 15%; left: 8%; font-size: 2rem;  animation-delay: 3s;  animation-duration: 9s; }
.float-icon:nth-child(6) { bottom: 10%; right: 10%; font-size: 2.5rem; animation-delay: 5s; animation-duration: 12s; }

@keyframes float-random {
  0%   { transform: translateY(0) rotate(0deg) scale(1); }
  25%  { transform: translateY(-18px) rotate(8deg) scale(1.05); }
  50%  { transform: translateY(-8px) rotate(-4deg) scale(0.95); }
  75%  { transform: translateY(-24px) rotate(6deg) scale(1.02); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

/* ---------- Stats Section: Radial glow + subtle edu tile ---------- */
.stats-edu-bg {
  position: relative;
  isolation: isolate;
}

.stats-edu-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,168,67,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(74,95,193,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* ---------- Services Section: Book/Pencil SVG tile BG ---------- */
.services-edu-bg {
  position: relative;
  isolation: isolate;
}

.services-edu-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Crect x='8' y='20' width='18' height='22' rx='2' fill='none' stroke='%23D4A843' stroke-opacity='0.07' stroke-width='1.2'/%3E%3Cline x1='10' y1='24' x2='24' y2='24' stroke='%23D4A843' stroke-opacity='0.05' stroke-width='0.8'/%3E%3Cline x1='10' y1='28' x2='24' y2='28' stroke='%23D4A843' stroke-opacity='0.05' stroke-width='0.8'/%3E%3Cline x1='10' y1='32' x2='20' y2='32' stroke='%23D4A843' stroke-opacity='0.05' stroke-width='0.8'/%3E%3Cpath d='M55 15 L65 15 L65 25 L60 30 L55 25 Z' fill='none' stroke='%23D4A843' stroke-opacity='0.06' stroke-width='1.2'/%3E%3Ccircle cx='35' cy='58' r='10' fill='none' stroke='%23D4A843' stroke-opacity='0.05' stroke-width='1'/%3E%3Cpath d='M30 58 L34 62 L42 54' stroke='%23D4A843' stroke-opacity='0.07' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  opacity: 1;
}

/* ---------- How It Works: Blueprint/Grid BG ---------- */
.howitworks-edu-bg {
  position: relative;
  isolation: isolate;
}

/* ============================================================
   GENERIC PAGE CONTENT (Privacy Policy, Terms of Service, etc)
   ============================================================ */
.generic-page-content h1,
.generic-page-content h2,
.generic-page-content h3,
.generic-page-content h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--white);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.generic-page-content h2 {
  font-size: 1.5rem; /* ~texy-2xl */
}

.generic-page-content p {
  line-height: 1.625; /* leading-relaxed */
  margin-bottom: 1rem;
  color: var(--gray-300);
}

.generic-page-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gray-300);
}

.generic-page-content ul li {
  margin-bottom: 0.5rem;
}

.generic-page-content a {
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

.generic-page-content a:hover {
  text-decoration: underline;
}

.generic-page-content strong, 
.generic-page-content b {
  color: var(--white);
  font-weight: 600;
}

.howitworks-edu-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--navy-light);
  background-image:
    linear-gradient(rgba(212,168,67,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,67,0.04) 1px, transparent 1px),
    radial-gradient(circle at 0 0, rgba(212,168,67,0.08) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 50px 50px;
}

/* ---------- Testimonials: Dot Grid BG ---------- */
.testimonials-edu-bg {
  position: relative;
  isolation: isolate;
}

.testimonials-edu-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(212,168,67,0.09) 1px, transparent 1px);
  background-size: 30px 30px;
}

.testimonials-edu-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 40%, var(--navy) 100%);
}

/* ---------- FAQ: Notebook ruled lines BG ---------- */
.faq-edu-bg {
  position: relative;
  isolation: isolate;
}

.faq-edu-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(
      transparent,
      transparent 39px,
      rgba(212,168,67,0.05) 39px,
      rgba(212,168,67,0.05) 40px
    );
}

/* ---------- CTA Section: Atom rings BG ---------- */
.cta-edu-bg {
  position: relative;
  isolation: isolate;
}

.cta-edu-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 0% 50%, rgba(212,168,67,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 100% 50%, rgba(74,95,193,0.07) 0%, transparent 70%);
  background-color: rgba(19, 24, 66, 0.5);
}

.cta-edu-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cellipse cx='50' cy='50' rx='30' ry='12' fill='none' stroke='%23D4A843' stroke-opacity='0.04' stroke-width='1' transform='rotate(0 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='30' ry='12' fill='none' stroke='%23D4A843' stroke-opacity='0.04' stroke-width='1' transform='rotate(60 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='30' ry='12' fill='none' stroke='%23D4A843' stroke-opacity='0.04' stroke-width='1' transform='rotate(120 50 50)'/%3E%3Ccircle cx='50' cy='50' r='4' fill='%23D4A843' fill-opacity='0.06'/%3E%3C/svg%3E");
  background-size: 100px 100px;
}

/* ---------- Aurora Section Glow ---------- */
.aurora-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.aurora-bg::before,
.aurora-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  animation: aurora-move 15s ease-in-out infinite alternate;
}

.aurora-bg::before {
  width: 450px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(212,168,67,0.07), transparent);
  top: -80px;
  left: -100px;
}

.aurora-bg::after {
  width: 450px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(74,95,193,0.07), transparent);
  bottom: -80px;
  right: -100px;
  animation-delay: 5s;
}

@keyframes aurora-move {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.1); }
}

/* ---------- Glowing stat shimmer ---------- */
.stat-shimmer-text {
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: stat-shimmer-anim 3s linear infinite;
}

@keyframes stat-shimmer-anim {
  from { background-position: 200% center; }
  to   { background-position: -200% center; }
}

/* ---------- Service card pop-in ---------- */
.pop-in {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pop-in.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ---------- Timeline dot pulse hover ---------- */
.timeline-dot {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.timeline-dot:hover {
  box-shadow: 0 0 0 8px rgba(212,168,67,0.15);
  transform: scale(1.12);
}

/* ---------- Tag chip ---------- */
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(212,168,67,0.1);
  border: 1px solid rgba(212,168,67,0.2);
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Gold divider line ---------- */
.gold-line-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
  opacity: 0.25;
  width: 100%;
}

/* ---------- Book flip anim on icon ---------- */
@keyframes book-flip {
  0%, 100% { transform: perspective(400px) rotateY(0deg); }
  40%       { transform: perspective(400px) rotateY(-20deg); }
  60%       { transform: perspective(400px) rotateY(20deg); }
}

.book-flip-anim {
  animation: book-flip 5s ease-in-out infinite;
  transform-origin: center;
  display: inline-block;
}

/* ---------- Spinning globe ---------- */
.spin-slow {
  animation: spin-slow-anim 20s linear infinite;
  display: inline-block;
}

@keyframes spin-slow-anim {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- Glow text effect ---------- */
.glow-text {
  text-shadow:
    0 0 20px rgba(212,168,67,0.35),
    0 0 60px rgba(212,168,67,0.15);
}

/* ---------- Responsive: hide decorative icons on mobile ---------- */
@media (max-width: 640px) {
  .float-icon {
    display: none;
  }
  .floating-edu-icons {
    display: none;
  }
}

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
.chatbot-container {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chatbot-window {
  width: 350px;
  max-width: calc(100vw - 40px);
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212,168,67,0.15);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transform-origin: bottom right;
}

.chatbot-window.active-chat {
  transform: translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hide scrollbar for chatbot body */
.chatbot-body::-webkit-scrollbar {
  width: 4px;
}
.chatbot-body::-webkit-scrollbar-track {
  background: transparent;
}
.chatbot-body::-webkit-scrollbar-thumb {
  background: rgba(212, 168, 67, 0.5);
  border-radius: 4px;
}

.chatbot-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.chatbot-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(212, 168, 67, 0.6);
}

.chatbot-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-icon-hat {
  position: absolute;
  top: -8px;
  left: 2px;
  font-size: 14px;
  color: var(--navy-light);
  transform: rotate(-10deg);
}

@media (max-width: 640px) {
  .chatbot-window {
    width: calc(100vw - 40px);
  }
}

