.brand-slider-section {
  background: #ffffff;
  color: #000000;
  text-align: center;
  padding: 70px 0;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.brand-slider-section h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.brand-slider-section span {
  color: #ffb300;
}

.brand-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.brand-track {
  display: flex;
  width: calc(100%); /* allows duplication for loop */
  animation: scrollBrands 20s linear infinite;
}

.brand {
  flex: 0 0 16.66%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 10px;
}

.brand img {
  max-width: 120px;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.brand img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Animation */
@keyframes scrollBrands {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .brand img {
    max-width: 80px;
  }

  .brand-slider-section h2 {
    font-size: 1.6rem;
  }
}
