:root {
  /* Global Color Palette */
  --primary: #ef4523;
  --primary-glow: rgba(239, 69, 35, 0.15);
  --accent-gold: #d4af37;
  --accent-blue: #0ea5e9;
  --white: #ffffff;
  --bg-black: #050508;
  --bg-card: #0a0f19;
  --text-dim: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.08);
  --neon-gradient: linear-gradient(90deg, #ef4523 0%, #6e4f91 100%);

  /* Theme Gradient Colors */
  --theme-red: #6f0000;
  --theme-purple: #6e4f91;
  --theme-blue: #3a517c;
  --theme-earth: #56423d;

  /* Fonts */
  --font-main: "Inter", sans-serif;
  --font-legacy: "Playfair Display", serif;
  --font-map: "Plus Jakarta Sans", sans-serif;
}
/* =====================================================
   HERO BACKGROUND — CINEMATIC BRAND GRADIENT
   Uses primary color #ef4523 with industrial lighting
===================================================== */

#bg-static {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  height: 100vh !important;
  /* main lighting gradient */

  background:
    radial-gradient(
      circle at 75% 45%,
      rgba(239, 69, 35, 0.85) 0%,
      rgba(239, 69, 35, 0.45) 30%,
      rgba(239, 69, 35, 0.18) 55%,
      rgba(5, 9, 20, 0.95) 80%
    ),
    #050914;
}

/* =====================================================
   DARK VIGNETTE (edge darkening for premium feel)
===================================================== */

#bg-static::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
    circle at center,
    transparent 45%,
    rgba(0, 0, 0, 0.55) 80%
  );
}

/* =====================================================
   FILM GRAIN TEXTURE
   Prevents flat gradients and adds depth
===================================================== */

#bg-static::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* ==================================================
   ANIMATIONS
================================================== */

@keyframes beamMove {
  0% {
    transform: translateX(-20%);
  }
  100% {
    transform: translateX(20%);
  }
}
#sphere-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(0, 0, 0, 0.1) 51%
  );
  background-size: 100% 4px;
  z-index: 4;
  pointer-events: none;
  opacity: 0.1;
}

#three-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 3;
  pointer-events: none;
}

/* --- TYPOGRAPHY UTILITIES --- */
.section-subtitle {
  color: var(--c1);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 15px;
  display: block;
}

.section-title {
  font-weight: 900;
  font-size: clamp(2.1rem, 6vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0;
  color: var(--c4);
}
.signals div {
  color: var(--c5);
}
.section-desc {
  color: rgba(255, 255, 255, 0.75);
  max-width: 750px !important;
  margin: 25px auto 0;
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 300;
}
.section-desc strong{
	font-weight:600;
	color:#fff;
}
.section-signals {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}
.section-signals span {
  position: relative;
  color: var(--c1);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 11px;
  padding-right: 30px;
}
.section-signals span:after {
  content: " | ";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--c7);
}
.section-signals span:last-child:after {
  display: none;
}
/* --- BUTTONS --- */
.btn-main {
  display: inline-flex;
  align-items: center;
  padding: 18px 38px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 100px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.btn-main:hover {
  transform: translateY(-4px) scale(1.02);
  color: var(--white);
  background: #ff5733;
  box-shadow:
    0 0 25px rgba(239, 69, 35, 0.8),
    0 0 50px rgba(239, 69, 35, 0.4);
}

/* --- SECTION 1: HERO --- */
.hero-scroller {
  position: relative;
  z-index: 5;
}

.hero-section {
  /* height: 200vh; */
  height: 100vh;
  min-height: 100vh;
  margin-bottom: 0;
}

.hero-fixed {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  transform-origin: center 40%;
  will-change: transform, opacity, filter;
}

/* --- SECTION 2: STATS --- */
.stats-section {
  position: relative;
  background: #ffffff;
  color: #000;
  min-height: 100vh;
  z-index: 10;
  padding: 120px 0;
  border-radius: 60px 60px 0 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.1);
}

.blueprint-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(58, 81, 124, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 81, 124, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

.hud-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  position: relative;
  z-index: 5;
}

.data-node {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.2rem;
  line-height: 1.5;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.node-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 0.8;
  margin-bottom: 20px;
  color: var(--c1);
  display: block;
}

.node-label {
  font-size: 0.85rem;
  color: var(--c2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 15px;
}

/* why us */

/* Row 2: Why Us Block */
.why-us-outer {
  background: var(--c1);
  border-radius: 40px;
  padding: 80px 50px 120px 50px;
  position: relative;
  margin-top: 100px;
  z-index: 2;
}

.why-us-title {
  color: white;
  font-size: 3.5rem;
  font-weight: 900;
  position: relative;
  margin-bottom: 0;
}
.why-us-title::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 60px;
  height: 6px;
  background: white;
  border-radius: 3px;
}

