/* Trusted by Section Styling */
.trusted-by-section {
    padding: 60px 0 30px 0;
    /* Reduced top/bottom padding */
    background: #f8f9fa;
    /* Light Gray Background for separation */
    text-align: center;
    overflow: hidden;
    border-top: 1px solid #eee;
    /* Subtle top border */
    border-bottom: 1px solid #eee;
    /* Subtle bottom border */
}

.trusted-by-section .section-heading h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.trusted-by-section .section-heading h2 span.highlight-1 {
    color: #007bff;
    /* Bright Blue */
}

.trusted-by-section .section-heading h2 span.highlight-2 {
    color: #ff6b6b;
    /* Coral/Pinkish */
}

.trusted-by-section .sub-text {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

/* Logo Slider Container */
.logo-slider {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    /* White slider track to contrast with gray section */
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.logo-track {
    display: flex;
    width: calc(250px * 30);
    /* 15 logos doubled for seamless loop */
    animation: scroll 60s linear infinite;
    /* Adjusted speed for 15 logos */
}


.logo-item {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.logo-item img {
    max-width: 150px;
    max-height: 60px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-item img:hover {
    opacity: 1;
    transform: scale(1.05);
}



/* Animation continues on hover (requested adjustment) */
/* .logo-slider:hover .logo-track {
    animation-play-state: paused;
} */


@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 15));
    }


    /* Move by half the track width */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .trusted-by-section {
        padding: 40px 0;
        /* Removed side padding to let logo bar touch boundaries */
    }


    .trusted-by-section .section-heading h2 {
        font-size: 26px;
    }

    .logo-item {
        width: 180px;
        padding: 0 20px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-180px * 15));
        }

    }
}