.testimonial-wrapper {
    padding-bottom: 60px;
}

.testimonial-row {
    display: flex;
    gap: 18px;
    animation: scroll-left 40s linear infinite;
    margin-bottom: 40px;
}

.testimonial-card {
    background: #1f2937;
    border-radius: 12px;
    padding: 14px;
    min-width: 240px;
    max-width: 240px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    text-align: left;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    border-color: #3b82f6;
}

.testimonial-card img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    float: left;
    margin-right: 12px;
    box-shadow: 0 0 0 2px #1f2937;
    border: 2px solid #374151;
}

.testimonial-card h4 {
    font-size: 15px;
    margin: 0;
    color: #ffffff;
}

.stars {
    font-size: 15px;
    color: #fbbf24;
    margin: 4px 0;
}

.testimonial-card p {
    font-size: 13px;
    color: #d1d5db;
    margin-top: 10px;
    clear: both;
}

.fade {
    position: absolute;
    top: 0;
    bottom: 60px;
    width: 80px;
    z-index: 5;
    pointer-events: none;
}

.fade-left {
    left: 0;
    background: linear-gradient(to right, #111827, transparent);
}

.fade-right {
    right: 0;
    background: linear-gradient(to left, #111827, transparent);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .testimonial-card {
        min-width: 190px;
        max-width: 190px;
    }
}

/* Custom styles for the badge in your dark theme */
.badge-container {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    width: fit-content;
    margin: 12px 0;
}

.avatar-group {
    display: flex;
    overflow: hidden;
    width: 110px;
}

.avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgb(61, 250, 61);
    margin-left: -5px;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.avatar:first-child {
    margin-left: 0;
}

.badge-text {
    color: #D1D5DB;
    font-size: 14px;
    font-weight: 400;
}

.project-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.modal-transition {
    transition: opacity 0.3s ease, transform 0.3s ease;
}