.review-carousel {
    overflow: hidden;
    width: 100%;
    margin: auto;
    padding: 20px 0;
    background-color: none;
}

.carousel-container {
    display: flex;
    animation: scroll 30s linear infinite;
}

.review-card {
    flex-shrink: 0;
    /* Prevents the cards from shrinking */
    min-width: 300px;
    max-width: 300px;
    /* Keeps each card a consistent width */
    margin-right: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    text-align: center;
    background-color: white;
    overflow: hidden;
    /* Ensures content stays within the card */
    white-space: normal;
    /* Allows text to wrap */
}

.review-card h3 {
    margin: 0;
    font-size: 1.2em;
}

.stars {
    font-size: 1.5em;
    color: #5f0;
    margin: 10px 0;
}

.review-card p {
    font-size: 1em;
    color: #555;
}

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}