:root {
  --navy: #0a2540;
  --navy-deep: #06182b;
  --blue: #1a6dff;
  --blue-hover: #1557d0;
  --blue-soft: #3b8bff;
  --cyan: #1aa6b8;
  --green: #2f9e6b;
  --purple: #6b5ce0;
  --teal: #1a9e9a;
  --sky: #3d8fd4;
  --text: #1f2a37;
  --text-muted: #5a6572;
  --border: #e2e8f0;
  --bg-soft: #f5f7fa;
  --white: #ffffff;
  --header-h: 72px;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, .brand-text, .navbar-brand {
  font-family: var(--font-display);
}

a {
  text-decoration: none;
}

/* Header */
.site-header {
  box-shadow: 0 1px 0 rgba(10, 37, 64, 0.08);
  background: var(--white);
}

.site-header .navbar {
  min-height: var(--header-h);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.brand-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.2;
  max-width: 11rem;
}

.navbar-nav .nav-link {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.55rem 0.55rem !important;
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
}

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

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(26, 109, 255, 0.25);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-nav .nav-link {
    font-size: 0.72rem;
    padding: 0.45rem 0.35rem !important;
  }

  .brand-text {
    font-size: 0.85rem;
    max-width: 9rem;
  }
}

/* Hero */
.section-hero {
  position: relative;
  min-height: clamp(520px, 88vh, 760px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 24, 43, 0.88) 0%,
    rgba(10, 37, 64, 0.72) 42%,
    rgba(10, 37, 64, 0.35) 70%,
    rgba(10, 37, 64, 0.2) 100%
  );
}

.hero-network {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

.network-svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-title .text-accent {
  color: #7eb6ff;
  display: inline;
}

.hero-lead,
.hero-sub {
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
}

.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  margin-bottom: 0.85rem;
}

.hero-sub {
  font-size: 1rem;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.82);
}

.btn-cta,
.btn-cta-outline {
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

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

.btn-outline-primary {
  --bs-btn-color: var(--navy);
  --bs-btn-border-color: var(--navy);
  --bs-btn-hover-bg: var(--navy);
  --bs-btn-hover-border-color: var(--navy);
  --bs-btn-hover-color: var(--white);
  --bs-btn-active-bg: var(--navy);
  --bs-btn-active-border-color: var(--navy);
  background: rgba(255, 255, 255, 0.95);
}

.section-hero .btn-outline-primary {
  --bs-btn-color: var(--navy);
  background: var(--white);
}

.btn-arrow {
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .hero-actions .btn {
    width: 100%;
  }
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.text-accent-soft {
  color: var(--blue-soft);
}

.section-about p {
  color: var(--text-muted);
}

.about-visual {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.12);
}

.about-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-formula {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(10, 37, 64, 0.92);
  color: var(--white);
  padding: 0.9rem 1.1rem;
  border-radius: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  text-align: center;
  letter-spacing: 0.01em;
}

/* Solutions */
.section-solutions {
  background: var(--bg-soft);
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem 1.25rem 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10, 37, 64, 0.1);
}

