.supporter-banner {
    background-color: #f0f0f0; /* Light gray background */
    padding: 2rem 0;
    overflow: hidden; /* Hide overflowing logos for animation */
    position: relative;
}

.supporter-banner::before,
.supporter-banner::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 1;
}

.supporter-banner::before {
    left: 0;
    background: linear-gradient(to right, #f0f0f0, rgba(240, 240, 240, 0));
}

.supporter-banner::after {
    right: 0;
    background: linear-gradient(to left, #f0f0f0, rgba(240, 240, 240, 0));
}

.supporter-logos {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scrollLogos 20s linear infinite;
}

.supporter-logos img {
    height: 60px; /* Adjust as needed */
    margin: 0 20px;
    filter: grayscale(100%) brightness(1.5); /* Desaturate and lighten logos */
    opacity: 0.6;
    transition: all 0.3s ease;
}

.supporter-logos img.logo-italy {
    filter: grayscale(100%) brightness(1.5); /* Apply grayscale filter */
    opacity: 0.6; /* Apply opacity */
    transform: scale(1.6); /* Adjusted scale for Italy logo */
    margin: 0 20px; /* Ensure side spacing */
}

@keyframes scrollLogos {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.supporter-logos img.logo-italy:hover {
    filter: grayscale(0%) brightness(1); /* Full color on hover */
    opacity: 1;
    transform: scale(1.76); /* 1.6 (base scale) * 1.1 (hover scale) */
}

/* Pause animation on hover */
.supporter-logos:hover {
    animation-play-state: paused;
}
