*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --ink: #0A1628;
  --ink-mid: #1E3A5F;
  --ink-light: #334E6E;
  --blue: #0E2694;        /* Optimax brand navy-blue, sampled from official logo */
  --blue-bright: #3F5FE0; /* Lighter blue for accents on dark backgrounds */
  --blue-soft: #E9ECFB;
  --green: #4C7F0E;        /* Readable brand green (darkened for AA text contrast) */
  --green-bright: #8BCC10; /* Vivid brand green from logo — decorative fills/icons only, not text */
  --green-soft: #EFF7E3;
  --gold: #B8922A;
  --gold-soft: #FDF6E7;
  --muted: #6B7E96;
  --border: #D8E3EE;
  --border-strong: #B0C4D8;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Increased border radius for cards and images */
  --radius-lg: 32px; 
  --radius-md: 24px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

/* ── MODERN NAVIGATION PANELS ── */
.nav-container {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  display: flex;
  justify-content: center;
}
.nav-glass-bar {
  width: 100%;
  max-width: 1300px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(216, 227, 238, 0.5);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-glass-bar.scrolled {
  top: 10px;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration:none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-icon {
  height: 46px;
  width: auto;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-menu a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-light);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
  padding: 4px 0;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-menu a:hover {
  color: var(--blue);
}
.nav-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-action-btn {
  padding: 10px 24px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 50px; /* Pill radius */
  text-decoration: none;
  transition: all 0.25s;
  border: 1px solid transparent;
}
.nav-action-btn:hover {
  background: var(--blue);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.25);
  transform: translateY(-1px);
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: 0.3s;
}
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.mobile-cta-item {
  display: none;
}

/* ── HERO SECTION ── */
.hero {
  min-height: 100vh;
  padding: 160px 5% 80px;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 80% 20%, var(--blue-soft) 0%, transparent 50%), var(--bg);
  overflow: hidden;
}
.hero-wrapper {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.hero-canvas-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#network-mesh-canvas {
  width: 100%;
  height: 100%;
}
.hero-text-block {
  position: relative;
  z-index: 2;
}
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 102, 204, 0.06);
  border: 1px solid rgba(0, 102, 204, 0.15);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.badge-tag-pulse {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  position: relative;
}
.badge-tag-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  animation: pulseGlow 1.8s infinite;
}
@keyframes pulseGlow {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.8rem;
  color: var(--ink);
}
/* Reusable two-tone heading accents (used across hero, section headlines, etc.) */
.text-blue {
  color: var(--blue);
}
.text-green {
  color: var(--green);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--ink-light);
  max-width: 580px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-solid {
  padding: 16px 36px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 50px; /* Rounded pill radius for button */
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.2);
}
.btn-solid:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 128, 255, 0.3);
}
.btn-outline {
  padding: 16px 36px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 50px; /* Rounded pill radius for button */
  border: 2px solid var(--border-strong);
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  border-color: var(--ink);
  background: rgba(10, 22, 40, 0.02);
}

/* HERO SIDE CARD INTERACTION */
.hero-visual-block {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.telemetry-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 30px 60px rgba(10, 22, 40, 0.06);
  position: relative;
}
.telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.telemetry-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.telemetry-stat {
  background: var(--bg-soft);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(216, 227, 238, 0.5);
  transition: transform 0.3s;
}
.telemetry-stat:hover {
  transform: scale(1.03);
}
.telemetry-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.telemetry-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}

/* ── IDENTITY SHOWCASE ── */
.section {
  padding: 120px 5%;
  max-width: 1400px;
  margin: 0 auto;
}
.section-header-panel {
  margin-bottom: 60px;
}
/* Updated text color to Green here */
.section-reveal-tag {
  color: var(--green); 
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: block;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.bento-identity-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.bento-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(216, 227, 238, 0.6);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-card-main {
  grid-row: 1 / 3;
}
.bento-card-accent {
  background: var(--ink);
  color: #fff;
}
.bento-card-accent .section-headline {
  color: #fff;
}
.bento-card-accent .section-headline .text-blue,
.bento-card-accent .section-headline .text-green {
  color: inherit;
}
.bento-img-frame {
  margin-top: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
  position: relative;
}
.identity-slide-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s cubic-bezier(0.83, 0, 0.17, 1);
}
.identity-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.identity-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.identity-slide-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}
.identity-slide-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
}
.identity-slide-dots span.active {
  background: #fff;
  width: 18px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .identity-slide-track {
    transition: none;
  }
}
.horizontal-service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.inline-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.inline-service-dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}
.inline-service-text {
  font-size: 0.88rem;
  color: var(--ink-mid);
  font-weight: 500;
}

