/* Brand Marquee Styles */
.sponsor__marquee-container {
    overflow: hidden;
    width: 100%;
    background: transparent;
    padding: 30px 0;
    position: relative;
}

.sponsor__marquee-inner {
    display: flex;
    width: max-content;
    animation: marquee-animation 40s linear infinite;
}

.sponsor__marquee-inner:hover {
    animation-play-state: paused;
}

@keyframes marquee-animation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.sponsor-card {
    flex: 0 0 auto;
    width: 280px; /* Increased width for better spacing */
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
    background: transparent;
    border: none !important;
    box-shadow: none !important;
}

.sponsor-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure images fit without cropping */
    filter: grayscale(1) brightness(0.8);
    opacity: 0.6;
    transition: all 0.4s ease-in-out;
}

.sponsor-card:hover img {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.08); /* Sophisticated hover effect */
}

/* Ensure the marquee is seamless on mobile */
@media (max-width: 768px) {
    .sponsor-card {
        width: 180px;
        height: 80px;
        padding: 5px 20px;
    }
    .sponsor__marquee-inner {
        animation-duration: 25s;
    }
}
