﻿/* ── Certifications marquee slider ─────────────────────────────────── */
@keyframes certScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }   /* 2 identical sets → shift 1 set = seamless loop */
}

.cert-marquee-section {
    padding: 48px 0;
    background: #060f1e;
    overflow: hidden;
}

.cert-marquee-label {
    text-align: center;
    margin-bottom: 32px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #9CBD36;
}

.cert-marquee-outer {
    /* overflow-x only so hover lift (translateY) isn't clipped */
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    padding: 12px 0;          /* room for hover lift */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.cert-marquee-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: certScroll 28s linear infinite;
    will-change: transform;
}

.cert-marquee-outer:hover .cert-marquee-track {
    animation-play-state: paused;
}

.cert-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 28px 52px;
    margin: 0 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    min-width: 220px;
    min-height: 140px;
    transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}

.cert-slide:hover {
    border-color: rgba(156,189,54,0.55);
    background: rgba(156,189,54,0.09);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(156,189,54,0.18);
}

.cert-slide img {
    max-height: 110px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0.92) saturate(0.85);
    transition: filter .25s;
}

.cert-slide:hover img {
    filter: brightness(1.2) saturate(1.15);
}
