/* ====================================================
   REXERA TAILWIND CUSTOM ENHANCEMENTS & ANIMATIONS
   ==================================================== */

:root {
  --primary-orange: #D68B24;
  --primary-gold: #ffb52e;
  --navy-dark: #10182b;
  --navy-deep: #0b1220;
}

/* Background Patterns */
.grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(16, 24, 43, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 24, 43, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.grid-pattern-dark {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}

.dot-pattern {
  background-image: radial-gradient(rgba(16, 24, 43, 0.09) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}

/* Text Gradients */
.text-gradient-warm {
  background: linear-gradient(135deg, #D68B24 0%, #D68B24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header Scroll Transitions */
#navbar-header.scrolled {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: #e4e9f2;
  box-shadow: 0 4px 24px -4px rgba(16, 24, 43, 0.06);
}

#navbar-header.scrolled #nav-content {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Announcement Marquee */
@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.animate-marquee {
  display: flex;
  animation: marquee 28s linear infinite;
}

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

/* Ping Animation */
@keyframes pingCustom {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-ping-custom {
  animation: pingCustom 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Floating Badges */
@keyframes floatSlow {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -8px);
  }
}

.animate-float-slow {
  animation: floatSlow 4s ease-in-out infinite;
}

/* Pulsing Orb Glow */
@keyframes pulseOrb {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

.animate-pulse-orb {
  animation: pulseOrb 6s ease-in-out infinite;
}

/* Animated SVG Stroke Draw */
@keyframes drawPath {
  0% {
    stroke-dashoffset: 600;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.svg-draw-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 0;
  animation: drawPath 2.5s ease-out forwards;
}

/* Magic Bounce In Animation for Stat Cards & Counters */
@keyframes magicBounce {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(40px);
    filter: blur(8px);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.1) translateY(-6px);
    filter: blur(0);
  }
  70% {
    transform: scale(0.96) translateY(2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes magicGlowPulse {
  0%, 100% {
    text-shadow: 0 0 0 rgba(214, 139, 36, 0);
  }
  50% {
    text-shadow: 0 0 20px rgba(214, 139, 36, 0.4), 0 0 35px rgba(214, 139, 36, 0.2);
  }
}

.stat-magic-num-active,
[data-counter].stat-magic-num-active,
.milestone-stat-value.stat-magic-num-active,
.counter-item.stat-magic-num-active,
.stat-counter.stat-magic-num-active {
  animation: magicBounce 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
  will-change: transform, opacity;
}

.stat-magic-card {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.stat-magic-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 32px -8px rgba(214, 139, 36, 0.18);
  z-index: 2;
}

.stat-magic-card.is-visible .stat-magic-num {
  animation: magicBounce 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.stat-magic-card:hover .stat-magic-num {
  animation: magicGlowPulse 1.8s ease-in-out infinite;
  color: #D68B24;
}

/* Scroll Reveal */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .js-ready .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }
  .js-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ======================================================
   8 SERVICES INLINE ACCORDION STAGES (DETAILS UNDER EACH ITEM)
   ====================================================== */
.services-accordion-container {
  align-items: start;
}

.service-accordion-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
  width: 100%;
}

body.dark-theme .service-accordion-card {
  background: #0D1528;
  border-color: #1E293B;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.service-accordion-card:hover {
  border-color: #D68B24;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -4px rgba(214, 139, 36, 0.15);
}

.service-accordion-header {
  background: transparent;
  cursor: pointer;
  outline: none;
  user-select: none;
  border: none;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px !important;
  box-sizing: border-box;
}

.service-accordion-card .service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #EEF2F9;
  color: #10182B;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

body.dark-theme .service-accordion-card .service-icon-box {
  background-color: rgba(255, 255, 255, 0.08);
  color: #F8FAFC;
}

.service-accordion-chevron {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #EEF2F9;
  color: #64748B;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.service-accordion-card.open {
  border-color: #D68B24 !important;
  box-shadow: 0 10px 28px -4px rgba(214, 139, 36, 0.22) !important;
}

.service-accordion-card.open .service-icon-box {
  background-color: #D68B24;
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(214, 139, 36, 0.5);
}

.service-accordion-card.open .service-accordion-chevron {
  transform: rotate(180deg);
  background: #D68B24;
  color: #FFFFFF;
}

.service-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.service-accordion-card.open .service-accordion-body {
  max-height: 320px;
  opacity: 1;
}

.service-accordion-inner {
  border-top: 1px dashed rgba(226, 232, 240, 0.9);
}

body.dark-theme .service-accordion-inner {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* Solutions & Mobile Layout Perfection */
@media (max-width: 640px) {
  .service-accordion-header {
    padding: 0.875rem 1rem !important;
  }
  .service-accordion-inner {
    padding: 0.75rem 1rem 1.25rem 1rem !important;
  }
}

/* 3D Success Stories Card Stack */
.stories-stack {
  perspective: 1200px;
}

.story-card {
  position: absolute;
  width: 290px;
  height: 440px;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.story-card.pos-center {
  transform: translateX(0) scale(1) translateZ(0);
  z-index: 30;
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 25px 60px -15px rgba(11, 18, 32, 0.6);
}

.story-card.pos-right {
  transform: translateX(65%) scale(0.85) translateZ(-60px) rotateY(-8deg);
  z-index: 20;
  opacity: 0.65;
  pointer-events: none;
  filter: brightness(0.8);
}

.story-card.pos-left {
  transform: translateX(-65%) scale(0.85) translateZ(-60px) rotateY(8deg);
  z-index: 20;
  opacity: 0.65;
  pointer-events: none;
  filter: brightness(0.8);
}

.story-card.pos-hidden {
  transform: scale(0.7) translateZ(-120px);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}

/* Government Scheme Card & Drag/Swipe Support */
/* Government Scheme Card & Drag/Swipe Support */
#schemes-container {
  cursor: grab;
  user-select: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-x: auto;
  scroll-padding: 0 4px;
  padding: 12px 16px 20px 4px;
}

#schemes-container::-webkit-scrollbar {
  display: none;
}

#schemes-container.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.scheme-card {
  width: 350px;
  min-width: 300px;
  max-width: calc(100vw - 48px);
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  flex: 0 0 350px;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.scheme-card h3 {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 640px) {
  .scheme-card {
    flex: 0 0 calc(100vw - 48px);
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    scroll-snap-align: center;
  }
}

.scheme-card:hover {
  border-color: #D68B24;
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.07);
}

/* Scheme Carousel Indicator Dots */
#schemes-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.scheme-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.scheme-dot:hover {
  background: rgba(214, 139, 36, 0.6);
  transform: scale(1.25);
}

.scheme-dot.active {
  width: 28px;
  background: linear-gradient(90deg, #D68B24, #FFB52E);
  box-shadow: 0 0 12px rgba(214, 139, 36, 0.5);
}

/* Video Player Clean-up */
video {
  user-select: none;
  -webkit-user-select: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f7f9fc;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ====================================================
   PREMIUM DUAL-COLOR THEME & GOLDEN SHINE CTA BUTTONS
   ==================================================== */

/* Premium Gold Buttons with Continuous Light Sweep Reflection */
.golden-btn,
.btn-gold,
.btn-shine,
.btn-nav-expert,
.bar-eligibility-btn {
  background: linear-gradient(135deg, #F6D365 0%, #D4AF37 50%, #B88E18 100%) !important;
  color: #0B132B !important;
  font-weight: 750 !important;
  border: none !important;
  border-radius: 9999px !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px -4px rgba(212, 175, 55, 0.45), 0 2px 8px rgba(11, 19, 43, 0.08) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.25s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1;
}

.golden-btn:hover,
.btn-gold:hover,
.btn-shine:hover,
.btn-nav-expert:hover,
.bar-eligibility-btn:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 14px 30px -4px rgba(212, 175, 55, 0.6), 0 4px 12px rgba(11, 19, 43, 0.12) !important;
}

.golden-btn:active,
.btn-gold:active,
.btn-shine:active,
.btn-nav-expert:active,
.bar-eligibility-btn:active {
  transform: translateY(0) scale(0.98) !important;
}

/* Shine Sweep Glare Animation */
.golden-btn::after,
.btn-gold::after,
.btn-shine::after,
.btn-nav-expert::after,
.bar-eligibility-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: shine-sweep 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes shine-sweep {
  0% {
    left: -150%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  60% {
    left: 160%;
    opacity: 1;
  }
  61%, 100% {
    left: 160%;
    opacity: 0;
  }
}

/* Dual Color Theme Section Backgrounds */
.section-off-white {
  background-color: #FAF9F6 !important;
  color: #0A192F !important;
}

.section-deep-blue {
  background-color: #0A192F !important;
  color: #F8FAFC !important;
}

/* ====================================================
   ULTRA-PREMIUM 60FPS ANIMATIONS & MICRO-INTERACTIONS
   ==================================================== */

/* Smooth Page Load Fade-In */
body {
  opacity: 1;
  transition: opacity 0.35s ease;
}

body.page-loaded {
  opacity: 1;
}

/* Scroll-Triggered Reveals (30px slide-up with subtle easing) */
.reveal,
.reveal-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js-ready .reveal:not(.in):not(.is-visible),
html.js-ready .reveal-up:not(.in):not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.in,
.reveal.is-visible,
.reveal-up.in,
.reveal-up.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.reveal-fade {
  opacity: 1;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

html.js-ready .reveal-fade:not(.in):not(.is-visible) {
  opacity: 0;
}

.reveal-fade.in,
.reveal-fade.is-visible {
  opacity: 1 !important;
}

.reveal-fade.in,
.reveal-fade.is-visible {
  opacity: 1;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.in,
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Stagger Delays for Grid Children */
.reveal-delay-1, .delay-1 { transition-delay: 100ms; }
.reveal-delay-2, .delay-2 { transition-delay: 200ms; }
.reveal-delay-3, .delay-3 { transition-delay: 300ms; }
.reveal-delay-4, .delay-4 { transition-delay: 400ms; }
.reveal-delay-5, .delay-5 { transition-delay: 500ms; }

/* Subtle Parallax Layer Support */
[data-parallax],
.parallax-bg {
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium Card Micro-Interactions */
.card,
.service-card,
.scheme-card,
.feature-card,
.stat-card,
.blog-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}

.card:hover,
.service-card:hover,
.scheme-card:hover,
.feature-card:hover,
.stat-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 40px -10px rgba(10, 25, 47, 0.14), 0 0 0 1px rgba(212, 175, 55, 0.25) !important;
}

/* Reduced Motion Compliance */
@media (prefers-reduced-motion: reduce) {
  body {
    opacity: 1 !important;
    transition: none !important;
  }
  .reveal,
  .reveal-up,
  .reveal-fade,
  .reveal-scale,
  .golden-btn::after {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ======================================================
   BOOK FREE CONSULTATION MODAL (ENHANCED & CENTERED)
   ====================================================== */
.consult-modal-overlay,
.consult-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 28, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.consult-modal-overlay.is-visible,
.consult-modal-overlay.is-active,
.consult-modal-overlay.active,
.consult-overlay.is-visible,
.consult-overlay.is-active,
.consult-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.consult-modal-card,
.consult-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  padding: 34px 32px 28px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transform: scale(0.92) translateY(14px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-theme .consult-modal-card,
body.dark-theme .consult-card {
  background: #0D1528;
  border-color: #1E293B;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7);
}

.consult-modal-overlay.is-visible .consult-modal-card,
.consult-overlay.is-visible .consult-card {
  transform: scale(1) translateY(0);
}

/* Close Button */
.consult-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.consult-close:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  transform: scale(1.08) rotate(90deg);
}

/* Header */
.consult-modal-head,
.consult-header {
  margin-bottom: 20px;
  padding-right: 28px;
}

.consult-brand {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.consult-brand-logo {
  display: inline-flex;
  align-items: center;
}

.consult-modal-logo,
.consult-brand-logo img {
  height: 26px !important;
  width: auto !important;
  max-width: 110px !important;
  display: block !important;
  object-fit: contain !important;
}

.consult-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(214, 139, 36, 0.1);
  border: 1px solid rgba(214, 139, 36, 0.22);
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #D68B24;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.consult-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D68B24;
  animation: pingCustom 2s infinite;
}

.consult-modal-title,
.consult-title {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0F172A;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.consult-modal-sub,
.consult-desc {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #64748B;
  margin: 0;
}

/* Form */
.consult-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.consult-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.consult-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 3px;
}

.consult-label .req {
  color: #E11D48;
}

.consult-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.consult-input-icon {
  position: absolute;
  left: 14px;
  color: #94A3B8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consult-input {
  width: 100%;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px 12px 42px;
  font-size: 0.9rem;
  color: #0F172A;
  outline: none;
  transition: all 0.2s ease;
}

.consult-input:focus {
  background: #FFFFFF;
  border-color: #D68B24;
  box-shadow: 0 0 0 3px rgba(214, 139, 36, 0.15);
}

.consult-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.consult-select {
  width: 100%;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 38px 12px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0F172A;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.2s ease;
}

.consult-select:focus {
  background: #FFFFFF;
  border-color: #D68B24;
  box-shadow: 0 0 0 3px rgba(214, 139, 36, 0.15);
}

.consult-select-arrow {
  position: absolute;
  right: 14px;
  color: #D68B24;
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* Submit Button */
.consult-submit-btn {
  width: 100%;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #F6D365 0%, #D4AF37 50%, #B88E18 100%) !important;
  color: #0B132B !important;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none !important;
  border-radius: 9999px !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px -4px rgba(212, 175, 55, 0.45) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.consult-submit-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  filter: brightness(1.04);
  box-shadow: 0 12px 28px -4px rgba(212, 175, 55, 0.6) !important;
}

.consult-submit-btn:active {
  transform: scale(0.98) !important;
}

.consult-submit-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg);
  animation: shine-sweep 3s ease-in-out infinite;
  pointer-events: none;
}

.consult-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748B;
}

.consult-footer-note svg {
  color: #D68B24;
}

.consult-success-msg {
  display: none;
  text-align: center;
  padding: 24px 16px;
}

.consult-success-msg.show {
  display: block;
}

.custom-cursor-dot,
.custom-cursor-ring {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* ==========================================================
   FAQ & ACCORDION BOX SYSTEM
   ========================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.faq-item {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.faq-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 8px 22px -4px rgba(15, 23, 42, 0.08);
}

.faq-item.open,
.faq-item.is-open {
  border-color: #D4AF37;
  box-shadow: 0 10px 28px -4px rgba(212, 175, 55, 0.18);
}

.faq-q,
.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 750;
  font-size: 1.05rem;
  color: #0F172A;
  outline: none;
  transition: color 0.2s ease;
}

.faq-q:hover,
.faq-btn:hover {
  color: #D4AF37;
}

.faq-q span,
.faq-btn span {
  flex: 1;
  text-align: left;
  line-height: 1.5;
}

/* Standalone FAQ Arrow SVG styling */
.faq-arrow {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  padding: 8px !important;
  border-radius: 50% !important;
  background: #F1F5F9;
  color: #475569;
  stroke: currentColor;
  stroke-width: 2.2;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.faq-q:hover .faq-arrow,
.faq-btn:hover .faq-arrow {
  background: rgba(212, 175, 55, 0.15);
  color: #D4AF37;
  transform: scale(1.06);
}

.faq-item.open .faq-arrow,
.faq-item.is-open .faq-arrow {
  transform: rotate(180deg);
  background: linear-gradient(135deg, #F6D365 0%, #D4AF37 50%, #B88E18 100%);
  color: #0B132B;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.faq-icon-wrapper {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, color 0.2s ease;
  color: #475569;
}

.faq-icon-wrapper .faq-arrow,
.faq-icon-wrapper .faq-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.faq-a,
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
}

.faq-item.open .faq-a,
.faq-item.open .faq-answer,
.faq-item.is-open .faq-a,
.faq-item.is-open .faq-answer {
  max-height: 800px;
}

.faq-a p,
.faq-answer p,
.faq-answer-inner {
  padding: 0 24px 20px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ====================================================
   FUNDING PIPELINE 7-STEP HORIZONTAL STRIP (ANIMATED)
   ==================================================== */
.funding-pipeline-wrap {
  position: relative;
  width: 100%;
}

.funding-step-item {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.funding-step-card {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Subtle glowing shine effect across cards */
.funding-step-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 35%,
    rgba(214, 139, 36, 0.08) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.funding-step-card:hover::before {
  transform: translateX(100%);
}

/* Step Number Pulse / Pop */
.funding-step-card .step-number {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animated Flowing Connecting Arrows between Steps */
.funding-step-arrow {
  animation: arrowNudge 1.8s ease-in-out infinite;
  filter: drop-shadow(0 1px 2px rgba(214, 139, 36, 0.25));
}

.funding-step-item:nth-child(2) .funding-step-arrow { animation-delay: 0.25s; }
.funding-step-item:nth-child(3) .funding-step-arrow { animation-delay: 0.5s; }
.funding-step-item:nth-child(4) .funding-step-arrow { animation-delay: 0.75s; }
.funding-step-item:nth-child(5) .funding-step-arrow { animation-delay: 1.0s; }
.funding-step-item:nth-child(6) .funding-step-arrow { animation-delay: 1.25s; }

@keyframes arrowNudge {
  0%, 100% {
    transform: translateY(-50%) translateX(0);
    opacity: 0.65;
  }
  50% {
    transform: translateY(-50%) translateX(4px);
    opacity: 1;
    color: #FF6B16;
  }
}


@media (max-width: 1023px) {
  .funding-pipeline-scroll {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 10px 4px 20px !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #D68B24 transparent;
  }

  .funding-pipeline-scroll::-webkit-scrollbar {
    height: 6px;
  }

  .funding-pipeline-scroll::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.5);
    border-radius: 999px;
  }

  .funding-pipeline-scroll::-webkit-scrollbar-thumb {
    background: #D68B24;
    border-radius: 999px;
  }

  .funding-step-item {
    flex: 0 0 auto !important;
    width: 140px !important;
    min-width: 140px !important;
    scroll-snap-align: start;
  }

  .funding-step-item .funding-step-arrow {
    display: flex !important;
    right: -10px !important;
    z-index: 5;
  }

  .funding-step-item:last-child .funding-step-arrow {
    display: none !important;
  }

  .funding-step-card {
    padding: 16px 12px !important;
    border-radius: 18px !important;
    min-height: 110px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .funding-step-card .step-number {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.8rem !important;
  }

  .funding-step-card .step-title {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }
}

/* ======================================================
   3D ISOMETRIC ANIMATED NETWORK CANVAS
   ====================================================== */
.network-3d-stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 45%, rgba(214, 139, 36, 0.12) 0%, rgba(16, 24, 43, 0.03) 50%, #F1F5F9 100%);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: inset 0 0 35px rgba(16, 24, 43, 0.06);
}

body.dark-theme .network-3d-stage {
  background: radial-gradient(circle at 50% 45%, rgba(214, 139, 36, 0.15) 0%, #0B1120 70%);
}

.india-map-asset {
  animation: mapFloat3D 6s ease-in-out infinite alternate;
  filter: drop-shadow(0 18px 28px rgba(16, 24, 43, 0.18));
  transition: transform 0.4s ease, filter 0.4s ease;
}

@keyframes mapFloat3D {
  0% {
    transform: translateY(0px) scale(1);
  }
  100% {
    transform: translateY(-6px) scale(1.012);
  }
}

.network-grid-layer {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(214, 139, 36, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(214, 139, 36, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 95%);
}

.network-svg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.data-beam {
  stroke-dasharray: 8, 14;
  animation: dataStreamFlow 8s linear infinite;
}

@keyframes dataStreamFlow {
  from { stroke-dashoffset: 88; }
  to { stroke-dashoffset: 0; }
}

.data-beam-fast {
  stroke-dasharray: 6, 12;
  animation: dataStreamFlow 5.5s linear infinite;
}

/* 3D City Node Towers & Badges */
.city-node-anchor {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0.1s ease;
}

.city-node-anchor:hover,
.city-node-anchor:focus,
.city-node-anchor.active {
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 40;
}

.city-beacon-core {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.city-beacon-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FFA726;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 0 10px #FFA726, 0 0 20px rgba(255, 167, 38, 0.85);
  position: relative;
  z-index: 3;
  animation: beaconGlow 2.2s ease-in-out infinite alternate;
  transition: all 0.25s ease;
}

.city-beacon-dot.hub {
  width: 13px;
  height: 13px;
  background: #EA580C;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 14px #EA580C, 0 0 26px rgba(234, 88, 12, 0.95);
  animation: beaconHubGlow 1.8s ease-in-out infinite alternate;
}

.city-node-anchor:hover .city-beacon-dot,
.city-node-anchor.active .city-beacon-dot {
  transform: scale(1.4);
  background: #D68B24;
  border-color: #FFFFFF;
  box-shadow: 0 0 24px #D68B24, 0 0 40px rgba(214, 139, 36, 1);
}

@keyframes beaconGlow {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 6px #FFA726, 0 0 12px rgba(255, 167, 38, 0.6);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 14px #FFA726, 0 0 28px rgba(255, 167, 38, 0.95);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 9px #FFA726, 0 0 18px rgba(255, 167, 38, 0.75);
  }
}

@keyframes beaconHubGlow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 10px #EA580C, 0 0 20px rgba(234, 88, 12, 0.7);
  }
  50% {
    transform: scale(1.25);
    box-shadow: 0 0 18px #EA580C, 0 0 35px rgba(234, 88, 12, 1);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 0 12px #EA580C, 0 0 24px rgba(234, 88, 12, 0.85);
  }
}

.city-pulse-ring {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 167, 38, 0.5) 0%, rgba(255, 167, 38, 0) 70%);
  border: 1px solid rgba(255, 167, 38, 0.85);
  animation: cityPulse 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  z-index: 1;
  pointer-events: none;
}

.city-pulse-ring.delay-1 { animation-delay: 0.6s; }
.city-pulse-ring.delay-2 { animation-delay: 1.2s; }
.city-pulse-ring.delay-3 { animation-delay: 1.8s; }

@keyframes cityPulse {
  0% {
    transform: scale(0.4);
    opacity: 1;
    border-color: rgba(255, 167, 38, 0.9);
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
    border-color: rgba(255, 167, 38, 0);
  }
}

/* Interactive State Touch Tooltip */
.state-touch-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(16, 24, 43, 0.96);
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 14px 32px -4px rgba(16, 24, 43, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: max-content;
  max-width: 280px;
  z-index: 50;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.2s;
}

.state-touch-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: rgba(16, 24, 43, 0.96) transparent transparent transparent;
}

.city-node-anchor.tooltip-south .state-touch-tooltip {
  bottom: auto;
  top: calc(100% + 10px);
}

.city-node-anchor.tooltip-south .state-touch-tooltip::before {
  top: auto;
  bottom: 100%;
}

.city-node-anchor.tooltip-south .state-touch-tooltip::after {
  top: auto;
  bottom: 100%;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent rgba(16, 24, 43, 0.96) transparent;
}

/* Smart Directional Tooltips for Edge Nodes to Stay 100% Inside & Centered */
.city-node-anchor.tooltip-west .state-touch-tooltip {
  left: -10px;
  transform: translateX(0) translateY(6px);
}

.city-node-anchor.tooltip-west .state-touch-tooltip::after {
  left: 20px;
  transform: translateX(0);
}

.city-node-anchor.tooltip-west:hover .state-touch-tooltip,
.city-node-anchor.tooltip-west:focus .state-touch-tooltip,
.city-node-anchor.tooltip-west.active .state-touch-tooltip {
  transform: translateX(0) translateY(0);
}

.city-node-anchor.tooltip-east .state-touch-tooltip {
  left: auto;
  right: -10px;
  transform: translateX(0) translateY(6px);
}

.city-node-anchor.tooltip-east .state-touch-tooltip::after {
  left: auto;
  right: 20px;
  transform: translateX(0);
}

.city-node-anchor.tooltip-east:hover .state-touch-tooltip,
.city-node-anchor.tooltip-east:focus .state-touch-tooltip,
.city-node-anchor.tooltip-east.active .state-touch-tooltip {
  transform: translateX(0) translateY(0);
}

.city-node-anchor:hover .state-touch-tooltip,
.city-node-anchor:focus .state-touch-tooltip,
.city-node-anchor.active .state-touch-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.state-tooltip-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.state-tooltip-title .badge-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 9999px;
  background: rgba(14, 165, 233, 0.22);
  color: #38BDF8;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.state-tooltip-city {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 3px;
  font-weight: 500;
}

.state-tooltip-scheme {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
  white-space: normal;
}

.state-scheme-link {
  font-size: 11.5px;
  font-weight: 600;
  color: #F5C542;
  text-decoration: none;
  padding: 3px 9px;
  border-radius: 9999px;
  border: 1px solid rgba(245, 197, 66, 0.4);
  transition: background 0.2s ease, color 0.2s ease;
}

.state-scheme-link:hover,
.state-scheme-link:focus-visible {
  background: #F5C542;
  color: #10182B;
  outline: none;
}

/* invisible bridge so the tooltip stays open while the pointer travels from dot to tooltip */
.state-touch-tooltip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.city-label-capsule {
  margin-top: 6px;
  padding: 3px 9px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(228, 233, 242, 0.9);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: #10182B;
  box-shadow: 0 4px 12px -2px rgba(16, 24, 43, 0.08);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.city-node-anchor:hover .city-label-capsule,
.city-node-anchor.active .city-label-capsule {
  background: #10182B;
  color: #FFFFFF;
  border-color: #10182B;
  box-shadow: 0 6px 16px rgba(16, 24, 43, 0.25);
}

.city-label-capsule.hub-badge {
  background: #FFF7ED;
  border-color: #FED7AA;
  color: #C2410C;
}

/* Frosted Glass Floating Services Badges */
.floating-glass-card {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(16, 24, 43, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  box-shadow: 0 10px 25px -4px rgba(16, 24, 43, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 20;
  white-space: nowrap;
  animation: floatCardGentle 4.5s ease-in-out infinite;
}

@keyframes floatCardGentle {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-6px); }
}

.floating-glass-card .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F5C542;
  box-shadow: 0 0 8px #F5C542;
}

/* Pan India Floating Glass Hero Card with Animations */
.pan-india-glass-box {
  position: absolute;
  bottom: 16px;
  right: 16px;
  left: auto;
  width: auto;
  max-width: 340px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  box-shadow: 0 8px 20px -4px rgba(16, 24, 43, 0.12), 0 2px 4px rgba(16, 24, 43, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  animation: panIndiaEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pan-india-glass-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -3px rgba(16, 24, 43, 0.16);
}

@keyframes panIndiaEntrance {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.pan-india-glass-box .pan-india-content-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pan-india-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: #10182B;
  margin-bottom: 0px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.pan-india-desc {
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.2;
  margin-bottom: 0;
  white-space: normal;
}

.pan-india-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 750;
  color: #D96A20;
  background: #FFF5EC;
  border: 1px solid #FFE4D0;
  padding: 6px 12px;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.pan-india-link svg {
  width: 12px;
  height: 12px;
  color: #D96A20;
  transition: transform 0.2s ease;
}

.pan-india-link:hover {
  background: #FFE8D6;
  color: #C25010;
  border-color: #FED7AA;
  transform: translateY(-1px);
}

.pan-india-link:hover svg {
  transform: translateX(2px);
}

@media (max-width: 640px) {
  .pan-india-glass-box {
    position: absolute;
    bottom: 8px;
    right: 8px;
    left: auto;
    width: auto;
    max-width: calc(100% - 16px);
    margin-top: 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 10px rgba(16, 24, 43, 0.1);
    gap: 6px;
    animation: none;
    transform: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .pan-india-glass-box:hover {
    transform: none;
  }

  .pan-india-title {
    font-size: 12px;
    font-weight: 750;
  }

  .pan-india-desc {
    font-size: 10.5px;
    line-height: 1.25;
  }

  .pan-india-link {
    font-size: 10.5px;
    padding: 5px 9px;
    border-radius: 9999px;
  }
}

/* ======================================================
   NATIONWIDE PAN-INDIA STATE HOTSPOTS & TOUCH POPUP
   ====================================================== */
.state-touch-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  z-index: 15;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.state-pin-marker {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10182B;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(16, 24, 43, 0.4);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.state-touch-node:hover .state-pin-marker,
.state-touch-node.is-active .state-pin-marker {
  transform: scale(1.5);
  background: #D68B24;
  border-color: #FED7AA;
  box-shadow: 0 0 16px rgba(214, 139, 36, 0.9);
}

.state-pin-marker.hq {
  width: 13px;
  height: 13px;
  background: linear-gradient(135deg, #D68B24 0%, #D68B24 100%);
  box-shadow: 0 0 14px rgba(214, 139, 36, 0.8);
}

.state-sonar-ring {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(214, 139, 36, 0.22);
  animation: stateSonar 2.8s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  pointer-events: none;
}

.state-sonar-ring.slow { animation-duration: 3.4s; }
.state-sonar-ring.fast { animation-duration: 2.1s; }

@keyframes stateSonar {
  0% { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}

.state-mini-tag {
  position: absolute;
  top: 100%;
  margin-top: 2px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(228, 233, 242, 0.9);
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 750;
  color: #10182B;
  box-shadow: 0 2px 8px rgba(16, 24, 43, 0.1);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.88;
  transform: scale(0.92);
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.state-touch-node:hover .state-mini-tag,
.state-touch-node.is-active .state-mini-tag {
  opacity: 1;
  transform: scale(1.04);
  background: #10182B;
  color: #FFFFFF;
  border-color: #10182B;
  box-shadow: 0 4px 14px rgba(16, 24, 43, 0.3);
}

/* State Intelligence Interactive Modal Popup */
.state-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 43, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.state-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.state-popup-card {
  width: 100%;
  max-width: 320px;
  background: #FFFFFF;
  border: 1.5px solid rgba(228, 233, 242, 0.9);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 24px 50px -10px rgba(16, 24, 43, 0.35);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.state-popup-overlay.is-open .state-popup-card {
  transform: scale(1) translateY(0);
}

.state-popup-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.state-popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  color: #C2410C;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.state-popup-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: #10182B;
  line-height: 1.2;
}

.state-popup-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.state-popup-close-btn:hover {
  background: #10182B;
  color: #FFFFFF;
  border-color: #10182B;
  transform: scale(1.08);
}

/* ====================================================
   GOOGLE REVIEWS 5x5 BENTO GRID LAYOUT (RECTANGLE FORM)
   ==================================================== */
.reviews-section .parent,
.google-reviews-grid.parent,
.parent {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, minmax(76px, auto));
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.reviews-section .div1,
.google-reviews-grid .div1,
.div1 {
  grid-column: span 3 / span 3;
  grid-row: span 2 / span 2;
}

.reviews-section .div2 { grid-column: span 2 / span 1; grid-row: span 1 / span 1; }
.reviews-section .div3 { grid-column: span 2 / span 1; grid-row: span 1 / span 1; }
.reviews-section .div4 { grid-column: span 2 / span 1; grid-row: span 1 / span 1; }
.reviews-section .div5 { grid-column: span 3 / span 1; grid-row: span 1 / span 1; }
.reviews-section .div6 { grid-column: span 2 / span 2; grid-row: span 2 / span 2; }
.reviews-section .div7 { grid-column: span 2 / span 1; grid-row: span 1 / span 1; }
.reviews-section .div8 { grid-column: span 1 / span 1; grid-row: span 1 / span 1; }
.reviews-section .div9 { grid-column: span 1 / span 1; grid-row: span 1 / span 1; }
.reviews-section .div10 { grid-column: span 2 / span 1; grid-row: span 1 / span 1; }

.bento-rcard {
  background: #141F38;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  position: relative;
  min-height: 76px;
}

.bento-rcard:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.45);
}

.bento-hero-card {
  background: linear-gradient(145deg, #162444 0%, #0D1528 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.5);
  padding: 16px 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
}

.bento-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  color: #F8FAFC;
  width: fit-content;
}

.bento-hero-score {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 6px 0 3px;
}

.bento-hero-score span {
  font-size: 0.8rem;
  color: #94A3B8;
  font-weight: 500;
}

.bento-rcard-text {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #CBD5E1;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-rcard.large .bento-rcard-text {
  -webkit-line-clamp: 5;
}

@media (max-width: 1024px) {
  .reviews-section .parent,
  .google-reviews-grid.parent,
  .parent {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 8px;
    padding: 0 12px;
  }
  .reviews-section .div1,
  .div1 {
    grid-column: span 2 !important;
    grid-row: auto !important;
  }
  .reviews-section [class*="div"] {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

@media (max-width: 640px) {
  .reviews-section .parent,
  .google-reviews-grid.parent,
  .parent {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
    padding: 0 16px;
  }
  .reviews-section .div1,
  .div1 {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    padding: 20px 18px;
    min-height: 140px;
    border-radius: 14px;
  }
  .bento-hero-score {
    font-size: 2.2rem;
    margin: 8px 0 4px;
    gap: 8px;
  }
  .bento-hero-score span {
    font-size: 0.85rem;
  }
  .bento-hero-badge {
    font-size: 11px;
    padding: 4px 10px;
    gap: 6px;
  }
  .bento-hero-card p {
    font-size: 0.85rem !important;
    margin-top: 6px !important;
    line-height: 1.45 !important;
  }
  .bento-rcard {
    padding: 14px 16px;
    border-radius: 12px;
    min-height: 100px;
    gap: 8px;
  }
  .bento-rcard-text {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-top: 6px !important;
    -webkit-line-clamp: 4 !important;
  }
  .bento-rcard .avatar {
    width: 32px !important;
    height: 32px !important;
    font-size: 12px !important;
  }
  .bento-rcard .g-mark {
    width: 20px !important;
    height: 20px !important;
  }
  .bento-rcard .stars-row svg {
    width: 14px !important;
    height: 14px !important;
  }
  .bento-rcard time {
    font-size: 11px !important;
  }
}

.state-popup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.state-popup-stat {
  background: #F8FAFC;
  border: 1px solid #EEF2F6;
  border-radius: 12px;
  padding: 8px 10px;
}

.state-stat-label {
  font-size: 10px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 2px;
}

.state-stat-value {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: #10182B;
}

.state-popup-schemes {
  background: #FAFAFA;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.state-schemes-title {
  font-size: 10.5px;
  font-weight: 750;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.state-schemes-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.state-scheme-pill {
  font-size: 10px;
  font-weight: 650;
  padding: 2px 7px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  color: #0F172A;
}

.state-popup-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 14px;
  background: linear-gradient(135deg, #D68B24 0%, #D68B24 100%);
  color: #FFFFFF;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(214, 139, 36, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.state-popup-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(214, 139, 36, 0.55);
}

/* ====================================================
   14. PROCESS ROADMAP 5-STEP ANIMATIONS & HOVER DYNAMICS
   ==================================================== */
.process-roadmap-container {
  position: relative;
}

.process-step-node {
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.step-badge-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-badge {
  position: relative;
  z-index: 2;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-step-node.auto-active .step-badge {
  transform: scale(1.18);
  border-color: #D68B24;
  background-color: #D68B24;
  color: #FFFFFF;
  box-shadow: 0 0 24px rgba(214, 139, 36, 0.65);
}

/* Pulsing Sonar Ring radiating around each step circle */
.step-sonar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(214, 139, 36, 0.2);
  border: 1px solid rgba(214, 139, 36, 0.45);
  pointer-events: none;
  animation: stepSonarPulse 3.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  z-index: 1;
}

.process-step-node:nth-child(1) .step-sonar-ring { animation-delay: 0.0s; }
.process-step-node:nth-child(2) .step-sonar-ring { animation-delay: 0.7s; }
.process-step-node:nth-child(3) .step-sonar-ring { animation-delay: 1.4s; }
.process-step-node:nth-child(4) .step-sonar-ring { animation-delay: 2.1s; }
.process-step-node:nth-child(5) .step-sonar-ring { animation-delay: 2.8s; }

@keyframes stepSonarPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.9;
  }
  60% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}

/* Step content card with gentle interactive response */
.step-content-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
  border-radius: 16px;
}

.process-step-node.auto-active .step-content-card {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 25px -5px rgba(16, 24, 43, 0.08);
}

.process-step-node.auto-active .step-content-card p.font-display {
  color: #D68B24 !important;
}

/* Dynamic automatic & continuous progress beam animation */
.process-progress-line {
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px rgba(214, 139, 36, 0.8);
  position: absolute;
  overflow: hidden;
}

/* Continuous moving light beam stream across the process line */
.process-progress-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), #F5D061, transparent);
  background-size: 200% 100%;
  animation: processLineStream 3s linear infinite;
}

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

@media (max-width: 1023px) {
  .process-progress-line {
    transform-origin: top center;
  }
  .process-progress-line::after {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.9), #F5D061, transparent);
    background-size: 100% 200%;
    animation: processLineStreamVertical 3s linear infinite;
  }
  @keyframes processLineStreamVertical {
    0% {
      transform: translateY(-100%);
    }
    100% {
      transform: translateY(100%);
    }
  }
}

@media (min-width: 1024px) {
  .process-progress-line {
    transform-origin: left center;
  }
}

/* ====================================================
   OUR APPROACH (ABOUT SECTION) ANIMATIONS & MOBILE UI
   ==================================================== */
.our-approach-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.our-approach-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -6px rgba(16, 24, 43, 0.08);
}

.approach-step-item {
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.approach-badge {
  position: relative;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.approach-step-item.auto-active .approach-badge {
  transform: scale(1.15);
  background-color: #D68B24;
  color: #FFFFFF;
  box-shadow: 0 0 18px rgba(214, 139, 36, 0.65);
}

.approach-step-item.auto-active span.font-semibold {
  color: #D68B24;
}

.approach-sonar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(214, 139, 36, 0.22);
  border: 1px solid rgba(214, 139, 36, 0.4);
  pointer-events: none;
  animation: approachSonarPulse 3.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  z-index: 1;
}

.approach-step-item:nth-child(1) .approach-sonar-ring { animation-delay: 0.0s; }
.approach-step-item:nth-child(2) .approach-sonar-ring { animation-delay: 0.7s; }
.approach-step-item:nth-child(3) .approach-sonar-ring { animation-delay: 1.4s; }
.approach-step-item:nth-child(4) .approach-sonar-ring { animation-delay: 2.1s; }
.approach-step-item:nth-child(5) .approach-sonar-ring { animation-delay: 2.8s; }

@keyframes approachSonarPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.9;
  }
  60% {
    transform: translate(-50%, -50%) scale(1.65);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.65);
    opacity: 0;
  }
}

/* Continuous automatic flowing line animation for About approach */
.about-progress-line {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(214, 139, 36, 0.8);
}

.about-progress-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), #F5D061, transparent);
  background-size: 200% 100%;
  animation: aboutLineStream 2.6s linear infinite;
}

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

/* ======================================================
   FUNDING 7-STEP PIPELINE CARDS & AUTOMATIC SIDE SCROLL/FLOW
   ====================================================== */
.funding-pipeline-wrap {
  position: relative;
  overflow: hidden;
  padding: 10px 4px;
}

.funding-step-item {
  position: relative;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.funding-step-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 20px 14px;
  box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

body.dark-theme .funding-step-card {
  background: #0D1528;
  border-color: #1E293B;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.funding-step-item.auto-active .funding-step-card {
  transform: translateY(-6px);
  border-color: #D68B24;
  box-shadow: 0 12px 28px -6px rgba(214, 139, 36, 0.22), 0 0 0 1px rgba(214, 139, 36, 0.4);
}

.funding-step-item.auto-active .step-number {
  background: #D68B24;
  color: #FFFFFF;
  transform: scale(1.12);
  box-shadow: 0 0 14px rgba(214, 139, 36, 0.6);
}

.funding-step-item.auto-active .step-title {
  color: #D68B24;
}

.funding-step-item.auto-active .funding-step-arrow {
  color: #D68B24;
  transform: translateY(-50%) translateX(4px) scale(1.15);
}

.step-number {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.funding-step-arrow {
  transition: all 0.3s ease;
  z-index: 10;
}

/* On small & medium screens, enable smooth automated side scrolling with snap */
@media (max-width: 1023px) {
  .funding-pipeline-scroll {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    gap: 14px !important;
    scrollbar-width: none; /* Hide default scrollbar in favor of custom bottom slider bar */
  }
  .funding-pipeline-scroll::-webkit-scrollbar {
    display: none;
  }
  .funding-step-item {
    flex: 0 0 160px !important;
    scroll-snap-align: center;
  }
  .funding-step-arrow {
    display: block !important;
    right: -10px !important;
  }
}

/* ======================================================
   MANUAL SLIDER CONTROLS (ARROWS + PROGRESS BAR)
   ====================================================== */
.pipeline-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding: 0 4px;
  user-select: none;
}

@media (min-width: 1024px) {
  .pipeline-slider-controls {
    display: none; /* Hidden on full desktop grid */
  }
}

.pipeline-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D68B24;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.pipeline-nav-btn svg {
  width: 16px;
  height: 16px;
}

.pipeline-nav-btn:hover {
  color: #F59E0B;
  transform: scale(1.15);
}

.pipeline-nav-btn:active {
  transform: scale(0.9);
}

.pipeline-progress-track {
  flex: 1;
  height: 6px;
  background: rgba(214, 139, 36, 0.18);
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.pipeline-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #D68B24 0%, #F59E0B 100%);
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(214, 139, 36, 0.6);
  transition: left 0.2s ease, width 0.2s ease;
}

/* Ensure pristine compact horizontal layout on small screens */
@media (max-width: 640px) {
  .our-approach-card {
    padding: 18px 14px !important;
  }
  .our-approach-track-wrap {
    margin-top: 18px !important;
  }
  .approach-step-item {
    gap: 6px !important;
  }
  .approach-badge {
    width: 28px !important;
    height: 28px !important;
    font-size: 10px !important;
  }
  .approach-step-item span.text-\[10px\] {
    font-size: 9.5px !important;
    line-height: 1.15 !important;
  }
}

/* ======================================================
   UNIVERSAL AMBIENT FULL-SCREEN BACKGROUND VIDEO LAYER
   ====================================================== */
.site-bg-video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -999;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.38;
  transition: opacity 0.4s ease;
  contain: strict;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

body.dark-theme .site-bg-video-wrapper {
  opacity: 0.22;
}

.site-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate3d(-50%, -50%, 0);
  -webkit-transform: translate3d(-50%, -50%, 0);
  object-fit: cover;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
}

.site-bg-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.12) 0%, rgba(248, 250, 252, 0.58) 100%);
  pointer-events: none;
}