/* ── SERVICE VERTICALS ── */
.services-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.services-linear-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.modern-service-channel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); /* Rounded card corners */
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.modern-service-channel:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.05);
  border-color: var(--blue);
}
.channel-index {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 24px;
}
.channel-icon-wrap {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--blue);
}
.channel-icon-wrap svg {
  width: 100%;
  height: 100%;
}
.channel-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.channel-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  flex-grow: 1;
}
.channel-action {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.channel-action:hover {
  opacity: 1;
}

/* ── SERVICE CARD IMAGE REVEAL ── */
.service-has-image {
  position: relative;
  overflow: hidden;
}
.service-reveal-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 56%;
  /* No radius on the outer edges — the card's own overflow:hidden + border-radius
     clips those to match the card corner exactly, so the image reads as flush
     with the card edge. Only the inner corner (where it meets the text) is rounded. */
  border-radius: 0 0 0 22px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  /* Initial hidden state: emerging from the heading area, blurred, small */
  opacity: 0;
  filter: blur(14px);
  transform: translate(-30px, -20px) scale(0.6);
  transition:
    opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-reveal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-has-image.img-revealed .service-reveal-img {
  opacity: 1;
  filter: blur(0);
  transform: translate(0, 0) scale(1);
}
/* Keep title readable beside the now-larger corner image on desktop */
.service-has-image .channel-title {
  max-width: 58%;
  position: relative;
  z-index: 2;
}
.service-has-image .channel-desc {
  position: relative;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .service-reveal-img {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}
@media (max-width: 640px) {
  .service-reveal-img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    transform: translateY(18px) scale(0.9);
  }
  .service-has-image.img-revealed .service-reveal-img {
    transform: translateY(0) scale(1);
  }
  .service-has-image .channel-title,
  .service-has-image .channel-desc {
    max-width: 100%;
  }
}

/* ── ENTERPRISE CAPABILITIES ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}
.capabilities-section {
  padding: 120px 0;
}
.section-head {
  margin-bottom: 60px;
  max-width: 640px;
}
.section-badge {
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.section-title span {
  color: var(--blue);
}
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.capability-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.06);
  border-color: var(--blue);
  background: #fff;
}
.card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.card-icon-box.icon-blue {
  background: var(--blue-soft);
  color: var(--blue);
}
.card-icon-box.icon-green {
  background: var(--gold-soft);
  color: var(--green);
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.card-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  flex-grow: 1;
}
.card-link {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.card-link:hover {
  opacity: 1;
}

/* ── LIVE METRICS BAR ── */
.metrics-row {
  background: var(--ink);
  color: #fff;
  padding: 60px 5%;
}
.metrics-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.metric-block {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.metric-block:last-child {
  border-right: none;
}
.metric-giant-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.metric-slug {
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

/* ── STRATEGIC PILLARS ── */
.pillars-flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.pillar-panel {
  border-left: 3px solid var(--border);
  padding-left: 24px;
  transition: border-color 0.3s;
}
.pillar-panel:hover {
  border-left-color: var(--blue);
}
/* Modified to incorporate Green */
.pillar-panel.green-accent:hover {
  border-left-color: var(--green);
}
.pillar-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
.pillar-panel.green-accent .pillar-label {
  color: var(--green);
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.pillar-text {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── ASYMMETRICAL DEPLOYMENT PORTFOLIO ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
}
.portfolio-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.portfolio-img-wrapper {
  border-radius: var(--radius-md); /* Ensures pictures have rounded corners */
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
}
.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-img-wrapper:hover img {
  transform: scale(1.06);
}
.portfolio-img-wrapper:first-child {
  grid-column: 1 / 3;
  aspect-ratio: 2 / 1;
}
.portfolio-meta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.8), transparent);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  transition: opacity 0.3s;
}
.portfolio-img-wrapper:hover .portfolio-meta-overlay {
  opacity: 1;
}
.portfolio-overlay-text {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ── PREMIUM PARTNER SHOWCASE (DUAL-ROW MARQUEE) ── */
.partners-section {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.partners-header {
  max-width: 1400px;
  margin: 0 auto 56px;
  padding: 0 5%;
  text-align: center;
}
.partners-header .section-reveal-tag {
  display: inline-block;
  width: 100%;
}
.partners-sub {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.partners-marquee {
  position: relative;
}
/* Soft edge fades so logos appear/disappear gracefully, no hard cut */
.partners-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(60px, 10vw, 160px);
  z-index: 2;
  pointer-events: none;
}
.partners-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-soft) 20%, transparent);
}
.partners-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-soft) 20%, transparent);
}
.partners-viewport {
  overflow: hidden;
  width: 100%;
}
/* Two copies of the same 17 logos back to back — the track slides left by exactly
   50% of its own width, so the moment the first copy scrolls off, the second copy
   is in the identical position and the loop repeats with no visible seam. */
