:root {
  /* Matches Tailwind custom colors; keep CSS minimal for fine-grain behavior. */
  --tech: #0d6efd;
  --ink: #0f172a;
}

/* Better scroll anchoring for sticky header */
section[id] {
  scroll-margin-top: 88px;
}

/* Shared nav link styling (desktop + mobile). */
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.72);
  transition: color 180ms ease;
  outline: none;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(13, 110, 253, 0) 0%, rgba(13, 110, 253, 0.95) 50%, rgba(13, 110, 253, 0) 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--ink);
}
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link--mobile {
  padding: 0.75rem 0.25rem;
  border-radius: 0.75rem;
}
.nav-link--mobile:hover {
  background: rgba(2, 6, 23, 0.04);
}

.footer-link {
  color: rgba(15, 23, 42, 0.72);
  font-weight: 600;
  transition: color 180ms ease;
  outline: none;
}
.footer-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Card component used in the Solutions section */
.card {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 55px rgba(2, 6, 23, 0.12);
  border-color: rgba(13, 110, 253, 0.35);
}

/* Mission typography */
.mission-quote {
  position: relative;
  padding-left: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.9);
  font-weight: 650;
}
.mission-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.95), rgba(2, 6, 23, 0.1));
}

/* Bullets (typography-only; no icons) */
.bullet {
  position: relative;
  padding-left: 1rem;
}
.bullet::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(13, 110, 253, 0.95);
}

/* Mobile menu slide-down animation (no external libs). */
.mobile-menu {
  transform-origin: top;
  animation: menuIn 220ms ease both;
}
@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    transition: none;
    transform: none;
    opacity: 1;
  }
  .mobile-menu {
    animation: none;
  }
  .card {
    transition: none;
  }
}

