.feedbacks-section {
    background: var(--bg-color);
    overflow: hidden;
    padding: 80px 0;
}

.feedbacks-marquee {
    width: 100%;
    padding: 20px 0;
    position: relative;
    display: flex;
    overflow: hidden;
}

/* Gradient Masks for smooth edges */
.feedbacks-marquee::before,
.feedbacks-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15rem;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.feedbacks-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.feedbacks-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.marquee-inner {
    display: flex;
    gap: 32px;
    width: fit-content;
    animation: feedbackScrollRight 60s linear infinite;
}

/* Pause on hover */
.feedbacks-marquee:hover .marquee-inner {
    animation-play-state: paused;
}

.feedback-card {
    width: 380px;
    flex-shrink: 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.feedback-quote-icon {
    margin-bottom: 24px;
}

.feedback-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.feedback-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 32px;
    flex-grow: 1;
}

.feedback-user {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.user-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.user-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.user-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.user-role-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-country-flag {
    width: 20px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@keyframes feedbackScrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .feedback-card {
        width: 300px;
        padding: 24px;
    }

    .feedbacks-marquee::before,
    .feedbacks-marquee::after {
        width: 5rem;
    }
}