/* =====================================================================
   behavioral-health-v2.css
   Combined stylesheet for template-behavioral-health_v2.php

   This template reuses the "home_page_v4_fields" ACF flexible-content
   field, mixing layouts from two designs:
     - hero_banner, programs_section, outcomes_section,
       stay_connected_section -> styles below come from homev4.css
     - solutions_section, middle_cta_section, who_we_serve_section,
       faq_section -> styles below come from bh-new.css

   Generated by concatenating both source files as-is (no manual
   retyping) so no rules were altered in the merge.
   ===================================================================== */

/* ===== hero.css ===== */
:root {
  --hero-bg: #f8fbfd;
  --text-primary: #0a2540;
  --text-secondary: #5b6570;
  --font-display: "Inter Tight", sans-serif;
  --font-serif: "Playfair Display", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-display)!important;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  padding: clamp(3rem, 8vw, 6rem) 1.5rem clamp(4rem, 10vw, 7rem);
  min-height: calc(100dvh - 74px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 74px;
}

/* Decorative dot pattern */
.hero__dots {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/hero-dots-pattern.png");
  background-repeat: repeat;
  background-size: 320px;
  opacity: 0.04;
  pointer-events: none;
}

/* Decorative blurred blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.52;
  filter: blur(80px);
  pointer-events: none;
}

.hero__blob--pink {
  left: 11.9%;
  top: 57.9%;
  width: clamp(140px, 14vw, 220px);
  height: clamp(140px, 14vw, 220px);
  background: linear-gradient(
    180deg,
    rgba(232, 248, 255, 1) 0%,
    rgba(255, 187, 246, 1) 100%
  );
}

.hero__blob--peach {
  left: 77.1%;
  top: 32.4%;
  width: clamp(120px, 12.6vw, 200px);
  height: clamp(120px, 12.6vw, 200px);
  background: linear-gradient(
    180deg,
    rgba(248, 230, 223, 1) 0%,
    rgba(216, 237, 182, 1) 100%
  );
}

.hero__blob--green {
  left: 37.6%;
  top: 18.9%;
  width: clamp(120px, 12.6vw, 200px);
  height: clamp(120px, 12.6vw, 200px);
  background: linear-gradient(
    180deg,
    rgba(248, 230, 223, 1) 0%,
    rgba(216, 237, 182, 1) 100%
  );
}

/* Content */
.hero__content {
  margin: auto;
  position: relative;
  z-index: 1;
  max-width: 51.25rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.125;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero__title-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.hero__subtext {
  margin: 0;
  max-width: 46rem;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-secondary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.btn--primary {
  background: var(--text-primary);
  color: #ffffff;
  border: 1px solid var(--text-primary);
}

.btn--primary:hover {
   background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}

.btn--secondary:hover {
  background: var(--text-primary);
  color: #ffffff;
}

.hero__scroll-indicator {
  margin-top: clamp(1rem, 3vw, 2.5rem);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  animation: hero-bounce 2s ease-in-out infinite;
}

.hero__scroll-indicator img {
  display: block;
  width: 18px;
  height: 26px;
}

@keyframes hero-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-indicator {
    animation: none;
  }
}

/* ===== counter.css ===== */
.counter-band {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg, #f8fbfd);
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
}

.counter-band__dots {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/counter-dots-pattern.png");
  background-repeat: repeat;
  background-size: 320px;
  opacity: 0.04;
  pointer-events: none;
}

.counter-band__blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.64;
  filter: blur(70px);
  pointer-events: none;
}

.counter-band__blob--blue {
  left: 54.5%;
  top: -20%;
  width: clamp(110px, 10vw, 194px);
  height: clamp(110px, 10vw, 194px);
  background: linear-gradient(
    180deg,
    rgba(232, 248, 255, 1) 0%,
    rgba(187, 214, 255, 1) 100%
  );
}

.counter-band__blob--purple {
  left: 21.1%;
  top: -28%;
  width: clamp(115px, 10.5vw, 204px);
  height: clamp(115px, 10.5vw, 204px);
  background: linear-gradient(
    180deg,
    rgba(248, 230, 223, 1) 0%,
    rgba(210, 178, 255, 1) 100%
  );
}

.counter-band__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding: 2.75rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-start;
}

.counter-band__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 8rem;
}

.counter-band__number {
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.5;
  color: var(--text-primary, #0a2540);
}

.counter-band__label {
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-secondary, #5b6570);
}

@media (max-width: 700px) {
  .counter-band__panel {
    justify-content: center;
  }

  .counter-band__stat {
    flex-basis: 40%;
  }
}

/* ===== programs.css ===== */
.programs {
  position: relative;
  overflow: hidden;
  background: #f9fafb;
  padding: 0 0 6.25rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 4vw, 3rem);
}

.programs__grid-bg {
  position: absolute;
  top: 4%;
  left: 6%;
  width: 88%;
  height: 92%;
  background-image: url("../assets/images/programs-grid-bg.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  opacity: 0.5;
  pointer-events: none;
}

.programs__head {
  position: relative;
  z-index: 1;
  max-width: 45rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  gap: 1rem;
}

.programs__eyebrow {
  margin: 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-primary, #0a2540);
}

.programs__heading {
  margin: 0;
  margin-bottom:3rem;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0a2540);
}

