.spacer {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #444;
}

/* horizontal section */
.horizontal-section {
  position: relative;
  width: 100%;
  height: 100vh; /* pinned viewport height */
  overflow: hidden;
  /* background: #0f172a; */
  color: white;
}

.horizontal-wrapper {
  display: flex;
  height: 100%;
  /* will-change: transform; */
  overflow: visible;
  padding: 6% 0%;
}

.panel {
  flex: 0 0 100vw; /* each panel is full viewport width */
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(20px, 4vw, 48px);
  /* padding: 2rem; */
}
.panel img {
  border-radius: 5px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.panel-content {
  max-width: 900px;
  text-align: center;
}

/* responsive: on small screens we let native horizontal scroll (no pin) */
@media (max-width: 640px) {
  .horizontal-section {
    height: auto;
    position: static;
    overflow: auto;
    padding: 2rem 0;
  }
  .horizontal-wrapper {
    display: block;
  }
  .panel {
    width: 90%;
    margin: 0 auto 1rem;
    flex: none;
    border-radius: 12px;
  }
}
