/* ── MaxFitness Our Clients Section ── */
#mfcs-section {
    width: 100%;
    background: #ffffff;
    padding: 50px 0 60px;
    overflow: hidden;
}

.mfcs-section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Heading — matches site "OUR BRANDS" style exactly */
.mfcs-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
    margin: 0 0 40px 0;
    font-family: inherit;
    line-height: 1.2;
    text-transform: uppercase;
}

.mfcs-our {
    color: #000000;
    font-weight: 900;
}

.mfcs-clients {
    color: #F5C518; /* golden yellow matching site header accent */
    font-weight: 900;
}

/* ── Scrolling Track ── */
.mfcs-track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Fade edges left & right */
.mfcs-track-wrapper::before,
.mfcs-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.mfcs-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}
.mfcs-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.mfcs-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: mfcs-scroll 40s linear infinite;
    will-change: transform;
}

/* Pause on hover */
.mfcs-track-wrapper:hover .mfcs-track {
    animation-play-state: paused;
}

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

/* Individual logo item */
.mfcs-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 45px;
    min-width: 160px;
    flex-shrink: 0;
}

.mfcs-logo-item img {
    max-height: 55px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: block;
}

.mfcs-logo-item img:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* Separator dots between logos */
.mfcs-logo-item + .mfcs-logo-item {
    border-left: 1px solid #ececec;
}

/* Responsive */
@media (max-width: 768px) {
    .mfcs-heading {
        font-size: 24px;
    }
    .mfcs-logo-item {
        padding: 8px 28px;
        min-width: 120px;
    }
    .mfcs-logo-item img {
        max-height: 40px;
        max-width: 100px;
    }
}