body.dark-theme .site-bg-video-overlay {
  background: radial-gradient(circle at 50% 30%, rgba(13, 21, 40, 0.35) 0%, rgba(8, 14, 30, 0.80) 100%);
}

@media (max-width: 640px) {
  .site-bg-video-wrapper {
    opacity: 0.30;
  }
}

/* Floating Accessibility Widget Button */
.a11y-widget-btn {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99990;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #10182B;
  border: 1.5px solid #E2BD68;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.a11y-widget-btn:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(226, 189, 104, 0.45);
  border-color: #D4AF37;
}

.a11y-widget-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.a11y-widget-btn svg {
  width: 22px;
  height: 22px;
}

/* ======================================================
   REXERA LUXURY COOKIE CONSENT BANNER & MODAL
   ====================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 580px;
  margin: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: 0 20px 50px -10px rgba(16, 24, 43, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.6);
  z-index: 99998;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  font-family: var(--font-body, system-ui, sans-serif);
}

body.dark-theme .cookie-consent-banner {
  background: rgba(13, 21, 40, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6);
}

.cookie-consent-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.cookie-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #FFF7ED;
  color: #D68B24;
  border: 1px solid #FED7AA;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

body.dark-theme .cookie-icon-badge {
  background: rgba(214, 139, 36, 0.15);
  border-color: rgba(214, 139, 36, 0.3);
}

.cookie-title {
  font-family: var(--font-display, inherit);
  font-size: 16px;
  font-weight: 800;
  color: #10182B;
  letter-spacing: -0.01em;
}

body.dark-theme .cookie-title {
  color: #FFFFFF;
}

.cookie-text {
  font-size: 13px;
  line-height: 1.55;
  color: #64748B;
  margin-bottom: 18px;
}

body.dark-theme .cookie-text {
  color: #94A3B8;
}

.cookie-text a {
  color: #D68B24;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.cookie-text a:hover {
  color: #B47017;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn-primary {
  background: #D68B24;
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(214, 139, 36, 0.35);
  transition: all 0.2s ease;
}

.cookie-btn-primary:hover {
  background: #C47A1B;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(214, 139, 36, 0.45);
}

.cookie-btn-secondary {
  background: transparent;
  color: #10182B;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.dark-theme .cookie-btn-secondary {
  color: #E2E8F0;
  border-color: rgba(255, 255, 255, 0.2);
}

.cookie-btn-secondary:hover {
  background: rgba(16, 24, 43, 0.05);
  border-color: #94A3B8;
}

body.dark-theme .cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cookie-btn-manage {
  margin-left: auto;
  background: none;
  border: none;
  color: #64748B;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 6px 8px;
}

.cookie-btn-manage:hover {
  color: #D68B24;
}

@media (max-width: 640px) {
  .cookie-consent-banner {
    bottom: 16px;
    left: 14px;
    right: 14px;
    padding: 18px 18px;
  }
  .cookie-btn-manage {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 4px;
  }
}

/* ==========================================================================
   REXERA CROSS-DEVICE & MOBILE UI/UX PERFECTION SUITE
   - Universal device responsiveness (320px, 375px, 390px, 428px, tablets, foldables, desktops)
   - Zero horizontal overflow guarantee
   - Touch-optimized 44px+ interactive tap targets & smooth haptic transitions
   - Safe-area-insets for iOS home indicator / notch devices
   - Fluid typography and responsive modal / drawer layouts
   ========================================================================== */

