/* ===== "Why BSBH Services" sticky + timeline section ===== */
#about { padding: 100px 0 40px; }

.why-left { position: sticky; top: 92px; }
.why-left .h2-lg { font-size: 1.85rem; margin-bottom: 12px; }
.why-left .lead-text { font-size: .98rem; margin-bottom: 0; }
.why-figure { margin: 18px 0 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); line-height: 0; }
.why-figure img { width: 100%; height: auto; max-height: 240px; object-fit: cover; display: block; }
.why-left .btn-lg { padding: .55rem 1.2rem; }

.why-timeline { position: relative; padding-left: 0; }
.why-list { list-style: none; margin: 0; padding: 0; }

/* dotted line: base track + gradient fill that grows on scroll */
.why-timeline::before,
.why-line-fill {
  content: "";
  position: absolute;
  left: 22px;
  top: 38px;
  width: 4px;
  margin-left: -2px;
  border-radius: 4px;
}
.why-timeline::before {
  bottom: 38px;
  background: radial-gradient(circle, #9db8d0 1.7px, transparent 2.2px) center top / 4px 14px repeat-y;
}
.why-line-fill {
  height: calc((100% - 76px) * var(--p, 0));
  background: radial-gradient(circle, #0ea5e9 2px, transparent 2.6px) center top / 4px 14px repeat-y;
  filter: drop-shadow(0 0 4px rgba(14, 165, 233, .5));
  z-index: 1;
}

.why-item { position: relative; padding-left: 66px; margin-bottom: 28px; }
.why-item:last-child { margin-bottom: 0; }

/* icon sits outside the card, on the dotted line */
.why-icon {
  position: absolute;
  left: 0;
  top: 16px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  color: #5a7a96;
  border: 2px solid #cfdbe7;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  z-index: 2;
  box-shadow: 0 0 0 5px #fff;
  transition: background .35s, color .35s, border-color .35s, transform .35s, box-shadow .35s;
}
.why-item.is-in .why-icon {
  background: var(--g-icon);
  color: #fff;
  border-color: transparent;
  transform: scale(1.06);
  box-shadow: 0 0 0 7px #fff, 0 12px 24px rgba(14, 165, 233, .35);
}

/* connector from line to card */
.why-item::before {
  content: "";
  position: absolute;
  left: 48px;
  top: 38px;
  width: 14px;
  border-top: 2px dotted #9db8d0;
  z-index: 1;
}

.why-card {
  position: relative;
  background: #fff;
  border: 1px solid #e3ebf2;
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: 0 4px 16px rgba(7, 33, 58, .05);
  opacity: 0;
  transform: translateX(34px);
  transition: opacity .6s ease, transform .6s ease, box-shadow .25s, border-color .25s;
}
.why-item.is-in .why-card { opacity: 1; transform: none; }
.why-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.why-card h3 { font-size: 1.12rem; margin: 0 0 6px; }
.why-card p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (prefers-reduced-motion: reduce) {
  .why-card { opacity: 1; transform: none; transition: none; }
  .why-item .why-icon { transition: none; }
}
