@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&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: clip;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Prevent unwanted blue outlines on mouse click while preserving keyboard accessibility */
:focus:not(:focus-visible) {
  outline: none !important;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Navbar & Header */
.header-top-line {
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0;
}

.header-top-line a {
  font-size: inherit;
  font-weight: 400;
}

.header-top-line .fa-phone,
.header-top-line .fa-envelope {
  font-size: 0.72rem;
}

.top-bar {
  background-color: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.825rem;
}

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background-color 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);
  transform: translateY(0);
  will-change: transform;
}

.sticky-header.header-hidden {
  transform: translateY(-100%) !important;
  box-shadow: none !important;
  pointer-events: none;
}

.sticky-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.nav-link {
  font-weight: 500;
  font-size: inherit;
  color: #334155;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.5rem 0.15rem;
  white-space: nowrap;
}

.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 while preserving horizontal touch scrolling */
#mp-district-map-widget {
  overflow-x: hidden !important;
}

#division-pills-bar,
#district-quick-pills,
.scrollbar-none {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 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 Animated Background Canvas (All Pages)
   (Vibrant, Smooth 60fps, Stacking-Safe Behind All Content)
   ======================================================== */
.site-ambient-bg-layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  contain: strict;
  transform: translate3d(0, 0, 0);
  background-color: transparent;
}

/* Ensure Page Structure Floats Cleanly Over Background */
body > header,
body > main,
body > footer,
body > section {
  position: relative;
  z-index: 1;
}

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* 1. Large Glowing Aurora Orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  pointer-events: none;
  will-change: transform, opacity;
}

.ambient-orb-1 {
  width: 600px;
  height: 600px;
  top: -120px;
  left: -100px;
  background: radial-gradient(circle, rgba(30, 126, 52, 0.22) 0%, rgba(190, 242, 100, 0.16) 45%, rgba(16, 185, 129, 0) 75%);
  animation: ambient-orb-drift-1 18s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  width: 650px;
  height: 650px;
  top: 20%;
  right: -140px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.24) 0%, rgba(3, 105, 161, 0.16) 45%, rgba(2, 132, 199, 0) 75%);
  animation: ambient-orb-drift-2 22s ease-in-out infinite alternate;
}

.ambient-orb-3 {
  width: 550px;
  height: 550px;
  bottom: -80px;
  left: 20%;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.20) 0%, rgba(34, 197, 94, 0.14) 50%, rgba(163, 230, 53, 0) 75%);
  animation: ambient-orb-drift-3 20s ease-in-out infinite alternate;
}

.ambient-orb-4 {
  width: 520px;
  height: 520px;
  top: 60%;
  left: -80px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, rgba(14, 165, 233, 0.12) 50%, rgba(99, 102, 241, 0) 75%);
  animation: ambient-orb-drift-4 26s ease-in-out infinite alternate;
}

.ambient-orb-5 {
  width: 480px;
  height: 480px;
  top: 45%;
  right: 20%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18) 0%, rgba(190, 242, 100, 0.12) 48%, transparent 75%);
  animation: ambient-orb-drift-5 16s ease-in-out infinite alternate;
}

@keyframes ambient-orb-drift-1 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(120px, 90px, 0) scale(1.15);
  }
  100% {
    transform: translate3d(60px, 160px, 0) scale(0.95);
  }
}

@keyframes ambient-orb-drift-2 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-140px, 110px, 0) scale(1.18);
  }
  100% {
    transform: translate3d(-70px, -70px, 0) scale(0.92);
  }
}

@keyframes ambient-orb-drift-3 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(110px, -90px, 0) scale(1.12);
  }
  100% {
    transform: translate3d(-90px, -50px, 0) scale(0.96);
  }
}

@keyframes ambient-orb-drift-4 {
  0% {
    transform: translate3d(0, 0, 0) scale(0.94);
  }
  50% {
    transform: translate3d(95px, -75px, 0) scale(1.15);
  }
  100% {
    transform: translate3d(40px, 75px, 0) scale(1);
  }
}