.programs__title-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.5rem);
  width: 100%;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.programs__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5625rem;
  border-radius: 32px;
  padding: 0 clamp(1.25rem, 3vw, 3rem);
  padding-right: 1.5rem;
  background: #f9fafb;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 500;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0a2540);
  white-space: nowrap;
  position: relative;
}

.programs__label-line {
  flex: 1 1 auto;
  height: 1px;
  min-width: 2rem;
}

.programs__label-line--residential-programs {
  background: linear-gradient(
    90deg,
    rgba(230, 243, 100, 1) 0%,
    rgba(201, 190, 254, 1) 100%
  );
}

.programs__label-line--outpatient-programs {
  background: linear-gradient(90deg, #f8d9c6 0%, #bdb0f1 100%);
}

.programs__panels {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.programs__panel {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.program-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid #efeff0;
  background: #ffffff;
  flex: 420 1 20rem;
  min-width: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.program-card--wide {
  flex-grow: 813;
}

.program-card:hover {
  border-color: #d8dce1;
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.08);
}

.program-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.program-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  min-height: clamp(20rem, 32vw, 29rem);
}

.program-card__title {
  margin: 0;
  max-width: 32rem;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0a2540);
}

.program-card__body {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-size: 1.25rem;
  line-height: 2rem;
  color: var(--text-secondary, #5b6570);
}

.program-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.program-card__tag {
  padding: 0.5rem 1.25rem;
  border: 1px solid #e4e4e7;
  border-radius: 32px;
  background: #ffffff;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-size: 1.25rem;
  color: var(--text-primary, #0a2540);
  white-space: nowrap;
}

.program-card__cta {
  margin-top: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  align-self: flex-start;
  padding: 0 1rem 0 0;
  border: 1px solid var(--text-primary, #0a2540);
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-primary, #0a2540);
  transition: opacity 0.2s ease;
}

.program-card__cta img {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
}

.program-card__content.program-card__content_sm {
  min-height: clamp(20rem, 32vw, 26rem);
}

@media (max-width: 700px) {
  .program-card__content {
    min-height: auto;
  }

  .program-card__tag {
    font-size: 1rem;
    padding: 0.625rem 1rem;
  }
}

/* ===== outcomes.css ===== */
.outcomes {
  position: relative;
  background: #ffffff;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem clamp(2rem, 5vw, 9rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 4vw, 3rem);
}

.outcomes__head {
  max-width: 46rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin: 0 auto;
  margin-bottom: 3.25rem;
}

.outcomes__heading {
  margin: 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.2vw, 45rem);
  line-height: 4.5rem;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0a2540);
}

.outcomes__subheading {
  margin: 0;
  max-width: 44rem;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary, #5b6570);
}

.outcomes__card {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  align-items: flex-start;
}

/* Left column: vertical 01/02 tab switcher */
.outcomes__tabs {
  flex: 1 1 20rem;
  max-width: 24.5rem;
  display: flex;
  flex-direction: column;
}

.outcomes__tab {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  padding: 3.5rem clamp(1.5rem, 3vw, 3rem);
  border: none;
  border-bottom: 1px solid #e4e4e7;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.outcomes__tab:first-child {
  border-top: none;
}

.outcomes__tab-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--text-primary, #0a2540);
  transition: color 0.2s ease;
}

.outcomes__tab-number {
  flex-shrink: 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--text-secondary, #5b6570);
  transition: color 0.2s ease;
}

