:root {
  /* palette matched from screenshot */
  --bw-bg: #f4f4f2;
  --bw-softBlue: #e0eef5;
  --bw-dark: #0a0e17;
  --bw-ink: #222326;
  --bw-muted: #666361;
  --bw-border: #dcdbd9;
  --bw-accent: #f95f0e;

  /* Your custom highlight color */
  --bw-highlight: #fcaf86;

  --radius: 8px;
  --shadow: 0 20px 60px rgba(10, 14, 23, 0.08);
}

/* Site-wide highlight modification */
::selection {
  background-color: var(--bw-highlight);
  color: var(--bw-ink);
  /* Ensures readability */
}

/* Firefox support */
::-moz-selection {
  background-color: var(--bw-highlight);
  color: var(--bw-ink);
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--bw-ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
  animation: fade-in 1s ease-out forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 300 !important;
}

.fw-bold {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 300 !important;
  /* Keep original color for non-headings */
}

.bw-story-content h5,
.text-white-50 {
  color: #fff !important;
}

html {
  scroll-behavior: smooth;
}

.bw-muted {
  color: var(--bw-muted);
}

.bw-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bw-accent);
  font-weight: 300;
  margin-bottom: 10px;
}

.bw-h2 {
  font-size: 30px;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--bw-ink);
  /* border-bottom: 3px solid var(--bw-accent); */
  display: inline-block;
  padding-bottom: 10px;
}

.bw-h3 {
  font-size: 22px;
  font-weight: 300;
  color: var(--bw-ink);
  border-bottom: 3px solid var(--bw-accent);
  display: inline-block;
  padding-bottom: 10px;
}

.btn {
  font-weight: 300 !important;
}

.btn-accent {
  background: var(--bw-accent);
  border-color: var(--bw-accent);
  color: #fff;
}

.btn-accent:hover {
  background: #e5540c;
  border-color: #e5540c;
  color: #fff;
}

/* HERO */
.bw-hero {
  position: relative;
  min-height: 100vh;
  /* Full screen */
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #000;
}

.bw-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.bw-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #111 0%, transparent 100%);
}

.bw-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 80px 0;
}

.bw-hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  margin-bottom: 12px;
  color: #ccc;
}

.bw-hero__title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.bw-hero__desc {
  font-size: 1.1rem;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.8);
}

/* HERO CARDS (FEATURES) - Refactored from sample.css */
.bw-features-refined {
  padding: 80px 0;
  background-color: #fff;
}

.bw-feat-container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0px;
  max-width: 1416px;
  margin: 0 auto;
  color: #3d3c3c;
}

.bw-feat-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0px 24px 16px;
  min-height: 280px;
}

.bw-feat-col--border {

  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.bw-feat-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.bw-feat-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3d3c3c;
}

.bw-feat-divider {
  width: 16px;
  height: 2px;
  background-color: var(--bw-accent);
}

.bw-feat-title {
  font-size: 24px;
  font-weight: 300 !important;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--bw-ink);
}

.bw-feat-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bw-muted);
  margin-bottom: 30px;
}

.bw-feat-btn {
  display: inline-flex;
  padding: 12px 20px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  width: fit-content;
}

.bw-feat-btn:hover {
  background: var(--bw-accent);
  border-color: var(--bw-accent);
  color: #fff;
}

/* ORANGE BOX WE ARE */
/* WHO WE ARE SECTION */
.bw-section {
  padding: 100px 0;
}

.bw-section--soft {
  background-color: var(--bw-bg);
}

.bw-who__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.bw-who__eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bw-ink);
  white-space: nowrap;
}

.bw-who__line {
  width: 16px;
  height: 2px;
  background: var(--bw-accent);
}

.bw-who__title {
  font-size: 30px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--bw-ink);
}

.bw-who__title strong {
  font-weight: 300;
}