@keyframes ambient-orb-drift-5 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-80px, -90px, 0) scale(1.1);
  }
  100% {
    transform: translate3d(80px, 60px, 0) scale(0.92);
  }
}

/* 2. Shimmering Aurora Wave Beam */
.ambient-aurora-beam {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(118deg, transparent 38%, rgba(34, 197, 94, 0.08) 47%, rgba(190, 242, 100, 0.12) 50%, rgba(14, 165, 233, 0.08) 53%, transparent 62%);
  pointer-events: none;
  animation: ambient-aurora-sweep 16s ease-in-out infinite alternate;
}

@keyframes ambient-aurora-sweep {
  0% {
    transform: translate3d(-10%, -10%, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(10%, 10%, 0) rotate(6deg);
  }
}

/* 3. Floating Network Micro-Particles (Energy Nodes) */
.ambient-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

.particle-1 {
  width: 7px;
  height: 7px;
  left: 12%;
  bottom: 10%;
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e, 0 0 24px rgba(34, 197, 94, 0.6);
  animation: particle-rise-1 14s ease-in-out infinite;
}

.particle-2 {
  width: 9px;
  height: 9px;
  left: 32%;
  bottom: 5%;
  background: #38bdf8;
  box-shadow: 0 0 14px #38bdf8, 0 0 28px rgba(56, 189, 248, 0.6);
  animation: particle-rise-2 19s ease-in-out 3s infinite;
}

.particle-3 {
  width: 6px;
  height: 6px;
  left: 55%;
  bottom: 12%;
  background: #bef264;
  box-shadow: 0 0 10px #bef264, 0 0 20px rgba(190, 242, 100, 0.7);
  animation: particle-rise-1 16s ease-in-out 1s infinite;
}

.particle-4 {
  width: 8px;
  height: 8px;
  left: 78%;
  bottom: 8%;
  background: #10b981;
  box-shadow: 0 0 14px #10b981, 0 0 26px rgba(16, 185, 129, 0.6);
  animation: particle-rise-3 21s ease-in-out 5s infinite;
}

.particle-5 {
  width: 5px;
  height: 5px;
  left: 92%;
  bottom: 15%;
  background: #0284c7;
  box-shadow: 0 0 10px #0284c7, 0 0 20px rgba(2, 132, 199, 0.6);
  animation: particle-rise-2 18s ease-in-out 2s infinite;
}

.particle-6 {
  width: 6px;
  height: 6px;
  left: 22%;
  bottom: 20%;
  background: #84cc16;
  box-shadow: 0 0 12px #84cc16, 0 0 22px rgba(132, 204, 22, 0.6);
  animation: particle-rise-3 17s ease-in-out 4s infinite;
}

.particle-7 {
  width: 8px;
  height: 8px;
  left: 68%;
  bottom: 25%;
  background: #06b6d4;
  box-shadow: 0 0 14px #06b6d4, 0 0 26px rgba(6, 182, 212, 0.6);
  animation: particle-rise-1 22s ease-in-out 6s infinite;
}

.particle-8 {
  width: 6px;
  height: 6px;
  left: 42%;
  bottom: 18%;
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e, 0 0 22px rgba(34, 197, 94, 0.6);
  animation: particle-rise-2 15s ease-in-out 7s infinite;
}

@keyframes particle-rise-1 {
  0% {
    transform: translate3d(0, 0, 0) scale(0.8);
    opacity: 0;
  }
  20% {
    opacity: 0.85;
  }
  50% {
    transform: translate3d(40px, -45vh, 0) scale(1.2);
    opacity: 0.95;
  }
  80% {
    opacity: 0.7;
  }
  100% {
    transform: translate3d(-30px, -95vh, 0) scale(0.6);
    opacity: 0;
  }
}

@keyframes particle-rise-2 {
  0% {
    transform: translate3d(0, 0, 0) scale(0.7);
    opacity: 0;
  }
  25% {
    opacity: 0.9;
  }
  55% {
    transform: translate3d(-50px, -50vh, 0) scale(1.25);
    opacity: 1;
  }
  85% {
    opacity: 0.75;
  }
  100% {
    transform: translate3d(40px, -100vh, 0) scale(0.6);
    opacity: 0;
  }
}

@keyframes particle-rise-3 {
  0% {
    transform: translate3d(0, 0, 0) scale(0.85);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  50% {
    transform: translate3d(35px, -40vh, 0) scale(1.15);
    opacity: 0.9;
  }
  80% {
    opacity: 0.6;
  }
  100% {
    transform: translate3d(-45px, -92vh, 0) scale(0.5);
    opacity: 0;
  }
}

/* 4. Animated Tech Dot Matrix Grid */
.ambient-mesh-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(14, 165, 233, 0.16) 1.2px, transparent 1.2px),
    radial-gradient(rgba(34, 197, 94, 0.12) 1.2px, transparent 1.2px);
  background-size: 36px 36px, 72px 72px;
  opacity: 0.65;
  animation: ambient-mesh-shift 45s linear infinite;
  pointer-events: none;
}