/* Universal Fluid Box Model & Overflow Shield */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* Base tap target & image constraints */
img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

/* Smooth Touch Interactions */
a, button {
  -webkit-tap-highlight-color: rgba(214, 139, 36, 0.15);
}

/* ======================================================
   RESPONSIVE NAVBAR & HEADER TUNING ACROSS DEVICES
   ====================================================== */
@media (max-width: 1024px) {
  .nav-wrapper {
    width: 95% !important;
    padding: 0 8px !important;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 0px !important;
  }

  .nav-wrapper {
    top: 44px !important;
    width: calc(100% - 20px) !important;
    padding: 0 !important;
  }

  .nav-island,
  .anti-gravity-navbar {
    padding: 6px 10px 6px 12px !important;
    border-radius: 40px !important;
    min-height: 52px !important;
  }

  .brand {
    padding: 2px 8px !important;
  }

  .brand-logo-svg,
  .rexera-brand-logo {
    height: 22px !important;
    width: auto !important;
  }

  .nav-actions {
    gap: 6px !important;
  }

  .btn-nav-call {
    padding: 5px 10px !important;
    font-size: 0.72rem !important;
    gap: 4px !important;
  }

  .btn-nav-call svg {
    width: 11px !important;
    height: 11px !important;
  }

  .icon-btn {
    width: 32px !important;
    height: 32px !important;
  }

  .nav-toggle {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }
}