.bw-who__desc {
  color: var(--bw-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.bw-who__desc p {
  margin-bottom: 20px;
}

.bw-who__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.bw-who__card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bw-accent) 0%, #e65a0e 100%);
  padding: 60px 40px;
  border-radius: 24px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 380px;
  box-shadow: 0 30px 60px rgba(249, 95, 14, 0.15);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.bw-who__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.bw-who__card:hover {
  transform: translateY(-12px) rotateX(2deg) scale(1.02);
  box-shadow: 0 50px 100px rgba(249, 95, 14, 0.35),
    0 20px 40px rgba(249, 95, 14, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bw-who__card:hover::before {
  opacity: 1;
}

.bw-who__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translate(20%, 20%) scale(1.2);
  filter: brightness(0.5) contrast(1.2);
}

.bw-who__card:hover .bw-who__card-img {
  opacity: 0.15;
  transform: translate(0, 0) scale(1.05);
}

.bw-who__card-inner {
  position: relative;
  z-index: 2;
  text-align: left;
}

.bw-who__card-text {
  display: block;
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 5px;
  opacity: 0.9;
}

.bw-who__card-heading {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  margin: 0;
}

.bw-who__card-heading strong {
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .bw-section {
    padding: 60px 0;
  }

  .bw-who__card {
    margin-top: 20px;
    min-height: 250px;
    padding: 40px;
  }
}

/* NEW HOW WE HELP SECTION */
.bw-how-section {
  padding: 100px 0;
  background-color: #f2f1ee;
  padding-bottom: 0%;
}

.bw-how-heading {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 60px;
  color: var(--bw-accent);
}

.bw-how-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.bw-how-card {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  position: relative;
}

.bw-how-number {
  font-size: 80px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(251, 81, 47, 0.8);
  line-height: 1;
  margin-bottom: 25px;
  font-family: 'IBM Plex Sans', sans-serif;
}

.bw-how-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #29271f;
  line-height: 1.3;
}

.bw-how-description {
  font-size: 14px;
  color: #3d3c3c;
  line-height: 1.6;
  margin-bottom: 25px;
  font-family: 'IBM Plex Sans', sans-serif;
}

.bw-how-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin-top: auto;
  transition: color 0.3s ease;
}

.bw-how-link:hover {
  color: var(--bw-accent);
}

.bw-how-link i {
  font-size: 12px;
}

/* LEGACY STEPS REMOVED */



/* CERTIFICATIONS - EXACT SAMPLE DIMENSIONS */
.bw-cert-card {
  background: #fff;
  text-align: center;
  border-radius: 11.74px;
  border: 0.9px solid #e2e8f0;
  box-sizing: border-box;
  width: 219.6px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28.2px 0px 37.6px;
  flex-shrink: 0;
  margin: 0 auto;
  /* Centering within responsive column */
  transition: all 0.3s ease;
}

.bw-cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.bw-cert-img-wrap {
  width: 156.2px;
  height: 224.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  flex-shrink: 0;
}

.bw-cert-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.bw-cert-content {
  padding: 10px 20px 30px;
}

.bw-cert-card h5 {
  color: var(--bw-ink);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
}

.bw-cert-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.bw-cert-footer__text {
  font-size: 21px;
  color: #45556c;
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.6;
}

.bw-cert-footer__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.bw-cert-footer__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #45556c;
  font-size: 16px;
  opacity: 0.8;
}

.bw-cert-footer__item i {
  font-size: 24px;
  color: var(--bw-accent);
}

/* STORIES / CUSTOMER STORIES */
.bw-story-block {
  overflow: hidden;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.bw-story-block h4 {
  color: var(--bw-accent);
}

.bw-story-block:hover {
  transform: translateY(-5px);
}

.bw-story-img {
  height: 250px;
  /* Fixed height for alignment */
  width: 100%;
  overflow: hidden;
}

.bw-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.bw-story-block:hover .bw-story-img img {
  transform: scale(1.05);
}

/* CAREERS SECTION */
.bw-careers-section {
  background-color: #0a0e17;
  /* Dark bg */
  color: #fff;
  padding: 80px 0;
}

.bw-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bw-stat-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bw-stat-val {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--bw-accent);
  line-height: 1;
  margin-bottom: 5px;
}

.bw-stat-label {
  font-size: 0.9rem;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bw-story-card {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
}

.bw-story-card img {
  height: 100%;
  object-fit: cover;
}

.bw-story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.bw-story-content {
  color: #fff;
}

.bw-story-content h3 {
  font-weight: 300;
  font-size: 2rem;
}

.bw-carousel-lines button {
  height: 4px !important;
  background-color: var(--bw-accent) !important;
  opacity: 0.5;
  border: none;
}

.bw-carousel-lines button.active {
  opacity: 1;
}

/* MARQUEE */
.bw-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
  background: #fff;
}

.bw-marquee-content {
  display: inline-flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.bw-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  flex-shrink: 0;
}

.bw-logo-item img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* UNDERLINES */
.bw-h3-underlined {
  font-size: 30px;
  font-weight: 300;
  padding-bottom: 15px;
  color: var(--bw-ink);
  display: inline-block;
  margin-bottom: 24px;
  position: relative;
}

.bw-h3-underlined::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--bw-accent);
}

/* METRICS & GLASS CARDS */
.bw-metric-box {
  text-align: left;
}

.bw-metric-lg {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
}

.bw-glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.bw-metric-val {
  font-size: 1.5rem;
  font-weight: 300;
}

