/* ============================================
    Logo Ticker — Enhanced Size
    ============================================ */

.logo-ticker-container {
    width: 100%;
    overflow: hidden;
    padding: 30px 0; /* Increased padding for larger logos */
    background: transparent;
}

.logo-ticker-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 264vw;
    animation: tickerLoop 22s linear infinite; /* Slightly slower for better readability of larger logos */
    will-change: transform;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

.logo-ticker-item {
    flex: 0 0 22vw !important;
    width: 22vw !important;
    min-width: 22vw !important;
    max-width: 22vw !important;
    height: 120px !important; /* Increased from 90px to accommodate growth */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    padding: 0 15px !important; /* Added side padding for breathing room */
}

.logo-ticker-item img,
.logo-ticker-item img:not([class]) {
    display: block !important;
    width: auto !important;
    height: 85px !important; /* Increased by ~25px from 60px */
    max-width: 95% !important; /* Allowed more horizontal room */
    max-height: 85px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    filter: grayscale(100%); /* Optional: matches professional aesthetic */
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-ticker-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes tickerLoop {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-132vw); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MOBILE OPTIMIZATION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
    .logo-ticker-track {
        width: 600vw !important;
        animation-name: tickerLoopMobile;
        animation-duration: 18s;
    }

    .logo-ticker-item {
        flex: 0 0 50vw !important;
        width: 50vw !important;
        min-width: 50vw !important;
        max-width: 50vw !important;
        height: 100px !important; /* Increased from 70px */
    }

    .logo-ticker-item img {
        height: 65px !important; /* Increased by 20px from 45px */
        max-height: 65px !important;
        max-width: 90% !important;
    }
}

@keyframes tickerLoopMobile {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-300vw); }
}