.carousel-container {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  padding-top: 16px;
}

.carousel-track {
  display: flex;
  gap: 24px;
  animation: scroll 20s linear infinite;
  width: 100%;
}

.carousel-track:hover {
  animation-play-state: paused;
}

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

.review-card {
  flex: 0 0 350px;
  background: white;
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.3s ease;
  border: 1px solid silver;
}

.review-card:hover {
  transform: translateY(-8px);
}

.card-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  border-radius: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 12px;
}

.card-description {
  font-size: 0.875rem;
  color: #718096;
  line-height: 1.6;
}

/* Mobile styles */

@media (max-width: 768px) {
  .carousel-track {
    flex-direction: column;
    animation: scrollVertical 20s linear infinite;
    width: fit-content;
  }
}

@keyframes scrollVertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@media (max-width: 768px) {
  .review-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.25rem;
    margin-bottom: 30px;
  }
}

@media (min-width: 769px) {
  .carousel-track {
    padding-right: 24px;
  }
}

