.carousel-control-prev,
.carousel-control-next {
  /*top: 50%;*/
  /*transform: translateY(-50%);*/
  margin-top: 50px;
  background-color: rgba(0, 0, 0, 0.5); /* Add background to make it visible */
  width: 5%; /* Control button width */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5); /* Visibility of the icon */
}

.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  overflow: hidden;
}

.image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.small-text {
  font-size: 0.9rem; /* Smaller text for the paragraph */
}

.large-name {
  font-size: 2rem; /* Larger text for the name */
  font-weight: bold;
}

.accreditations-container {
  max-height: 600px;
  height: 600px;
}

@media (max-width: 999px) {
  .accreditations-container {
    height: 700px;
    max-height: none;
  }
}

.carousel-control-prev i,
.carousel-control-next i {
  font-size: 50px;
  width: 50px;
  height: 50px;
  line-height: 50px;
}

.carousel-row {
  min-height: 200px !important;
}

.fa-circle-right:before {
  color: grey;
}

.fa-circle-left:before {
  color: grey;
}

/* Removed title under the image and borders around logos */
.image-container img {
  border: none; /* Remove any border around the logos */
}

@media (max-width: 768px) {
  .carousel-inner .row {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
  }

  .carousel-inner .col-md-3 {
    flex: 0 0 auto; /* Prevent the columns from shrinking and stacking */
    width: 50%; /* Adjust width to fit within the carousel on mobile */
  }

  .carousel-inner .row::-webkit-scrollbar {
    display: none; /* Hide scrollbar on mobile for a cleaner look */
  }

  .accreditations-container {
    height: auto;
    max-height: none;
  }
}
