.reviews-section {
    padding: 3rem 0 2.5rem;
    background-color: var(--section-bg, #fff);
    overflow: hidden;
}

/* Marquee Wrapper */
.marquee-w {
    position: relative;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 2rem 0 0.5rem;
}

/* Faded Edges Gradient */
.marquee-w::before,
.marquee-w::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.marquee-w::before {
    left: 0;
    background: linear-gradient(to right, var(--section-bg, #fff) 0%, transparent 100%);
}

.marquee-w::after {
    right: 0;
    background: linear-gradient(to left, var(--section-bg, #fff) 0%, transparent 100%);
}

/* Marquee Content */
.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee-scroll 220s linear infinite;
    align-items: center;
}

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

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

/* Review Card Styles - Adapted for Logos/Images */
.review-item {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    opacity: 0.6;
    filter: grayscale(1);
    margin-right: 4rem;
}

.review-item:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}

.brand-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Admin Actions */
.add-review-wrapper {
    margin-top: 3rem;
}

.add-review-btn {
    background: rgba(136, 168, 136, 0.1);
    border: 1px dashed #88a888;
    color: #88a888;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.add-review-btn:hover {
    background: rgba(136, 168, 136, 0.2);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-section {
        padding: 0rem 0 1.5rem;
    }

    .marquee-content {
        animation: marquee-scroll 50s linear infinite;
        /* Increased speed slightly */
    }

    .marquee-w {
        position: relative;
        width: 100vw;
        margin-left: 50%;
        transform: translateX(-50%);
        padding: 0rem 0 0.5rem;
        left: auto;
        right: auto;
    }

    .review-item {
        width: 140px;
        /* Slightly smaller to fit closer */
        height: 70px;
        margin-right: 0.75rem;
        /* Much closer together */
    }

    .marquee-w::before,
    .marquee-w::after {
        width: 80px;
    }
}