.clients-section {
    padding: 80px 0;
    overflow: hidden;
    background-color: #f9f9fb;
}

.client-section-h3 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #111;
}

.client-review-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    user-select: none;
    display: flex;
}

.client-review-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.client-review-marquee:hover .client-review-track {
    animation-play-state: paused;
}

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

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

.client-review-card {
    width: calc(25vw - 30px);
    /* 4 cards per width on desktop */
    margin: 0 15px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.client-review-card:hover {
    transform: scale(.97);
}

.video-thumbnail-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-thumbnail-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.client-tag {
    position: absolute;
    bottom: 15px;
    right: 0;
    background: #ffcc00;
    color: #000;
    padding: 6px 15px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-info {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.client-avatar img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.client-details {
    overflow: hidden;
}

.client-details strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 2px;
}

.client-details p {
    font-size: 13px;
    color: #666;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1200px) {
    .client-review-card {
        width: calc(50vw - 30px);
    }
}

@media (max-width: 768px) {
    .client-review-card {
        width: calc(100vw - 40px);
        margin: 0 20px;
    }

    .client-section-h3 {
        font-size: 32px;
        padding: 0 20px;
    }

    .client-review-track {
        animation-duration: 20s;
    }
        .group-level-left-h3{
            font-size: 32px;
        }
}