/* ═══════════════════════════════════════════════════════════════════════════
   MYGOALS FULL PLATFORM & ONBOARDING PORTAL — MASTER STYLESHEET
   Brand: MyGoals (India's First AI Education Platform & Partner Network)
   Headquarters: Udaipur, Rajasthan, India
   ═══════════════════════════════════════════════════════════════════════════ */

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

:root {
  /* Brand Theme Colors */
  --primary: #E31B23;
  --primary-hover: #C5131A;
  --primary-glow: rgba(227, 27, 35, 0.35);
  --primary-light: #FFF1F2;
  --primary-gradient: linear-gradient(135deg, #E31B23 0%, #FF3D45 50%, #B20F17 100%);
  --accent-gradient: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
  --partner-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --dark-gradient: linear-gradient(145deg, #0A1120 0%, #152238 100%);

  /* Neutrals & Dark Surfaces */
  --navy: #0F172A;
  --navy-deep: #070D18;
  --navy-surface: #111D33;
  --navy-card: rgba(17, 29, 51, 0.85);

  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  /* Accents */
  --emerald: #10B981;
  --emerald-light: #D1FAE5;
  --amber: #F59E0B;
  --amber-light: #FEF3C7;
  --blue: #2563EB;
  --blue-light: #DBEAFE;
  --purple: #8B5CF6;
  --purple-light: #EDE9FE;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Depth */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -8px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px -12px rgba(15, 23, 42, 0.14);
  --shadow-primary: 0 12px 28px rgba(227, 27, 35, 0.28);
  --shadow-3d: 0 25px 60px -15px rgba(0, 0, 0, 0.25);

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 9999px;

  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s ease;
}

*, *::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(--slate-800);
  background: #F8FAFC;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.25;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOP CONTACT BAR & ANNOUNCEMENT
   ═══════════════════════════════════════════════════════════════════════════ */
.top-announcement-bar {
  background: #080D1A;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  padding: 7px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}

.announcement-left, .announcement-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.badge-tag-live {
  background: rgba(227, 27, 35, 0.2);
  color: #FF666C;
  border: 1px solid rgba(227, 27, 35, 0.4);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-tag-live .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF3D45;
  box-shadow: 0 0 8px #FF3D45;
  animation: pulse-dot 1.6s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.contact-quick-link {
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.contact-quick-link:hover {
  color: #FFF;
}

.contact-quick-link i {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   STICKY MAIN NAVIGATION HEADER
   ═══════════════════════════════════════════════════════════════════════════ */
.navbar-main {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: var(--transition-smooth);
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 8px 18px var(--primary-glow);
  transform: perspective(400px) rotateY(-8deg);
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-logo-mark {
  transform: perspective(400px) rotateY(0deg) scale(1.05);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.brand-title span {
  color: var(--primary);
}

.brand-sub {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 3px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BIG SIZE ICON DOCK NAVIGATION (Hover/Click Title Reveal & Direct Link)
   ═══════════════════════════════════════════════════════════════════════════ */
.nav-dock {
  display: flex;
  align-items: center;
  background: rgba(248, 250, 252, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 4px 6px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-dock-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dock-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  border-radius: 13px;
  padding: 2px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

/* Big Size Icon Box (44px × 44px with 20px Icon) */
.dock-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: relative;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Vibrantly Curated Category Themes */
.dock-cyan {
  color: #0284C7;
  background: #E0F2FE;
  border: 1.5px solid rgba(14, 165, 233, 0.24);
}
.dock-indigo {
  color: #4F46E5;
  background: #EEF2FF;
  border: 1.5px solid rgba(99, 102, 241, 0.24);
}
.dock-crimson {
  color: #E31B23;
  background: #FFE4E6;
  border: 1.5px solid rgba(227, 27, 35, 0.25);
}
.dock-emerald {
  color: #059669;
  background: #D1FAE5;
  border: 1.5px solid rgba(16, 185, 129, 0.25);
}
.dock-amber {
  color: #D97706;
  background: #FEF3C7;
  border: 1.5px solid rgba(245, 158, 11, 0.25);
}
.dock-violet {
  color: #7C3AED;
  background: #EDE9FE;
  border: 1.5px solid rgba(139, 92, 246, 0.25);
}
.dock-orange {
  color: #EA580C;
  background: #FFEDD5;
  border: 1.5px solid rgba(249, 115, 22, 0.25);
}
.dock-pink {
  color: #C026D3;
  background: #FAE8FF;
  border: 1.5px solid rgba(217, 70, 239, 0.25);
}
.dock-teal {
  color: #0D9488;
  background: #CCFBF1;
  border: 1.5px solid rgba(20, 184, 166, 0.25);
}
.dock-green {
  color: #10B981;
  background: #ECFDF5;
  border: 1.5px solid rgba(16, 185, 129, 0.28);
}
.dock-purple {
  color: #7C3AED;
  background: #F5F3FF;
  border: 1.5px solid rgba(124, 58, 237, 0.28);
}

/* Micro Earn Badge on Partner Icon */
.dock-mini-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #E31B23;
  color: #FFFFFF;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.2px;
  padding: 1px 4px;
  border-radius: 99px;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(227, 27, 35, 0.4);
  border: 1.5px solid #FFFFFF;
}

/* Hover & Focus State: Micro-Bounce, Lift, and Theme Glow */
.nav-dock-btn:hover .dock-icon-box,
.nav-dock-btn:focus-visible .dock-icon-box {
  transform: translateY(-4px) scale(1.15);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.nav-dock-btn:hover .dock-cyan { box-shadow: 0 10px 20px rgba(2, 132, 199, 0.25); }
.nav-dock-btn:hover .dock-indigo { box-shadow: 0 10px 20px rgba(79, 70, 229, 0.25); }
.nav-dock-btn:hover .dock-crimson { box-shadow: 0 10px 20px rgba(227, 27, 35, 0.28); }
.nav-dock-btn:hover .dock-emerald { box-shadow: 0 10px 20px rgba(5, 150, 105, 0.25); }
.nav-dock-btn:hover .dock-amber { box-shadow: 0 10px 20px rgba(217, 119, 6, 0.25); }
.nav-dock-btn:hover .dock-violet { box-shadow: 0 10px 20px rgba(124, 58, 237, 0.25); }
.nav-dock-btn:hover .dock-orange { box-shadow: 0 10px 20px rgba(234, 88, 12, 0.25); }
.nav-dock-btn:hover .dock-pink { box-shadow: 0 10px 20px rgba(192, 38, 211, 0.25); }
.nav-dock-btn:hover .dock-teal { box-shadow: 0 10px 20px rgba(13, 148, 136, 0.25); }
.nav-dock-btn:hover .dock-green { box-shadow: 0 10px 20px rgba(16, 185, 129, 0.28); }

/* Active Click / Section State */
.nav-dock-btn.active .dock-icon-box {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Floating Tooltip Pill (Shows Title on Hover or Click) */
.dock-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.92);
  background: #0F172A;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 5px 12px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
  z-index: 150;
}

.dock-tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: #0F172A;
}

/* Reveal Tooltip on Hover, Focus, or when Active */
.nav-dock-btn:hover .dock-tooltip,
.nav-dock-btn:focus-visible .dock-tooltip,
.nav-dock-btn.active .dock-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Header CTAs */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-signin-nav {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--slate-200);
  background: #FFF;
  transition: var(--transition-smooth);
}

.btn-signin-nav:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-onboard-nav {
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(227, 27, 35, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition-smooth);
}

.btn-onboard-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(227, 27, 35, 0.42);
}

.btn-add-listing-nav {
  background: #EEF2FF;
  color: #4F46E5;
  border: 1.5px solid #C7D2FE;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-add-listing-nav:hover {
  background: #4F46E5;
  color: #FFF;
  border-color: #4F46E5;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.btn-add-room-nav {
  background: #FFF1F2;
  color: #E11D48;
  border: 1.5px solid #FECDD3;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-add-room-nav:hover {
  background: #E11D48;
  color: #FFF;
  border-color: #E11D48;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
}

.btn-register-nav {
  background: #0F172A;
  color: #FFFFFF;
  border: 1.5px solid #0F172A;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-register-nav:hover {
  background: #1E293B;
  color: #FFFFFF;
  border-color: #1E293B;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

/* Base Mobile Menu Triggers & Panels — Strictly HIDDEN on Desktop & Wide Screens (>1080px) */
.btn-mobile-menu-trigger,
.mobile-menu-btn,
.mobile-hamburger-btn,
.mobile-dropdown-panel {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION WITH 3D CANVAS & LIVE ECOSYSTEM HIGHLIGHTS
   ═══════════════════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #070D18 0%, #0F172A 100%);
  color: #FFF;
  overflow: hidden;
  padding: 60px 32px 80px;
}

/* Three.js / Interactive Canvas Overlay */
#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-glow-blob-1 {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 27, 35, 0.28) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-blob-2 {
  position: absolute;
  bottom: -80px;
  left: 10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-badge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227, 27, 35, 0.18);
  border: 1px solid rgba(227, 27, 35, 0.4);
  color: #FF666C;
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.hero-title-main {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.hero-title-main span.gradient-text {
  background: linear-gradient(135deg, #FF474F 0%, #FFA86B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline-p {
  font-size: 16.5px;
  line-height: 1.65;
  color: #CBD5E1;
  max-width: 90%;
  margin-bottom: 30px;
}

.hero-buttons-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--primary-gradient);
  color: #FFF;
  font-size: 15px;
  font-weight: 800;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px var(--primary-glow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(227, 27, 35, 0.5);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #FFF;
}

/* 8 Services Quick Floating Tags in Hero */
.hero-service-badges-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.service-pill-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.service-pill-chip:hover {
  background: rgba(227, 27, 35, 0.25);
  border-color: var(--primary);
  color: #FFF;
  transform: translateY(-2px);
}

.service-pill-chip i {
  color: #FF5A60;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO RIGHT: LUMINOUS EDUCATIONAL ARTWORK SHOWCASE (PURE VISUAL, NO TEXT)
   ═══════════════════════════════════════════════════════════════════════════ */
.edu-hero-art-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 15px;
  perspective: 1200px;
  user-select: none;
}

/* Multi-Tier Illuminated Spotlight Aura:
   Provides a bright, high-contrast, luminous white/light-cyan core behind the illustration
   so that every single dark line, ABC, E=mc², formula, beaker, ruler, and the black cap
   pop with 100% crystal-clear clarity against the dark hero background. */
.edu-art-spotlight {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 94%;
  height: 94%;
  max-width: 500px;
  max-height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.95) 45%,
    rgba(240, 249, 255, 0.88) 60%,
    rgba(224, 242, 254, 0.60) 75%,
    rgba(186, 230, 253, 0.25) 88%,
    transparent 100%
  );
  box-shadow: 
    0 0 60px rgba(255, 255, 255, 0.6),
    0 0 120px rgba(56, 189, 248, 0.4),
    0 0 180px rgba(99, 102, 241, 0.25);
  pointer-events: none;
  z-index: 1;
  animation: spotlightLevitate 5s ease-in-out infinite;
}

/* Subtle outer planetary energy rings around the spotlight */
.edu-art-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.edu-ring-cyan {
  width: 104%;
  height: 104%;
  max-width: 550px;
  max-height: 550px;
  border: 1px dashed rgba(56, 189, 248, 0.35);
  animation: ringRotateClockwise 36s linear infinite;
}

.edu-ring-gold {
  width: 112%;
  height: 112%;
  max-width: 590px;
  max-height: 590px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  box-shadow: inset 0 0 20px rgba(245, 158, 11, 0.08);
  animation: ringRotateCounterClockwise 28s linear infinite;
}

@keyframes ringRotateClockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ringRotateCounterClockwise {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* The Educational Artwork Image */
.edu-art-illustration {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 480px;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  cursor: pointer;
  filter: drop-shadow(0 15px 30px rgba(15, 23, 42, 0.4)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
  animation: eduLevitate 5s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.edu-art-illustration:hover {
  filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.5)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 35px rgba(56, 189, 248, 0.6));
}

@keyframes eduLevitate {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-14px) rotate(0.8deg) scale(1.02);
  }
}

@keyframes spotlightLevitate {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.97);
  }
  50% {
    transform: translate(-50%, -54%) scale(1.03);
  }
}

/* Pop bounce animation on click */
.art-bounce-pop {
  animation: artElasticPop 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes artElasticPop {
  0% { transform: scale(1); }
  30% { transform: scale(0.92) rotate(-2deg); }
  60% { transform: scale(1.07) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Floating Sparkle Particles on Click (NO TEXT, pure visual sparkles) */
.edu-particles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}

.edu-sparkle-dot {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  animation: sparkleFly 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes sparkleFly {
  0% {
    transform: translate(0, 0) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx, 0px), var(--ty, -70px)) scale(1.4);
    opacity: 0;
  }
}

@media (max-width: 991px) {
  .edu-art-illustration {
    max-height: 360px;
    max-width: 400px;
  }
  .edu-art-spotlight {
    max-width: 380px;
    max-height: 380px;
  }
}

@media (max-width: 575px) {
  .edu-art-illustration {
    max-height: 280px;
    max-width: 320px;
  }
  .edu-art-spotlight {
    max-width: 300px;
    max-height: 300px;
  }
}

/* Hero Right: Integrated Quick Mobile Onboarding Card */
.hero-auth-preview-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 32px 30px;
  box-shadow: var(--shadow-3d);
  color: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.9);
  position: relative;
}

.hero-auth-header {
  margin-bottom: 16px;
  text-align: center;
}

.hero-auth-header h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
}

.hero-auth-header p {
  font-size: 13px;
  color: var(--slate-500);
}

/* Live Gateway Badge */
.hero-auth-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}
.pulse-green-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Role Context Selector Strip */
.hero-role-toggle-strip {
  display: flex;
  background: var(--slate-100);
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
  margin-bottom: 14px;
}
.hero-role-chip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border: none;
  background: transparent;
  color: var(--slate-600);
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hero-role-chip.active {
  background: #FFFFFF;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

/* Quick Demo Fill Helper */
.quick-demo-fill-btn {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.quick-demo-fill-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

/* Inline Alert */
.hero-auth-alert {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.4;
  text-align: left;
}
.hero-auth-alert.alert-error {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FCA5A5;
}
.hero-auth-alert.alert-info {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

/* Multi-Account Picker */
.hero-accounts-picker-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 14px;
}
.hero-school-account-card {
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hero-school-account-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* 6-Digit OTP Boxes Grid */
.hero-otp-boxes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.hero-otp-digit {
  width: 100%;
  height: 52px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  border: 2px solid var(--slate-200);
  border-radius: 12px;
  background: var(--slate-50);
  outline: none;
  transition: all 0.2s ease;
}
.hero-otp-digit:focus {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.15);
}

/* Resend Timer & Links */
.otp-timer-resend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.btn-resend-link {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-resend-link[disabled] {
  color: var(--slate-400);
  cursor: not-allowed;
}

/* Demo OTP badge */
.btn-demo-otp-pill {
  background: #FEF3C7;
  color: #D97706;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-demo-otp-pill:hover {
  background: #FDE68A;
}

/* OTP Destination Badge */
.otp-dest-badge-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--slate-100);
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.btn-mini-change {
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}

/* Success Card */
.hero-auth-success-card {
  text-align: center;
  padding: 10px 0;
}
.success-ring-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 12px;
}
.hero-auth-success-card h4 {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 4px;
}
.success-inst-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--slate-100);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
}

