.text-section {
  position: relative;
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  background-color: var(--primary-rose);
  overflow: hidden;
}

.text-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(201, 162, 160, 0.3) 0%,
    rgba(212, 175, 135, 0.3) 100%
  );
  z-index: 1;
}

.text-container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.infinite-scroll {
  position: relative;
  width: 100%;
  height: 10rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0;
}

.infinite-scroll::before,
.infinite-scroll::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.infinite-scroll::before {
  left: 0;
  background: linear-gradient(to right, var(--primary-rose), transparent);
}

.infinite-scroll::after {
  right: 0;
  background: linear-gradient(to left, var(--primary-rose), transparent);
}

.scroll-content {
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: scrollText 40s linear infinite;
}

.scroll-content li {
  list-style: none;
  white-space: nowrap;
  padding: 0 4rem;
  flex-shrink: 0;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.word {
  font-family: var(--font-heading);
  font-size: var(--fs-display-2xl);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

.word-outline {
  color: transparent;
  -webkit-text-stroke: 0.125rem var(--neutral-light);
}

.word-filled {
  color: var(--neutral-light);
}

@media (max-width: 1024px) {
  .infinite-scroll {
    height: 9rem;
  }

  .scroll-content li {
    padding: 0 3.5rem;
  }

  .word {
    font-size: var(--fs-display-xl);
  }
}

@media (max-width: 900px) {
  .infinite-scroll {
    height: 8rem;
  }

  .scroll-content li {
    padding: 0 3rem;
  }

  .word {
    font-size: var(--fs-display-lg);
  }
}

@media (max-width: 768px) {
  .infinite-scroll {
    height: 7rem;
  }

  .scroll-content li {
    padding: 0 2.5rem;
  }

  .word {
    font-size: var(--fs-h1);
  }
}

@media (max-width: 480px) {
  .infinite-scroll {
    height: 6rem;
  }

  .scroll-content li {
    padding: 0 2rem;
  }

  .word {
    font-size: var(--fs-h2);
  }
}

@media (max-width: 375px) {
  .infinite-scroll {
    height: 5rem;
  }

  .scroll-content li {
    padding: 0 1.5rem;
  }

  .word {
    font-size: var(--fs-h3);
  }
}

/* Text Section 2 */
.text-section-2 {
  position: relative;
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  background: var(--accent-deep);
  overflow: hidden;
}

.text-section-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(139, 111, 111, 0.3) 0%,
    rgba(201, 162, 160, 0.3) 100%
  );
  z-index: 1;
}

.text-container-2 {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.infinite-scroll-2 {
  position: relative;
  width: 100%;
  height: 10rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0;
}

.infinite-scroll-2::before,
.infinite-scroll-2::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.scroll-content-2 {
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: scrollTextReverse 40s linear infinite;
}

.scroll-content-2 li {
  list-style: none;
  white-space: nowrap;
  padding: 0 4rem;
  flex-shrink: 0;
}

@keyframes scrollTextReverse {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

.word-2 {
  font-family: var(--font-heading);
  font-size: var(--fs-display-2xl);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

.word-outline-2 {
  color: transparent;
  -webkit-text-stroke: 0.125rem var(--neutral-light);
}

.word-filled-2 {
  color: var(--neutral-light);
}

@media (max-width: 1024px) {
  .infinite-scroll-2 {
    height: 9rem;
  }

  .scroll-content-2 li {
    padding: 0 3.5rem;
  }

  .word-2 {
    font-size: var(--fs-display-xl);
  }
}

@media (max-width: 900px) {
  .infinite-scroll-2 {
    height: 8rem;
  }

  .scroll-content-2 li {
    padding: 0 3rem;
  }

  .word-2 {
    font-size: var(--fs-display-lg);
  }
}

@media (max-width: 768px) {
  .infinite-scroll-2 {
    height: 7rem;
  }

  .scroll-content-2 li {
    padding: 0 2.5rem;
  }

  .word-2 {
    font-size: var(--fs-h1);
  }
}

@media (max-width: 480px) {
  .infinite-scroll-2 {
    height: 6rem;
  }

  .scroll-content-2 li {
    padding: 0 2rem;
  }

  .word-2 {
    font-size: var(--fs-h2);
  }
}

@media (max-width: 375px) {
  .infinite-scroll-2 {
    height: 5rem;
  }

  .scroll-content-2 li {
    padding: 0 1.5rem;
  }

  .word-2 {
    font-size: var(--fs-h3);
  }
}
