/* ===== Partners Slider ===== */
body {
    background-color: #e0e1dd; 
    font-family: 'Inter', sans-serif;
    margin: 0;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #111;
    font-weight: 700;
}

.slider-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 60px 0; 
    background-color: #ffffff; /* White background for full section */
}

.slider-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

/* ===== Modified logo card with white background ===== */
.logo-card {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 160px;
    padding: 18px 25px;
    margin-right: 30px;

    background: #ffffff;         /* White box under each logo */
    border-radius: 10px;         /* Smooth rounded shape */
    box-shadow: 0 3px 8px rgba(0,0,0,0.12); /* Soft shadow */
    transition: transform 0.3s;
}

.logo-card img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.logo-card img:hover {
    transform: scale(1.1);
}

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

@media (max-width: 768px) {
    .logo-card { 
        min-width: 130px; 
        padding: 15px 20px;
        margin-right: 20px; 
    }
    .logo-card img { max-height: 60px; }
}
