/* Certification Logo Slider */
.cert-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 40px;
    padding: 20px 0;
}

.cert-track {
    display: flex;
    width: max-content;
    animation: scrollCerts 30s linear infinite;
}

.cert-slider:hover .cert-track {
    animation-play-state: paused;
}

.cert-logo {
    width: 180px;
    height: 120px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 15px;

    background: #fff;
    border-radius: 12px;

    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transition: transform .3s ease;
}

.cert-logo:hover {
    transform: translateY(-5px);
}

.cert-logo img {
    max-width: 140px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Infinite Animation */
@keyframes scrollCerts {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cert-logo {
        width: 140px;
        height: 100px;
    }

    .cert-logo img {
        max-width: 110px;
        max-height: 70px;
    }
}