.partners-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  will-change: transform;
  animation: partnersScrollLeft 36s linear infinite;
}
/* Pause on hover/focus so a visitor can read a logo without it scrolling away */
.partners-viewport:hover .partners-track,
.partners-viewport:focus-within .partners-track {
  animation-play-state: paused;
}
@keyframes partnersScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-item {
  flex: 0 0 176px;
  width: 176px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 28px;
  padding: 12px 14px;
  box-sizing: border-box;
  transition: transform 0.25s ease;
}
.partner-item:hover,
.partner-item:focus-within {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.partner-item img {
  max-height: 76px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  image-rendering: auto;
  transition: transform 0.3s ease;
}
/* Screen-reader-only accessible list — announced once; the scrolling track is a decorative duplicate */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none !important;
  }
  .partners-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
}

/* ── PROJECT CONSULTATION PORTAL (CONTACT) ── */
.contact-split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}
.contact-telemetry-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-item-block {
  display: flex;
  gap: 20px;
}
.contact-icon-frame {
  width: 44px;
  height: 44px;
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-item-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-item-value {
  font-size: 0.95rem;
  color: var(--ink-mid);
  font-weight: 500;
}
/* ── SOCIAL ICONS ── */
.contact-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}
.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s;
}
.social-icon-btn:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.footer-social-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social-btn {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}
.footer-social-btn:hover {
  background: var(--blue);
  color: #fff;
}

/* ── GOOGLE MAPS EMBED ── */
.contact-map-wrapper {
  margin-top: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(10, 22, 40, 0.05);
}
.contact-map-frame {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}
.map-open-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: #fff;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border-top: 1px solid var(--border);
  transition: background 0.2s;
}
.map-open-btn:hover {
  background: var(--blue-soft);
}
@media (max-width: 768px) {
  .contact-map-frame {
    height: 200px;
  }
}

/* ── CONTACT / APPLICATION FORM STATUS STATES ── */
.form-status-banner {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-status-banner.status-success {
  display: block;
  background: rgba(76, 127, 14, 0.1);
  color: var(--green);
  border: 1px solid rgba(76, 127, 14, 0.25);
}
.form-status-banner.status-error {
  display: block;
  background: rgba(200, 40, 40, 0.08);
  color: #B02A2A;
  border: 1px solid rgba(200, 40, 40, 0.2);
}
.form-status-banner.status-loading {
  display: block;
  background: var(--blue-soft);
  color: var(--blue);
}

.modern-portal-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 20px 50px rgba(10, 22, 40, 0.04);
}
.form-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-field-group label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
}
.form-field-group input, 
.form-field-group select, 
.form-field-group textarea {
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  border-radius: var(--radius-sm); /* Keep inputs slightly less rounded for UI usability */
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: all 0.25s;
}
.form-field-group input:focus, 
.form-field-group select:focus, 
.form-field-group textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.08);
}