.bw-link-orange {
  color: var(--bw-accent);
  text-decoration: none;
  font-weight: 300;
  font-size: 0.9rem;
}

.bw-card-simple {
  background: #fff;
  border: 1px solid var(--bw-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.bw-card-simple:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(10, 14, 23, 0.08);
  border-color: rgba(249, 95, 14, 0.3);
}

.bw-card-simple img {
  transition: transform 0.5s ease;
}

.bw-card-simple:hover img {
  transform: scale(1.03);
}

.bw-card-simple .bw-link-orange {
  margin-top: auto;
  padding-top: 15px;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}



@media (max-width: 991.98px) {
  .bw-hero__title {
    font-size: 2.5rem;
  }

  .bw-orange-box__line2 {
    font-size: 2rem;
  }



  .bw-step-num {
    font-size: 3rem;
  }

  .bw-card {
    margin-bottom: 1rem;
  }

  .bw-step-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {


  .bw-step-num {
    font-size: 2.5rem;
  }

  .bw-hero__title {
    font-size: 2rem;
  }

  .bw-h2 {
    font-size: 1.75rem;
  }

  .bw-story-block h4 {
    font-size: 1.25rem;
  }
}

/* Link Buttons (Who We Are) */
.bw-link-btn {
  text-decoration: none;
  font-weight: 300;
  color: var(--bw-ink);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  padding-right: 15px;
  border-right: 1px solid var(--bw-border);
  /* Vertical line separator */
  margin-right: 10px;
  /* Spacing between buttons */
  line-height: 1;
}

.bw-link-btn:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.bw-link-btn:hover {
  color: var(--bw-accent);
}

/* Full-width Divider Section - Like Hero */
.bw-divider-section {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: transparent;
  /* Add spacing around the section */
  padding-top: 80px;
  padding-bottom: 66px;
}

.bw-divider-text {
  font-family: 'Sora', sans-serif;
  font-size: clamp(4rem, 15vw, 10.7rem);
  font-weight: 800;
  text-transform: lowercase;
  color: rgba(34, 35, 38, 0.08);
  white-space: nowrap;
  line-height: 0;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;

}

.bw-text-accent {
  color: var(--bw-accent);
  opacity: 50%;
}

/* ============================================== */
/* STORIES DIVIDER - Independent Styling */
/* ============================================== */

.bw-stories-divider-section {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: transparent;
  padding-top: 90px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
  max-width: 100vw;
}

.bw-stories-divider-text {
  font-family: 'Sora', sans-serif;
  font-size: clamp(4rem, 15vw, 9.6rem);
  font-weight: 800;
  text-transform: lowercase;
  color: #fff;
  white-space: nowrap;
  line-height: 0;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
}

.bw-stories-divider-text .bw-text-accent {
  color: #fff;
}

@media (max-width: 991.98px) {
  .bw-divider-text {
    font-size: clamp(3rem, 12vw, 10rem);
  }

  .bw-divider-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* Stories divider - Tablet */
  .bw-stories-divider-text {
    font-size: clamp(3rem, 12vw, 10rem);
  }

  .bw-stories-divider-section {
    padding-top: 30px;
    padding-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .bw-divider-text {
    font-size: clamp(2.5rem, 10vw, 6rem);
  }

  .bw-divider-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* Stories divider - Mobile */
  .bw-stories-divider-text {
    font-size: clamp(2.5rem, 10vw, 6rem);
  }

  .bw-stories-divider-section {
    padding-top: 20px;
    padding-bottom: 15px;
  }
}

/* Client Logo Images */
.bw-logo-item img {
  max-height: 60px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .bw-logo-item img {
    max-height: 40px;
    max-width: 80px;
  }
}

/* TrackMate-style pill link (Global) */
.trackmate-link {
  color: var(--bw-accent, #f95f0e);
  font-weight: 500;
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 2px 8px;
  background: rgba(249, 95, 14, 0.08);
  border-radius: 6px;

  border: 1px solid rgba(249, 95, 14, 0.1);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.trackmate-link i {
  font-size: 0.85em;
  transition: transform 0.3s ease;
}

.trackmate-link:hover {
  background: var(--bw-accent, #f95f0e);
  color: #fff !important;
  transform: translateY(-2px);

  border-color: var(--bw-accent, #f95f0e);
  box-shadow: 0 4px 12px rgba(249, 95, 14, 0.2);
}

.trackmate-link:hover i {
  transform: translate(2px, -2px);
}

/* Optional: variant for links placed on dark backgrounds */
.dark-section .trackmate-link {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.dark-section .trackmate-link:hover {
  background: #fff;
  color: var(--bw-dark, #0a0e17) !important;
  border-color: #fff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}