.nc-section {
    padding: 40px 0 32px;
    overflow: hidden;
}

.nc-section-title {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
    margin: 0 0 28px;
    letter-spacing: 0.01em;
}

/* Mask edges with a fade */
.nc-track-wrap {
    position: relative;
    overflow: hidden;
}

.nc-track-wrap::before,
.nc-track-wrap::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.nc-track-wrap::before {
    left: 0;
    background: linear-gradient(to right, #e8e8f5, transparent);
}

.nc-track-wrap::after {
    right: 0;
    background: linear-gradient(to left, #e8e8f5, transparent);
}

/* The scrolling track — width = 200% to hold original + duplicate set */
.nc-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: nc-scroll calc(var(--nc-speed, 10s)) linear infinite;
}

.nc-track:hover {
    animation-play-state: paused;
}

.nc-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.nc-logo-img {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: opacity 0.2s, filter 0.2s;
}

.nc-item:hover .nc-logo-img {
    opacity: 1;
    filter: none;
}

@keyframes nc-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX( calc( -1 * (var(--nc-count) * (160px + 40px)) ) ); }
}

/* Dark background variant (inside the features section) */
.features .nc-section-title { color: #333; }
.features .nc-track-wrap::before { background: linear-gradient(to right, #e8e8f5, transparent); }
.features .nc-track-wrap::after  { background: linear-gradient(to left,  #e8e8f5, transparent); }
