/* Clients and Partners Section Styles */


/* ================================================= */
/* CLIENTS & PARTNERS SECTION */
/* ================================================= */

.clients-partners-section {
    background: linear-gradient(170deg, rgba(255, 255, 255, 1) 0%, rgb(244 58 9 / 15%) 100%);
    overflow: hidden;
    overflow-x: hidden !important;
    font-family: var(--font-primary);
    position: relative;
    padding: 10px 0;
}

[data-theme="dark"] .clients-partners-section {
    background: linear-gradient(180deg, 
        rgba(26, 26, 26, 0.4) 0%, 
        rgba(35, 35, 35, 0.6) 50%, 
        rgba(30, 30, 30, 0.5) 100%);
}

.clients-partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(244, 58, 9, 0.15) 25%, 
        rgba(244, 58, 9, 0.3) 50%, 
        rgba(244, 58, 9, 0.15) 75%, 
        transparent 100%);
}

/* Section Header */
.clients-section-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.clients-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-top: 32px;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
    position: relative;
}

.clients-title .accent {
    background: var(--color-primary);;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    position: relative;
    display: inline-block;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(10deg); }
}

.clients-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    font-weight: 300;
    opacity: 0.75;
    position: relative;
    padding: 0;
}

.clients-description::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
}

/* Partnership Info Section */
.partnership-info {
    background: linear-gradient(135deg, 
        rgba(244, 58, 9, 0.08) 0%, 
        rgba(255, 183, 102, 0.06) 50%, 
        rgba(194, 237, 218, 0.04) 100%);
    padding: 20px 0;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.partnership-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle at center, 
        rgba(244, 58, 9, 0.03) 0%, 
        transparent 70%);
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.partnership-text {
    font-size: 1.35rem;
    line-height: 1.8;
    text-align: center;
    font-weight: 400;
    color: var(--text-primary);
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.partnership-highlight {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin: 0 0.5rem;
    white-space: nowrap;
}

/* Clients Logo Slider */
.clients-logos-section {
    margin: 60px 0;
    padding: 0;
}

.clients-logos-title {
    font-size: 2.8rem;
    font-weight: 300;
    text-align: center;
    margin: 0;
    padding: 0 2rem 40px;
    color: var(--text-primary);
    opacity: 0.9;
    letter-spacing: -0.01em;
}

.clients-slider {
    position: relative;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin: 0 -50vw 0 -50vw;
    left: 50%;
    right: 50%;
    width: 100vw;
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Gradient Fade Overlays */
.clients-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(to right, 
        var(--bg-primary) 0%, 
        rgba(255, 255, 255, 0.8) 30%, 
        transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.clients-slider::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(to left, 
        var(--bg-primary) 0%, 
        rgba(255, 255, 255, 0.8) 30%, 
        transparent 100%);
    z-index: 10;
    pointer-events: none;
}

/* Dark theme overlays */
[data-theme="dark"] .clients-slider::before {
    background: linear-gradient(to right, 
        var(--bg-primary) 0%, 
        rgba(26, 32, 46, 0.9) 30%, 
        transparent 100%);
}

[data-theme="dark"] .clients-slider::after {
    background: linear-gradient(to left, 
        var(--bg-primary) 0%, 
        rgba(26, 32, 46, 0.9) 30%, 
        transparent 100%);
}

[data-theme="dark"] .clients-slider {
    background: linear-gradient(135deg, rgb(25 46 69) 0%, rgb(65 61 49 / 20%) 100%);
}

.clients-track {
    display: flex;
    animation: scroll-logos-smooth 60s linear infinite;
    will-change: transform;
    width: calc(300% + 6rem); /* Accommodate tripled elements for smoother loop */
}

.clients-track:hover {
    animation-play-state: paused;
}


.client-logo-item {
    flex: 0 0 auto;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 30px;
    transition: all 0.3s ease;
    filter: grayscale(1) brightness(0.9) opacity(0.65);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.client-logo {
    max-width: 140px;
    max-height: 70px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Recommendations Section - Prestigious Style */
.recommendations-section {
    background: transparent;
    padding: 20px 0;
    margin: 20px 0;
    text-align: center;
    position: relative;
}

.recommendations-description {
    font-size: 1.7rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--text-secondary);
    opacity: 0.75;
    letter-spacing: -0.01em;
}

.recommendations-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
    scale: 1.3;
}

.recommendation-card {
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
}

.recommendation-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 100px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(244, 58, 9, 0.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-family: var(--font-primary);
    min-width: 130px;
}

[data-theme="dark"] .recommendation-link {
    color: #e2e8f0;
    background: rgba(35, 35, 35, 0.8);
    border-color: rgba(244, 58, 9, 0.2);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.recommendation-link::after {
    content: '\f1c1';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.recommendation-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 58, 9, 0.15);
    border-color: rgba(244, 58, 9, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.recommendation-link:hover::after {
    opacity: 0.7;
    transform: translateY(-50%) translateX(2px);
}

/* Subtle hover animation for recommendation links */
.recommendation-link {
    overflow: hidden;
    position: relative;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(244, 58, 9, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.recommendation-card:hover::before {
    width: 200px;
    height: 200px;
}

/* Reviews Section - Simple Grid Layout */
.reviews-showcase {
    margin: 40px 0;
    padding: 40px 0;
    position: relative;
}

.reviews-showcase .reviews-title,
.reviews-showcase .reviews-subtitle {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.reviews-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
        rgba(244, 58, 9, 0.08) 0%, 
        transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

.reviews-title {
    font-size: 3.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    position: relative;
}

.reviews-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    opacity: 0.8;
}

/* Reviews Ticker Layout */
.reviews-ticker {
    position: relative;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    width: 100vw;
    margin: 0;
    padding: 40px 0;
    border-top: 1px solid rgba(244, 58, 9, 0.1);
    border-bottom: 1px solid rgba(244, 58, 9, 0.1);
}

[data-theme="dark"] .reviews-ticker {
    background: linear-gradient(135deg, rgba(25, 46, 69, 0.3) 0%, rgba(65, 61, 49, 0.1) 100%);
}

/* Gradient Fade Overlays */
.reviews-ticker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 100%;
    background: linear-gradient(to right, 
        var(--bg-primary) 0%, 
        rgba(255, 255, 255, 0.9) 15%, 
        rgba(255, 255, 255, 0.7) 40%, 
        transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.reviews-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: linear-gradient(to left, 
        var(--bg-primary) 0%, 
        rgba(255, 255, 255, 0.9) 15%, 
        rgba(255, 255, 255, 0.7) 40%, 
        transparent 100%);
    z-index: 10;
    pointer-events: none;
}

/* Dark theme overlays */
[data-theme="dark"] .reviews-ticker::before {
    background: linear-gradient(to right, 
        var(--bg-primary) 0%, 
        rgba(26, 32, 46, 0.95) 15%, 
        rgba(26, 32, 46, 0.7) 40%, 
        transparent 100%);
}

[data-theme="dark"] .reviews-ticker::after {
    background: linear-gradient(to left, 
        var(--bg-primary) 0%, 
        rgba(26, 32, 46, 0.95) 15%, 
        rgba(26, 32, 46, 0.7) 40%, 
        transparent 100%);
}

/* ====================================== */
/* REVIEWS TICKER - BULLETPROOF ANIMATION */
/* ====================================== */

.reviews-track {
    display: flex;
    width: calc(12 * (450px + 30px));
    gap: 30px;
    will-change: transform;
}


.review-ticker-item {
    flex: 0 0 auto;
    width: 450px;
    transition: all 0.3s ease;
}


/* Review Card */
.review-card {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(252, 252, 254, 0.95) 100%);
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06),
                0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(244, 58, 9, 0.08);
    position: relative;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 355px;
    cursor: pointer;
}

[data-theme="dark"] .review-card {
    background: linear-gradient(145deg, 
        rgba(35, 35, 35, 0.95) 0%, 
        rgba(45, 45, 45, 0.92) 100%);
    border-color: rgba(244, 58, 9, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 4px 16px rgba(0, 0, 0, 0.2);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(244, 58, 9, 0.12),
                0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(244, 58, 9, 0.2);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 11px;
    right: 0;
    height: 4px;
    width: 425px;
    background: var(--gradient-button-shape);
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-card:hover::before {
    opacity: 1;
}

/* Avatar with Image */
.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 16px rgba(244, 58, 9, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Show initials when image fails to load */
.review-avatar::before {
    content: attr(data-initials);
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show initials when image is broken/loading */
.review-avatar img:not([src]),
.review-avatar img[src=""],
.review-avatar img:not([complete]) {
    opacity: 0;
}

.review-avatar img:not([src])::before,
.review-avatar img[src=""]::before,
.review-avatar:has(img:not([complete]))::before {
    opacity: 1;
}

.review-avatar:hover img {
    transform: scale(1.1);
}

/* Review Content */
.review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
    flex-grow: 1;
    position: relative;
    font-style: italic;
    overflow: hidden;
    display: -webkit-box;
    /* -webkit-line-clamp: 6; */
    -webkit-box-orient: vertical;
}

.review-author {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    opacity: 0.9;
}

.review-position {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
    margin: 4px 0 0 0;
    font-weight: 400;
}

/* Call to Action Section - Clean version without background */
.clients-partners-section .call-to-action {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 80px 0 !important;
    margin: 80px 0 0 !important;
    box-shadow: none !important;
    position: relative;
}

.clients-partners-section .call-to-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
}

[data-theme="dark"] .clients-partners-section .call-to-action {
    background: transparent !important;
    border: none !important;
}

/* Scroll Animations - FULLY DISABLED */
.clients-partners-section *:not(.reviews-track),
.clients-partners-section .slide-in-left,
.clients-partners-section .slide-in-right,
.clients-partners-section .slide-in-bottom,
.clients-partners-section .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
    visibility: visible !important;
    text-align: justify;
}


.clients-partners-section .slide-in-left.visible,
.clients-partners-section .slide-in-right.visible,
.clients-partners-section .slide-in-bottom.visible,
.clients-partners-section .fade-in.visible {
    opacity: 1 !important;
    transform: none !important;
}

/* Force recommendations section to always be visible */
.recommendations-section {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.recommendations-section * {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Animations */
@keyframes scroll-logos-smooth {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-66.666%);
    }
}

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

/* Legacy animation for compatibility */
@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .clients-partners-section {
        padding: 80px 0;
    }
    
    .clients-section-header {
        margin-bottom: 60px;
    }
    
    .clients-title {
        font-size: 2.2rem;
        margin-bottom: 24px;
    }
    
    .clients-description {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .partnership-info {
        padding: 60px 20px;
        margin: 60px 20px;
        border-radius: 16px;
    }
    
    .partnership-text {
        font-size: 1.15rem;
        padding: 0;
    }
    
    .client-logo-item {
        width: 140px;
        height: 80px;
        margin: 0 20px;
    }
    
    .client-logo {
        max-width: 110px;
        max-height: 60px;
    }
    
    .recommendations-section {
        padding: 40px 20px;
        margin: 40px 0;
    }
    
    .recommendations-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .recommendations-grid {
        gap: 12px;
    }
    
    .recommendation-link {
        font-size: 0.85rem;
        padding: 12px 24px;
    }
    
    .reviews-showcase {
        margin: 60px 0;
        padding: 60px 0;
    }
    
    .reviews-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .reviews-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .reviews-ticker {
        padding: 30px 0;
        width: 100vw;
        margin: 0;
    }
    
    .review-ticker-item {
        width: 360px;
    }
    
    .reviews-track {
        width: calc(12 * (360px + 30px));
    }
    
    .review-card {
        padding: 20px 16px;
        height: 280px;
    }
    
    .review-avatar {
        align-self: center;
        width: 60px;
        height: 60px;
    }
    
    .review-content {
        text-align: center;
        gap: 16px;
    }
    
    .review-text {
        font-size: 0.95rem;
        text-align: center;
        line-height: 1.6;
        /* -webkit-line-clamp: 5; */
    }
    
    .review-text::before {
        left: 50%;
        transform: translateX(-50%);
        font-size: 3rem;
        top: -8px;
    }
    
    .review-author {
        font-size: 1rem;
    }
    
    .review-position {
        font-size: 0.9rem;
    }
    
    /* Mobile gradient overlays */
    .reviews-ticker::before,
    .reviews-ticker::after {
        width: 300px;
    }
    
    .reviews-ticker::before {
        background: linear-gradient(to right, 
            var(--bg-primary) 0%, 
            rgba(255, 255, 255, 0.9) 20%, 
            rgba(255, 255, 255, 0.7) 50%, 
            transparent 100%);
    }
    
    .reviews-ticker::after {
        background: linear-gradient(to left, 
            var(--bg-primary) 0%, 
            rgba(255, 255, 255, 0.9) 20%, 
            rgba(255, 255, 255, 0.7) 50%, 
            transparent 100%);
    }
    
    [data-theme="dark"] .reviews-ticker::before {
        background: linear-gradient(to right, 
            var(--bg-primary) 0%, 
            rgba(26, 32, 46, 0.95) 20%, 
            rgba(26, 32, 46, 0.7) 50%, 
            transparent 100%);
    }
    
    [data-theme="dark"] .reviews-ticker::after {
        background: linear-gradient(to left, 
            var(--bg-primary) 0%, 
            rgba(26, 32, 46, 0.95) 20%, 
            rgba(26, 32, 46, 0.7) 50%, 
            transparent 100%);
    }

    /* Mobile Scroll Animations - DISABLED */
    .clients-partners-section *:not(.reviews-track),
    .clients-partners-section .slide-in-left,
    .clients-partners-section .slide-in-right,
    .clients-partners-section .slide-in-bottom,
    .clients-partners-section .fade-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        visibility: visible !important;
    }
    
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .clients-partners-section .slide-in-left,
    .clients-partners-section .slide-in-right,
    .clients-partners-section .slide-in-bottom {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .clients-track {
        animation: none;
    }
    
    
    .clients-slider::before,
    .clients-slider::after,
    .reviews-ticker::before,
    .reviews-ticker::after {
        display: none;
    }
    
    .recommendation-link:hover,
    .review-card:hover,
    .client-logo-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    .recommendation-link::before,
    .recommendation-link::after {
        transition: none;
        opacity: 1;
    }
    
    .recommendation-card::before {
        animation: none !important;
        display: none;
    }
    
}

/* ===================================================== */
/* FINAL REVIEWS TICKER ANIMATION - BULLETPROOF VERSION */
/* ===================================================== */

/* Default animation for all users */
.reviews-track {
    animation: scroll-reviews-smooth 80s ease-in-out infinite !important;
}

/* Hover and touch pause */
.reviews-ticker:hover .reviews-track,
.reviews-ticker:active .reviews-track {
    animation-play-state: paused !important;
}

/* Respect accessibility preferences */
@media (prefers-reduced-motion: reduce) {
    .reviews-track {
        animation: none !important;
    }
}