/* Trust Section - Logo Carousel Styles */

.trust-section {
    padding: 80px 2rem;
    background: #f8f9fa;
    overflow: hidden;
}

.trust-container {
    max-width: 1400px;
    margin: 0 auto;
}

.trust-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4rem;
    letter-spacing: -0.01em;
}

/* Logo Carousel */
.logo-carousel {
    overflow: hidden;
}

.logos-wrapper {
    position: relative;
}

.logos-slide {
    display: flex;
    gap: 4rem;
    animation: scroll-left 40s linear infinite;
}

.logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 80px;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.logo-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.logo-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
}

/* Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-150px * 6 - 4rem * 6));
    }
}

/* Pause animation on hover */
.logos-wrapper:hover .logos-slide {
    animation-play-state: paused;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .trust-section {
        padding: 60px 1.5rem;
    }

    .trust-title {
        font-size: 1.75rem;
        margin-bottom: 3rem;
    }

    .logo-item {
        min-width: 120px;
        height: 70px;
        gap: 2rem;
    }

    .logo-item img {
        max-height: 50px;
    }

    .logos-slide {
        gap: 2rem;
    }

    @keyframes scroll-left {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 6 - 2rem * 6));
        }
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .trust-section {
        padding: 50px 1rem;
    }

    .trust-title {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .logo-item {
        min-width: 100px;
        height: 60px;
        padding: 0.75rem;
        gap: 1.5rem;
    }

    .logo-item img {
        max-height: 40px;
    }

    .logos-slide {
        gap: 1.5rem;
    }

    @keyframes scroll-left {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100px * 6 - 1.5rem * 6));
        }
    }
}
