/* ===== Trusted Clients — Infinite Scrolling Marquee ===== */

.trusted-client-subtext {
    color: #6b7280;
    font-size: 1rem;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Marquee outer wrapper — clips overflow and hosts fade masks */
.logo-marquee-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

/* Soft edge fades on left and right */
.logo-marquee-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.logo-marquee-fade--left  { left:  0; background: linear-gradient(to right,  #fff 0%, transparent 100%); }
.logo-marquee-fade--right { right: 0; background: linear-gradient(to left, #fff 0%, transparent 100%); }

/* The scrolling track */
.logo-marquee-track {
    overflow: hidden;
}

/* Inner row — wide enough to hold 2× the logos */
.logo-marquee-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    animation: marquee-scroll 32s linear infinite;
}

.logo-marquee-wrapper:hover .logo-marquee-inner {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Individual logo card */
.logo-marquee-item {
    flex-shrink: 0;
    width: 210px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    cursor: default;
}

.logo-marquee-item:hover {
    box-shadow: 0 8px 30px rgba(4, 69, 139, 0.12);
    transform: translateY(-4px);
}

.logo-marquee-item img {
    max-width: 150px;
    max-height: 68px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.25s ease;
}

.logo-marquee-item:hover img {
    filter: grayscale(0%);
}

/* ===== Certifications Strip ===== */

.cert-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0 8px;
    border-top: 1px solid #e9ecef;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.cert-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ca3af;
    white-space: nowrap;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #ffffff;
    background: #04458B;
    border: none;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(4, 69, 139, 0.30);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cert-badge:hover {
    background: #0557b0;
    box-shadow: 0 4px 20px rgba(4, 69, 139, 0.50);
    transform: translateY(-2px);
}

.cert-badge i {
    font-size: 0.70rem;
    opacity: 0.85;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .logo-marquee-item {
        width: 160px;
        height: 76px;
    }
    .logo-marquee-item img {
        max-width: 120px;
        max-height: 54px;
    }
    .logo-marquee-fade {
        width: 60px;
    }
    .cert-strip {
        gap: 10px;
    }
}
