.partners-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

.partner-card {
    min-width: 280px;
    height: 200px;
    margin: 0 15px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.partner-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.partner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-overlay {
    transform: translateY(0);
}

.partner-overlay h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.partner-overlay p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 5 - 30px * 5));
    }
}

@media (max-width: 768px) {
    .partner-card {
        min-width: 220px;
        height: 160px;
    }
}