@media (max-width: 480px) {
  .nav-wrapper {
    top: 40px !important;
    width: calc(100% - 16px) !important;
  }

  .nav-island,
  .anti-gravity-navbar {
    padding: 4px 8px 4px 10px !important;
  }

  .btn-nav-call span {
    font-size: 0.70rem !important;
  }
}

/* Extra small devices (iPhone SE, Galaxy Fold ~320px - 360px) */
@media (max-width: 370px) {
  .nav-wrapper {
    width: calc(100% - 12px) !important;
  }
  .btn-nav-call span {
    display: none !important;
  }
  .btn-nav-call {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
  }
  .btn-nav-call svg {
    margin: 0 !important;
  }
}

/* ======================================================
   MOBILE DRAWER LUXURY ENHANCEMENTS (UI/UX)
   ====================================================== */
.mobile-drawer {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-drawer-header {
  padding: 14px 18px !important;
}

.mobile-drawer-close {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
}

.mobile-drawer-body {
  padding: 16px 16px calc(30px + env(safe-area-inset-bottom, 0px)) !important;
  gap: 12px !important;
}

.mobile-quick-card {
  min-height: 64px;
}

.mobile-quick-card:active {
  transform: scale(0.97);
}

.mobile-drawer-trigger,
.mobile-drawer-link-direct {
  min-height: 48px;
  padding: 12px 16px !important;
}

.mobile-drawer-trigger:active,
.mobile-drawer-link-direct:active {
  background: rgba(214, 139, 36, 0.08) !important;
}

.mobile-sub-item-link {
  min-height: 44px;
  padding: 11px 18px !important;
}

.mobile-sub-item-link:active {
  background: rgba(214, 139, 36, 0.1) !important;
}

/* ======================================================
   STICKY BOTTOM ACTION BAR (TOUCH & SAFE-AREA OPTIMIZED)
   ====================================================== */
@media (max-width: 820px) {
  .mobile-bottom-bar {
    padding: 8px 14px max(8px, env(safe-area-inset-bottom, 0px)) !important;
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
  }

  body.dark-theme .mobile-bottom-bar {
    background: transparent !important;
    border-top: none !important;
    box-shadow: none !important;
  }

  .bar-eligibility-btn {
    min-height: 44px !important;
    padding: 10px 16px !important;
    font-size: 0.80rem !important;
    letter-spacing: 0.03em !important;
    box-shadow: 0 4px 16px rgba(214, 139, 36, 0.35) !important;
  }

  .bar-action-btn {
    min-width: 48px;
    min-height: 44px;
    padding: 3px 6px !important;
  }

  .bar-action-btn:active {
    transform: scale(0.92);
  }
}

/* ======================================================
   HERO & CONTENT CARDS FLUID RESPONSIVENESS
   ====================================================== */
@media (max-width: 768px) {
  /* Headings fluid scaling */
  h1, .hero-title, .hero-luxury-title, .page-header-title {
    font-size: clamp(1.85rem, 7.5vw, 2.75rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    word-break: break-word;
  }

  h2, .section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
    line-height: 1.25 !important;
  }

  h3 {
    font-size: clamp(1.2rem, 5vw, 1.6rem) !important;
  }

  /* Hero buttons stacking */
  .hero-luxury-actions,
  .hero-btn-row,
  .thank-you-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .hero-luxury-actions a,
  .hero-btn-row a,
  .thank-you-actions a,
  .btn-block-mobile {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 48px !important;
  }

  /* Grid columns fallbacks (excluding horizontal metric strips & approach tracks) */
  .grid:not(.metrics-counter-grid):not([class*="grid-cols-4"]):not([class*="grid-cols-2"]):not(.card-grid-3):not(.grid-cols-5) {
    grid-template-columns: 1fr !important;
  }

  /* Containers & section padding on mobile */
  .calc-body-wrap {
    padding: 24px 14px 60px !important;
  }

  .calc-app-card {
    padding: 20px 14px !important;
    border-radius: 18px !important;
  }

  /* Modals responsiveness */
  .search-modal-card,
  .consult-modal-card,
  .milestone-card {
    width: calc(100vw - 28px) !important;
    max-width: 100% !important;
    margin: 14px auto !important;
    padding: 20px 16px !important;
    border-radius: 20px !important;
  }

  /* Timeline & Process responsiveness */
  .timeline-steps-box,
  .mobile-timeline-item {
    gap: 12px !important;
  }
}

/* ======================================================
   TABLES & CALCULATOR GRIDS ON MOBILE
   ====================================================== */
@media (max-width: 640px) {
  .table-responsive,
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tax-row-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .tax-row-figures {
    width: 100% !important;
    justify-content: space-between !important;
  }
}

/* ======================================================
   METRICS COUNTER BAR LUXURY PRESENTATION (MATCHING SCREENSHOT)
   95%+ | 10,000+ | ₹200CR+ | 500+
   ====================================================== */
.stat-magic-card {
  background: #FFFFFF;
  position: relative;
}

body.dark-theme .stat-magic-card {
  background: #0B1220;
}

.stat-magic-num {
  font-family: 'Sora', 'DM Sans', sans-serif !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
}

@media (max-width: 768px) {
  /* Metrics Bar clean 2x2 or 4-row layout on mobile */
  .metrics-counter-grid,
  section.border-y .grid-cols-2 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    border-top: 1px solid #E4E9F2;
    border-bottom: 1px solid #E4E9F2;
  }

  .stat-magic-card {
    padding: 24px 12px !important;
  }

  .stat-magic-num {
    font-size: clamp(1.75rem, 6.5vw, 2.5rem) !important;
    line-height: 1.1 !important;
  }

  .stat-magic-card p {
    font-size: 0.8rem !important;
    margin-top: 2px;
  }
}