.outcomes__tab.is-active {
  background: #ecedff;
  border-bottom: 4px solid var(--text-primary, #0a2540);
  border-top-color: transparent;
}

.outcomes__tab.is-active + .outcomes__tab {
  border-top-color: transparent;
}

.outcomes__tab.is-active .outcomes__tab-label,
.outcomes__tab.is-active .outcomes__tab-number {
  color: var(--text-primary, #0a2540);
}

/* Right column: lavender content panel(s), one per tab */
.outcomes__panels {
  flex: 2 1 34rem;
  min-width: 0;
}

.outcomes__panel {
  height: 100%;
  background: #f1f2fe;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e4e4e7;
}

.outcomes__panel[hidden] {
  display: none;
}

.outcomes__list {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 2rem;
}

.outcomes__list-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.outcomes__tag_wrapper {
  display: flex;
  align-items: center;
  column-gap: 3.25rem;
  justify-content: space-between;
}

.outcomes__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
  background: #ecedff;
  padding: 1.25rem 3.25rem;
  justify-content: space-between;
}

.outcomes__tag-logo {
  display: block;
  width: auto;
}

.outcomes__tag {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.25rem;
}

.outcomes__tag-label {
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 400;
  font-size: 0.875rem;
  color: rgba(10, 37, 64, 0.6);
}

.outcomes__tag-value {
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary, #0a2540);
}

.outcomes__body_wrapper {
  padding: 4rem 3.25rem;
  padding-bottom: 2.5rem;
}

.outcomes__body {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 4rem;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.outcomes__summary {
  flex: 0 1 20rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2rem;
}

.outcomes__stats-heading {
  margin: 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0a2540);
}

.outcomes__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  background: var(--text-primary, #0a2540);
  text-decoration: none;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.outcomes__cta:hover {
  opacity: 0.85;
}

.outcomes__stats {
  flex: 1 1 18rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
  row-gap: 1.75rem;
}

.outcomes__stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.outcomes__stat-value {
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text-primary, #0a2540);
}

.outcomes__stat-label {
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text-secondary, #5b6570);
}

.outcomes__quote-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid rgba(10, 37, 64, 0.08);
}

.outcomes__quote {
  margin: 0;
  position: relative;
  flex: 3 1 26rem;
  padding-top: 0;
  padding-left: 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--text-primary, #0a2540);
}

.outcomes__quote-mark {
  position: absolute;
  top: 2px;
  left: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--text-primary, #0a2540);
}

.outcomes__author {
  flex: 0 0 auto;
  text-align: left;
}

.outcomes__author-name {
  margin: 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary, #0a2540);
}

.outcomes__author-role {
  margin: 0.25rem 0 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 400;
  font-size: 1rem;
  color: rgba(10, 37, 64, 0.6);
}

.outcomes__switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.outcomes__logo {
  display: flex;
  align-items: center;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  filter: grayscale(100%);
  opacity: 0.5;
  transition:
    opacity 0.2s ease,
    filter 0.2s ease;
}

.outcomes__logo img {
  display: block;
  width: auto;
}

.outcomes__logo.is-active,
.outcomes__logo:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 900px) {

  .hero{
    margin-top: 80px;
    align-items: center;
    min-height: 100%;
  }
  .outcomes__tabs {
    max-width: none;
    flex-direction: row;
  }

  .outcomes__tab {
    border-top: none;
    border-left: 1px solid #e4e4e7;
  }

  .outcomes__tab:first-child {
    border-left: none;
  }

  .outcomes__tab.is-active {
    border-bottom: 4px solid var(--text-primary, #0a2540);
  }

  .outcomes__body,
  .outcomes__quote-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .outcomes__author {
    text-align: left;
  }
  .outcomes__summary{
    flex:0;
  }
  .outcomes__quote{
    flex:0;
  }
}

@media (max-width: 600px) {
  .outcomes__card {
    display: none;
  }

  .outcomes__list {
    display: flex;
  }

  .outcomes__stats {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ===== capabilities.css ===== */
.capabilities {
  position: relative;
  background: #ffffff;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 4vw, 3rem);
}

.capabilities__head {
  max-width: 48rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin: 0 auto;
  margin-bottom: 3rem;
}

.capabilities__heading {
  margin: 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0a2540);
}

.capabilities__subheading {
  margin: 0;
  max-width: 46.625rem;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary, #5b6570);
}

.capabilities__tabs {
  width: 100%;
  max-width: 75.5rem;
  display: flex;
  background: #f9fafb;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  padding: 0;
  gap: 0;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.capabilities__tab {
  flex: 1 1 0;
  min-width: 0;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text-primary, #0a2540);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.capabilities__tab.is-active {
  background: var(--text-primary, #0a2540);
  color: #ffffff;
  font-weight: 500;
}

.capabilities__card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 85.5rem;
  border-radius: 20px;
  background: #f5f9ff;
  padding: clamp(2rem, 6vw, 5rem);
}

.capabilities__dots {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/counter-dots-pattern.png");
  background-repeat: repeat;
  background-size: 220px;
  opacity: 0.4;
  pointer-events: none;
}

.capabilities__panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.capabilities__panel[hidden] {
  display: none;
}

.capabilities__list {
  display: none;
  position: relative;
  z-index: 1;
  width: 100%;
  flex-direction: column;
  gap: 2.5rem;
}

.capabilities__list-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.capabilities__title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.capabilities__title-label {
  flex: 0 0 auto;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-primary, #0a2540);
}

.capabilities__label-line {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(10, 37, 64, 0.25) 0%, rgba(10, 37, 64, 0) 100%);
}

.capabilities__panel-top {
  position: relative;
  z-index: 1;
  flex: 1 1 20rem;
  max-width: 26rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.capabilities__panel-heading {
  margin: 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1.35;
  color: var(--text-primary, #0a2540);
}

.capabilities__cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem 0 0;
  border: 1px solid var(--text-primary, #0a2540);
  border-radius: 5px;
  text-decoration: none;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-primary, #0a2540);
  transition: opacity 0.2s ease;
}

.capabilities__cta:hover {
  opacity: 0.7;
}

.capabilities__cta img {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
}

.capabilities__stats {
  position: relative;
  z-index: 1;
  flex: 1 1 26rem;
  max-width: 40.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 4rem;
  row-gap: 2.5rem;
}

.capabilities__stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.capabilities__stat-title {
  margin: 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--text-primary, #0a2540);
}

.capabilities__stat-body {
  margin: 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary, #5b6570);
}

@media (max-width: 900px) {
  .capabilities__tab {
    font-size: 1.125rem;
  }

  .capabilities__panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .capabilities__panel-top,
  .capabilities__stats {
    max-width: none;
    flex: 1 1 auto;
  }
}

@media (max-width: 600px) {
  .capabilities__tabs {
    display: none;
  }

  .capabilities__panels {
    display: none;
  }

  .capabilities__list {
    display: flex;
  }

  .capabilities__stats {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ===== enterprise.css ===== */
.enterprise {
  position: relative;
  overflow: hidden;
  background: var(--text-primary, #0a2540);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.enterprise__dots {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/counter-dots-pattern.png");
  background-repeat: repeat;
  background-size: 220px;
  opacity: 0.04;
  pointer-events: none;
}

.enterprise__inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.enterprise__heading {
  margin: 0;
  flex: 1 1 20rem;
  max-width: 24.75rem;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.23;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.enterprise__features {
  flex: 2 1 40rem;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 4vw, 3rem);
}

.enterprise__feature {
  flex: 1 1 12rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.enterprise__icon {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.enterprise__feature-title {
  margin: 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.enterprise__feature-body {
  margin: 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #b7c3d9;
}

@media (max-width: 900px) {
  .enterprise__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .enterprise__heading {
    max-width: none;
    flex: 1 1 auto;
  }
}

/* ===== certifications.css ===== */
.certifications {
  position: relative;
  background: #f9fafb;
  padding: clamp(2rem, 5vw, 3.75rem) 0;
}

.certifications__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.certifications__viewport::before,
.certifications__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(3rem, 10vw, 27.5rem);
  z-index: 1;
  pointer-events: none;
}

.certifications__viewport::before {
  left: 0;
  background: linear-gradient(90deg, #f9fafb 40%, rgba(249, 250, 251, 0) 100%);
}

.certifications__viewport::after {
  right: 0;
  background: linear-gradient(270deg, #f9fafb 40%, rgba(249, 250, 251, 0) 100%);
}

.certifications__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: certifications-scroll 32s linear infinite;
}

.certifications__group {
  display: flex;
  align-items: center;
  gap: 7.5rem;
  margin-right: 7.5rem;
  flex-shrink: 0;
}

.certifications__badge {
  display: block;
  width: auto;
  height: 6.25rem;
}

.certifications__badge--small {
  height: 3.5rem;
}

.certifications__upcoming {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.certifications__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3125rem 0.5rem;
  background: #ffffff;
  border-radius: 6px;
  font-family: "Inter", var(--font-display, "Inter Tight", sans-serif);
  font-weight: 500;
  font-size: 0.5rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary, #0a2540);
  white-space: nowrap;
}

@keyframes certifications-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .certifications__track {
    animation: none;
  }
}

@media (max-width: 600px) {
  .certifications__group {
    gap: 3.5rem;
    margin-right: 3.5rem;
  }

  .certifications__badge {
    height: 4.5rem;
  }

  .certifications__badge--small {
    height: 2.75rem;
  }
}

/* ===== logo-slider.css ===== */
.logo-slider {
  position: relative;
  background: #ffffff;
  padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(3rem, 7vw, 5.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.logo-slider__heading {
  margin: 0;
  text-align: center;
  text-transform: capitalize;
  font-family: "Inter", var(--font-display, "Inter Tight", sans-serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--text-primary, #0a2540);
  margin-bottom: 2rem;
}

.logo-slider__viewport {
  position: relative;
  width: 100%;
  max-width: 83rem;
  overflow: hidden;
}

.logo-slider__viewport::before,
.logo-slider__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2.5rem, 8vw, 12rem);
  z-index: 1;
  pointer-events: none;
}

.logo-slider__viewport::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-slider__viewport::after {
  right: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}

.logo-slider__track {
  display: flex;
  align-items: flex-end;
  width: max-content;
  animation: logo-slider-scroll 26s linear infinite;
}

.logo-slider__group {
  display: flex;
  align-items: flex-end;
  gap: 7.5rem;
  margin-right: 7.5rem;
  flex-shrink: 0;
}

.logo-slider__logo {
  display: block;
  width: auto;
}

@keyframes logo-slider-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-slider__track {
    animation: none;
  }
}

@media (max-width: 600px) {
  .logo-slider__heading {
    font-size: 1.25rem;
    padding: 0 1.5rem;
  }

  .logo-slider__group {
    gap: 3.5rem;
    margin-right: 3.5rem;
  }
}

/* ===== stay-connected.css ===== */
.stay-connected {
  position: relative;
  background: #F9FAFB;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.stay-connected__inner {
  max-width: 92.5rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}

.stay-connected__heading {
  margin: 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0a2540);
}

.stay-connected__grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stay-connected__col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.stay-connected__col--left {
  flex: 1 1 20rem;
}

.stay-connected__col--right {
  flex: 2 1 32rem;
}

.stay-connected__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  flex: 1 1 auto;
}

.stay-connected__row .stay-connected__card {
  flex: 1 1 16rem;
}

/* Card base */
.stay-connected__card {
  position: relative;
  border-radius: 20px;
  border: 1px solid #efeff0;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.stay-connected__card--blog {
  background: #f1f2fe;
  min-height: clamp(20rem, 26vw, 31.25rem);
  flex: 1 1 auto;
}

.stay-connected__card--use-case {
  background: #fdf1ea;
  min-height: clamp(14rem, 18vw, 21.3rem);
  flex: 1 1 auto;
}

.stay-connected__card--newsletter {
  background: #eff7f0;
  min-height: clamp(12rem, 15vw, 18rem);
  justify-content: space-between;
}

.stay-connected__card--article {
  background: #ebf2f9;
  min-height: clamp(22rem, 30vw, 34.5rem);
  justify-content: flex-start;
}

.stay-connected__card--case-study {
  background: #f7f3f1;
  min-height: clamp(22rem, 30vw, 34.5rem);
  justify-content: flex-start;
}

.stay-connected__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 32px;
  background: #ffffff;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-primary, #0a2540);
}

.stay-connected__title {
  margin: 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--text-primary, #0a2540);
}

.stay-connected__card--article .stay-connected__title,
.stay-connected__card--case-study .stay-connected__title {
  font-size: 1.25rem;
}

.stay-connected__desc {
  margin: 0;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: #5c6d7e;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}

.stay-connected__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem 0 0;
  border-radius: 7px;
  border: 1px solid var(--text-primary, #0a2540);
  text-decoration: none;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-primary, #0a2540);
  transition: opacity 0.2s ease;
}

@media (max-width: 900px) {
  .stay-connected__col--left,
  .stay-connected__col--right {
    flex: 1 1 100%;
  }

  .stay-connected__row {
    flex-direction: column;
  }

  .stay-connected__card--article,
  .stay-connected__card--case-study {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .stay-connected__card {
    padding: 1.75rem;
  }

  .stay-connected__title {
    font-size: 1.25rem;
  }
}


/* =====================================================================
   ---- bh-new.css appended below ----
   ===================================================================== */

/* =====================================================================
   page.css — Home page (Figma: "Home NEW", node 11039:5696)
   Bootstrap 5.3.3 is used for grid/layout/utilities. Rules below only
   cover what Bootstrap can't express: exact colors, gradients, card
   treatments, spacing that doesn't map to the default scale, and the
   few interaction states (tabs/accordion) not styled by Bootstrap.

   Font-family declarations here are PROVISIONAL fallbacks for the
   standalone preview. Do not keep them if the site's common/global CSS
   already sets body font-family + heading typography — remove the
   `--bh-font-*` usages below (or simply delete this block) once wired
   into the real site, per the "don't duplicate global CSS" instruction.
   ===================================================================== */

:root {
  --bh-navy: #0a2540;
  --bh-navy-muted: #5b7a99;
  --bh-text-muted: #5b6570;
  --bh-text-muted-2: #5c6d7e;
  --bh-border: #efeff0;
  --bh-bg-soft: #f6f9fc;
  --bh-bg-hero: #f8fbfd;
  --bh-white: #ffffff;

  --bh-font-body: 'Poppins', sans-serif;
  --bh-font-heading: 'Inter Tight', sans-serif;
  --bh-font-accent: 'Lora', serif;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--bh-font-body);
  color: var(--bh-navy);
}


h1, h2, h3, h4, h5,
.bh-hero-title, .bh-section-heading h2, .bh-value-card-title,
.bh-solutions-content-title, .bh-serve-card-title, .bh-blog-card-title,
.bh-stats-quote, .bh-footer-cta-title, .accordion-button {
  font-family: var(--bh-font-heading);
  color: var(--bh-navy);
}

section {
  padding-top: clamp(3rem, 6vw, 6.5rem);
  padding-bottom: clamp(3rem, 6vw, 6.5rem);
}

/* ---------------------------------------------------------------------
   Buttons
--------------------------------------------------------------------- */
.bh-scroll-down{
  color: rgba(10, 37, 64, 0.35);
}
.bh-btn-navy {
  background-color: var(--bh-navy);
  border: 1px solid var(--bh-navy);
  color: #fff;
  border-radius: 8px;
  padding: 0.9rem 1.5rem;
  font-weight: 500;
  font-family: var(--bh-font-heading);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.bh-btn-navy:hover {
  color: #fff;
  background-color: #123a5e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.18);
}

.bh-btn-outline-navy {
  border: 1px solid var(--bh-navy);
  color: var(--bh-navy);
  border-radius: 5px;
  padding: 0.5rem 2rem;
  font-weight: 500;
  font-size: 1rem;
  font-family: var(--bh-font-heading);
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.bh-icon-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: var(--bh-navy);
  color: #fff;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}
.bh-btn-outline-navy:hover {
  color: var(--bh-navy);
  background-color: rgba(10, 37, 64, 0.05);
}
.bh-btn-outline-navy:hover i {
  transform: translateX(3px);
}

.bh-btn-outline-white {
  border: 1px solid #fff;
  color: #fff;
  border-radius: 8px;
  padding: 0.9rem 1.5rem;
  font-weight: 500;
  font-family: var(--bh-font-heading);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.bh-btn-outline-white:hover {
  color: var(--bh-navy);
  background-color: #fff;
  transform: translateY(-2px);
}

.bh-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.bh-tag {
  background: #fff;
  border: 1px solid var(--bh-border);
  border-radius: 19.5px;
  padding:0.3rem 0.5rem;
  font-size: 0.85rem;
  white-space: nowrap;
}
.bh-tag--card {
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1rem;
}
.bh-section-heading{
  width:100%;
}
.bh-section-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 4rem;
}
.bh-section-heading p {
  color: var(--bh-text-muted);
  font-size: 1.25rem;
  max-width: 55rem;
  margin: 0 auto;
  line-height: 2rem;
  font-family: "Inter Tight", sans-serif;
}
.bh-section-heading.text-start p { margin: 0; }

/* ---------------------------------------------------------------------
   1. Header / Navbar
--------------------------------------------------------------------- */
.bh-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--bh-border);
}
.bh-navbar { padding: 0.75rem 0; }
.bh-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--bh-font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--bh-navy);
}
.bh-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--bh-navy), var(--bh-navy-muted));
  display: inline-block;
}
.bh-logo-mark--light { background: linear-gradient(135deg, #fff, var(--bh-navy-muted)); }

.bh-nav-menu .nav-link {
  color: var(--bh-navy);
  font-weight: 400;
  padding: 0.5rem 1.1rem;
  position: relative;
}
.bh-nav-menu .nav-link::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--bh-navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.bh-nav-menu .nav-link:hover::after { transform: scaleX(1); }
.bh-header-cta { padding: 0.6rem 1.25rem; }

/* ---------------------------------------------------------------------
   2. Hero
--------------------------------------------------------------------- */
.bh-hero {
  background: var(--bh-bg-hero);
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
  align-content: center;
  min-height: 100vh;
}
.bh-hero-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.bh-hero-accent {
  font-family: var(--bh-font-accent);
  font-style: italic;
  font-weight: 400;
  display: inline-block;
  transform: skewX(-3deg);
}
.bh-hero-subtext {
  color: var(--bh-text-muted);
  font-size: 1.25rem;
  max-width: 50rem;
  margin: 0 auto 2.5rem;
  line-height: 1.75rem;
}
.bh-hero-cta { font-size: 1.1rem; padding: 1rem 1.75rem; }

.bh-scroll-down {
  display: block;
  margin: 4rem auto 0;
  width: 36px;
  height: 52px;
  border-radius: 50px;
  border: 1px solid rgba(10, 37, 64, 0.35);
  background: transparent;
  color: var(--bh-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bh-bounce 2.2s ease-in-out infinite;
}
@keyframes bh-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .bh-scroll-down { animation: none; }
}

/* ---------------------------------------------------------------------
   3. Value props
--------------------------------------------------------------------- */
.bh-value-card {
  border-radius: 24px;
  border: 1px solid rgba(224, 224, 224, 0.4);
  padding: 2.25rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bh-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
}
.bh-value-card--lg { min-height: 396px; }
.bh-value-card--sm { min-height: 340px; }
.bh-value-card-title {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.bh-value-card-text {
  color: var(--bh-text-muted);
  margin-bottom: 0;
}

.bh-gradient-1  { background: linear-gradient(115deg, #fff9e8 32%, rgba(233,229,251,0.22) 100%); }
.bh-gradient-2  { background: linear-gradient(-34deg, #e7e3fd 0%, rgba(218,211,255,0) 100%); }
.bh-gradient-3  { background: linear-gradient(115deg, rgba(255,201,120,0.35) 0%, #ece0ff 100%); }
.bh-gradient-4  { background: linear-gradient(115deg, rgba(211,228,255,0.2) 0%, #fbfde4 100%); }
.bh-gradient-5  { --bh-serve-bg-solid: #dce6f4; background: linear-gradient(180deg, #dce6f4 0%, rgba(255,255,255,0) 99%); }
.bh-gradient-6  { --bh-serve-bg-solid: #e2ece8; background: linear-gradient(180deg, #e2ece8 0%, rgba(254,254,254,0) 99%); }
.bh-gradient-7  { --bh-serve-bg-solid: #eee9e4; background: linear-gradient(180deg, #eee9e4 0%, rgba(255,255,255,0) 99%); }
.bh-gradient-8  { --bh-serve-bg-solid: #e8e6f1; background: linear-gradient(180deg, #e8e6f1 0%, rgba(254,254,254,0) 99%); }
.bh-gradient-9  { background: #f1f2fe; }
.bh-gradient-10 { background: #ebf2f9; }
.bh-gradient-11 { background: #f7f3f1; }
.bh-gradient-12 { background: #eff7f0; }
.bh-gradient-13 { background: #f9fbe7; }

/* ---------------------------------------------------------------------
   4. Solutions (tabbed pain points section)
--------------------------------------------------------------------- */
.bh-solutions-panel {
  background: var(--bh-solutions-panel-color, var(--bh-bg-soft));
  border-radius: 20px;
  margin-top: 3rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  transition: background-color 0.4s ease;
}
.bh-solutions-tabs {
  gap: 0.35rem;
}
.bh-solutions-tabs .nav-link {
  text-align: left;
  color: rgba(10, 37, 64, 0.65);
  background: transparent;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-family: var(--bh-font-heading);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.bh-solutions-tabs .nav-link:hover {
  background: rgba(255, 255, 255, 0.6);
}
.bh-solutions-tabs .nav-link.active {
  background: #fff;
  color: var(--bh-navy);
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.08);
}
.bh-solutions-content {
  border-radius: 8px;
  padding: 2rem 2.5rem;
  height: 100%;
}
.bh-solutions-content-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  line-height: 3rem;
}
.bh-solutions-feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.bh-solutions-feature-text {
  color: var(--bh-text-muted);
  font-size: 1.1rem;
  line-height: 2rem;
  font-family: "Inter Tight", sans-serif;
}
.bh-solutions-placeholder {
  color: var(--bh-text-muted);
  font-style: italic;
}
.link_wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem auto;
}
.read-more-line {
    flex: 1;
    height: 1px;
    background: #0A2540;
    opacity: 0.25;
}
/* ---------------------------------------------------------------------
   5. Middle CTA (AI banner)
--------------------------------------------------------------------- */
.bh-middle-cta {
  background: var(--bh-navy);
  color: #fff;
}
.bh-middle-cta-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color:#fff;
}
.bh-middle-cta-text {
  color: #b7c3d9;
  font-size: 1.25rem;
  max-width: 44rem;
  margin-bottom: 0;
}
a.btn.bh-btn-outline-navy.bh-icon-btn{
  color: #fff;
  border: 1px solid #fff;
}

/* ---------------------------------------------------------------------
   6. Who we serve
--------------------------------------------------------------------- */
.bh-serve{
  background: #F9FAFB;
}
.bh-serve-group-title {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  margin-top: 3.5rem;
}
.bh-serve-group-badge {
  background: #f9fafb;
  border-radius: 32px;
  padding: 0.6rem 1.25rem;
  font-size: 1.5rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.bh-serve-group-line {
  flex: 1 1 auto;
  min-width: 2.5rem;
  height: 2px;
  border-radius: 2px;
}
/* Gradient colors taken directly from the Figma line assets (Line 49 / Line 50) */
.bh-serve-group-line--residential {
  background: linear-gradient(90deg, #8fb9ef 0%, #f0ba85 100%);
}
.bh-serve-group-line--outpatient {
  background: linear-gradient(90deg, #a6a0dc 0%, #b1dfcc 100%);
}
.bh-serve-card {
  border-radius: 24px;
  padding: 1.75rem;
  height: 100%;
  min-height: 368px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, background-color 0.3s ease;
}
.bh-serve-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
}
.bh-serve-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.bh-serve-card-text {
  color: var(--bh-text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-top:1.5rem;
  line-height: 2rem;
  font-family: "Inter Tight", sans-serif;
}

.bh-serve-card:hover,
.bh-serve-card--open {
  background: var(--bh-serve-bg-solid);
}

/* Card 1 ships with its CTA already revealed, matching the default-open
   state. The other cards keep it collapsed until hovered/focused. */
.bh-serve-card .program-card__cta {
  opacity: 0;
  max-height: 0;
  margin-top: 0 !important;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease;
}
.bh-serve-card:hover .program-card__cta,
.bh-serve-card:focus-within .program-card__cta,
.bh-serve-card--open .program-card__cta {
  opacity: 1;
  max-height: 3rem;
  margin-top: 1rem !important;
  pointer-events: auto;
  transform: translateY(0);
}
/* Only one card should ever look "open" at a time: as soon as another
   card in the same row is hovered/focused, the default-open card
   collapses back like the rest, and restores once the pointer leaves. */
.bh-serve-cards:has(.bh-serve-card:hover, .bh-serve-card:focus-within)
  .bh-serve-card--open:not(:hover):not(:focus-within) {
  background: linear-gradient(180deg, var(--bh-serve-bg-solid) 0%, rgba(255, 255, 255, 0) 99%);
}
.bh-serve-cards:has(.bh-serve-card:hover, .bh-serve-card:focus-within)
  .bh-serve-card--open:not(:hover):not(:focus-within) .program-card__cta {
  opacity: 0;
  max-height: 0;
  margin-top: 0 !important;
  pointer-events: none;
  transform: translateY(8px);
}

/* ---------------------------------------------------------------------
   7. Stats / testimonial
--------------------------------------------------------------------- */
.bh-stats-card {
  background: #fff;
  border: 1px solid var(--bh-border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 3rem;
}
.bh-stats-metric {
  padding: 2rem;
  border-bottom: 4px solid var(--bh-navy);
  background: #ecedff;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.bh-stats-metric:last-child { border-bottom: none; background: transparent; }
.bh-stats-index {
  font-size: 1.25rem;
  color: var(--bh-navy);
  font-weight: 500;
  order: 2;
}
.bh-stats-number {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  order: 1;
}
.bh-stats-number--sm { font-size: 1.5rem; display: block; }
.bh-stats-number--placeholder { opacity: 0.45; }
.bh-stats-label {
  font-size: 1rem;
  color: var(--bh-navy);
  order: 3;
  flex-basis: 100%;
}
.bh-stats-testimonial {
  padding: clamp(1.5rem, 3vw, 3rem);
}
.bh-stats-testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.bh-stats-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bh-bg-soft);
  border: 1px solid var(--bh-border);
  display: inline-block;
  flex-shrink: 0;
}
.bh-stats-brand { font-weight: 600; margin-bottom: 0; }
.bh-stats-brand-sub { font-size: 0.85rem; color: rgba(10,37,64,0.6); margin-bottom: 0; }
.bh-stats-quote {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.bh-stats-author { font-size: 0.95rem; margin-bottom: 2rem; }
.bh-stats-author span { color: rgba(10,37,64,0.6); font-weight: 400; }
.bh-stats-panel-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.bh-stats-panel-grid { margin-bottom: 1.5rem; }
.bh-stats-panel-label { color: var(--bh-text-muted); font-size: 0.9rem; margin-bottom: 0; }
.bh-stats-cta { padding: 0.75rem 1.5rem; }

/* ---------------------------------------------------------------------
   8. Stay connected (blog cards)
--------------------------------------------------------------------- */
.bh-blog-card {
  border: 1px solid var(--bh-border);
  border-radius: 24px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bh-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
}
.bh-blog-card-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.bh-blog-card-text {
  color: var(--bh-text-muted-2);
  font-size: 0.95rem;
  flex-grow: 1;
}
.bh-blog-card--wide { min-height: 333px; justify-content: center; }

/* ---------------------------------------------------------------------
   9. FAQ accordion
--------------------------------------------------------------------- */
.bh-accordion { margin-top: 3rem; }
.bh-accordion .accordion-item {
  border: 1px solid rgba(209, 211, 214, 0.5);
  border-radius: 8px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}
.bh-accordion .accordion-button {
  font-weight: 500;
  font-size: 1.1rem;
  padding: 1.5rem;
}
.bh-accordion .accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--bh-navy);
  box-shadow: none;
}
.bh-accordion .accordion-button:focus { box-shadow: none; }
.bh-accordion .accordion-body {
  color: var(--bh-text-muted);
  padding: 0 1.5rem 1.5rem;
  line-height: 2rem;
}

/* ---------------------------------------------------------------------
   10. Footer
--------------------------------------------------------------------- */
.bh-footer {
  background: var(--bh-navy);
  color: rgba(246, 249, 252, 0.8);
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: 2.5rem;
}
.bh-footer-cta { padding-bottom: clamp(2rem, 5vw, 4rem); }
.bh-footer-cta-title {
  color: #fff;
  font-size: clamp(1.75rem, 3.2vw, 3.25rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0;
}
.bh-footer-cta-title-muted { color: var(--bh-navy-muted); }
.bh-footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.bh-footer-links {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.bh-footer-links h5 {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.bh-footer-col-label {
  color: #5b7a99;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 1rem 0 0.5rem;
}
.bh-footer-links ul { margin-bottom: 0; }
.bh-footer-links li { margin-bottom: 0.6rem; }
.bh-footer-links a {
  color: rgba(246, 249, 252, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.bh-footer-links a:hover { color: #fff; }

.bh-footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 1rem 0 2rem;
}
.bh-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-family: var(--bh-font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
}
.bh-footer-social { margin-bottom: 0; }
.bh-footer-social a {
  color: rgba(246, 249, 252, 0.8);
  font-size: 1.1rem;
  margin-left: 1rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.bh-footer-social a:hover { color: #fff; transform: translateY(-2px); }
.bh-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.85rem;
  justify-content: center;
}
.bh-footer-legal a { color: rgba(246, 249, 252, 0.8); text-decoration: none; }
.bh-footer-legal a:hover { color: #fff; }

/* ---------------------------------------------------------------------
   Responsive tweaks
--------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .bh-nav-menu { text-align: center; margin: 1rem 0; }
  .bh-header-cta { display: inline-block; margin: 0 auto; }
  .bh-solutions-tabs { flex-direction: row !important; flex-wrap: wrap; margin-bottom: 1.5rem; }
  .bh-solutions-tabs .nav-link { flex: 1 1 auto; text-align: center; }
  .bh-footer-legal { justify-content: flex-start; }
  .bh-footer-social { text-align: left !important; margin-top: 1rem; }
  .bh-hero{
    margin-top: 6rem;
    min-height: 100%;
  }
}

@media (max-width: 575.98px) {
  .bh-value-card, .bh-serve-card, .bh-blog-card { padding: 1.5rem; }
  .bh-stats-metric { padding: 1.5rem; }
}
