* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f7f9fc;
  color: #333;
}

.brand-carousel {
  text-align: center;
  padding: 60px 20px;
  background: white;
}

.brand-carousel h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #0b4b6f;
  letter-spacing: 1px;
}

/* Carousel container */
.carousel {
  position: relative;
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

/* Track that slides */
.carousel-track {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: scroll 20s linear infinite;
}

/* Logo styling */
.carousel-track img {
  width: 120px;
  height: 80px;
  object-fit: contain;
  opacity: 0.6;
  transform: scale(0.9);
  transition: all 0.5s ease;
}

/* Create "larger center" illusion */
.carousel-track img:nth-child(3),
.carousel-track img:nth-child(8) {
  transform: scale(1.4);
  opacity: 1;
}

/* Infinite scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-track img {
    width: 90px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .brand-carousel h2 {
    font-size: 1.4rem;
  }
  .carousel-track img {
    width: 70px;
    height: 50px;
  }
}