@media (max-width: 480px) {
  .stat-magic-card {
    padding: 20px 8px !important;
  }

  .stat-magic-num {
    font-size: 1.75rem !important;
  }
}

/* ======================================================
   ABOUT REXERA & "OUR APPROACH" 5-STEP STRIP (MATCHING SCREENSHOT)
   01 Understand | 02 Analyse | 03 Strategize | 04 Execute | 05 Grow
   ====================================================== */
.our-approach-card {
  background: #FFFFFF;
  border: 1px solid #E4E9F2;
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 4px 20px -4px rgba(16, 24, 43, 0.06);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.our-approach-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -6px rgba(16, 24, 43, 0.08);
}

body.dark-theme .our-approach-card {
  background: #0D1528;
  border-color: #1E293B;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.4);
}

.approach-card-title {
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: #10182b;
  margin: 0 0 24px 0;
  letter-spacing: -0.01em;
}

body.dark-theme .approach-card-title {
  color: #F8FAFC;
}

/* Connecting track container */
.our-approach-track-wrap {
  position: relative;
  width: 100%;
}

/* Connecting Base Line */
.approach-base-line {
  position: absolute;
  top: 19px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: #D68B24;
  opacity: 0.95;
  z-index: 1;
}

/* Glowing Animated Progress Line */
.about-progress-line {
  position: absolute;
  top: 19px;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, #D68B24 0%, #F5C542 100%);
  box-shadow: 0 0 8px rgba(214, 139, 36, 0.6);
  z-index: 1;
  transition: width 0.8s ease;
  right: 8%;
  width: auto !important;
}

