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

:root {
  --primary-green: #16a34a;
  --primary-green-dark: #15803d;
  --primary-green-light: #22c55e;
  --primary-green-subtle: #f0fdf4;
  
  --brand-navy: #0c2340;
  --brand-navy-dark: #07172c;
  --brand-navy-light: #163259;
  
  --brand-blue: #0284c7;
  --brand-blue-subtle: #f0f9ff;
  
  --brand-purple: #7e22ce;
  --brand-purple-subtle: #faf5ff;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --border-light: #e2e8f0;
  --bg-soft: #f8fafc;
}

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-secondary);
  background-color: #ffffff;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Navbar & Header */
.top-bar {
  background-color: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.825rem;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.sticky-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.nav-link {
  font-weight: 500;
  font-size: 0.925rem;
  color: #334155;
  transition: all 0.2s ease;
  position: relative;
  padding: 0.5rem 0.2rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-green-dark);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--primary-green);
  border-radius: 999px;
}

/* Services Dropdown Mega Menu Hover */
.services-dropdown-group:hover .services-dropdown-menu,
.services-dropdown-group:focus-within .services-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, 0) !important;
  pointer-events: auto !important;
}

/* Remove all scrollbars from map section completely */
#mp-district-map-widget,
#mp-district-map-widget *,
.network-map-card,
.network-map-card *,
#division-pills-bar,
#division-pills-bar *,
#district-quick-pills,
#district-quick-pills *,
#map-svg-container,
.scrollbar-none,
.scrollbar-none * {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  overflow-x: hidden !important;
}

#mp-district-map-widget::-webkit-scrollbar,
#mp-district-map-widget *::-webkit-scrollbar,
.network-map-card::-webkit-scrollbar,
.network-map-card *::-webkit-scrollbar,
#division-pills-bar::-webkit-scrollbar,
#division-pills-bar *::-webkit-scrollbar,
#district-quick-pills::-webkit-scrollbar,
#district-quick-pills *::-webkit-scrollbar,
#map-svg-container::-webkit-scrollbar,
.scrollbar-none::-webkit-scrollbar,
.scrollbar-none *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  visibility: hidden !important;
}

/* Buttons */
.btn-primary-green {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.65rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.btn-primary-green:hover {
  background: linear-gradient(135deg, #15803d, #166534);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.3);
  color: #ffffff;
}

.btn-primary-blue {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.65rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.btn-primary-blue:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3);
  color: #ffffff;
}

.btn-primary-purple {
  background: linear-gradient(135deg, #7e22ce, #6b21a8);
  color: #ffffff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.65rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(126, 34, 206, 0.2);
}

.btn-primary-purple:hover {
  background: linear-gradient(135deg, #6b21a8, #581c87);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(126, 34, 206, 0.3);
  color: #ffffff;
}

.btn-outline-dark {
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.65rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.btn-outline-dark:hover {
  border-color: #0f172a;
  background-color: #0f172a;
  color: #ffffff;
}

/* Feature & Service Cards */
.feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
  height: 100%;
}

.feature-card:hover {
  border-color: #86efac;
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -6px rgba(15, 23, 42, 0.08), 0 6px 12px -2px rgba(15, 23, 42, 0.03);
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.icon-badge-green {
  background-color: #f0fdf4;
  color: #16a34a;
  border: 1.5px solid #bbf7d0;
}

.feature-card:hover .icon-badge-green {
  background-color: #16a34a;
  color: #ffffff;
  transform: scale(1.08);
}

.icon-badge-blue {
  background-color: #f0f9ff;
  color: #0284c7;
  border: 1.5px solid #bae6fd;
}

.feature-card:hover .icon-badge-blue {
  background-color: #0284c7;
  color: #ffffff;
  transform: scale(1.08);
}

.icon-badge-purple {
  background-color: #faf5ff;
  color: #7e22ce;
  border: 1.5px solid #e9d5ff;
}

.feature-card:hover .icon-badge-purple {
  background-color: #7e22ce;
  color: #ffffff;
  transform: scale(1.08);
}

/* Step Flow Process (01, 02, 03, 04, 05) */
.step-container {
  position: relative;
}

.step-card {
  position: relative;
  text-align: center;
  z-index: 2;
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  transition: all 0.3s ease;
  background: #ffffff;
  border: 2px solid #16a34a;
  color: #15803d;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.12);
}

.step-card:hover .step-circle {
  background: #16a34a;
  color: #ffffff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25);
}

.step-line {
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(to right, #cbd5e1, #cbd5e1 6px, transparent 6px, transparent 12px);
  z-index: 1;
}

/* Section Header Badges */
.section-badge {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  margin-bottom: 0.75rem;
}

/* Floating Image Overlay Cards */
.hero-image-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: visible;
}

.hero-main-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  background: #0c2340;
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 15px 30px rgba(12, 35, 64, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

@media (min-width: 768px) {
  .floating-badge {
    bottom: -24px;
    right: 24px;
    left: auto;
    max-width: 380px;
  }
}

/* Forms */
.form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-label span.req {
  color: #ef4444;
}

.form-control, .form-select {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.925rem;
  color: #1e293b;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #16a34a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.form-control::placeholder {
  color: #94a3b8;
}

/* Footer */
footer {
  background-color: #07172c;
  color: #94a3b8;
  font-size: 0.875rem;
}

footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
}

footer a:hover {
  color: #4ade80;
  padding-left: 3px;
}

footer h6 {
  color: #ffffff;
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: #64748b;
}

/* Floating WhatsApp Quick Action */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  color: white;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

/* Trust Badges Strip */
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  transition: all 0.25s ease;
}

.trust-badge-item:hover {
  border-color: #bbf7d0;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

/* Partner Logo Grid */
.partner-logo-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  transition: all 0.3s ease;
}

.partner-logo-box:hover {
  border-color: #86efac;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

/* Animated Pulse Badge */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* ========================================================
   Continuous Floating & Breathing Animations for Pathway Cards
   ======================================================== */
@keyframes card-float-gentle-1 {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes card-float-gentle-2 {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-11px);
  }
}

@keyframes card-float-gentle-3 {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes halo-breathe-glow {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.85;
  }
}

@keyframes aura-rotate-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes live-ping-slow {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

.pathway-card-animated-1 {
  animation: card-float-gentle-1 5.2s ease-in-out infinite;
  will-change: transform;
}

.pathway-card-animated-2 {
  animation: card-float-gentle-2 5.8s ease-in-out 0.8s infinite;
  will-change: transform;
}

.pathway-card-animated-3 {
  animation: card-float-gentle-3 6.4s ease-in-out 1.6s infinite;
  will-change: transform;
}

/* Pause card floating on hover for precise interaction */
.pathway-card-animated-1:hover,
.pathway-card-animated-2:hover,
.pathway-card-animated-3:hover {
  animation-play-state: paused !important;
  transform: translateY(-14px) scale(1.015) !important;
}

.halo-pulse-ring-green {
  animation: halo-breathe-glow 3.4s ease-in-out infinite;
  will-change: transform, opacity;
}

.halo-pulse-ring-blue {
  animation: halo-breathe-glow 3.9s ease-in-out 0.9s infinite;
  will-change: transform, opacity;
}

.halo-pulse-ring-purple {
  animation: halo-breathe-glow 4.3s ease-in-out 1.7s infinite;
  will-change: transform, opacity;
}

.continuous-ping-dot {
  animation: live-ping-slow 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ========================================================
   Global Continuous Minimal Background Animations
   (Strictly Below Cards, Fonts, Buttons, Header, Footer)
   ======================================================== */
.site-ambient-bg-layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: -10;
  contain: strict;
  transform: translate3d(0, 0, 0);
  background-color: transparent;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  will-change: transform, opacity;
}

.ambient-orb-1 {
  width: 520px;
  height: 520px;
  top: -100px;
  left: -80px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0) 70%);
  animation: ambient-orb-drift-1 25s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  width: 580px;
  height: 580px;
  top: 30%;
  right: -120px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.07) 0%, rgba(14, 165, 233, 0) 70%);
  animation: ambient-orb-drift-2 30s ease-in-out infinite alternate;
}