.btn-step-back-link {
  border: none;
  background: transparent;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.btn-step-back-link:hover {
  color: var(--primary);
}

.hero-auth-trust-footer {
  font-size: 11.5px;
  color: var(--slate-500);
  text-align: center;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ECOSYSTEM NUMBERS BAR (LIVE PROOF COUNTER)
   ═══════════════════════════════════════════════════════════════════════════ */
.stats-proof-bar {
  background: #FFF;
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  padding: 30px 32px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 14px;
  border-right: 1px solid var(--slate-200);
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.stat-content h4 {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.stat-content h4 span {
  color: var(--primary);
}

.stat-content p {
  font-size: 12.5px;
  color: var(--slate-500);
  font-weight: 600;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   GENERIC SECTION WRAPPER & HEADINGS
   ═══════════════════════════════════════════════════════════════════════════ */
.platform-service-section {
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
}

.platform-service-section.bg-slate {
  background: #F4F7FB;
}

.section-container {
  max-width: 1440px;
  margin: 0 auto;
}

.section-header-centered {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-tag-pill {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.section-tag-pill.blue {
  background: var(--blue-light);
  color: var(--blue);
}

.section-tag-pill.green {
  background: var(--emerald-light);
  color: var(--emerald);
}

.section-tag-pill.purple {
  background: var(--purple-light);
  color: var(--purple);
}

.section-title-large {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-title-large span.highlight {
  color: var(--primary);
}

.section-desc-text {
  font-size: 15.5px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE 1: SCHOOL / COLLEGE / COACHING ERP & WHITE-LABEL APPS
   ═══════════════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE 1: SCHOOL / COLLEGE / COACHING ERP & WHITE-LABEL APPS (ESCHOOL)
   ═══════════════════════════════════════════════════════════════════════════ */
.erp-screens-switcher-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.erp-screen-tab-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: var(--transition-fast);
}

.erp-screen-tab-btn:hover {
  border-color: #8B1D24;
  color: #8B1D24;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 29, 36, 0.15);
}

.erp-screen-tab-btn.active {
  background: linear-gradient(135deg, #8B1D24 0%, #B91C1C 100%);
  border-color: #7F1D1D;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(139, 29, 36, 0.35);
}

.erp-dual-showcase-wrap {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  align-items: flex-start;
  margin-top: 10px;
}

.erp-dual-phones-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.phone-mockup-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.phone-mockup-badge {
  font-size: 11px;
  font-weight: 800;
  color: #8B1D24;
  background: #FEE2E2;
  border: 1px solid #FECACA;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.phone-mockup-badge.badge-blue {
  color: #1D4ED8;
  background: #DBEAFE;
  border-color: #BFDBFE;
}

/* Realistic Smartphone Hardware Frame */
.phone-outer-frame {
  width: 295px;
  height: 590px;
  background: #0F172A;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 22px 50px -10px rgba(15, 23, 42, 0.35), 0 0 0 3px #334155, inset 0 0 0 1px #475569;
  position: relative;
  flex-shrink: 0;
}

.phone-outer-frame.frame-maroon {
  box-shadow: 0 24px 55px -12px rgba(139, 29, 36, 0.35), 0 0 0 3px #1E293B, inset 0 0 0 1px #334155;
}

.phone-speaker-notch {
  width: 90px;
  height: 18px;
  background: #000000;
  border-radius: 0 0 12px 12px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notch-camera-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #111D33;
  border: 1px solid #1E293B;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #F8FAFC;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-screen.screen-scrollable {
  overflow-y: auto;
  scrollbar-width: none;
}
.phone-screen.screen-scrollable::-webkit-scrollbar {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ESCHOOL ADMIN STAFF APP (MATCHING USER IMAGE 1 & 3)
   ═══════════════════════════════════════════════════════════════════════════ */
.eschool-header-maroon {
  background: linear-gradient(135deg, #7F1D1D 0%, #991B1B 100%);
  color: #FFFFFF;
  padding: 26px 14px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eschool-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.eschool-avatar-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #991B1B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.eschool-header-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
}

.eschool-header-role {
  font-size: 9.5px;
  color: #FECACA;
}

.eschool-header-actions {
  font-size: 13px;
  cursor: pointer;
  opacity: 0.9;
}

/* Subpage Header (Inner Screens) */
.eschool-subpage-header {
  background: linear-gradient(135deg, #7F1D1D 0%, #991B1B 100%);
  color: #FFFFFF;
  padding: 26px 14px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* KPI Cards Row */
.eschool-kpis-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px 6px;
}

.eschool-kpi-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid #E2E8F0;
}

.kpi-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.kpi-icon-circle.green {
  background: #D1FAE5;
  color: #059669;
}

.kpi-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.kpi-lbl {
  font-size: 9px;
  color: var(--slate-500);
  margin-top: 1px;
}

/* Modules Grid (Today & Manage) */
.eschool-grid-section {
  padding: 6px 12px 4px;
}

.eschool-section-title {
  font-size: 11px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 7px;
  letter-spacing: 0.2px;
}

.eschool-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.eschool-mod-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 6px 4px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  border: 1px solid #F1F5F9;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.eschool-mod-card:hover {
  transform: translateY(-2px);
}

.eschool-mod-card span {
  font-size: 8.5px;
  font-weight: 700;
  color: #475569;
  margin-top: 4px;
  line-height: 1.1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mod-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #FFFFFF;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}

.bg-emerald { background: linear-gradient(135deg, #10B981, #059669); }
.bg-blue { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.bg-teal { background: linear-gradient(135deg, #14B8A6, #0D9488); }
.bg-purple { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.bg-coral { background: linear-gradient(135deg, #F87171, #EF4444); }
.bg-red { background: linear-gradient(135deg, #EF4444, #DC2626); }
.bg-indigo { background: linear-gradient(135deg, #6366F1, #4F46E5); }
.bg-sky { background: linear-gradient(135deg, #38BDF8, #0284C7); }
.bg-amber { background: linear-gradient(135deg, #FBBF24, #D97706); }
.bg-violet { background: linear-gradient(135deg, #A855F7, #7E22CE); }
.bg-cyan { background: linear-gradient(135deg, #06B6D4, #0891B2); }

/* Bottom Sticky Navigation Bar */
.eschool-bottom-bar {
  margin-top: auto;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  padding: 6px 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.04);
}

.bar-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 8.5px;
  font-weight: 700;
  color: #94A3B8;
  cursor: pointer;
}

.bar-nav-item i {
  font-size: 13px;
}

.bar-nav-item.active {
  color: #991B1B;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCREEN 1: TAKE ATTENDANCE (MATCHING USER IMAGE 1 RIGHT)
   ═══════════════════════════════════════════════════════════════════════════ */
.screen-take-attendance {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.attendance-kpi-pills {
  display: flex;
  gap: 6px;
  padding: 8px 12px 4px;
}

.att-pill {
  font-size: 9px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.pill-present { background: #D1FAE5; color: #047857; }
.pill-absent { background: #FEE2E2; color: #DC2626; }
.pill-late { background: #FEF3C7; color: #B45309; }

.eschool-search-bar {
  margin: 4px 12px 6px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #64748B;
}

.eschool-search-bar input {
  border: none;
  background: none;
  font-size: 10.5px;
  color: #334155;
  width: 100%;
}

.bulk-actions-row {
  display: flex;
  gap: 8px;
  padding: 0 12px 6px;
}

.btn-bulk {
  flex: 1;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  cursor: pointer;
}

.btn-all-present { color: #059669; border-color: #A7F3D0; }
.btn-clear { color: #DC2626; border-color: #FECACA; }

.attendance-legend-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 12px 6px;
  font-size: 8px;
  color: #64748B;
  font-weight: 700;
  border-bottom: 1px solid #F1F5F9;
}

.students-attendance-list {
  flex: 1;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.student-roll-item {
  background: #FFFFFF;
  border-radius: 9px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.student-info {
  display: flex;
  flex-direction: column;
}

.student-name {
  font-size: 11px;
  font-weight: 800;
  color: #0F172A;
}

.student-roll {
  font-size: 8.5px;
  color: #64748B;
}

.attendance-toggle-group {
  display: flex;
  gap: 4px;
}

.btn-att-toggle {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #94A3B8;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-att-toggle.active-present {
  background: #DC2626;
  border-color: #DC2626;
  color: #FFFFFF;
}

.btn-att-toggle.active-absent {
  background: #991B1B;
  border-color: #991B1B;
  color: #FFFFFF;
}

.btn-att-toggle.active-late {
  background: #B45309;
  border-color: #B45309;
  color: #FFFFFF;
}

.sticky-submit-wrap {
  padding: 8px 12px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}

.btn-submit-attendance {
  width: 100%;
  background: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 800;
  padding: 9px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
  cursor: pointer;
  border: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCREEN 2: ATTENDANCE HISTORY & CALENDAR (MATCHING USER IMAGE 4 & 5)
   ═══════════════════════════════════════════════════════════════════════════ */
.screen-attendance-history {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.overall-attendance-card {
  margin: 10px 12px 6px;
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%);
  color: #FFFFFF;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.overall-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.overall-sub-text {
  font-size: 9.5px;
  color: #BFDBFE;
}

.overall-percentage {
  font-size: 16px;
  font-weight: 900;
}

.overall-ratio {
  font-size: 9px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
}

.overall-progress-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.overall-progress-fill {
  height: 100%;
  background: #34D399;
}

.att-history-counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 4px 12px 8px;
}

.counter-box {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #E2E8F0;
  text-align: center;
}

.counter-box i {
  font-size: 11px;
  margin-bottom: 2px;
}

.count-num {
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.count-lbl {
  font-size: 7.5px;
  color: #64748B;
  font-weight: 700;
}

.green-box i, .green-box .count-num { color: #059669; }
.red-box i, .red-box .count-num { color: #DC2626; }
.purple-box i, .purple-box .count-num { color: #7C3AED; }
.amber-box i, .amber-box .count-num { color: #D97706; }

.calendar-month-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 14px 6px;
}

.cal-month-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #0F172A;
}

.btn-cal-nav {
  background: none;
  border: none;
  color: #2563EB;
  font-size: 11px;
  cursor: pointer;
}

.eschool-calendar-table {
  background: #FFFFFF;
  margin: 0 12px 6px;
  border-radius: 12px;
  padding: 8px 6px;
  border: 1px solid #E2E8F0;
}

.cal-weekdays-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 8px;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 6px;
}

.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.cal-day {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #334155;
  border-radius: 6px;
  position: relative;
}

.cal-day.ring-green {
  border: 1.5px solid #10B981;
  color: #047857;
}
.cal-day.ring-blue {
  border: 1.5px solid #3B82F6;
  color: #1D4ED8;
}
.cal-day.ring-purple {
  border: 1.5px solid #8B5CF6;
  color: #6D28D9;
}

.dot-p, .dot-b, .dot-v {
  position: absolute;
  bottom: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
}
.dot-p { background: #10B981; }
.dot-b { background: #3B82F6; }
.dot-v { background: #8B5CF6; }

.calendar-legend-bottom {
  display: flex;
  justify-content: space-around;
  padding: 6px 12px;
  font-size: 8px;
  color: #64748B;
  font-weight: 700;
  border-top: 1px solid #F1F5F9;
  margin-top: auto;
}

.leg-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 3px;
}
.leg-dot.bg-green { background: #10B981; }
.leg-dot.bg-red { background: #EF4444; }
.leg-dot.bg-purple { background: #8B5CF6; }
.leg-dot.bg-amber { background: #F59E0B; }

/* ═══════════════════════════════════════════════════════════════════════════
   SCREEN 3: FEES MANAGEMENT (MATCHING USER IMAGE 2 TOP CENTER)
   ═══════════════════════════════════════════════════════════════════════════ */
.screen-fees-mgmt {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fees-due-card {
  margin: 10px 12px 8px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.fee-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lbl-due {
  font-size: 10px;
  color: #64748B;
  font-weight: 700;
}

.badge-rupee-pill {
  font-size: 9.5px;
  font-weight: 800;
  background: #FEE2E2;
  color: #DC2626;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amount-due {
  font-size: 20px;
  font-weight: 900;
  color: #DC2626;
  margin: 2px 0 6px;
}

.fees-paid-progress-bar {
  height: 6px;
  background: #F1F5F9;
  border-radius: 3px;
  overflow: hidden;
}

.fees-paid-progress-bar .bar-fill {
  height: 100%;
  background: #10B981;
}

.fees-summary-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #F1F5F9;
}

.fee-chip {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chip-t { font-size: 8.5px; color: #64748B; }
.chip-v { font-size: 10px; font-weight: 800; color: #0F172A; }

.fee-breakdown-section {
  flex: 1;
  padding: 4px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fee-breakdown-title {
  font-size: 11px;
  font-weight: 800;
  color: #334155;
}

.fee-item-row {
  background: #FFFFFF;
  border-radius: 9px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #E2E8F0;
}

.fee-item-name { font-size: 11px; font-weight: 800; color: #0F172A; }
.fee-item-sub { font-size: 8.5px; color: #64748B; margin-top: 1px; }
.fee-item-amt { font-size: 11.5px; font-weight: 800; }

.badge-status-due {
  font-size: 8px;
  font-weight: 800;
  background: #FEE2E2;
  color: #DC2626;
  padding: 1px 6px;
  border-radius: 4px;
}
.badge-status-paid {
  font-size: 8px;
  font-weight: 800;
  background: #D1FAE5;
  color: #047857;
  padding: 1px 6px;
  border-radius: 4px;
}

.btn-pay-now {
  width: 100%;
  background: linear-gradient(135deg, #7F1D1D 0%, #991B1B 100%);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 800;
  padding: 9px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(127, 29, 29, 0.3);
  cursor: pointer;
  border: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCREEN 4: SCHOOL LIBRARY (MATCHING USER IMAGE 2 TOP RIGHT)
   ═══════════════════════════════════════════════════════════════════════════ */
.library-hero-banner {
  margin: 10px 12px 6px;
  background: linear-gradient(135deg, #881337 0%, #9F1239 100%);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 10px 12px;
}

.library-kpis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 6px 4px;
  text-align: center;
}

.lib-kpi-val { font-size: 13px; font-weight: 900; color: #FFFFFF; display: block; }
.lib-kpi-lbl { font-size: 7px; color: #FECDD3; font-weight: 800; }

.btn-lib-search {
  background: #0F172A;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 5px;
  border: none;
}

.library-categories-row {
  display: flex;
  gap: 5px;
  padding: 4px 12px 6px;
  overflow-x: auto;
}

.lib-cat-pill {
  font-size: 8.5px;
  font-weight: 700;
  color: #475569;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.lib-cat-pill.active {
  background: #FEE2E2;
  color: #991B1B;
  border-color: #FECACA;
}

.recent-books-list {
  padding: 0 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.book-card-item {
  background: #FFFFFF;
  border-radius: 9px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #E2E8F0;
}

.book-cover-box {
  width: 28px;
  height: 34px;
  border-radius: 4px;
  background: #FEE2E2;
  color: #991B1B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.book-details {
  display: flex;
  flex-direction: column;
}

.book-title { font-size: 10.5px; font-weight: 800; color: #0F172A; }
.book-author { font-size: 8.5px; color: #64748B; }
.book-avail { font-size: 8px; font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════════
   RIGHT COLUMN: ESCHOOL FEATURES GRID (MATCHING USER IMAGE 2)
   ═══════════════════════════════════════════════════════════════════════════ */
.eschool-features-showcase-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eschool-features-intro {
  margin-bottom: 4px;
}

.eschool-features-heading {
  font-size: 32px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
}

.eschool-features-sub {
  font-size: 15px;
  color: var(--slate-600);
  margin-top: 4px;
}

.eschool-features-grid-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.eschool-feat-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1.5px solid var(--slate-200);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: var(--transition-fast);
}

.eschool-feat-card:hover {
  border-color: #8B1D24;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(139, 29, 36, 0.12);
}

.feat-card-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.icon-red { background: #FEE2E2; color: #DC2626; }
.icon-purple { background: #EDE9FE; color: #7C3AED; }
.icon-green { background: #D1FAE5; color: #059669; }
.icon-amber { background: #FEF3C7; color: #D97706; }
.icon-blue { background: #DBEAFE; color: #2563EB; }
.icon-pink { background: #FCE7F3; color: #DB2777; }

.feat-card-content h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 3px;
}

.feat-card-content p {
  font-size: 12.5px;
  color: var(--slate-600);
  line-height: 1.45;
}

/* Trust Banner Matching Image 2 */
.eschool-trust-banner {
  background: linear-gradient(135deg, #7F1D1D 0%, #991B1B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 25px rgba(127, 29, 29, 0.28);
}

.trust-shield-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.trust-banner-text h5 {
  font-size: 15px;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.trust-banner-text p {
  font-size: 12.5px;
  color: #FECACA;
  line-height: 1.4;
}

.eschool-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 1200px) {
  .erp-dual-showcase-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .erp-features-grid-cards {
    grid-template-columns: 1fr;
  }

  /* Dual Phones Side-by-Side View on Mobile (Matching User Reference Image 3) */
  .erp-dual-phones-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 24px !important;
    padding: 0 2px !important;
    box-sizing: border-box !important;
  }

  .phone-mockup-item {
    flex: 1 1 0% !important;
    width: 50% !important;
    max-width: 195px !important;
    min-width: 0 !important;
  }

  .phone-mockup-badge {
    font-size: 8px !important;
    font-weight: 800 !important;
    padding: 3px 6px !important;
    margin-bottom: 6px !important;
    border-radius: 99px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    letter-spacing: 0 !important;
    gap: 3px !important;
  }

  .phone-outer-frame {
    width: 100% !important;
    max-width: 195px !important;
    height: 425px !important;
    border-radius: 24px !important;
    padding: 5px !important;
    box-shadow: 0 10px 25px -6px rgba(15, 23, 42, 0.35), 0 0 0 2px #334155 !important;
    margin: 0 auto !important;
  }

  .phone-speaker-notch {
    width: 48px !important;
    height: 10px !important;
    top: 5px !important;
    border-radius: 0 0 8px 8px !important;
  }

  .notch-camera-dot {
    width: 4px !important;
    height: 4px !important;
  }

  .phone-screen {
    border-radius: 18px !important;
  }

  /* Phone 1 (School Admin Staff App) Mobile Density */
  .eschool-header-maroon, .eschool-subpage-header {
    padding: 16px 7px 7px !important;
  }

  .eschool-avatar-logo {
    width: 18px !important;
    height: 18px !important;
    font-size: 8.5px !important;
  }

  .eschool-header-title {
    font-size: 9.5px !important;
  }

  .eschool-header-role {
    font-size: 7px !important;
  }

  .eschool-header-actions {
    font-size: 9.5px !important;
  }

  .eschool-kpis-row {
    padding: 5px 6px !important;
    gap: 5px !important;
  }

  .eschool-kpi-card {
    padding: 4px 5px !important;
    border-radius: 6px !important;
    gap: 4px !important;
  }

  .kpi-icon-circle {
    width: 17px !important;
    height: 17px !important;
    font-size: 8px !important;
  }

  .kpi-val {
    font-size: 9.5px !important;
  }

  .kpi-lbl {
    font-size: 7px !important;
  }

  .eschool-grid-section {
    padding: 4px 6px !important;
  }

  .eschool-section-title {
    font-size: 8.5px !important;
    margin-bottom: 4px !important;
  }

  .eschool-modules-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 3px !important;
  }

  .eschool-mod-card {
    padding: 3px 2px !important;
    border-radius: 5px !important;
  }

  .mod-icon-box {
    width: 22px !important;
    height: 22px !important;
    font-size: 9.5px !important;
    border-radius: 5px !important;
  }

  .eschool-mod-card span {
    font-size: 6.8px !important;
    margin-top: 2px !important;
    line-height: 1.1 !important;
  }

  .eschool-bottom-bar {
    padding: 4px 2px !important;
  }

  .bar-nav-item i {
    font-size: 9px !important;
  }

  .bar-nav-item span {
    font-size: 6.5px !important;
  }

  /* Phone 2 (Student & Staff Take Attendance View) Mobile Density */
  .attendance-kpi-pills {
    padding: 5px 6px 3px !important;
    gap: 3px !important;
    flex-wrap: nowrap !important;
  }

  .att-pill {
    font-size: 7px !important;
    padding: 2px 4px !important;
  }

  .eschool-search-bar {
    margin: 3px 6px 4px !important;
    padding: 3px 6px !important;
    font-size: 8.5px !important;
    gap: 4px !important;
  }

  .eschool-search-bar input {
    font-size: 8px !important;
  }

  .bulk-actions-row {
    padding: 0 6px 4px !important;
    gap: 4px !important;
  }

  .btn-bulk {
    padding: 3px 4px !important;
    font-size: 7.5px !important;
    gap: 3px !important;
  }

  .attendance-legend-row {
    padding: 3px 6px 4px !important;
    font-size: 6.5px !important;
  }

  .students-attendance-list {
    padding: 4px 6px !important;
    gap: 3px !important;
  }

  .student-roll-item {
    padding: 3px 4px !important;
    border-radius: 6px !important;
  }

  .student-name {
    font-size: 8.5px !important;
  }

  .student-roll {
    font-size: 6.8px !important;
  }

  .attendance-toggle-group {
    gap: 2px !important;
  }

  .btn-att-toggle {
    width: 16px !important;
    height: 16px !important;
    font-size: 7.5px !important;
    border-radius: 3px !important;
  }

  .btn-submit-att-action {
    height: 30px !important;
    font-size: 9px !important;
    margin: 4px 5px 5px !important;
    padding: 0 6px !important;
    border-radius: 8px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE 2: EDU DIRECTORY (INSTITUTES, HOSTELS, LIBRARIES)
   ═══════════════════════════════════════════════════════════════════════════ */
.directory-search-console {
  background: #FFF;
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  margin-bottom: 36px;
}

.directory-filter-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 14px;
  align-items: center;
}

.directory-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.directory-input-wrap input, .directory-input-wrap select {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.directory-category-chips {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.dir-cat-chip {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-600);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dir-cat-chip.active, .dir-cat-chip:hover {
  background: var(--navy);
  color: #FFF;
  border-color: var(--navy);
}

/* Directory Sample Listing Cards */
.directory-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dir-listing-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.dir-listing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.dir-card-media {
  height: 140px;
  background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 32px;
}

.dir-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(16, 185, 129, 0.9);
  color: #FFF;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.dir-card-body {
  padding: 20px;
}

.dir-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.dir-card-loc {
  font-size: 12.5px;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.dir-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE 3: EDU JOBS (EDUCATIONAL RECRUITMENT PORTAL)
   ═══════════════════════════════════════════════════════════════════════════ */
.jobs-board-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.jobs-listings-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-card-item {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  border: 1.5px solid var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.job-card-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.job-main-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.job-role-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.job-text h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.job-org-meta {
  font-size: 12.5px;
  color: var(--slate-500);
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.job-badges-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.job-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--slate-100);
  color: var(--slate-600);
}

.job-salary-tag {
  background: var(--emerald-light);
  color: var(--emerald);
  font-weight: 800;
}

/* Post a Job Box on Right */
.post-job-cta-box {
  background: linear-gradient(145deg, #0A1120 0%, #17243B 100%);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post-job-cta-box h3 {
  color: #FFF;
  font-size: 22px;
  margin-bottom: 10px;
}

.post-job-cta-box p {
  color: #CBD5E1;
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE 4: HOME TUTOR SERVICE (PERSONALIZED MENTORSHIP)
   ═══════════════════════════════════════════════════════════════════════════ */
.tutor-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.tutor-calculator-card {
  background: #FFF;
  border-radius: var(--radius-xl);
  padding: 32px 30px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
}

.tutor-calculator-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}

.tutor-pill-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 18px;
}

.tutor-opt-chip {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-700);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tutor-opt-chip.active {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

.tutor-rate-output-box {
  background: var(--slate-50);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px dashed var(--slate-300);
  margin-bottom: 20px;
}

.tutor-rate-text {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TUTOR FEATURE HIGHLIGHT & CREDENTIAL CARDS (CONTAINED, COMPACT SQUIRCLES)
   ═══════════════════════════════════════════════════════════════════════════ */
.tutor-highlights-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tutor-feature-card,
.erp-card-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 20px !important;
  background: #FFFFFF !important;
  border: 1.5px solid var(--slate-200) !important;
  border-radius: var(--radius-lg) !important;
  padding: 24px 26px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.tutor-feature-card:hover,
.erp-card-item:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09) !important;
}

.tutor-feature-card::before,
.erp-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
  transition: background 0.28s ease;
}

.tutor-feature-card:nth-child(1):hover::before,
.erp-card-item:nth-child(1):hover::before {
  background: var(--emerald) !important;
}

.tutor-feature-card:nth-child(2):hover::before,
.erp-card-item:nth-child(2):hover::before {
  background: var(--blue) !important;
}

.tutor-feature-card:nth-child(3):hover::before,
.erp-card-item:nth-child(3):hover::before {
  background: var(--purple) !important;
}

.tutor-feature-icon,
.erp-card-icon {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin: 0 !important;
}

.tutor-feature-card:hover .tutor-feature-icon,
.erp-card-item:hover .erp-card-icon {
  transform: scale(1.1) rotate(4deg);
}

.tutor-feature-icon.icon-emerald {
  background: #D1FAE5;
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.tutor-feature-icon.icon-blue {
  background: #DBEAFE;
  color: #2563EB;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.tutor-feature-icon.icon-purple {
  background: #EDE9FE;
  color: #7C3AED;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.tutor-feature-content,
.erp-card-text {
  flex: 1 !important;
  min-width: 0 !important;
}

.tutor-feature-content h4,
.erp-card-text h4 {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--navy) !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}

.tutor-feature-content p,
.erp-card-text p {
  font-size: 13.8px !important;
  line-height: 1.55 !important;
  color: var(--slate-600) !important;
  margin: 0 !important;
}

@media (max-width: 540px) {
  .tutor-feature-card,
  .erp-card-item {
    padding: 18px 16px !important;
    gap: 14px !important;
  }
  .tutor-feature-icon,
  .erp-card-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    font-size: 19px !important;
    border-radius: 13px !important;
  }
  .tutor-feature-content h4,
  .erp-card-text h4 {
    font-size: 15.5px !important;
  }
  .tutor-feature-content p,
  .erp-card-text p {
    font-size: 12.8px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE 5: MYGOALS DRIVER APP (BUS GPS LIVE TRACKING)
   ═══════════════════════════════════════════════════════════════════════════ */
.bus-gps-showcase-box {
  background: #080E1B;
  border-radius: var(--radius-xl);
  padding: 36px;
  color: #FFF;
  box-shadow: var(--shadow-3d);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.simulated-map-display {
  background: #111A2D;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  height: 380px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
}

/* Simulated Vector Map Lines */
.map-road-line {
  position: absolute;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.bus-moving-indicator {
  position: absolute;
  top: 140px;
  left: 30%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: moveBusSim 12s infinite linear;
}

@keyframes moveBusSim {
  0% { left: 20%; top: 120px; }
  50% { left: 60%; top: 200px; }
  100% { left: 80%; top: 140px; }
}

.bus-marker-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

.bus-pulse-ring {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.map-bus-label {
  background: rgba(0, 0, 0, 0.85);
  color: #FFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  margin-top: 6px;
  white-space: nowrap;
}

.gps-telemetry-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.telemetry-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.telemetry-card .label {
  font-size: 12.5px;
  color: #94A3B8;
  font-weight: 600;
}

.telemetry-card .val {
  font-size: 16px;
  font-weight: 800;
  color: #FFF;
}

.telemetry-card .val.green {
  color: #34D399;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE 6: EDU ADS & ROOM RENT PORTAL
   ═══════════════════════════════════════════════════════════════════════════ */
.eduads-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.eduads-tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: #FFF;
  border: 1.5px solid var(--slate-200);
  font-size: 14px;
  font-weight: 800;
  color: var(--slate-600);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.eduads-tab-btn.active {
  background: var(--navy);
  color: #FFF;
  border-color: var(--navy);
}

.eduads-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.eduad-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.eduad-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.eduad-media-box {
  height: 150px;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--slate-400);
  position: relative;
}

.eduad-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #FFF;
}

.eduad-badge.donate {
  background: var(--emerald);
}

.eduad-body {
  padding: 18px 20px;
}

.eduad-price {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}

.eduad-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.eduad-meta {
  font-size: 12px;
  color: var(--slate-500);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE 7: EDU-STORE (EDUCATIONAL E-COMMERCE)
   ═══════════════════════════════════════════════════════════════════════════ */
.store-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.store-product-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.store-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.store-img-placeholder {
  height: 140px;
  border-radius: var(--radius-md);
  background: var(--slate-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--slate-400);
  margin-bottom: 14px;
}

.store-prod-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.store-prod-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
}

.store-prod-price span.original {
  font-size: 13px;
  color: var(--slate-400);
  text-decoration: line-through;
  font-weight: 600;
  margin-left: 6px;
}

.btn-add-cart {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-pill);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-fast);
  margin-top: auto;
}

.btn-add-cart:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFF;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE 8: PARTNER & FRANCHISE REVENUE CALCULATOR
   ═══════════════════════════════════════════════════════════════════════════ */
.partner-section-card {
  background: linear-gradient(145deg, #0A1120 0%, #121F38 100%);
  border-radius: var(--radius-xl);
  padding: 50px 48px;
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-3d);
}

.partner-calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-top: 36px;
}

.slider-group {
  margin-bottom: 24px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 8px;
}

.slider-label-row strong {
  color: #FF5A60;
  font-size: 16px;
}

.custom-range-slider {
  width: 100%;
  accent-color: var(--primary);
  height: 8px;
  border-radius: 4px;
  cursor: pointer;
}

/* Earnings Result Box */
.earnings-display-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}

.earnings-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  color: #34D399;
  line-height: 1.1;
  margin: 10px 0 6px;
}

.earnings-sub {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DEDICATED FULL ONBOARDING SECTION (UNIFIED AUTH ENGINE)
   ═══════════════════════════════════════════════════════════════════════════ */
.onboarding-anchor-section {
  padding: 80px 32px;
  background: linear-gradient(180deg, #F4F7FB 0%, #E2E8F0 100%);
  position: relative;
}

.auth-master-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 40px 42px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(226, 232, 240, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.8);
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Auth Mode Tabs */
.auth-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--slate-100);
  padding: 5px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border: 1px solid var(--slate-200);
}

.auth-mode-tab {
  padding: 11px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  color: var(--slate-500);
  transition: var(--transition-smooth);
}

.auth-mode-tab.active {
  background: #FFFFFF;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

/* Stepper Progress Bar */
.auth-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
}

.auth-stepper::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--slate-200);
  z-index: 0;
}

.stepper-progress-fill {
  position: absolute;
  top: 15px;
  left: 30px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  z-index: 1;
  transition: width 0.4s ease;
}

.step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFF;
  border: 2px solid var(--slate-300);
  color: var(--slate-400);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.step-node.active .step-circle {
  border-color: var(--primary);
  background: var(--primary);
  color: #FFF;
  box-shadow: 0 0 0 4px var(--primary-light);
}

.step-node.completed .step-circle {
  border-color: var(--emerald);
  background: var(--emerald);
  color: #FFF;
}

.step-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-500);
}

.step-node.active .step-label {
  color: var(--primary);
}

/* Role Chips */
.role-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.role-chip {
  padding: 10px 8px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--slate-200);
  background: var(--slate-50);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  transition: var(--transition-smooth);
}

.role-chip:hover {
  border-color: var(--primary);
  background: #FFF;
  transform: translateY(-2px);
}

.role-chip.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.role-chip.selected i {
  color: var(--primary);
}

.role-chip.selected span {
  color: var(--primary);
}

/* Form Inputs */
.form-step-pane {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.form-step-pane.active {
  display: block;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 7px;
}

.form-label span.req {
  color: var(--primary);
}

.input-with-prepend {
  display: flex;
  align-items: center;
  background: #FFF;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.input-with-prepend:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.phone-prefix-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--slate-100);
  border-right: 1px solid var(--slate-200);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  user-select: none;
}

.custom-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border: none;
  background: transparent;
}

.standard-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: #FFF;
  transition: var(--transition-fast);
}

.standard-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.checkbox-row label {
  font-size: 12.5px;
  color: var(--slate-600);
  line-height: 1.5;
}

.btn-primary-action {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-primary);
  transition: var(--transition-smooth);
}

.btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px var(--primary-glow);
}

.btn-primary-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary-action {
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  border: 1.5px solid var(--slate-200);
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  transition: var(--transition-fast);
}

.btn-secondary-action:hover {
  background: #FFF;
  border-color: var(--slate-300);
  color: var(--navy);
}

/* OTP 6-Digit Box */
.otp-input-container {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
}

.otp-digit-input {
  width: 52px;
  height: 58px;
  text-align: center;
  font-size: 24px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: #FFF;
  transition: var(--transition-fast);
}

.otp-digit-input:focus {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.demo-otp-helper {
  background: #FEF3C7;
  border: 1px dashed #F59E0B;
  color: #92400E;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.demo-otp-code {
  font-family: monospace;
  font-weight: 800;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* Module Selection Grid in Step 3 */
.module-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.module-select-card {
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  background: #FFF;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.module-select-card.checked {
  border-color: var(--primary);
  background: var(--primary-light);
}

.module-checkbox-indicator {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--slate-300);
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

.module-select-card.checked .module-checkbox-indicator {
  border-color: var(--primary);
  background: var(--primary);
}

/* Step 4 Launchpad */
.launchpad-success-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--emerald-light);
  color: var(--emerald);
  font-size: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.partner-credential-box {
  background: linear-gradient(135deg, #0A1120 0%, #152340 100%);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: #FFF;
  text-align: left;
  margin-bottom: 24px;
}

.credential-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
}

.credential-row .highlight {
  color: #34D399;
  font-family: monospace;
}

.download-apps-strip {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}

.app-download-btn {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-launch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.quick-launch-card {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--slate-200);
  background: var(--slate-50);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}

.quick-launch-card:hover {
  border-color: var(--primary);
  background: #FFF;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODALS & FLOATING WIDGETS
   ═══════════════════════════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.25s ease forwards;
}

.modal-container {
  background: #FFF;
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 32px;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
}

.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: #25D366;
  color: #FFF;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
}

.floating-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.03);
  color: #FFF;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.master-footer {
  background: #070D18;
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 32px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  max-width: 1440px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

.footer-col h5 {
  color: #FFF;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom-bar {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE MEDIA QUERIES
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-tagline-p {
    margin: 0 auto 30px;
  }
  .hero-buttons-row {
    justify-content: center;
  }
  .hero-service-badges-strip {
    justify-content: center;
  }
  .erp-showcase-grid {
    grid-template-columns: 1fr;
  }
  .bus-gps-showcase-box {
    grid-template-columns: 1fr;
  }
  .partner-calc-grid {
    grid-template-columns: 1fr;
  }
  .directory-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jobs-board-grid {
    grid-template-columns: 1fr;
  }
  .tutor-section-grid {
    grid-template-columns: 1fr;
  }
  .store-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eduads-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-hamburger-btn {
    display: block;
  }
  .top-announcement-bar {
    display: none;
  }
  .hero-title-main {
    font-size: 34px;
  }
  .directory-filter-row {
    grid-template-columns: 1fr;
  }
  .directory-cards-grid {
    grid-template-columns: 1fr;
  }
  .store-products-grid {
    grid-template-columns: 1fr;
  }
  .eduads-items-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
    padding-bottom: 16px;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .role-chips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .module-checkbox-grid {
    grid-template-columns: 1fr;
  }
  .otp-digit-input {
    width: 42px;
    height: 50px;
    font-size: 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   3D GLOBAL EDUCATION NETWORK SECTION (LIGHT LUMINOUS CYBER-GRID THEME)
   ═══════════════════════════════════════════════════════════════════════════ */
.global-network-section {
  background: radial-gradient(120% 120% at 50% 0%, #FFFFFF 0%, #F1F6FE 38%, #E2EDFC 75%, #F8FAFC 100%);
  padding: 85px 32px 95px;
  position: relative;
  overflow: hidden;
  color: var(--slate-800);
  border-bottom: 1px solid var(--slate-200);
}

/* Ambient luminous background orbs */
.network-ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}

.network-ambient-orb.orb-1 {
  top: -60px;
  left: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, transparent 70%);
}

.network-ambient-orb.orb-2 {
  bottom: 0;
  right: 8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(227, 27, 35, 0.12) 0%, rgba(99, 102, 241, 0.10) 50%, transparent 70%);
}

.network-tag-pill {
  background: rgba(227, 27, 35, 0.08) !important;
  border: 1px solid rgba(227, 27, 35, 0.22) !important;
  color: var(--primary) !important;
  font-weight: 800;
  margin-bottom: 14px;
}

.network-title {
  color: var(--navy) !important;
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 14px;
}

.network-desc {
  color: var(--slate-600) !important;
  font-size: 16px;
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto 28px;
}

/* Geopolitical View Mode Toggle (3D Globe vs India Vector Map) */
.network-view-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.85);
  padding: 5px 8px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--slate-200);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  width: fit-content;
  position: relative;
  z-index: 5;
}

.btn-view-mode {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  color: var(--slate-600);
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-view-mode:hover {
  color: #2563EB;
}

.btn-view-mode.active {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.btn-view-mode i {
  font-size: 14px;
}

/* Quick City Hub Selector Chips */
.network-city-chips-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  position: relative;
  z-index: 2;
}

.network-city-chip {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: var(--transition-fast);
}

.network-city-chip:hover {
  border-color: #3B82F6;
  color: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.15);
}

.network-city-chip.active {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  border-color: #1D4ED8;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.network-grid-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.globe-canvas-wrap {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#edu3dGlobeContainer {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: grab;
}

/* 2D Geopolitical Vector Map of India Stage */
.india-geopolitical-map-stage {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, #FFFFFF 0%, #F0F6FF 100%);
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  padding: 10px;
}

.india-svg-map-graphic {
  width: 100%;
  height: 100%;
  max-height: 480px;
  filter: drop-shadow(0 10px 25px rgba(37, 99, 235, 0.1));
}

#edu3dGlobeContainer:active {
  cursor: grabbing;
}

/* Floating Live Hub Telemetry Overlay */
.globe-active-hub-badge {
  position: absolute;
  top: 18px;
  left: 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  z-index: 5;
  pointer-events: none;
}

.badge-radar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulse-dot 1.6s infinite;
}

.badge-status-live {
  font-size: 9.5px;
  font-weight: 800;
  background: #D1FAE5;
  color: #047857;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.globe-instruction-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--slate-600);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.globe-instruction-hint i {
  color: #2563EB;
}

/* Light Telemetry Cards */
.network-telemetry-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.network-hub-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.02);
  transition: var(--transition-smooth);
}

.network-hub-card:hover,
.network-hub-card.active {
  background: #FFFFFF;
  border-color: #3B82F6;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -6px rgba(37, 99, 235, 0.16), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.network-hub-card.active {
  border-left: 4px solid #2563EB;
}

.network-hub-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.icon-hq {
  background: linear-gradient(135deg, #FFE4E6 0%, #FECDD3 100%);
  color: #E31B23;
}

.icon-blue {
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
  color: #2563EB;
}

.icon-emerald {
  background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
  color: #059669;
}

.icon-amber {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color: #D97706;
}

.network-hub-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.network-hub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.network-hub-card h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.hub-metric-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.2px;
}

.badge-red {
  background: #FEE2E2;
  color: #DC2626;
}

.badge-blue {
  background: #DBEAFE;
  color: #1D4ED8;
}

.badge-emerald {
  background: #D1FAE5;
  color: #047857;
}

.badge-amber {
  background: #FEF3C7;
  color: #B45309;
}

.network-hub-card p {
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   3D MOVING TRANSIT BUS HUD & ROADWAY (FLOATING CAPSULE DOCK)
   ═══════════════════════════════════════════════════════════════════════════ */
.transit-hud-container {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1100px;
  z-index: 95;
  background: rgba(10, 17, 32, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  padding: 8px 24px 8px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.transit-hud-container.is-minimized {
  width: auto;
  padding: 6px 14px;
  bottom: 16px;
  right: 20px;
  left: auto;
  transform: none;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.transit-hud-container.is-minimized .transit-hud-inner {
  display: none;
}

.transit-minimized-badge {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #F8FAFC;
  cursor: pointer;
}

.transit-hud-container.is-minimized .transit-minimized-badge {
  display: flex;
}

.transit-hud-inner {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.transit-roadmap-track {
  position: relative;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 0 16px;
}

/* Progress road line */
.transit-progress-line {
  position: absolute;
  top: 50%;
  left: 16px;
  height: 4px;
  background: linear-gradient(90deg, #E31B23, #F59E0B, #10B981);
  border-radius: 2px;
  transform: translateY(-50%);
  width: 0%;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(227, 27, 35, 0.5);
  z-index: 1;
}

/* The 3D Moving School Bus Vehicle */
.moving-3d-bus-vehicle {
  position: absolute;
  top: -18px;
  left: 0%;
  z-index: 10;
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transform: perspective(600px) rotateY(-8deg);
  cursor: pointer;
}

.bus-3d-body {
  width: 72px;
  height: 38px;
  background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
  border-radius: 8px 12px 6px 6px;
  border: 2px solid #E65100;
  position: relative;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.bus-front-hood {
  position: absolute;
  right: -8px;
  bottom: 0;
  width: 12px;
  height: 24px;
  background: #FF9800;
  border-radius: 0 6px 4px 0;
  border: 2px solid #E65100;
  border-left: none;
}

/* Headlights */
.bus-headlight {
  position: absolute;
  right: 0;
  width: 4px;
  height: 6px;
  background: #FFF;
  border-radius: 2px;
  box-shadow: 0 0 10px 4px rgba(255, 255, 200, 0.9);
}

.bus-headlight.left { top: 4px; }
.bus-headlight.right { bottom: 4px; }

/* Cabin roof and destination board */
.bus-cabin-roof {
  position: absolute;
  top: -7px;
  left: 8px;
  right: 10px;
  height: 7px;
  background: #E65100;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bus-sign-board {
  font-size: 6.5px;
  font-weight: 900;
  color: #FFF;
  background: #000;
  padding: 0 4px;
  border-radius: 2px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.bus-windows-strip {
  display: flex;
  gap: 3px;
  padding: 4px 6px;
}

.bus-win {
  width: 11px;
  height: 12px;
  background: #B3E5FC;
  border-radius: 2px;
  border: 1px solid #0288D1;
}

/* Spinning rubber wheels */
.bus-wheels-row {
  position: absolute;
  bottom: -6px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
}

.bus-wheel {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #212121;
  border: 2px solid #757575;
  box-shadow: inset 0 0 0 2px #000;
  position: relative;
}

.moving-3d-bus-vehicle.driving .bus-wheel {
  animation: spinWheel 0.3s infinite linear;
}

@keyframes spinWheel {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Exhaust Puff */
.bus-exhaust-puff {
  position: absolute;
  bottom: 2px;
  left: -12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  opacity: 0;
}

.moving-3d-bus-vehicle.driving .bus-exhaust-puff {
  animation: exhaustPuff 0.4s infinite ease-out;
}

@keyframes exhaustPuff {
  0% { transform: scale(0.4); opacity: 0.8; left: -6px; }
  100% { transform: scale(1.6); opacity: 0; left: -16px; }
}

/* Milestone Stop Points */
.transit-milestones-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.transit-milestone-point {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1E293B;
  border: 2px solid #475569;
  color: #94A3B8;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.transit-milestone-point.active {
  background: var(--primary);
  border-color: #FFF;
  color: #FFF;
  box-shadow: 0 0 10px var(--primary-glow);
}

.transit-milestone-point.current {
  background: var(--emerald);
  border-color: #FFF;
  color: #FFF;
  box-shadow: 0 0 12px var(--emerald);
  transform: scale(1.2);
}

.milestone-tooltip {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #FFF;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.transit-milestone-point:hover .milestone-tooltip {
  opacity: 1;
  bottom: 34px;
}

/* Transit Status Strip */
.transit-hud-status-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #CBD5E1;
}

.transit-live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bus-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: pulse-dot 1.5s infinite;
}

.transit-controls-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-transit-jump {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-transit-jump:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* Bottom padding to prevent footer from being obscured by transit HUD */
body {
  padding-bottom: 74px;
}

@media (max-width: 768px) {
  .transit-hud-container {
    padding: 6px 16px 8px;
  }
  .transit-status-text {
    font-size: 10.5px;
  }
  .milestone-tooltip {
    display: none;
  }
  .globe-canvas-wrap {
    height: 380px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   REVOLVING ORBITAL ECOSYSTEM SECTION (INTERCONNECTED SERVICES NETWORK)
   ═══════════════════════════════════════════════════════════════════════════ */
.revolving-orbit-section {
  background: radial-gradient(circle at 75% 50%, #0D1B36 0%, #060B16 100%);
  padding: 80px 32px 90px;
  position: relative;
  overflow: hidden;
  color: #FFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.revolving-orbit-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 166, 255, 0.16) 0%, rgba(139, 92, 246, 0.06) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.orbit-section-grid {
  max-width: 1460px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Left Content Column */
.orbit-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 3;
}

.orbit-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 166, 255, 0.12);
  border: 1px solid rgba(0, 166, 255, 0.35);
  color: #38BDF8;
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
  text-transform: capitalize;
  letter-spacing: 0.3px;
}

.orbit-headline {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.gradient-cyan-purple {
  background: linear-gradient(135deg, #00D2FF 0%, #38BDF8 40%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.orbit-desc-text {
  font-size: 16px;
  line-height: 1.7;
  color: #CBD5E1;
  margin-bottom: 30px;
  max-width: 92%;
}

.orbit-metrics-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.orbit-metric-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #E2E8F0;
}

.orbit-metric-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-green {
  background: #10B981;
  box-shadow: 0 0 12px #10B981;
}

.dot-blue {
  background: #00D2FF;
  box-shadow: 0 0 12px #00D2FF;
}

.dot-purple {
  background: #8B5CF6;
  box-shadow: 0 0 12px #8B5CF6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RIGHT COLUMN: ORBITAL REVOLVING SYSTEM STAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.orbit-stage-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.orbit-system-stage {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto;
}

/* Ethereal Glow Behind Hub and Tracks */
.orbit-system-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 166, 255, 0.20) 0%, rgba(0, 85, 184, 0.08) 50%, transparent 70%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
}

/* SVG Elliptical Dashed Orbit Tracks */
.orbit-tracks-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.svg-orbit-line {
  fill: none;
  stroke-linecap: round;
}

.svg-orbit-line.outer-track {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 6, 8;
}

.svg-orbit-line.inner-track {
  stroke: rgba(0, 195, 255, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 5, 6;
}

/* Central Glowing Disc */
.orbit-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #00C2FF 0%, #0066D6 65%, #003F9E 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFF;
  z-index: 10;
  box-shadow: 0 0 38px rgba(0, 194, 255, 0.8), inset 0 2px 10px rgba(255, 255, 255, 0.6);
  border: 3px solid rgba(255, 255, 255, 0.85);
  animation: pulseHubGlow 3.5s infinite alternate ease-in-out;
  cursor: default;
}

@keyframes pulseHubGlow {
  0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 28px rgba(0, 194, 255, 0.65); }
  100% { transform: translate(-50%, -50%) scale(1.04); box-shadow: 0 0 48px rgba(0, 220, 255, 0.95); }
}

.hub-brand-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.8px;
  line-height: 1;
}

.hub-brand-sub {
  font-size: 8px;
  font-weight: 800;
  color: #BAE6FD;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* 6 Inner Orbit Spheres */
.inner-spheres-holder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.inner-icon-sphere-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.85);
  pointer-events: auto;
  cursor: pointer;
  will-change: transform;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.inner-icon-sphere-3d:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.95), 0 0 10px currentColor;
  transform: scale(1.2) !important;
}

/* 8 Outer Floating Service Cards - STRICTLY HORIZONTAL, ZERO TILT */
.outer-cards-holder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.orbit-service-card-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32), 0 2px 6px rgba(0, 0, 0, 0.10);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  pointer-events: auto;
  will-change: transform, opacity;
  transform-origin: center center;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.orbit-service-card-3d:hover {
  border-color: #00D2FF;
  box-shadow: 0 16px 36px rgba(0, 210, 255, 0.55), 0 0 0 2px #00D2FF;
}

.card-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #FFF;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.card-labels {
  display: flex;
  flex-direction: column;
}

.card-title-text {
  font-size: 12.5px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
}

.card-tag-text {
  font-size: 8.5px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  margin-top: 1px;
  letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE ORBIT
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .orbit-section-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .orbit-content-col {
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .orbit-desc-text {
    max-width: 90% !important;
    margin: 0 auto 20px !important;
  }
  .orbit-metrics-row {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px 18px !important;
  }
  .orbit-stage-wrap {
    height: auto !important;
    min-height: 440px !important;
  }
  .orbit-system-stage {
    max-width: 680px !important;
    height: 420px !important;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .revolving-orbit-section {
    padding: 50px 14px 60px !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  .orbit-headline {
    font-size: clamp(24px, 6vw, 32px) !important;
    line-height: 1.25 !important;
    text-align: center !important;
    max-width: 100% !important;
    margin: 0 auto 16px !important;
    word-break: break-word !important;
  }
  .orbit-desc-text {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    text-align: center !important;
    max-width: 100% !important;
    margin: 0 auto 20px !important;
  }
  .orbit-metrics-row {
    justify-content: center !important;
    gap: 10px 14px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }
  .orbit-stage-wrap {
    height: auto !important;
    min-height: 330px !important;
  }
  .orbit-system-stage {
    height: 330px !important;
    max-width: 440px !important;
    transform: none !important;
  }
  .orbit-center-hub {
    width: 82px !important;
    height: 82px !important;
  }
  .hub-brand-name {
    font-size: 11.5px !important;
  }
  .hub-brand-sub {
    font-size: 6.5px !important;
  }
}

@media (max-width: 440px) {
  .revolving-orbit-section {
    padding: 36px 8px 48px !important;
  }
  .orbit-stage-wrap {
    min-height: 270px !important;
  }
  .orbit-system-stage {
    height: 270px !important;
    max-width: 330px !important;
    transform: none !important;
  }
  .orbit-center-hub {
    width: 68px !important;
    height: 68px !important;
  }
  .hub-brand-name {
    font-size: 10px !important;
  }
  .hub-brand-sub {
    font-size: 6px !important;
  }
  .orbit-service-card-3d {
    padding: 3px 6px !important;
    gap: 4px !important;
    border-radius: 7px !important;
  }
  .card-badge-icon {
    width: 18px !important;
    height: 18px !important;
    font-size: 9px !important;
    border-radius: 4px !important;
  }
  .card-title-text {
    font-size: 8.5px !important;
  }
  .card-tag-text {
    font-size: 6px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE DOCK NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .dock-icon-box {
    width: 38px;
    height: 38px;
    font-size: 17px;
    border-radius: 10px;
  }
  .nav-dock-list {
    gap: 4px;
  }
  .dock-tooltip {
    font-size: 10.5px;
    padding: 4px 10px;
  }
}

@media (max-width: 992px) {
  .nav-dock {
    max-width: 380px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 3px 6px;
  }
  .nav-dock::-webkit-scrollbar {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   INTERCONNECTED APPS & PLATFORMS SECTION (Exact Match to Reference Card Layout)
   ═══════════════════════════════════════════════════════════════════════════ */
.platforms-section {
  padding: 100px 32px;
  background: #FFFFFF;
  position: relative;
  border-bottom: 1px solid var(--slate-200);
}

.platform-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  max-width: 1320px;
  margin: 48px auto 0;
}

.platform-card-vama {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 22px;
  padding: 34px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.platform-card-vama:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 27, 35, 0.4);
  box-shadow: 0 16px 40px -10px rgba(227, 27, 35, 0.12), 0 0 0 1px rgba(227, 27, 35, 0.2);
}

.platform-tag-badge {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--slate-500);
  background: var(--slate-100);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--slate-200);
}

.platform-icon-squircle {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FF4B55 0%, #E31B23 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 26px;
  margin-bottom: 22px;
  box-shadow: 0 10px 22px rgba(227, 27, 35, 0.3);
  transition: transform 0.3s ease;
}

.platform-card-vama:hover .platform-icon-squircle {
  transform: scale(1.08) rotate(3deg);
}

.platform-card-title-vama {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}

.platform-card-desc-vama {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.platform-card-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.platform-card-checklist li {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-700);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.platform-card-checklist li .chk-icon {
  color: #10B981;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.btn-platform-action-vama {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

.btn-platform-action-vama:hover {
  color: #B5121B;
  gap: 12px;
}

/* Ecosystem Architecture Diagram */
.ecosystem-sync-box {
  background: linear-gradient(145deg, #0A1120 0%, #152238 100%);
  border-radius: 24px;
  padding: 56px 40px;
  color: #FFFFFF;
  margin-top: 60px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.eco-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.eco-node-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.eco-node-item:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 27, 35, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.eco-node-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.eco-node-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.eco-node-sub {
  font-size: 12.5px;
  color: var(--slate-400);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════════
   INSTANT WHATSAPP DEMO FORM & CREDENTIALS BOX (Exact Match to mygoals.in)
   ═══════════════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════════════
   FULL-WIDTH DIRECT WHATSAPP DEMO DISPATCHER (ZERO PUBLIC EXPOSURE)
   ═══════════════════════════════════════════════════════════════════════════ */
.wa-demo-box {
  background: linear-gradient(135deg, #060E20 0%, #0C1A38 50%, #112550 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.22);
  border-radius: 28px;
  padding: 56px 44px;
  width: 100%;
  max-width: 1140px;
  margin: 36px auto 0;
  box-shadow: 0 28px 70px rgba(3, 8, 20, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.wa-demo-box::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(37, 211, 102, 0.22) 0%, rgba(37, 211, 102, 0) 70%);
  pointer-events: none;
}

.wa-demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.16);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.35);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 7px 18px;
  border-radius: 9999px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.wa-demo-title {
  font-size: 36px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.6px;
  line-height: 1.22;
  margin-bottom: 14px;
}

.wa-demo-sub {
  font-size: 16px;
  color: #CBD5E1;
  margin-bottom: 32px;
  line-height: 1.65;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.wa-demo-form-wrap {
  display: flex;
  gap: 14px;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

.wa-phone-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 4px 8px 4px 18px;
  border: 2px solid transparent;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  height: 56px;
}

.wa-phone-input-wrap:focus-within {
  border-color: #25D366;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.3);
}

.wa-country-code {
  font-weight: 800;
  color: var(--navy);
  font-size: 15px;
  padding-right: 12px;
  border-right: 1.5px solid var(--slate-200);
  display: flex;
  align-items: center;
  gap: 4px;
  user-select: none;
}

.wa-phone-input {
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  padding: 10px 14px;
  width: 100%;
  background: transparent;
}

.btn-wa-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
  color: #052E16;
  font-weight: 900;
  font-size: 15px;
  padding: 0 28px;
  height: 56px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-wa-submit:hover {
  background: linear-gradient(135deg, #20BA5A 0%, #17A34E 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
}

/* Privacy & Encryption Security Badge */
.wa-privacy-banner {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.08);
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* Success Confirmation Card (Private to User) */
.wa-success-alert-card {
  margin-top: 32px;
  background: rgba(11, 23, 46, 0.96);
  border: 1.5px solid rgba(37, 211, 102, 0.5);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  animation: fadeInDown 0.35s ease;
}

.wa-success-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.wa-success-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.2);
  color: #25D366;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #25D366;
}

.wa-success-alert-card h4 {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.wa-success-alert-card p {
  font-size: 14.5px;
  color: #CBD5E1;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 24px;
}

.wa-success-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-open-wa-chat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #052E16;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-open-wa-chat:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
}

.btn-visit-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-visit-login:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PILLAR 9: MULTI-TIER AFFILIATE PROGRAM & EARNINGS CALCULATOR
   ═══════════════════════════════════════════════════════════════════════════ */
.affiliate-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.affiliate-tier-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid var(--slate-200);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.affiliate-tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.12);
  border-color: #A855F7;
}

.tier-card-header {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--slate-100);
  background: linear-gradient(to bottom, #FAF5FF, #FFFFFF);
}

.tier-badge-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #7C3AED;
  background: #EDE9FE;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.tier-rate-big {
  font-size: 40px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.tier-rate-big span {
  font-size: 18px;
  font-weight: 700;
  color: #64748B;
}

.tier-rate-sub {
  font-size: 13px;
  font-weight: 700;
  color: #7C3AED;
  margin-top: 4px;
}

.tier-card-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tier-card-body p {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 18px;
}

.tier-perks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-perks-list li {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 10px;
}

.affiliate-interactive-box {
  background: #0B132B;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
}

.referral-generator-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ref-input-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ref-input-group input {
  flex: 1;
  min-width: 140px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  color: #FFFFFF;
  font-size: 13.5px;
  outline: none;
}

.btn-copy-ref, .btn-wa-ref {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-copy-ref {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-copy-ref:hover {
  background: #7C3AED;
  border-color: #7C3AED;
}

.btn-wa-ref {
  background: #25D366;
  color: #052E16;
  border: none;
}

.btn-wa-ref:hover {
  background: #22C55E;
  color: #052E16;
}

.ref-preview-text {
  font-size: 11.5px;
  color: #94A3B8;
  margin-top: 8px;
  font-family: monospace;
}

.affiliate-summary-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  border-radius: 20px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.summary-eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #C4B5FD;
  margin-bottom: 8px;
}

.affiliate-total-amount {
  font-size: 46px;
  font-weight: 900;
  color: #34D399;
  line-height: 1.1;
  margin-bottom: 4px;
}

.affiliate-annual-projection {
  font-size: 14.5px;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 20px;
}

.tier-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 22px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #94A3B8;
}

.breakdown-row strong {
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .affiliate-interactive-box {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING 3D AI ROBOT WHATSAPP CONTACT WIDGET (MATCHING USER SCREENSHOT)
   ═══════════════════════════════════════════════════════════════════════════ */
.floating-robot-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

/* Speech Bubble Tooltip */
.robot-speech-bubble {
  pointer-events: auto;
  background: #0F172A;
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  margin-bottom: 12px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: speechFloat 3s ease-in-out infinite;
  transition: transform 0.2s ease, background 0.2s ease;
}

.robot-speech-bubble:hover {
  transform: scale(1.04);
  background: #1E293B;
}

.speech-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  animation: pulseDot 1.5s infinite;
}

/* Robot Character Wrapper */
.robot-character {
  pointer-events: auto;
  position: relative;
  width: 74px;
  height: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  animation: robotHover 3.2s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.robot-character:hover {
  transform: scale(1.08) translateY(-4px);
}

/* Top Antenna with Glowing Red LED Tip */
.robot-antenna {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.antenna-bulb {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FF3B30;
  box-shadow: 0 0 10px #FF3B30, 0 0 18px rgba(255, 59, 48, 0.85);
  animation: antennaPulse 1.8s ease-in-out infinite;
}

.antenna-stalk {
  width: 3px;
  height: 9px;
  background: linear-gradient(to bottom, #CBD5E1, #94A3B8);
  border-radius: 2px;
}

/* 3D Glossy White Squircle Robot Head */
.robot-head {
  width: 66px;
  height: 60px;
  background: linear-gradient(150deg, #FFFFFF 0%, #F1F5F9 50%, #E2E8F0 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 
    0 12px 28px rgba(15, 23, 42, 0.2), 
    0 4px 10px rgba(0, 0, 0, 0.08), 
    inset 0 2px 3px rgba(255, 255, 255, 0.95),
    inset 0 -2px 4px rgba(148, 163, 184, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

/* Dark Curved Visor Screen */
.robot-visor {
  width: 44px;
  height: 28px;
  background: #0A1122;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7), 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* Glowing Mint-Emerald Capsule Eyes */
.robot-eye {
  width: 7px;
  height: 14px;
  border-radius: 4px;
  background: #00F298;
  box-shadow: 0 0 8px #00F298, 0 0 14px rgba(0, 242, 152, 0.7);
  animation: eyeBlink 3.6s ease-in-out infinite;
  transform-origin: center;
}

/* WhatsApp Badge on Bottom Right of Head */
.robot-wa-badge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.5);
  border: 2px solid #FFFFFF;
}

/* Soft Floor Shadow */
.robot-shadow {
  width: 44px;
  height: 8px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  margin-top: 4px;
  animation: shadowPulse 3.2s ease-in-out infinite;
}

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

@keyframes shadowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(0.78);
    opacity: 0.16;
  }
}

@keyframes antennaPulse {
  0%, 100% {
    box-shadow: 0 0 8px #FF3B30, 0 0 18px rgba(255, 59, 48, 0.9);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 3px #FF3B30, 0 0 8px rgba(255, 59, 48, 0.4);
    transform: scale(0.9);
  }
}

@keyframes eyeBlink {
  0%, 93%, 100% {
    transform: scaleY(1);
  }
  96% {
    transform: scaleY(0.12);
  }
}

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

/* Interactive Robot Chat Modal Popup */
.robot-chat-popup {
  pointer-events: auto;
  position: absolute;
  bottom: 86px;
  right: 0;
  width: 330px;
  max-width: calc(100vw - 32px);
  background: #0B132B;
  color: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 99995;
  animation: popUpFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popUpFade {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.robot-chat-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-header-avatar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.robot-avatar-mini {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFFFFF, #E2E8F0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-visor {
  width: 20px;
  height: 12px;
  background: #0F172A;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.mini-eye {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: #00F298;
}

.chat-bot-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.chat-bot-status {
  font-size: 11px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
}

.btn-close-robot-chat {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #94A3B8;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-close-robot-chat:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.robot-chat-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.robot-msg-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px 12px 12px 2px;
  padding: 12px;
}

.robot-msg-bubble p {
  font-size: 13px;
  color: #E2E8F0;
  line-height: 1.45;
  margin: 0 0 6px 0;
}

.robot-msg-bubble small {
  font-size: 11.5px;
  color: #94A3B8;
}

.robot-quick-options {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.robot-opt-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.robot-opt-btn:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25D366;
  color: #FFFFFF;
  transform: translateX(3px);
}

.robot-custom-form {
  margin-top: 4px;
}

.robot-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 4px 6px 4px 12px;
}

.robot-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 12.5px;
  outline: none;
}

.robot-input-row input::placeholder {
  color: #64748B;
}

.btn-send-robot-wa {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #25D366;
  color: #052E16;
  border: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-send-robot-wa:hover {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .floating-robot-container {
    bottom: 82px !important;
    right: 14px !important;
  }
  .robot-speech-bubble {
    display: none !important; /* Prevent speech bubble from blocking UI elements on mobile */
  }
  .robot-chat-popup {
    bottom: 80px !important;
    right: -6px !important;
    width: calc(100vw - 28px) !important;
  }
}

@media (max-width: 600px) {
  .floating-robot-container {
    bottom: 80px !important;
    right: 12px !important;
  }
  .robot-character {
    width: 58px;
    height: 58px;
  }
  .robot-head {
    width: 52px;
    height: 48px;
  }
  .robot-visor {
    width: 34px;
    height: 22px;
  }
  .robot-eye {
    width: 5.5px;
    height: 10px;
  }
  .robot-chat-popup {
    bottom: 74px !important;
    right: -4px !important;
    width: calc(100vw - 24px) !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   100% MOBILE & MULTI-DEVICE RESPONSIVE DESIGN SYSTEM (ALL DEVICES & PAGES)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Mobile Hamburger Menu Button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--slate-100);
  border: 1.5px solid var(--slate-300);
  color: var(--navy);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 8px;
  flex-shrink: 0;
}

.mobile-menu-btn:hover {
  background: #FFF;
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.04);
}

/* Mobile Slide-Out Navigation Drawer (Universal) */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 29, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 86vw);
  height: 100%;
  background: #0A1122;
  color: #FFFFFF;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 22px 18px 28px;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header, .mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.btn-drawer-close, .mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-drawer-close:hover, .mobile-drawer-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #EF4444;
  color: #EF4444;
}

.drawer-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94A3B8;
  margin: 14px 0 8px 0;
}

.drawer-nav-list, .mobile-drawer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.drawer-nav-link, .mobile-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #E2E8F0;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}

.drawer-nav-link:hover, .drawer-nav-link.active,
.mobile-drawer-nav a:hover, .mobile-drawer-nav a.active {
  background: rgba(14, 165, 233, 0.12);
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.25);
  transform: translateX(3px);
}

.drawer-icon-chip {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.drawer-actions-box, .mobile-drawer-cta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS (ALL DEVICES AUDIT)
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1. Large Tablets & Small Laptops (max-width: 1080px) */
@media (max-width: 1080px) {
  .nav-inner {
    padding: 0 20px;
  }
  
  .nav-dock {
    display: none; /* Collapses into mobile dropdown menu on tablets/mobile */
  }

  .mobile-menu-btn,
  .btn-mobile-menu-trigger,
  .mobile-hamburger-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1.5px solid var(--slate-300);
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--navy);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    -webkit-user-select: none;
  }

  .mobile-menu-btn:hover,
  .btn-mobile-menu-trigger:hover,
  .btn-mobile-menu-trigger.active,
  .mobile-menu-btn.active {
    background: var(--navy);
    color: #FFFFFF;
    border-color: var(--navy);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  }

  .btn-mobile-menu-trigger.active i,
  .mobile-menu-btn.active i {
    color: #FF5A60;
  }

  /* Full-width Vertical Slide-Down Menu Directly Below Navbar */
  .mobile-dropdown-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(88vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(10, 17, 34, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 2px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.65);
    z-index: 9999;
    padding: 20px 18px 28px;
    animation: slideDownMenu 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .mobile-dropdown-panel.open {
    display: block !important;
  }

  @keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .mobile-dropdown-group-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #38BDF8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .mobile-dropdown-item:hover, .mobile-dropdown-item:active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateX(4px);
  }

  .mobile-item-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .mobile-item-text strong {
    font-size: 13.5px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.25;
  }

  .mobile-item-text small {
    font-size: 11px;
    color: #94A3B8;
    margin-top: 2px;
  }

  .mobile-item-arrow {
    color: #64748B;
    font-size: 12px;
  }

  .mobile-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 16px 0;
  }

  .mobile-pages-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }

  .mobile-page-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #CBD5E1;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 99px;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .mobile-page-chip:hover, .mobile-page-chip:active {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
  }

  .mobile-dropdown-actions {
    display: flex;
    gap: 10px;
  }

  .btn-mobile-login, .btn-mobile-demo {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
  }

  .btn-mobile-login {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .btn-mobile-demo {
    background: #25D366;
    color: #052E16;
  }

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

  .globe-canvas-wrap {
    height: 480px;
  }
}

/* 2. Standard Tablets Portrait (max-width: 768px) */
@media (max-width: 768px) {
  .top-announcement-bar {
    padding: 6px 12px;
    font-size: 11.5px;
  }

  .announcement-right {
    display: none; /* Hide top contact row on mobile to avoid clutter */
  }

  .announcement-left {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .nav-inner {
    height: 66px;
  }

  .brand-logo-mark {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .brand-title {
    font-size: 19px;
  }

  .brand-sub {
    font-size: 9px;
  }

  .btn-signin-nav {
    display: none; /* Moved to drawer and hero buttons */
  }

  .btn-onboard-nav {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* Hero Section */
  .hero-section {
    padding: 40px 0 60px 0;
  }

  .hero-title-main {
    font-size: clamp(26px, 7vw, 36px) !important;
    line-height: 1.25 !important;
  }

  .hero-tagline-p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
  }

  .hero-buttons-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-buttons-row a {
    width: 100%;
    justify-content: center;
  }

  .hero-service-badges-strip {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero-service-badges-strip::-webkit-scrollbar {
    display: none;
  }

  /* Telemetry Proof Stats Grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .stat-item {
    padding: 16px 12px !important;
  }

  .stat-content h4 {
    font-size: 22px !important;
  }

  .stat-content p {
    font-size: 11px !important;
  }

  /* Revolving Ecosystem Orbit Section */
  .revolving-orbit-section {
    overflow: hidden !important;
    padding: 60px 16px 70px !important;
  }

  .orbit-system-stage {
    height: 330px !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  /* 3D Globe & India Map Stage */
  .globe-canvas-wrap {
    height: 420px;
  }

  #edu3dGlobeContainer, #indiaGeopoliticalMapContainer {
    min-height: 380px !important;
    max-height: 440px !important;
  }

  .network-city-chips-row {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    padding-bottom: 10px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .network-city-chips-row::-webkit-scrollbar {
    display: none;
  }

  .network-view-mode-toggle {
    flex-direction: column !important;
    width: 100% !important;
  }

  .btn-view-mode {
    width: 100% !important;
    justify-content: center !important;
  }

  /* WhatsApp Demo Credentials Dispatcher (Mobile) */
  .wa-demo-box {
    padding: 34px 20px !important;
    border-radius: 22px !important;
  }

  .wa-demo-title {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }

  .wa-demo-sub {
    font-size: 14px !important;
    margin-bottom: 22px !important;
  }

  .wa-demo-form-wrap {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .wa-phone-input-wrap {
    width: 100% !important;
  }

  .btn-wa-submit {
    width: 100% !important;
    justify-content: center !important;
    height: 52px !important;
  }

  .wa-privacy-banner {
    font-size: 11.5px !important;
    padding: 6px 12px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .wa-success-alert-card {
    padding: 22px 16px !important;
  }

  .wa-success-actions {
    flex-direction: column !important;
  }

  .btn-open-wa-chat, .btn-visit-login {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Footer */
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .footer-bottom-bar {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
  }

  /* Standalone Login Page Mobile Responsive */
  .login-container {
    flex-direction: column !important;
    margin: 20px auto !important;
    border-radius: 20px !important;
  }

  .login-left-brand {
    padding: 28px 20px !important;
  }

  .login-right-form {
    padding: 28px 20px !important;
  }

  .otp-inputs-grid {
    gap: 6px !important;
  }

  .otp-box.login-otp {
    width: 100% !important;
    max-width: 46px !important;
    min-width: 36px !important;
    height: 48px !important;
    font-size: 19px !important;
  }

  /* Directory & Jobs & Tutors */
  .directory-filter-row, .jobs-search-box {
    grid-template-columns: 1fr !important;
  }

  .directory-category-chips {
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  /* Franchise Partner Calculator */
  .earnings-calculator-grid {
    grid-template-columns: 1fr !important;
  }
}

/* 3. Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .brand-title {
    font-size: 17px;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .globe-canvas-wrap {
    height: 360px !important;
  }

  #edu3dGlobeContainer, #indiaGeopoliticalMapContainer {
    min-height: 340px !important;
    max-height: 380px !important;
  }

  .orbit-system-stage {
    height: 270px !important;
    max-width: 330px !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .section-title-main, .section-title-large {
    font-size: 24px !important;
  }

  .feature-card-clean {
    padding: 18px 16px !important;
  }

  .floating-whatsapp-btn {
    bottom: 16px;
    right: 14px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .floating-whatsapp-btn span {
    display: none; /* Icon only on very small screens */
  }

  .hero-title-main {
    font-size: 26px !important;
    line-height: 1.25 !important;
  }

  .platform-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 24px !important;
  }

  .platform-card-vama {
    padding: 24px 18px !important;
  }

  .platforms-section {
    padding: 50px 16px !important;
  }

  .section-container {
    padding: 0 14px !important;
  }

  .network-city-chips-bar {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
  }

  .network-hubs-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .india-map-style-toggle {
    top: 8px !important;
    right: 8px !important;
    transform: scale(0.88);
    transform-origin: top right;
  }

  .india-node-popup-card {
    max-width: 90% !important;
    bottom: 12px !important;
    left: 5% !important;
    right: 5% !important;
  }
}

@media (max-width: 380px) {
  .orbit-system-stage {
    height: 250px !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    transform: none !important;
  }
}

/* Global 100% Mobile Overflow Prevention & Touch Polish */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

section, header, footer, aside, .section-container, .revolving-orbit-section {
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

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

img, svg, canvas {
  max-width: 100%;
}
