/* Styling for the entire section */
.logo-carousel-section {
  background-color: #1f1d1d; /* Black background as seen in the video */
  padding: 40px 0;
  overflow: hidden; /* Hides content that moves out of the section */
  position: relative;
  border-bottom: 1px solid #e0e0e0; /* Optional: adds a border to separate sections */
}

/* The container for all items that will be animated */
.logo-carousel-track {
  display: flex;
  white-space: nowrap;
  animation: scroll-left 15s linear infinite; /* Animation applied here */
}

/* Defines the animation's movement */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%); /* Moves the track to the left by half its width */
  }
}

/* Styling for each individual item (logo/text) */
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 40px; /* Space between each logo/text */
}

.logo-item img {
  max-height: 30px;
  width: auto;
  opacity: 0.7; /* Optional: makes logos slightly transparent */
}

.logo-item span {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #e7dede;
  text-transform: uppercase;
  opacity: 0.7; /* Optional: makes text slightly transparent */
}