<style>
  .stars .fa {
      color: #ffcc00 !important; /* Gold color for stars */
      margin-right: 5px;
  }
  .h-60{
      height: 50vh !important;
  }
  .carousel-item img {
      top: 10vh; 
      object-fit: cover;
  }
  .carousel-caption {
    text-align: left; 
    right: auto;
    font-size: 36px;                                                      
  }
  .carousel-caption a {
    color: #fff;
    text-decoration: none;
  }
  .carousel-caption a:hover {
    color: #ddd;
  }
  .slide-item{
    height:270px ;
    border: 2px solid black; 
    padding: 10px; 
    border-radius: 5px;
    background-color: #ffffff; 
  }
  .custom-carousel-img {
    width: 100%;        /* Makes the image fit the screen width */
    height: auto;       /* Adjusts height automatically based on width */
    object-fit: cover;  /* Ensures the image covers the container proportionally */
    max-height: 75vh;  /* Prevents the image from becoming too tall */
    top: 10vh;
    margin-top:0vh;
  }
  .sec-title{
    position: relative;
    margin-bottom: 25px;
  }
  .sponsors-outer {
    display: flex;
    align-items: center; /* Centers buttons vertically */
    justify-content: space-between; /* Places buttons at start and end */
    position: relative;
  }

  .carousel-prev,
  .carousel-next {
      background-color: rgba(0, 0, 0, 0.5);
      border: none;
      color: white;
      cursor: pointer;
      padding: 10px 15px;
      border-radius: 50%;
      position: absolute;
      top: 50%; /* Aligns vertically in the middle */
      transform: translateY(-50%);
      z-index: 1000;
  }

  .carousel-prev {
      left: -20px; /* Position at the start */
  }

  .carousel-next {
      right: -20px; /* Position at the end */
  }

  .carousel-prev i,
  .carousel-next i {
      font-size: 20px;
  }

  .carousel-prev:hover,
  .carousel-next:hover {
      background-color: rgba(255, 255, 255, 0.7);
      color: black;
  }

  .sponsors-carousel {
      flex: 1; /* Ensures the carousel takes the available space */
      margin-top: 0px; /* Adds space between the carousel and buttons */
      margin-right: 40px;
      margin-bottom: 0px;
      margin-left: 1px;
  }
</style>
@media(max-width: 2000px) {
  .custom-carousel-img {
      max-height: 75vh; /* Further adjust height for extra small devices */
  }
}
@media(max-width: 1800px) {
  .review-head{
    padding-left: 50px !important;
  }
  .custom-carousel-img {
      max-height: 70vh; /* Further adjust height for extra small devices */
  }
    
}
@media(max-width: 1591px) {
   .carousel-prev {
      left: 5px; /* Position at the start */
  }

  .carousel-next {
      right: 5px; /* Position at the end */
  }
  .sponsors-carousel {
      flex: 1; /* Ensures the carousel takes the available space */
      margin-top: 0px; /* Adds space between the carousel and buttons */
      margin-right: 100px;
      margin-bottom: 0px;
      margin-left: 25px;
  }
    
}
@media(max-width: 1291px) {
  .review-head{
    padding-left: 50px !important;
  }
  .slide-item{
    height:275px ;
    border: 2px solid black; 
    padding: 10px; 
    border-radius: 5px;
  }
  .custom-carousel-img {
      max-height: 80vh; /* Further adjust height for extra small devices */
  }
   .new-top{
    top:10vh !important;
  }
}
@media(max-width: 1080px) {
  .review-head{
    padding-left: 50px !important;
  }
  .slide-item{
      height:255px ;
      border: 2px solid black; 
      padding: 10px; 
      border-radius: 5px;
    }
    .custom-carousel-img {
        max-height: 80vh; /* Further adjust height for extra small devices */
    }
     .new-top{
      top:10vh !important;
    }
    .services-section .upper-box{
      position: relative;
      padding: 20px 0 200px !important;
    }
}
@media (max-width: 991px) {
  .review-head{
    padding-left: 11px !important;
  }
  .slide-item{
      height:245px ;
      border: 2px solid black; 
      padding: 10px; 
      border-radius: 5px;
    }
    .custom-carousel-img {
        max-height: 70vh; /* Further adjust height for extra small devices */
    }   
}
@media (max-width: 768px) {
  .review-head{
    padding-left: 11px !important;
  }
  .custom-carousel-img {
      max-height: 60vh; /* Adjust height for smaller devices */
  }
  .slide-item{
      height:300px ;
      border: 2px solid black; 
      padding: 10px; 
      border-radius: 5px;
    }
    
} 
/* Very small devices (phones) */

@media(max-height: 768px) { 
  .custom-carousel-img {
      max-height: 100vh; /* Further adjust height for extra small devices */
  }
    
}

@media (max-width: 480px) {
  .review-head{
    padding-left: 11px !important;
  }
  .custom-carousel-img {
      max-height: 50vh; /* Further adjust height for extra small devices */
  }
}