/* 5-Column Steps Grid - Always strictly horizontal */
.our-approach-steps-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 4px;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Individual Step Item */
.approach-step-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  cursor: pointer;
  user-select: none;
  gap: 8px;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

/* Badge Circle Wrap */
.approach-badge-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
}

/* Numbered Circle Badge (Default Inactive State) */
.approach-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #D68B24 !important;
  background: #FFFFFF !important;
  color: #D68B24 !important;
  font-size: 0.80rem !important;
  font-weight: 750 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 0 3px rgba(214, 139, 36, 0.08);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}

body.dark-theme .approach-badge {
  background: #111A2E !important;
}

/* Active Highlighted State (Matching Step 1 in Screenshot) */
.approach-step-item.auto-active .approach-badge {
  background: linear-gradient(135deg, #D68B24 0%, #E68A00 100%) !important;
  color: #FFFFFF !important;
  border-color: #D68B24 !important;
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(214, 139, 36, 0.22), 0 4px 14px rgba(214, 139, 36, 0.35) !important;
}

/* Step Label Text */
.approach-step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #10182b;
  transition: color 0.2s ease, font-weight 0.2s ease;
  margin-top: 2px;
  white-space: nowrap;
}

body.dark-theme .approach-step-label {
  color: #94A3B8;
}