.solution-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.solution-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.solution-lead {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.solution-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.solution-list {
  padding-left: 1.1rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.solution-list li {
  margin-bottom: 0.35rem;
}

.solution-footer {
  margin: 0 -1.25rem;
  padding: 0.95rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

.solution-card--blue .solution-icon {
  background: rgba(26, 109, 255, 0.12);
  color: var(--blue);
}
.solution-card--blue .solution-footer {
  background: rgba(26, 109, 255, 0.1);
  color: #1557b0;
}

.solution-card--green .solution-icon {
  background: rgba(47, 158, 107, 0.12);
  color: var(--green);
}
.solution-card--green .solution-footer {
  background: rgba(47, 158, 107, 0.12);
  color: #1f7a52;
}

.solution-card--purple .solution-icon {
  background: rgba(107, 92, 224, 0.12);
  color: var(--purple);
}
.solution-card--purple .solution-footer {
  background: rgba(107, 92, 224, 0.12);
  color: #4f43b8;
}

.solution-card--teal .solution-icon {
  background: rgba(26, 158, 154, 0.12);
  color: var(--teal);
}
.solution-card--teal .solution-footer {
  background: rgba(26, 158, 154, 0.12);
  color: #0f7a76;
}

/* Individual offerings */
.section-offering--purple {
  background: var(--bg-soft);
}

.offering-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.offering-copy .solution-lead {
  font-size: 1.15rem;
}

.offering-copy .solution-intro,
.offering-copy .solution-list {
  font-size: 1rem;
}

.offering-copy .solution-footer {
  margin: 0;
  border-radius: 0.5rem;
  font-size: 0.95rem;
}

.offering-visual {
  overflow: hidden;
  border-radius: 0.85rem;
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.12);
}

.offering-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .offering-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Why */
.why-item {
  padding: 0.5rem 0.75rem;
  height: 100%;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.why-icon--blue { background: rgba(26, 109, 255, 0.12); color: var(--blue); }
.why-icon--green { background: rgba(47, 158, 107, 0.12); color: var(--green); }
.why-icon--cyan { background: rgba(26, 166, 184, 0.12); color: var(--cyan); }
.why-icon--purple { background: rgba(107, 92, 224, 0.12); color: var(--purple); }
.why-icon--sky { background: rgba(61, 143, 212, 0.12); color: var(--sky); }

.why-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Vision / Mission */
.vm-card {
  position: relative;
  min-height: 340px;
  border-radius: 0.85rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.vm-overlay {
  width: 100%;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(180deg, rgba(6, 24, 43, 0.15) 0%, rgba(6, 24, 43, 0.88) 55%);
  color: var(--white);
}

.vm-label {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #9ec5ff;
}

.vm-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  color: var(--white);
}

.vm-body {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Who we serve */
.section-serve {
  background: var(--bg-soft);
}

.serve-intro {
  max-width: 40rem;
  color: var(--text-muted);
}

.serve-tile {
  background: var(--white);
  border: 1.5px solid rgba(26, 109, 255, 0.22);
  border-radius: 0.65rem;
  padding: 1.75rem 1rem;
  text-align: center;
  height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.serve-tile:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(26, 109, 255, 0.08);
}

.serve-icon {
  color: var(--blue);
  margin-bottom: 1rem;
}

.serve-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.35;
}

/* CTA */
.section-cta {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  color: var(--white);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6, 24, 43, 0.95) 0%,
    rgba(10, 37, 64, 0.9) 55%,
    rgba(10, 37, 64, 0.75) 100%
  );
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-text {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
  max-width: 38rem;
}

.cta-link {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}

.cta-link:hover,
.cta-link:focus {
  color: #9ec5ff;
}

.section-cta .btn-primary {
  box-shadow: 0 8px 24px rgba(26, 109, 255, 0.35);
}

@media (max-width: 575.98px) {
  .cta-actions .btn {
    width: 100%;
  }
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 0;
}

.footer-brand {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-brand:hover {
  color: #9ec5ff;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-size: 0.78rem;
}

@media (min-width: 992px) {
  .footer-links {
    align-items: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    text-align: left;
  }
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #9ec5ff;
}

.footer-copyright {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  text-align: center;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .section-hero .hero-content {
    animation: fadeUp 0.7s ease both;
  }

  .solution-card,
  .serve-tile,
  .why-item {
    animation: fadeUp 0.55s ease both;
  }

  .solution-card:nth-child(1) { animation-delay: 0.05s; }
  .solution-card:nth-child(2) { animation-delay: 0.1s; }
  .solution-card:nth-child(3) { animation-delay: 0.15s; }
  .solution-card:nth-child(4) { animation-delay: 0.2s; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
