:root {
  --navy: #0a1e3f;
  --blue: #1e5fd9;
  --blue-light: #5b9bf0;
  --gray: #6b7280;
  --soft: #f5f7fa;

  --bs-primary: #1e5fd9;
  --bs-primary-rgb: 30, 95, 217;
  --bs-link-color: var(--blue);
  --bs-link-hover-color: var(--navy);
  --bs-body-color: var(--navy);
  --bs-font-sans-serif: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, Helvetica, sans-serif;
}

body {
  color: var(--navy);
}

html {
  scroll-behavior: smooth;
}

.text-navy { color: var(--navy) !important; }
.text-blue { color: var(--blue) !important; }
.text-blue-light { color: var(--blue-light) !important; }
.text-muted-soft { color: var(--gray) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-soft { background-color: var(--soft) !important; }

.btn-primary {
  --bs-btn-bg: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-bg: var(--navy);
  --bs-btn-hover-border-color: var(--navy);
  --bs-btn-active-bg: var(--navy);
  --bs-btn-active-border-color: var(--navy);
  font-weight: 600;
}

.btn-outline-navy {
  --bs-btn-color: var(--navy);
  --bs-btn-border-color: rgba(10, 30, 63, 0.2);
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-color: var(--blue);
  --bs-btn-hover-border-color: var(--blue);
  font-weight: 600;
}

/* ---------- Navbar / logo ---------- */
.navbar {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
}

.logo-text {
  line-height: 1.1;
}

.logo-text .brand {
  display: block;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.logo-text .sub {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gray);
}

.nav-link {
  font-weight: 500;
  color: rgba(10, 30, 63, 0.8) !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue) !important;
}

/* ---------- Hero ---------- */
.hero-section {
  background: radial-gradient(circle at 80% 0%, rgba(30, 95, 217, 0.1), transparent 55%);
  padding: 6.5rem 0;
}

.badge-soft {
  background: var(--soft);
  color: var(--blue);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
}

.bg-navy .stat-value {
  color: var(--blue-light);
}

.hero-visual {
  background: linear-gradient(135deg, rgba(30, 95, 217, 0.06), rgba(91, 155, 240, 0.10));
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

/* ---------- Metrics band ---------- */
.metrics-band-item {
  position: relative;
}

@media (min-width: 768px) {
  .metrics-band-item:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 1px;
    background: rgba(10, 30, 63, 0.08);
  }
}

.metrics-band .stat-value {
  font-size: 1.75rem;
}

/* ---------- Ecosystem split ---------- */
.ecosystem-visual {
  background: var(--soft);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.5rem;
}

.capability-tile {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 0.85rem;
  padding: 1.1rem 0.5rem;
  text-align: center;
}

.capability-tile .icon-box {
  margin: 0 auto;
}

.capability-tile .label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 0.5rem;
}

/* ---------- Growth table ---------- */
.growth-table {
  --bs-table-bg: transparent;
  --bs-table-color: rgba(255, 255, 255, 0.85);
}

.growth-table thead th {
  color: var(--blue-light);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding-bottom: 0.75rem;
}

.growth-table td {
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 0.65rem 0.5rem;
  font-size: 0.9rem;
}

.growth-table tr.fw-semibold td {
  color: #fff;
}

.growth-table tr:last-child td {
  border-bottom: none !important;
}

/* ---------- Cards ---------- */
.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card {
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 1rem;
  transition: box-shadow 0.15s ease;
  height: 100%;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(10, 30, 63, 0.08);
}

.card-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  height: 100%;
}

.card-dark .pillar-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-light);
}

.card-dark ul li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.mvv-card {
  background: var(--blue);
  color: #fff;
  border-radius: 1rem;
  height: 100%;
}

.mvv-card li {
  color: rgba(255, 255, 255, 0.92);
}

.tech-item {
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 0.75rem;
}

.phase-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
}

/* ---------- CTA ---------- */
.cta-box {
  background: var(--soft);
  border-radius: 1.5rem;
}

/* ---------- Forms ---------- */
.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2rem rgba(30, 95, 217, 0.15);
}

.contact-side-card {
  background: var(--navy);
  color: #fff;
  border-radius: 1.5rem;
}

.contact-side-card a {
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--soft);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.footer-social a:hover {
  background: var(--blue);
  color: #fff;
}

.clients-row img {
  width: auto;
  max-width: 140px;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.2s ease;
}

.clients-row img:hover {
  filter: grayscale(0%) opacity(1);
}