@keyframes ambient-mesh-shift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 36px 36px, 72px 72px;
  }
}

/* ========================================================
   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);
  }
}

/* ========================================================
   Full Responsive Web Design & Viewport Safety System
   Supports 320px (iPhone SE, Small Mobiles) to 4K Ultra-Wide
   ======================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  min-width: 320px;
  touch-action: manipulation;
  overflow-wrap: anywhere;
  word-break: break-word;
}

pre, code {
  word-break: normal;
  overflow-wrap: normal;
}

img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

.table-responsive table {
  min-width: 580px;
}

/* Touch targets >= 44px */
button, 
.btn-primary-green, 
.btn-primary-blue, 
.btn-primary-purple, 
.btn-outline-dark,
input[type="submit"],
input[type="button"],
.mobile-bottom-bar a {
  min-height: 44px;
}

/* iOS Safari Input Auto-Zoom Prevention */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Small Screens Breakpoint (< 640px) */
@media (max-width: 640px) {
  .hero-heading {
    font-size: clamp(1.6rem, 6.8vw, 2.25rem) !important;
    line-height: 1.25 !important;
  }
  
  .hero-subtext {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  .stat-card-number {
    font-size: 1.75rem !important;
  }

  /* Full width buttons on small screens */
  .btn-mobile-full {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Container padding comfort */
  .px-mobile-tight {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* Sticky contact bar offset for floating elements */
  .whatsapp-float {
    bottom: 5.5rem !important;
    right: 1rem !important;
    width: 3.25rem !important;
    height: 3.25rem !important;
  }

  body {
    padding-bottom: 4.75rem !important;
  }
}

/* Extra-Small Mobile Screens Breakpoint (320px - 480px) */
@media (max-width: 480px) {
  .max-w-7xl, .max-w-6xl, .max-w-5xl, .max-w-4xl, .max-w-3xl {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  h1 {
    font-size: clamp(1.45rem, 6.5vw, 2.1rem) !important;
    line-height: 1.25 !important;
  }

  h2 {
    font-size: clamp(1.22rem, 5.4vw, 1.75rem) !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: clamp(1.05rem, 4.4vw, 1.38rem) !important;
    line-height: 1.35 !important;
  }

  .p-8, .p-9, .p-12 {
    padding: 1.25rem 1rem !important;
  }

  .p-6, .p-7 {
    padding: 1.15rem 0.9rem !important;
  }

  /* Floating overlay badge on images - adjust on small screens so it never overflows */
  .floating-badge {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin-top: 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem !important;
  }
}

/* Micro-Screens (320px - 375px e.g. iPhone SE, Fold Outer Displays) */
@media (max-width: 375px) {
  .max-w-7xl, .max-w-6xl, .max-w-5xl, .max-w-4xl, .max-w-3xl {
    padding-left: 0.625rem !important;
    padding-right: 0.625rem !important;
  }

  .p-6, .p-7, .p-8 {
    padding: 1rem 0.75rem !important;
    border-radius: 0.875rem !important;
  }

  .btn-primary-green, 
  .btn-primary-blue, 
  .btn-primary-purple, 
  .btn-outline-dark {
    padding: 0.6rem 0.9rem !important;
    font-size: 0.825rem !important;
  }

  /* Bottom bar tight spacing */
  .mobile-bottom-bar {
    padding: 0.45rem 0.35rem !important;
    gap: 0.35rem !important;
  }

  .mobile-bottom-bar a {
    padding: 0.45rem 0.35rem !important;
    font-size: 10.5px !important;
  }

  .whatsapp-float {
    bottom: 5.2rem !important;
    right: 0.75rem !important;
    width: 2.85rem !important;
    height: 2.85rem !important;
    font-size: 22px !important;
  }
}

/* Tablet Screen Breakpoint (641px - 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
  .hero-heading {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
  }
  
  .tablet-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Mobile Bottom Fixed Bar */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 21, 38, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    padding: 0.6rem 0.75rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  }
}

/* Ultra-Wide Screens Breakpoint (1920px - 4K+) */
@media (min-width: 1920px) {
  .max-w-7xl {
    max-width: 1440px !important;
  }

  .hero-heading {
    font-size: 3.5rem !important;
  }
}

@media (min-width: 2560px) {
  .max-w-7xl {
    max-width: 1680px !important;
  }

  body {
    font-size: 1.0625rem;
  }
}

/* Responsive Layout Rules */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* Fluid Media & SVG auto-scaling */
img, svg, video, canvas, picture {
  max-width: 100%;
  height: auto;
}

/* Auto-wrapping text and containers to avoid horizontal overflows */
p, span, h1, h2, h3, h4, h5, h6, a, button, li {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Responsive Table & Overflow Guards */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Responsive Service Dropdowns & Cards */
.services-dropdown-menu {
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobile-friendly interactive touch targets */
@media (max-width: 640px) {
  button, 
  a.btn-primary-green, 
  a.btn-primary-blue, 
  .mobile-bottom-bar a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
  }

  .header-top-line {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
}

/* Mobile Viewport Optimizations (<=360px) */
@media (max-width: 360px) {
  /* Prevent any rogue horizontal scrolling */
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Compact container edge padding */
  .max-w-7xl,
  main > div,
  section {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  /* Header Top Utility Bar */
  .header-top-line {
    padding: 0.35rem 0.4rem !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  .header-top-line a {
    min-height: auto !important;
    font-size: 11px !important;
  }

  .header-top-line i {
    font-size: 11.5px !important;
  }

  /* Network Map Widget Mode Tabs */
  .network-tab-btn {
    padding: 0.3rem 0.4rem !important;
    font-size: 10px !important;
    gap: 0.2rem !important;
  }

  .network-tab-btn span {
    white-space: nowrap !important;
  }

  /* Service Cards Micro Grid (12 Child Boxes) */
  button[data-open-service-modal="true"] {
    padding: 0.5rem 0.35rem !important;
    border-radius: 0.75rem !important;
  }

  button[data-open-service-modal="true"] .w-10,
  button[data-open-service-modal="true"] .w-12 {
    width: 2.25rem !important;
    height: 2.25rem !important;
    font-size: 1rem !important;
    margin-bottom: 0.35rem !important;
    border-radius: 0.625rem !important;
  }

  button[data-open-service-modal="true"] h3 {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.25rem !important;
    word-break: break-word !important;
    hyphens: auto !important;
  }

  button[data-open-service-modal="true"] p {
    font-size: 0.625rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.35rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  button[data-open-service-modal="true"] .mt-auto {
    padding: 0.25rem 0.35rem !important;
    font-size: 9.5px !important;
    border-radius: 0.5rem !important;
  }

  /* Full-width button stacking for micro screens */
  .hero-cta-btn,
  .btn-mobile-full {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Headings fluid scaling */
  h1 {
    font-size: 1.65rem !important;
    line-height: 1.2 !important;
  }

  h2 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }
}