/* Active / Hover Step Label */
.approach-step-item.auto-active .approach-step-label {
  color: #D68B24 !important;
  font-weight: 750 !important;
}

/* About Section Heading & Layout Safeguards */
#about {
  overflow: visible;
}

#about h2 {
  padding-left: 4px;
  overflow: visible;
  word-break: normal;
  overflow-wrap: break-word;
}

#about .reveal {
  overflow: visible;
}

@media (max-width: 768px) {
  /* About Section Grid Stacking - ONLY target the top-level 2-column grid */
  #about > div.grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }

  #about h2 {
    font-size: clamp(1.85rem, 6.5vw, 2.75rem) !important;
    line-height: 1.15 !important;
    letter-spacing: normal !important;
    padding-left: 4px !important;
    overflow: visible !important;
  }

  /* Tags row on mobile */
  #about .flex.flex-wrap {
    gap: 8px !important;
    margin-top: 20px !important;
  }

  #about .flex.flex-wrap span {
    padding: 6px 14px !important;
    font-size: 0.78rem !important;
    border-radius: 9999px !important;
    background: #FFFFFF;
    border: 1px solid #E4E9F2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  }

  body.dark-theme #about .flex.flex-wrap span {
    background: #0D1528;
    border-color: #1E293B;
    color: #F8FAFC;
  }

  /* Approach card on mobile */
  .our-approach-card {
    padding: 20px 14px !important;
    margin-top: 24px !important;
    border-radius: 18px !important;
  }

  .approach-card-title {
    font-size: 1rem !important;
    margin-bottom: 18px !important;
  }

  .our-approach-steps-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 2px !important;
  }

  .approach-badge-wrap {
    width: 32px !important;
    height: 32px !important;
  }

  .approach-badge {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.72rem !important;
    border-width: 1.5px !important;
  }

  .approach-base-line,
  .about-progress-line {
    top: 16px !important;
    left: 6% !important;
    right: 6% !important;
  }

  .approach-step-label {
    font-size: 0.68rem !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
  }
}

