.bg-checkered {
    background-image:
        linear-gradient(45deg, #f3f4f6 25%, transparent 25%),
        linear-gradient(-45deg, #f3f4f6 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f3f4f6 75%),
        linear-gradient(-45deg, transparent 75%, #f3f4f6 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll-infinite {
    animation: scroll-infinite 15s linear infinite;
}

/* Modern Testimonials Styles */
.testimonials-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 122, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 122, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.testimonials-decorative-element {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9500 100%);
    position: relative;
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.3);
}

.testimonials-decorative-element::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.testimonials-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    text-align: center;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-title-accent {
    display: block;
    font-weight: 600;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-title-main {
    display: block;
}

.testimonials-slider-wrapper {
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 32px;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.testimonial-card {
    flex-shrink: 0;
    width: 700px;
    max-width: 90vw;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 122, 0, 0.02) 0%, rgba(255, 149, 0, 0.02) 100%);
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.12),
        0 12px 32px rgba(0, 0, 0, 0.06);
}

.testimonial-quote-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.5;
    color: #475569;
    margin: 0 0 32px 0;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.testimonial-text strong {
    color: #1e293b;
    font-weight: 600;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar-glow {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(8px);
}

.testimonial-avatar-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.testimonial-avatar-orange .testimonial-avatar-glow {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 2px 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.testimonial-author-role {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 4px 0;
    line-height: 1.4;
    font-weight: 500;
}

.testimonial-stars {
    font-size: 16px;
    color: #fbbf24;
    letter-spacing: 2px;
}

.testimonials-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 60px;
}

.testimonial-nav-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: #475569;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.testimonial-nav-btn:hover:not(.testimonial-nav-btn-disabled) {
    background: linear-gradient(135deg, #ff7a00 0%, #ff9500 100%);
    border-color: #ff7a00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 122, 0, 0.3);
}

.testimonial-nav-btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.testimonials-indicators {
    display: flex;
    gap: 12px;
    align-items: center;
}

.testimonial-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.testimonial-indicator:hover {
    background: #94a3b8;
    transform: scale(1.2);
}

.testimonial-indicator-active {
    background: linear-gradient(135deg, #ff7a00 0%, #ff9500 100%);
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.4);
}

.testimonials-cta {
    text-align: center;
    margin-top: 48px;
}

.testimonials-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.3);
}

.testimonials-view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(30, 41, 59, 0.4);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 0;
    }

    .testimonials-container {
        padding: 0 16px;
    }

    .testimonials-header {
        margin-bottom: 60px;
        flex-direction: column;
        gap: 24px;
    }

    .testimonials-decorative-element {
        width: 40px;
        height: 40px;
    }

    .testimonials-decorative-element::before {
        width: 20px;
        height: 20px;
    }

    .testimonial-card {
        width: 320px;
        padding: 24px;
    }

    .testimonial-text {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .testimonial-avatar {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .testimonial-author-name {
        font-size: 18px;
    }

    .testimonial-author-role {
        font-size: 14px;
    }

    .testimonials-navigation {
        margin-top: 40px;
        gap: 16px;
    }

    .testimonial-nav-btn {
        width: 48px;
        height: 48px;
    }

    .testimonials-cta {
        margin-top: 32px;
    }

    .testimonials-view-all-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}