.hero-spacer {
  height: calc(100vh * 7);
}

.hero-section {
  position: fixed;
  inset: 0;
  background-color: #F5F3EF;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.scroll-texts {
  width: 100%;
  position: relative;
  height: auto;
}

.text-item {
  font-size: 32px;
  font-weight: bold;
  opacity: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.6s ease, transform 0.6s ease;
  white-space: nowrap;
}

.text-item.active {
  opacity: 1;
  z-index: 1;
}

.text-item.previous {
  opacity: 0;
  transform: translate(-50%, -200%);
  z-index: 0;
}

.section-two {
  background-color: #ffffff;
  padding: 20px 20px 20px;
  text-align: center;
  box-shadow:
    0 -6px 8px rgba(0, 0, 0, 0.1),
    0 -12px 20px rgba(0, 0, 0, 0.15),
    0 -18px 40px rgba(0, 0, 0, 0.07);
  position: relative;
  z-index: 23;
  transform: translateY(100px);
  transition: transform 1s ease;
  border-radius: 24px 24px 0 0;
}

.section-two.visible {
  transform: translateY(0);
}

.section-two h1 {
  font-size: 28px;
  margin-bottom: 24px;
  color: #A65A38;
}

.section-two p {
  font-size: 24px;
  color: #444;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 24px;
  font-family: bold;
}

@media (max-width: 768px) {
  .text-item {
    font-size: 22px;
    padding: 0 1px;
    white-space: normal;
    max-width: 95vw;
    line-height: 1.8;
    text-align: center;
  }
  .hero-spacer {
  height: calc(100vh * 6);
}

  .section-two h1 {
    font-size: 22px;
  }

  .section-two p {
    font-size: 16px;
    padding: 0 10px;
    font-family: bold;
  }
}
.text-item.reverse {
  opacity: 0;
  transform: translate(-50%, 200px);
  z-index: 0;
}






.scroll-indicator {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transition: opacity 0.5s;
  pointer-events: none;
  user-select: none;
}

.scroll-indicator .arrows {
  font-size: 28px;
  color: #A65A38;
  line-height: 1;
  margin-bottom: 2px;
}

.scroll-indicator .scroll-text {
  font-size: 18px;
  color: #A65A38;
  font-weight: bold;
  letter-spacing: 1px;
}

.scroll-indicator.hide {
  opacity: 0;
  transition: opacity 0.5s;
}

@media (max-width: 768px) {
  .scroll-indicator .arrows {
    font-size: 22px;
  }
  .scroll-indicator .scroll-text {
    font-size: 14px;
  }
  .scroll-indicator {
    bottom: 18px;
  }
}

.scroll-indicator .arrow-svg {
  margin-bottom: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: bounce 1.2s infinite ease-out;
}


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

.highlighted-main {
  display: block;
  color: #A65A38;
  margin-top: 8px;
  font-weight: bold;
}

.highlighted-accent {
  color: #A65A38;
  font-weight: bold;
  display: block;
  margin-top: 8px;
}