/* ── ULTRALIGHT HIGH-METRIC FOOTER ── */
.premium-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 5% 40px;
}
.footer-matrix {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.footer-column-headline {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 20px;
}
.footer-navigation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-navigation-list a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-navigation-list a:hover {
  color: #fff;
}
.footer-base-panel {
  max-width: 1300px;
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-legal-links {
  display: flex;
  gap: 24px;
}
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

/* ── STREAMLINED RESPONSIVE ORCHESTRATION ── */
/* Wide desktop: cap line-length and keep generous side margins on very large monitors */
@media(min-width: 1600px) {
  .nav-glass-bar, .hero-wrapper, .metrics-inner, .footer-matrix, .footer-base-panel {
    max-width: 1400px;
  }
}

/* Laptop / small desktop */
@media(max-width: 1280px) {
  .hero-title {
    font-size: clamp(2.3rem, 4.6vw, 4rem);
  }
  .services-linear-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 1024px) {
  .hero-wrapper, .bento-identity-grid, .services-linear-grid, .pillars-flex, .portfolio-grid, .contact-split-grid, .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-main {
    grid-row: auto;
  }
  .bento-img-frame {
    height: 240px;
  }
  .metrics-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-matrix {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding: 140px 5% 60px;
  }
  .hero-wrapper {
    text-align: left;
  }
  .hero-visual-block {
    justify-content: flex-start;
  }
  /* Slightly smaller cards on laptop widths */
  .partner-item {
    flex-basis: 130px;
    width: 130px;
    height: 96px;
  }
  .partners-track {
    gap: 12px;
  }
}

@media(max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(216, 227, 238, 0.6);
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(10, 22, 40, 0.12);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu a {
    padding: 14px 16px;
    border-radius: 14px;
    width: 100%;
  }
  .nav-menu a:hover {
    background: var(--blue-soft);
  }
  .nav-menu a::after {
    display: none;
  }
  .nav-action-btn {
    display: none;
  }
  .mobile-cta-item {
    display: block;
    margin-top: 8px;
  }
  .mobile-cta-item a {
    display: block;
    text-align: center;
    background: var(--ink);
    color: #fff;
    border-radius: 14px;
    font-family: var(--font-display);
    font-weight: 700;
  }
  .mobile-cta-item a:hover {
    background: var(--blue);
  }
  .mobile-toggle {
    display: flex;
  }
  .form-input-row {
    grid-template-columns: 1fr;
  }
  .metrics-inner, .footer-matrix {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .metric-block {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
  }
  .metric-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-base-panel {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .section, .capabilities-section {
    padding: 90px 5%;
  }
  .partners-section {
    padding: 72px 0;
  }
  .partners-header {
    margin-bottom: 40px;
  }
  /* Tablet-sized cards */
  .partner-item {
    flex-basis: 120px;
    width: 120px;
    height: 92px;
    padding: 12px;
  }
  .partner-item img {
    max-height: 42px;
  }
  .partners-track {
    gap: 10px;
    /* Slightly gentler pace on smaller screens where logos are closer together */
    animation-duration: 20s;
  }
}

@media(max-width: 480px) {
  .hero {
    padding: 120px 5% 50px;
    min-height: auto;
  }
  .badge-tag {
    font-size: 0.7rem;
    padding: 6px 12px;
  }
  .hero-desc {
    font-size: 0.98rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-solid, .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
  }
  .telemetry-card {
    padding: 22px;
  }
  .telemetry-grid {
    gap: 12px;
  }
  .telemetry-stat {
    padding: 14px;
  }
  .telemetry-num {
    font-size: 1.4rem;
  }
  .bento-card, .modern-service-channel, .capability-card {
    padding: 28px 22px;
  }
  .modern-portal-form {
    padding: 28px 20px;
  }
  .contact-item-value {
    font-size: 0.88rem;
  }
  .metric-giant-num {
    font-size: 2.2rem;
  }
  /* Compact cards on large phones */
  .partner-item {
    flex-basis: 108px;
    width: 108px;
    height: 84px;
    padding: 10px;
  }
  .partner-item img {
    max-height: 36px;
  }
  .partners-track {
    gap: 8px;
    animation-duration: 16s;
  }
  .partners-fade {
    width: 32px;
  }
  .footer-matrix {
    gap: 32px;
  }
}

@media(max-width: 360px) {
  .nav-glass-bar {
    padding: 10px 16px;
  }
  .nav-logo {
    font-size: 1.02rem;
  }
  .nav-logo-icon {
    height: 36px;
  }
  .hero-title {
    font-size: 2.05rem;
  }
  .section-headline, .section-title {
    font-size: 1.55rem;
  }
  .telemetry-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* Slightly tighter still on the smallest phones */
  .partner-item {
    flex-basis: 96px;
    width: 96px;
    height: 76px;
    padding: 8px;
  }
  .partner-item img {
    max-height: 32px;
  }
  .partners-track {
    gap: 6px;
  }
}

/* Respect user motion preferences across the whole site, not just the marquee */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ANIMATION UTILITIES */
.scroll-track-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-track-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
