.reviews-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #23242a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 34, 34, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 34, 34, 0.05) 0%, transparent 50%);
    animation: gradientMove 15s ease-in-out infinite;
}

.reviews-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-container::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    scroll-snap-align: start;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 34, 34, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.review-card:hover::before {
    transform: translateX(100%);
}

.review-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 34, 34, 0.3);
}

.review-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid #ff2222;
    transition: all 0.3s ease;
    filter: grayscale(50%);
}

.review-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.1) rotate(5deg);
}

.review-card h5 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.review-card h5::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ff2222;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.review-card:hover h5::after {
    width: 100%;
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
}

.stars::before {
    content: '★★★★★';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: rgba(255, 215, 0, 0.2);
}

.review-card p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

.review-card::after {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255, 34, 34, 0.1);
    font-family: serif;
    line-height: 1;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

/* Auto-scroll animation */
@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.reviews-container {
    animation: scrollReviews 30s linear infinite;
}

.reviews-container:hover {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 992px) {
    .review-card {
        flex: 0 0 280px;
    }
}

@media (max-width: 576px) {
    .reviews-section {
        padding: 60px 0;
    }

    .review-card {
        flex: 0 0 260px;
        padding: 20px;
    }

    .review-card img {
        width: 60px;
        height: 60px;
    }

    .review-card h5 {
        font-size: 1.1rem;
    }

    .review-card p {
        font-size: 0.9rem;
    }
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,1.56,.64,1), transform 0.7s cubic-bezier(.4,1.56,.64,1);
}
.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
} 