.logos-section-block {
    position: relative;
    background:
    radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.35) 100%
    ),
    linear-gradient(
      90deg,
      #421A23 0%,
      #2b1f20 35%,
      #201d1e 50%,
      #1b1a1a 75%,
      #161616 100%
    );
    padding: 104px 0px 120px;
    overflow: hidden;
}

.logos-section-container {
    margin: 0 auto;
}

.logos-heading {
    color: #FFF;
    font-size: 43px;
    font-style: normal;
    font-weight: 600;
    line-height: 98%;
    letter-spacing: -0.48px;
    margin-bottom: 80px;
    text-align: center;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 20vw;
    flex: 0 0 20vw;
    transition: all 0.3s ease;
}

.logo-image {
    width: auto;
    max-width: 144px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.logos-marquee-outer {
    max-width: 100%;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.logos-marquee-track {
    display: flex;
    min-width: 200%;
    justify-content: space-between;
    animation: marquee-scroll 20s linear infinite;
    will-change: transform;
}

.logos-marquee-outer {
  position: relative;
  overflow: hidden;
}

.logos-marquee-outer:hover .logos-marquee-track {
    animation-play-state: paused;
}

.logos-marquee-outer::before,
.logos-marquee-outer::after {
  content: "";
  position: absolute;
  top: 0;
  width: 140px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.logos-marquee-outer::before {
  left: 0;
  width: 200px; 
  background:
    linear-gradient(
      to right,
      #31141A 0%,
      rgba(58, 27, 34, 0) 100%
    );
}

.logos-marquee-outer::after {
  right: 0;
  background: linear-gradient(
    to left,
    #121112 0%,
    rgba(18, 17, 18, 0.7) 40%,
    rgba(18, 17, 18, 0) 100%
  );
}


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

/* Responsive Design */
@media (max-width: 1200px) {
    .logos-heading {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .logo-item {
        max-width: 33.33vw;
        flex: 0 0 33.33vw;
    }

    .logo-image {
        height: calc(var(--logo-height, 40px) * 0.9);
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .logos-heading {
        font-style: normal;
        font-weight: 700;
        line-height: 120%; /* 32.4px */
        letter-spacing: 0.675px;
        font-size: 28px;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .logo-item {
        max-width: 50vw;
        flex: 0 0 50vw;
    }
}

/* Print styles */
@media print {
    .logos-section-block {
        background: #fff;
        padding: 40px 20px;
    }

    .logos-heading {
        color: #000;
    }

    .logo-image {
        filter: none;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .logo-item,
    .logos-heading,
    .logo-link,
    .logo-image {
        animation: none;
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .logo-image {
        filter: none;
    }

    .logo-link:focus {
        outline-width: 3px;
    }
}