#avaliacoes {
  width: 100%;
  padding-top: 10%;
  display: flex;
  justify-content: center;
}

.avaliacoes-wrapper {
  width: 100%;
  max-width: 1200px;
}

.titulo-avaliacoes {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
}

.sub-titulo-avaliacoes {
  margin-bottom: 40px;
  text-align: center;
}

.scroll-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
  height: 500px;
}

.coluna-cards {
  overflow: hidden;
  height: 100%;
}

.scroll-content {
  display: flex;
  flex-direction: column;
  animation: scrollUpInfinite 20s linear infinite;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 300px;
  margin-bottom: 20px;
}

.testimonials-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 500px;
  overflow: hidden;
  position: relative;
}

@keyframes scrollUpInfinite {
  0% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(-50%);
  }
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  color: #2b2929;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover::after {
  opacity: 1;
}

.author {
  margin-top: 16px;
  font-size: 14px;
}

.author-name {
  font-weight: bold;
  display: block;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(-100%);
  }
}

@media (max-width: 1024px) {
  .scroll-container {
    flex-direction: column;
    align-items: center;
    display: block;
    justify-content: center;
  }

  .testimonial-card {
    width: 100%;
  }

  .coluna-cards {
    width: 100%;
    max-width: 400px;
    margin-bottom: 0;
  }

  .scroll-content {
    animation: scrollUpInfinite 20s linear infinite;
    display: block;
    flex-direction: column;
  }

  .titulo-avaliacoes {
    font-size: 1.8rem;
    text-align: left;
  }

  .sub-titulo-avaliacoes {
    font-size: 18px;
    text-align: left;
  }
}