.ambient-orb-3 {
  width: 480px;
  height: 480px;
  bottom: -80px;
  left: 25%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, rgba(139, 92, 246, 0) 70%);
  animation: ambient-orb-drift-3 28s ease-in-out infinite alternate;
}

.ambient-orb-4 {
  width: 420px;
  height: 420px;
  top: 65%;
  left: -100px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.045) 0%, rgba(245, 158, 11, 0) 70%);
  animation: ambient-orb-drift-4 34s ease-in-out infinite alternate;
}

@keyframes ambient-orb-drift-1 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(100px, 75px, 0) scale(1.1);
  }
  100% {
    transform: translate3d(50px, 140px, 0) scale(0.96);
  }
}

@keyframes ambient-orb-drift-2 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-120px, 90px, 0) scale(1.12);
  }
  100% {
    transform: translate3d(-60px, -60px, 0) scale(0.94);
  }
}

@keyframes ambient-orb-drift-3 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(90px, -70px, 0) scale(1.08);
  }
  100% {
    transform: translate3d(-80px, -40px, 0) scale(0.97);
  }
}

@keyframes ambient-orb-drift-4 {
  0% {
    transform: translate3d(0, 0, 0) scale(0.95);
  }
  50% {
    transform: translate3d(80px, -60px, 0) scale(1.1);
  }
  100% {
    transform: translate3d(35px, 60px, 0) scale(1);
  }
}

.ambient-mesh-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.5;
  animation: ambient-mesh-shift 60s linear infinite;
  pointer-events: none;
}

@keyframes ambient-mesh-shift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 36px 36px;
  }
}

/* ========================================================
   Zero Scrollbar Guarantee for All CTA Forms & Modals
   ======================================================== */
#service-cta-modal,
#service-cta-modal *,
#service-cta-modal-form,
#service-cta-modal-form *,
.cta-form-container,
.cta-form-container *,
#requirement-form,
#requirement-form textarea,
.scrollbar-none,
.scrollbar-none * {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

#service-cta-modal::-webkit-scrollbar,
#service-cta-modal *::-webkit-scrollbar,
#service-cta-modal-form::-webkit-scrollbar,
#service-cta-modal-form *::-webkit-scrollbar,
.cta-form-container::-webkit-scrollbar,
.cta-form-container *::-webkit-scrollbar,
#requirement-form::-webkit-scrollbar,
#requirement-form textarea::-webkit-scrollbar,
.scrollbar-none::-webkit-scrollbar,
.scrollbar-none *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  visibility: hidden !important;
}

/* Target highlight animation for redirected service cards */
:target.feature-card,
.feature-card.target-pulsed {
  outline: 2.5px solid #16a34a;
  outline-offset: 4px;
  box-shadow: 0 0 25px rgba(22, 163, 74, 0.25) !important;
  animation: targetPulse 2.5s ease-out forwards;
}

@keyframes targetPulse {
  0% {
    transform: scale(1.02);
    box-shadow: 0 0 35px rgba(22, 163, 74, 0.4);
  }
  70% {
    transform: scale(1.01);
    box-shadow: 0 0 20px rgba(22, 163, 74, 0.25);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  }
}
