.section {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
}
.bg {
  position: absolute;
  inset: 0;
  background: url('/wp-content/uploads/2026/03/passport.webp') center/cover no-repeat;
}
.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.38) 40%,
      rgba(0, 0, 0, 0.68) 100%);
}
.layout {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10%;
}
/* SERVICES WRAPPER */
.services {
  display: flex;
  align-items: flex-start;
  height: 360px;
  width: 40%;
}
.section_flex {
  display: flex;
  position: relative;
}
/* ── DOT LINE — only 4 dots, fixed beside content ── */
.dot-line {
  position: relative;
  width: 18px;
  height: 560px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}
.dot-line::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  z-index: 1;
  flex-shrink: 0;
}
.dot.filled {
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.88);
}
.dot.hollow {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
/* ── CONTENT — scrollable, shows 3 items ── */
.content {
  width: 520px;
  height: 560px;
  overflow-y: scroll;
  padding-left: 15%;
  padding-right: 20%;
  scroll-snap-type: y mandatory;
  /* hide native scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.content::-webkit-scrollbar {
  display: none;
}
.item {
  height: 190px;
  padding: 0px 0 10px 0px;
  border-bottom: 1px solid #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex-shrink: 0;
  opacity: 1;
  scroll-snap-align: start;
  transition: opacity 0.3s;
}
.item:last-child {
  border-bottom: none;
}
.item.active {
  opacity: 1;
}
.item h3 {
  font-family: var(--Red-Hat-Display);
  font-size: var(--font-h6);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 6px;
}
/* .item.active h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
} */
.item p {
  font-size: 16px;
  line-height: 1.3em;
  color: #ffffff;
  font-family: var(--Neue-Montreal-Regular);
  font-weight: 400;
  margin-bottom: 8px;
  overflow: hidden;
}
.arrow-btn {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  background: #fff;
  color: #000;
  cursor: pointer;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
}
/* ── CUSTOM SCROLLBAR — right side ── */
.scrollbar {
  width: 2px;
  height: 560px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  margin-left: 18px;
  position: relative;
}
.scrollbar-thumb {
  position: absolute;
  top: 0;
  left: -4px;
  width: 10px;
  border-radius: 0px;
  background: rgba(255, 255, 255, 0.7);
  transition: top 0.1s linear;
}

@media (max-width: 1024px) {
  .services {
    width: 60%;
  }
  .section {
    height: 800px;
  }
  .layout {
    align-items: start;
    padding-top: 10%;
  }
}


@media (max-width: 767px) {
  .section {
    height: 90vh;
  }
  .services {
    width: 90%;
  }
  .content {
    padding-left: 6%;
    padding-right: 2%;
  }
}