/* The container holding the banner and the text */
.banner-container {
  width: 100%;
  position: relative; /* This makes the text position relative to this container */
  display: inline-block; /* Ensures the image behaves as a block and text can overlap */
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Text positioning on top of the image */
.banner-text {
  position: absolute; /* Absolutely positioned within the banner container */
  top: 50%; /* Center vertically */
  left: 10%; /* Position towards the left side */
  transform: translateY(-50%); /* Ensures perfect vertical centering */
  z-index: 2; /* Ensures the text is displayed on top of the image */
  color: #f2c725;
  text-align: left;

  /* Background for readability */
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent grey background */
  padding: 20px 20px; /* Padding around the text */
  border-radius: 5px; /* Optional: Rounded corners */
}

/* Styles for the small and large text */
.banner-text .small-text {
  font-size: 1rem;
  margin: 0 0 10px 0; /* Adds space below the first line */
  color: ##f2c725;
}

.banner-text .large-text {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  color: white;
   /* Add space between characters */
  letter-spacing: 2px; /* Adjust this value for more or less space */
}

/* Container for the logo scroller */
.logo-scroller-container {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  background-color: #f9f9f9; /* Optional: background color for scroller */
}

.logo-scroller {
  display: flex;
  gap: 30px;
  animation: scroll 20s linear infinite; /* Adjust the duration as needed */
}

.logo-item {
  flex-shrink: 0;
  width: 150px; /* Adjust width of each logo */
}

.logo-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Keyframes for seamless scrolling */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Media query for smaller screens */
@media (max-width: 600px) {
  .banner-text {
    top: 40%; /* Adjust positioning for smaller screens */
    left: 5%; /* Slightly reduce left margin on mobile */
  }

  .banner-text .small-text {
    font-size: 0.8rem;
  }

  .banner-text .large-text {
    font-size: 1.5rem;
  }
}
@media (max-width: 768px) {
  .logo-item {
    width: 120px; /* Reduce the size of logos on smaller screens */
  }
}

@media (max-width: 480px) {
  .logo-item {
    width: 100px; /* Further reduce the size of logos on very small screens */
  }
}

