/* Tech Forte brand tokens — sampled from TechForte-logo.png
   left indigo #2a2b6b · mid #272e6b · right teal #10657e · mint accent #61c5b9 */
:root {
  --color-primary: #1e5a8a;
  --color-primary-200: #b8d9e8;
  --color-primary-300: #7bb6d0;
  --color-primary-500: #2a7aab;
  --color-primary-700: #164568;
  --color-primary-800: #0f304a;
  --color-brand-accent: #61c5b9;
}

/* Prefer logo-derived primary in color-mix fallbacks that hardcode the old Techwind purple */
.bg-primary,
.text-primary,
.border-primary,
.hover\:bg-primary:hover,
.hover\:bg-primary-700:hover,
.hover\:border-primary:hover,
.hover\:border-primary-700:hover,
.hover\:text-primary:hover,
.focus\:border-primary:focus,
.after\:bg-primary::after {
  --tw-gradient-from: var(--color-primary);
}

.logo {
  padding-top: 0.5rem;
}

.logo img {
  height: 2.5rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  border-radius: 0.25rem;
}

/* Solid header — the nav sits over full-bleed hero/banner imagery, so instead of
   Techwind's fully-transparent-until-scroll behaviour it keeps a near-white bar at
   all times (slight transparency + blur over the hero, fully solid once scrolled).
   Dark slate logo/links stay legible without a light/dark logo swap. */
#topnav {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid rgba(15, 48, 74, 0.08);
  box-shadow: 0 1px 10px rgba(15, 48, 74, 0.06);
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.dark #topnav {
  background-color: rgba(15, 23, 42, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

#topnav.nav-sticky {
  background-color: var(--color-white);
  box-shadow: 0 2px 14px rgba(15, 48, 74, 0.1);
}

.dark #topnav.nav-sticky {
  background-color: var(--color-slate-900);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #topnav {
    background-color: rgba(255, 255, 255, 0.96);
  }
  .dark #topnav {
    background-color: rgba(15, 23, 42, 0.96);
  }
}

/* Full-bleed heroes / page banners */
.tf-hero,
.tf-page-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.tf-hero {
  min-height: 62vh;
}

.tf-page-banner {
  min-height: 42vh;
  padding: 7rem 0 4rem;
}

.tf-hero__media,
.tf-page-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tf-hero__media img,
.tf-page-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tf-hero__scrim,
.tf-page-banner__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(15, 48, 74, 0.88) 0%, rgba(30, 90, 138, 0.55) 48%, rgba(15, 48, 74, 0.35) 100%),
    linear-gradient(to top, rgba(10, 20, 35, 0.75) 0%, transparent 45%);
}

.tf-hero__content,
.tf-page-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.tf-hero-text-slider {
  position: relative;
  min-height: 7.5rem;
  margin-bottom: 1.25rem;
}

.tf-hero-text-slider__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.tf-hero-text-slider__slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tf-hero-text-slider__slide h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.tf-content-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(15, 48, 74, 0.12);
}

.tf-card-image {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
}

.tf-step-image {
  width: 100%;
  height: 7.5rem;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* Shared checklist (services capabilities, industry solutions) */
.tf-checklist {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 48, 74, 0.1);
}

.dark .tf-checklist {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.tf-checklist__label {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.tf-checklist__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem 1.25rem;
}

@media (min-width: 480px) {
  .tf-checklist__list ul {
    grid-template-columns: 1fr 1fr;
  }
}

.tf-checklist__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.45;
}

.dark .tf-checklist__list li {
  color: #94a3b8;
}

.tf-checklist__list li::before {
  content: "\eb81"; /* remixicon checkbox-circle-line */
  font-family: remixicon, sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 1.15rem;
  line-height: 1.35;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: color 0.25s ease, transform 0.25s ease;
}

.tf-checklist__list li:hover {
  color: #334155;
}

.dark .tf-checklist__list li:hover {
  color: #cbd5e1;
}

.tf-checklist__list li:hover::before {
  color: var(--color-brand-accent);
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .tf-hero-text-slider__slide {
    transition: none;
  }

  .tf-checklist__list li::before {
    transition: none;
  }

  .tf-checklist__list li:hover::before {
    transform: none;
  }
}