@media (max-width: 420px) {
  .approach-badge-wrap {
    width: 28px !important;
    height: 28px !important;
  }

  .approach-badge {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.65rem !important;
  }

  .approach-base-line,
  .about-progress-line {
    top: 14px !important;
    left: 5% !important;
    right: 5% !important;
  }

  .approach-step-label {
    font-size: 0.60rem !important;
  }
}

@media (max-width: 820px) {
  html, body {
    padding-bottom: 0 !important;
  }

  .footer {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .footer-bottom {
    padding-bottom: 4px !important;
  }

  .corporate-footer {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .footer-subbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding-top: 14px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    font-size: 0.74rem !important;
  }

  /* Completely show Privacy Policy, Terms & Conditions, FAQ & Contact on mobile */
  .footer-sublinks {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px 18px !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .footer-sublink {
    display: inline-block !important;
    font-size: 0.76rem !important;
    color: #475569 !important;
    text-decoration: none !important;
    padding: 3px 2px !important;
  }
}

/* Global Footer Bottom Gap Elimination */
.corporate-footer {
  padding-bottom: 20px !important;
}

.footer-subbar {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.footer-sublinks {
  display: flex !important;
  align-items: center;
  gap: 20px;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}







/* ======================================================
   TYPE SCALE REFINEMENTS (sizes bumped for readability)
   ====================================================== */
.scheme-card h3 { font-size: 1.35rem !important; line-height: 1.25; }
.scheme-card p { font-size: 0.92rem !important; line-height: 1.6; }
.scheme-card span[class*="text-[11px]"] { font-size: 0.8rem !important; }
.scheme-card > span:first-child { font-size: 0.8rem !important; }
.scheme-card > a { font-size: 0.95rem !important; }
.approach-step-label { font-size: 0.95rem; }
.approach-card-title { font-size: 1.35rem; }
.funding-step-card .step-title { font-size: 0.95rem; }

/* ======================================================
   NAV DROPDOWN HOVER FIX
   The panels sit 6-12px below their nav item, so the pointer left :hover
   while crossing the gap and the menu vanished. An invisible bridge keeps
   the hover alive, hiding is delayed slightly, and keyboard focus opens it.
   ====================================================== */
.nav-item > .nav-dropdown::before,
.nav-item > .mega-dropdown-panel::before,
.nav-item > .mega-services-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}

/* also enlarge the trigger's own hover area downward */
.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 20px;
}

.nav-item > .nav-dropdown,
.nav-item > .mega-dropdown-panel,
.nav-item > .mega-services-dropdown {
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.12s !important;
}

.nav-item:hover > .nav-dropdown,
.nav-item:hover > .mega-dropdown-panel,
.nav-item:hover > .mega-services-dropdown,
.nav-item:has(:focus-visible) > .nav-dropdown,
.nav-item:has(:focus-visible) > .mega-dropdown-panel,
.nav-item:has(:focus-visible) > .mega-services-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition-delay: 0s !important;
}

.nav-item:has(:focus-visible) > .nav-dropdown,
.nav-item:has(:focus-visible) > .mega-services-dropdown {
  transform: translateX(-50%) translateY(6px) !important;
}

.nav-item:has(:focus-visible) > .mega-dropdown-panel {
  transform: translateX(-50%) translateY(0) !important;
}

/* ==========================================================================
   UNIVERSAL FORM SUBMIT BUTTON DISABLED & LOCKED STATE (GTM CLICK PROTECTION)
   ========================================================================== */
button[type="submit"]:disabled,
input[type="submit"]:disabled,
.elig-btn-instant:disabled,
.consult-submit-btn:disabled,
.dm-submit-btn:disabled,
.help-form-submit-btn:disabled,
.finder-submit-btn:disabled,
.btn-locked {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: none !important;
  transform: none !important;
  filter: grayscale(0.5) !important;
  user-select: none !important;
  transition: opacity 0.25s ease, filter 0.25s ease, background 0.25s ease !important;
}

button[type="submit"]:not(:disabled),
.elig-btn-instant:not(:disabled),
.consult-submit-btn:not(:disabled),
.dm-submit-btn:not(:disabled),
.help-form-submit-btn:not(:disabled),
.finder-submit-btn:not(:disabled) {
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  filter: none !important;
  transition: opacity 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.form-completion-hint {
  font-size: 0.82rem;
  color: #D97706;
  text-align: center;
  margin-top: 10px;
  font-weight: 600;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.form-completion-hint.ready {
  color: #16A34A !important;
}
