:root {
  --bg-dark: #071b2c;
  --bg-dark-2: #0d3555;
  --surface: #ffffff;
  --surface-muted: #f3f7fa;
  --text: #16212d;
  --text-soft: #5c6b79;
  --primary: #0e77b8;
  --primary-2: #11a2b3;
  --danger: #c81f14;
  --shadow: 0 18px 50px rgba(9, 33, 59, 0.09);
  --shadow-strong: 0 24px 70px rgba(5, 22, 45, 0.16);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #081c2f 0%, #071727 100%);
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  background: #fff;
}

.navbar {
  padding: 1rem 0;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.navbar.scrolled {
  background: rgba(7, 27, 44, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 26px rgba(14, 119, 184, 0.35);
}

.navbar-brand {
  color: #fff;
}

.navbar-brand:hover,
.navbar-brand:focus,
.nav-link:hover,
.nav-link:focus {
  color: #fff;
}

.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.nav-link.active {
  color: #fff !important;
}

.hero-section {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(17, 162, 179, 0.34), transparent 34%),
    radial-gradient(circle at 80% 15%, rgba(14, 119, 184, 0.28), transparent 30%),
    linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 46%, #0b5d8d 100%);
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.22;
}

.hero-bg-1 {
  width: 26rem;
  height: 26rem;
  top: -6rem;
  right: -7rem;
  background: #3ff0ff;
}

.hero-bg-2 {
  width: 20rem;
  height: 20rem;
  left: -7rem;
  bottom: -5rem;
  background: #7ed1ff;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.section-kicker {
  color: var(--primary);
  background: rgba(14, 119, 184, 0.08);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.78);
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.hero-visual {
  position: relative;
  min-height: 40rem;
}

.hero-panel,
.hero-floating {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-logo-main {
  width: 82%;
  margin-left: auto;
  padding: 1.5rem;
}

.hero-logo-main img {
  width: 100%;
  border-radius: 20px;
}

.hero-floating {
  position: absolute;
  padding: 0.9rem;
}

.hero-floating img {
  border-radius: 18px;
}

.hero-floating-a {
  width: 21%;
  left: 17%;
  bottom: 35%;
}

.hero-floating-b {
  width: 30%;
  right: 25%;
  bottom: 35%;
}

.hero-floating-c {
  width: 21%;
  left: 80%;
  top: 44%;
}

.dark-card {
  background: rgba(9, 18, 31, 0.55);
}

.hero-logo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  justify-content: center;
  width: 82%;
  margin: 1.25rem 0 0 auto;
}

.hero-visual .hero-logo-row .hero-floating {
  position: static;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .hero-logo-row .hero-floating-a,
.hero-visual .hero-logo-row .hero-floating-b,
.hero-visual .hero-logo-row .hero-floating-c {
  inset: auto;
}

.hero-visual .hero-logo-row .hero-floating img {
  width: auto;
  max-height: 100px;
}

.hero-stats .stat-card {
  height: 100%;
  padding: 1.1rem 1rem;
  border-radius: 20px;
}

.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  margin-top: 0.45rem;
}

.section-space {
  padding: 6rem 0;
}

.section-muted {
  background: linear-gradient(180deg, #f3f8fb 0%, #edf3f8 100%);
}

.section-heading {
  max-width: 760px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
  margin: 1rem 0 1rem;
}

.section-copy {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
}

.content-card,
.network-card,
.footer-card {
  border-radius: var(--radius-xl);
  background: #fff;
  padding: 2rem;
}

.shadow-soft {
  box-shadow: var(--shadow);
}

.content-card p {
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.8;
}

.mini-feature {
  height: 100%;
  padding: 1.35rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
  border: 1px solid rgba(14, 119, 184, 0.08);
}

.mini-feature h3,
.company-card h3,
.flow-item h3,
.timeline-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.mini-feature p,
.company-card p,
.flow-item p,
.timeline-content p {
  color: var(--text-soft);
  margin: 0;
  line-height: 1.7;
}

.company-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.company-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.company-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
}

.company-card-blue::before { background: linear-gradient(90deg, var(--primary), #56c4ff); }
.company-card-teal::before { background: linear-gradient(90deg, var(--primary-2), #7ce7f0); }
.company-card-red::before { background: linear-gradient(90deg, var(--danger), #ff7c6e); }

.company-logo-wrap {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.logo-darkblue { background: linear-gradient(135deg, #0c6296 0%, #0c7fc7 100%); }
.logo-teal { background: linear-gradient(135deg, #11a2b3 0%, #0e77b8 100%); }
.logo-red { background: linear-gradient(135deg, #7d0f08 0%, #c81f14 65%, #ff8d82 120%); }

.company-logo {
  max-height: 180px;
  width: auto;
}

.steri-logo {
  border-radius: 18px;
}

.company-card-body {
  padding: 1.8rem;
}

.year-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(14, 119, 184, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 500;
}

.feature-list li::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 0 6px rgba(17, 162, 179, 0.12);
  flex: 0 0 auto;
}

.flow-list {
  display: grid;
  gap: 1rem;
}

.flow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #f4f9fc 0%, #ffffff 100%);
  border: 1px solid rgba(14, 119, 184, 0.08);
}

.flow-step {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 24px rgba(14, 119, 184, 0.22);
}

.network-card {
  position: relative;
  min-height: 460px;
  background:
    radial-gradient(circle at center, rgba(14, 119, 184, 0.09), transparent 44%),
    linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

.network-core,
.network-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow);
}

.network-core {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  z-index: 3;
}

.network-node {
  width: 10.5rem;
  height: 10.5rem;
  border-radius: 26px;
  background: #fff;
  color: var(--text);
  z-index: 2;
}

.node-a { top: 1.5rem; left: 1.5rem; }
.node-b { top: 1.5rem; right: 1.5rem; }
.node-c { bottom: 1.5rem; left: 50%; transform: translateX(-50%); }

.network-line {
  position: absolute;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(14, 119, 184, 0.35), rgba(17, 162, 179, 0.65));
  transform-origin: left center;
  z-index: 1;
}

.line-a {
  width: 155px;
  top: 164px;
  left: 144px;
  transform: rotate(31deg);
}

.line-b {
  width: 155px;
  top: 164px;
  right: 144px;
  transform: rotate(-31deg);
}

.line-c {
  width: 120px;
  left: calc(50% - 60px);
  top: 284px;
  transform: rotate(90deg);
}

.timeline-wrap {
  position: relative;
  max-width: 950px;
  margin-inline: auto;
}

.timeline-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 115px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 108px;
  top: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--primary);
  box-shadow: 0 0 0 12px rgba(14, 119, 184, 0.08);
}

.timeline-year {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 24px rgba(14, 119, 184, 0.24);
}

.timeline-content {
  padding: 1.45rem 1.5rem;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.footer-section {
  background: linear-gradient(180deg, #0a1f34 0%, #081828 100%);
  padding: 2rem 0;
}

.footer-card {
  background:
    radial-gradient(circle at top right, rgba(17, 162, 179, 0.28), transparent 30%),
    linear-gradient(135deg, #0b3453 0%, #0a2136 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  margin-bottom: 2rem;
  padding: 2.5rem;
}

.footer-card .row {
  align-items: stretch;
}

@media (min-width: 992px) {
  .footer-card .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
  }

  .footer-card .row > [class*="col-"] .contact-map-wrap {
    flex: 1;
  }

  .footer-card .row > [class*="col-"] .contact-form {
    margin-top: auto;
  }
}

.contact-meta {
  display: grid;
  gap: 0.8rem;
}

.contact-meta-item {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.contact-meta-item:hover,
.contact-meta-item:focus {
  color: #bfe8ff;
}

.contact-form .form-label {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.contact-input {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 16px;
  padding: 0.9rem 1rem;
}

.contact-input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.contact-input:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(125, 211, 252, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(125, 211, 252, 0.14);
}

.contact-textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.form-status {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  min-height: 1.2rem;
}

.form-status.success {
  color: #b8f2c0;
}

.form-status.error {
  color: #ffb3a6;
}

.contact-map-wrap {
  display: grid;
  gap: 1.25rem;
  height: 100%;
}

.contact-map-header {
  /* padding: 1.25rem 1.35rem 0; */
}

.contact-map-frame {
  overflow: hidden;
  border-radius: 22px;
  min-height: 26rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  border: 0;
  display: block;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 600;
}

.footer-legal a:hover,
.footer-legal a:focus {
  color: #fff;
}

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

@media (max-width: 1199.98px) {
  .hero-visual {
    min-height: 34rem;
  }

  .hero-logo-main {
    width: 88%;
  }

  .hero-logo-row {
    width: 88%;
  }

  .network-card {
    min-height: 430px;
  }
}

@media (max-width: 991.98px) {
  .section-space {
    padding: 5rem 0;
  }

  .hero-section .min-vh-100 {
    min-height: auto !important;
  }

  .hero-visual {
    min-height: 33rem;
  }

  .hero-logo-main {
    width: 100%;
    margin-left: 0;
  }

  .hero-logo-row {
    width: 100%;
    margin-left: 0;
  }

  .hero-floating-a {
    left: 0;
    bottom: 1.2rem;
  }

  .hero-floating-b {
    right: 0;
  }

  .hero-floating-c {
    left: 4%;
    top: 3.5rem;
  }

  .hero-visual .hero-logo-row .hero-floating {
    height: 110px;
  }

  .network-card {
    min-height: 520px;
  }

  .node-a { top: 1rem; left: 1rem; }
  .node-b { top: 1rem; right: 1rem; }

  .line-a {
    top: 150px;
    left: 126px;
  }

  .line-b {
    top: 150px;
    right: 126px;
  }

  .line-c {
    top: 320px;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 22rem;
  }
}

@media (max-width: 767.98px) {
  .navbar {
    padding: 0.85rem 0;
    background: rgba(7, 27, 44, 0.9);
    backdrop-filter: blur(14px);
  }

  .hero-section {
    padding-top: 4rem;
  }

  .contact-map-header {
    padding-inline: 0;
    padding-top: 0.5rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .hero-logo-main,
  .hero-floating-a,
  .hero-floating-b,
  .hero-floating-c {
    width: 100%;
    position: relative;
    inset: auto;
    margin-bottom: 1rem;
  }

  .hero-logo-row {
    margin-top: 1rem;
    gap: 0.85rem;
    width: 100%;
    margin-left: 0;
    grid-template-columns: 1fr;
  }

  .hero-visual .hero-logo-row .hero-floating {
    width: 100%;
    height: auto;
    padding: 1.5rem;
  }

  .hero-visual .hero-logo-row .hero-floating img {
    width: 100%;
    max-height: none;
    border-radius: 20px;
  }

  .timeline-wrap::before {
    left: 22px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 3rem;
  }

  .timeline-item::before {
    left: 14px;
    top: 18px;
  }

  .timeline-year {
    width: fit-content;
  }

  .network-card {
    min-height: auto;
    display: grid;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .network-core,
  .network-node,
  .network-line {
    position: relative;
    inset: auto;
    transform: none;
    margin-inline: auto;
  }

  .network-core {
    width: 100%;
    max-width: 16rem;
    height: 6rem;
    border-radius: 24px;
  }

  .network-node {
    width: 100%;
    max-width: 14rem;
    height: 5rem;
    border-radius: 20px;
  }

  .network-line {
    width: 4px;
    height: 26px;
    background: linear-gradient(180deg, rgba(14, 119, 184, 0.35), rgba(17, 162, 179, 0.65));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-up,
  .company-card,
  .navbar,
  .hero-floating,
  .hero-panel {
    transition: none !important;
    animation: none !important;
  }
}