/* Overlap Mechanics */
.feature-overlap-row {
  margin-bottom: -200px;
  position: relative;
  z-index: 10;
}

.feature-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 45px 35px;
  height: 100%;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.09);
  display: flex;
  flex-direction: column;
  gap: 15px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.feature-card:hover {
  transform: translateY(-15px);

  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.feature-icon-circle {
  width: 55px;
  height: 55px;
  background: #f0f3ff;
  color: var(--primary-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.feature-icon-circle svg {
  fill: var(--c1);
}
.feature-card h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.feature-text {
  font-size: 1rem;
  color: var(--c9);
  font-weight: 500;
  line-height: 1.5;
}

/* Existing Sections Style Fixes */
.vision-section {
  z-index: 9;
  margin-top: -60px;
  padding-top: 180px;
} /* Adjust to allow overlap flow */
.section-title.text-black {
  color: #000 !important;
}

@media (max-width: 991px) {
  .brand-display {
    font-size: 3rem;
  }
  .why-us-outer {
    padding: 50px 30px 60px 30px;
  }
  .feature-overlap-row {
    margin-bottom: 0;
    transform: translateY(50px);
  }
  .stats-section {
    padding-bottom: 120px;
  }
  .why-us-title {
    font-size: 2.5rem;
  }
}

/* --- SECTION 3: VISION --- */
.vision-section {
  position: relative;
  background:
    radial-gradient(
      circle at 75% 45%,
      rgba(239, 69, 35, 0.85) 0%,
      rgba(239, 69, 35, 0.45) 30%,
      rgba(239, 69, 35, 0.18) 55%,
      rgba(5, 9, 20, 0.95) 80%
    ),
    #050914;

  min-height: 100vh;
  z-index: 11;
  display: flex;
  align-items: center;
  padding: 100px 0;
  overflow: hidden;
}

.vision-title {
  font-size: clamp(2.1rem, 6vw, 3.3rem);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  margin-bottom: 40px;
  letter-spacing: -2px;
}

.vision-title span {
  display: block;
  opacity: 0;
  transform: translateY(50px);
}
.vision-section p {
  color: var(--c5);
}
/* --- SECTION 4: SUCCESS (CLIENT FOCUS) --- */
.success-section {
  position: relative;
  background-color: #0a0808;
  background-image:
    radial-gradient(
      circle at 85% 50%,
      rgba(239, 69, 35, 0.35) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(111, 0, 0, 0.25) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 15%,
      rgba(110, 79, 145, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(58, 81, 124, 0.15) 0%,
      transparent 45%
    ),
    linear-gradient(180deg, #050508 0%, #1e1614 100%);
  min-height: 100vh;
  z-index: 12;
  padding: 120px 0;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.success-glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(30px);
  padding: 70px 60px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10;
}

/* --- SECTION 5: CORE SERVICES (TEXT VISIBILITY FIXED) --- */
.services-scroll-section {
  position: relative;
  z-index: 13;
  background:
    radial-gradient(circle at 10% 10%, #ffffff 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, #f1f5f9 0%, transparent 40%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.05);
}

.sticky-column {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

/* Fixed Color: Services Subtitle explicitly dark onyx */
.services-subtitle {
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 25px;
  color: #0f172a !important;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.strategic-note {
  font-size: 1.15rem;
  color: #475569;
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.icon-viewport {
  height: 400px;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    black 40%,
    black 60%,
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 40%,
    black 60%,
    transparent
  );
}

.icon-box {
  position: relative;
  height: 200px;
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass-ring {
  position: absolute;
  width: 160px;
  height: 160px;
  background: rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 40px;
  z-index: -1;
}

.service-icon {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
}

.service-icon svg {
  width: 100px;
  height: 100px;
  fill:var(--c1);
  filter: drop-shadow(0 5px 15px rgba(239, 69, 35, 0.2));
}

.service-block {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  transition: 0.8s ease;
  opacity: 0.1;
  transform: scale(0.95);
}

.service-block.active {
  opacity: 1;
  transform: scale(1);
}

.service-card-inner {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.06);
  padding: 70px 60px;
}

.service-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(239, 69, 35, 0.06) 0%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.service-block.active .service-card-inner::before {
  opacity: 1;
}

/* Fixed Color: Card Titles explicitly dark onyx */
.service-card-inner h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--c1);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.service-card-inner p {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* --- SECTION 5.5: TECHNOLOGIES & PARTNERS (WHITE THEME FIXED) --- */
.partner-section {
  position: relative;
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* Fixed: Replaced odd gradient with clean white base to match Services */
  background: radial-gradient(circle at 30% 40%, #ffffff 0%, #f1f5f9 100%);
  z-index: 13;
}

.partner-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.01;
  pointer-events: none;
  z-index: 1;
}

.logo-cloud-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 650px;
}

.logo-grid-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 700px;
  z-index: 10;
}

.logo-item-wrapper {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-tile {
  width: 90%;
  height: 90%;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 6%;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.logo-tile:hover {
  transform: scale(1.15);
  border-color: var(--primary);
  box-shadow: 0 25px 50px -12px rgba(239, 69, 35, 0.15);
  z-index: 100;
}

.logo-tile svg,
.logo-tile img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: all 0.4s ease;
}

.logo-tile:hover svg,
.logo-tile:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.logo-tile.active-center {
/*  background: #0f172a;
  border-color: #0f172a;*/
  padding:0.6rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.logo-tile.active-center svg {
  filter: invert(1);
  opacity: 1;
}
/* --- SECTION 6: REGIONAL NETWORK (RESPONSIVE + STABLE) --- */

.map-section {
  min-height: 110vh;
  position: relative;
  background-color: #0a0808;
  padding-top:3rem;
  background-image:
    radial-gradient(
      circle at 50% 50%,
      rgba(239, 69, 35, 0.25) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(58, 81, 124, 0.18) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(111, 0, 0, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(110, 79, 145, 0.15) 0%,
      transparent 45%
    ),
    linear-gradient(180deg, #050508 0%, #1e1614 100%);
  z-index: 14;
}

/* sticky container */

.map-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* header */

.map-header {
  position: absolute;
  top: 1vh;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;

  text-align: center;
  z-index: 30;
  padding: 0 5%;

  display: flex;
  flex-direction: column;
  align-items: center;

  pointer-events: none;
}
.map-header .map-lead-text{
  color:#cbd5e1;
}
/* svg network */

#map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* nodes */

.city-node {
  position: absolute;
  z-index: 10;

  display: flex;
  flex-direction: column;
  align-items: center;

  transform: translate(-50%, -50%);

  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  cursor: pointer;
}

/* core dot */

.node-core {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-blue);
  transition: all 0.3s ease;
}

/* hub node */

.hub .node-core {
  width: 22px;
  height: 22px;
  background: var(--accent-gold);
  box-shadow: 0 0 25px var(--accent-gold);
}

/* labels */

.city-label {
  margin-top: 12px;
  font-family: var(--font-map);
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2.5px;

  background: rgba(0, 0, 0, 0.85);
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);

  white-space: nowrap;
}
.city-label a{
	color:#fff;
}
.city-label a:hover{
	color:var(--c1);
}
/* connection lines */

.connection-line {
  fill: none;
  stroke-width: 2;
  opacity: 0;

  pointer-events: none;

  filter: drop-shadow(0 0 5px var(--accent-blue));

  transition:
    stroke-width 0.4s ease,
    opacity 0.4s ease;
}

/* info popup */

.info-card {
  position: absolute;
  bottom: 140%;

  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);

  border-left: 4px solid var(--accent-gold);

  padding: 18px;
  border-radius: 6px;

  width: 240px;

  opacity: 0;
  visibility: hidden;

  transform: translateY(15px) scale(0.9);

  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  pointer-events: none;

  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);

  z-index: 100;

  text-align: left;
}

.city-node:hover .info-card {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.info-card h6 {
  color: #fff;
  margin: 0 0 8px 0;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.info-card p {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

/* explore indicator */

.explore-indicator {
  position: absolute;
  bottom: 26vh;
  left: 50%;
  transform: translateX(-50%);

  text-align: center;

  opacity: 0.4;
  font-size: 11px;
  letter-spacing: 6px;

  color: #fff;
  text-transform: uppercase;

  z-index: 15;
  font-weight: 700;
}

/* footer */

.map-footer {
  position: absolute;
  bottom: 8vh;
  left: 0;
  width: 100%;

  text-align: center;
  z-index: 40;
  padding: 0 5%;
}

.map-footer-text {
  font-family: var(--font-map);
  font-weight: 700;
  color: #cbd5e1;
  font-size: 1.15rem;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

/* ----------------------
RESPONSIVE
---------------------- */

@media (max-width: 992px) {
  .map-section {
    min-height: 120vh;
  }

  .city-node {
    transform: translate(-50%, -50%) scale(0.9);
  }
}

@media (max-width: 768px) {
  #map-svg {
    display: none;
  }

  .map-section {
    min-height: auto;
    padding: 120px 0;
  }

  .map-wrapper {
    position: relative;
    height: auto;
  }

  .city-node {
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none;
    margin: 15px;
  }

  .explore-indicator {
    display: none;
  }

  .map-footer {
    position: relative;
    bottom: auto;
    margin-top: 40px;
  }
}

/* --- SECTION 7: FINAL CTA --- */
.cta-section {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at center, #ffffff 0%, #f3f6fa 100%);
  z-index: 15;
  display: flex;
  align-items: center;
  padding: 100px 0;
  overflow: hidden;
}

.bg-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(148, 163, 184, 0.3),
    transparent
  );
  width: 100%;
}

.floating-neon {
  position: absolute;
  width: 120px;
  height: 120px;
  filter: blur(25px);
  opacity: 0.1;
  pointer-events: none;
  z-index: 2;
}

.legacy-card-light {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 60px;
  padding: 80px 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.05);
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 10;
}

.stat-val-dark {
  font-weight: 900;
  font-size: 2.2rem;
  color: #0f172a;
  display: block;
  margin-bottom: 5px;
}

.stat-label-dark {
  font-size: 0.8rem;
  color: #64748b;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 991px) {
  .hud-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-block {
    min-height: auto;
    padding: 30px;
    opacity: 1;
    transform: scale(1);
  }

  .sticky-column {
    height: auto;
    display: block;
    padding: 60px 0;
  }

  .map-header {
    top: 6vh;
    padding: 0 10%;
  }

  .map-footer {
    bottom: 4vh;
  }

  .map-title {
    font-size: 2.2rem;
    letter-spacing: -1.5px;
  }

  .map-lead-text {
    font-size: 1rem;
    margin-top: 15px;
  }

  .info-card {
    width: 200px;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
  }

  .partner-section {
    padding: 80px 0;
    text-align: center;
  }

  .logo-cloud-col {
    min-height: 450px;
    margin-top: 50px;
  }

  .logo-grid-wrapper {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 575px) {
  .hud-grid {
    grid-template-columns: 1fr;
  }
}




/* ==========================================================================
   FINAL RESPONSIVE PATCH - CONSOLIDATED MEDIA QUERIES - 16032026
   ========================================================================== */

@media (max-width: 1200px) {
    .container { max-width: 1140px; }
    .hero-content { max-width: 900px; }
    .logo-grid-wrapper { gap: 10px; }
}

@media (max-width: 991px) {
    /* --- General Typography --- */
    .section-title { font-size: 2.5rem; }
    .section-desc { font-size: 1rem; padding: 0 15px; }

    /* --- Hero Section --- */
    .hero-fixed { padding: 0 20px; }
    .section-signals { flex-wrap: wrap; gap: 15px; }
    .section-signals span:after { display: none; }

    /* --- Stats & Why Us --- */
    .stats-section { padding: 80px 0; border-radius: 40px 40px 0 0; }
    .hud-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .why-us-outer { padding: 60px 30px; margin-top: 50px; }
    .why-us-title { font-size: 2.5rem; text-align: center; }
    .why-us-title::before { left: 50%; transform: translateX(-50%); }
    .feature-overlap-row { margin-bottom: 0; margin-top: 30px; }
    .feature-card { margin-bottom: 20px; }

    /* --- Services Scroll (Convert to Standard Stack) --- */
    .services-scroll-section { padding: 60px 0; }
    .sticky-column { height: auto; display: block; position: relative; padding: 0; }
    .icon-viewport { height: 200px; margin-bottom: 30px; }
    .service-block { min-height: auto; opacity: 1; transform: scale(1); padding: 15px 0; }
    .service-card-inner { padding: 40px 30px; }

    /* --- Technology/Partners --- */
    .partner-section { padding: 60px 0; }
    .logo-cloud-col { min-height: auto; margin-top: 40px; }
    .logo-grid-wrapper { grid-template-columns: repeat(4, 1fr); }

    /* --- Map Section --- */
    .map-section { min-height: auto; padding: 60px 0; }
    .map-wrapper { position: relative; height: auto; overflow: visible; }
    .map-header { position: relative; top: 0; left: 0; transform: none; margin-bottom: 40px; }
    #map-svg { display: none; } /* Hide complex lines on mobile for performance */
    .city-node { position: relative !important; left: auto !important; top: auto !important; transform: none !important; margin: 10px auto; width: fit-content; }
    .info-card { position: relative; bottom: auto; opacity: 1; visibility: visible; transform: none; width: 100%; margin-top: 10px; }
}

@media (max-width: 768px) {
    /* --- Vision Section --- */
    .vision-section { padding: 80px 20px; }
    .vision-title { font-size: 2.2rem; }

    /* --- Success Section --- */
    .success-section { padding: 80px 0; }
    .success-glass-card { padding: 40px 25px; border-radius: 20px; }

    /* --- CTA Section --- */
    .cta-section { padding: 60px 15px; }
    .legacy-card-light { padding: 50px 20px; border-radius: 30px; }
    .stat-val-dark { font-size: 1.8rem; }
}

@media (max-width: 575px) {
    .hud-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
    .btn-main { width: 100%; justify-content: center; padding: 15px 20px; }
    .logo-grid-wrapper { grid-template-columns: repeat(3, 1fr); }
    
    /* Optimize Hero Scroller for Mobile Heights */
    .hero-fixed { height: auto; min-height: 80vh; padding: 100px 20px; }
}

/* --- Global Utilities for Responsiveness --- */
img, svg {
    max-width: 100%;
    height: auto;
}

/* Clearfix for overlapped sections on mobile */
.vision-section, .success-section, .services-scroll-section {
    clear: both;
}

.testimonial-section{
	padding:5rem 0 3rem 0;
}
.ti-widget.ti-goog .ti-rating-text, .ti-widget.ti-goog .ti-rating-text strong:not(.ti-rating-large), .ti-widget.ti-goog .ti-rating-text strong a, .ti-widget.ti-goog .ti-rating-text strong span, .ti-widget.ti-goog .ti-rating-text span strong, .ti-widget.ti-goog .ti-rating-text span, .ti-widget.ti-goog .ti-footer, .ti-widget.ti-goog .ti-footer strong:not(.ti-rating-large), .ti-widget.ti-goog .ti-footer span, .ti-widget.ti-goog .ti-footer strong a{
	color:var(--c4) !important;
}









/* ==========================================================================
   Responsive Optimizations: Tablet & Mobile
   ========================================================================== */

/* -----------------------------------------
   TABLET (Screens smaller than 992px)
----------------------------------------- */
@media (max-width: 991px) {
  .feature-overlap-row {
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .feature-card {
    display: flex;
    flex-direction: column;
    align-items: center; /* Fixed typo: needs the 's' and flexbox */
    text-align: center;
  }

  .vision-section {
    padding: 40px 0; /* Restored some padding for layout breathing room */
  }

  .vision-title {
    margin-bottom: 40px;
    letter-spacing: normal; /* 'normal' is safer than 'unset' */
  }

  .vision-title span {
    display: block;
    opacity: 1 !important; /* Kept per your request, assuming an external script hides this */
    transform: translateY(20px);
  }

  /* Consolidated Button Styles: Standardized for touch interfaces */
  .btn-main,
  .vision-section .btn-main,
  .services-scroll-section .btn-main,
  .partner-section .btn-main {
    display: block; /* CRITICAL: Required for margin: auto to actually center the button */
    width: auto;
    min-width: 250px;
    max-width: 80%;
    margin: 0 auto 15px auto; 
  }

  .logo-item-wrapper {
    width: 50%; /* 2-column grid is visually better for tablet */
    aspect-ratio: auto;
  }

  .map-wrapper {
    color: var(--c5);
  }

  .stat-label-dark {
    letter-spacing: normal;
  }
}

/* -----------------------------------------
   MOBILE (Screens smaller than 768px)
----------------------------------------- */
@media (max-width: 767px) {
  .feature-overlap-row {
    margin-top: 30px;
    margin-bottom: 0;
  }

  .vision-section {
    padding: 20px 0;
    min-height:unset;
  }

  .vision-title {
    margin-bottom: 60px;
    letter-spacing:0;
  }

  .vision-title span {
    margin-bottom:0;
    transform: translateY(0); /* Remove transform on tiny screens to prevent text overlap */
  }

  /* Universal mobile button scaling */
  .btn-main,
  .vision-section .btn-main,
  .services-scroll-section .btn-main,
  .partner-section .btn-main {
    width: 100%;
    max-width: 100%;
  }

  .logo-item-wrapper {
    width: 100%; /* Switch to single column for mobile */
    aspect-ratio: unset;
  }
  .vision-section .btn-main{
        width: 66%;
  }
  .services-scroll-section .btn-main{
      	width: 42%;
  }
  .partner-section .btn-main{
    	width:60%;
  }
  .testimonial-section .btn-main{
    	width:84%;
  }
}