.partner-section {
  width: 100%;
  height: 250px;
  background-color: #f9f9f9;
  padding: 20px 0;
  text-align: center;
  overflow: hidden;
}

.partner-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #3a3030;
}

.partner-swiper {
  width: 100%;
  height: 100%;
}

.partner-swiper .swiper-wrapper {
  align-items: center;
}

.partner-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.partner-swiper .swiper-slide img {
  max-height: 100px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0%);
  transition: filter 0.3s ease;
}

/* Extra Large Desktops */
@media (min-width: 1280px) {
  /* Optional custom styles for very large displays */
}

/* Desktop & Large Tablets */
@media (min-width: 1024px) and (max-width: 1279px) {
  .partner-section h2 {
    font-size: 22px;
  }
  .partner-swiper .swiper-slide img {
    max-height: 90px;
  }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1023px) {
  .partner-section h2 {
    font-size: 20px;
  }
  .partner-swiper .swiper-slide img {
    max-height: 80px;
  }
}

/* Large Phones (phablets) */
@media (min-width: 576px) and (max-width: 767px) {
  .partner-section {
    height: 160px;
  }
  .partner-section h2 {
    font-size: 18px;
  }
  .partner-swiper .swiper-slide img {
    max-height: 70px;
  }
}

/* Standard Mobile Phones */
@media (max-width: 575px) {
  .partner-section {
    height: 150px;
  }

  .partner-section h2 {
    font-size: 16px;
  }

  .partner-swiper .swiper-slide img {
    max-height: 60px;
  }
}

/* Small Phones */
@media (max-width: 375px) {
  .partner-section {
    height: 140px;
  }

  .partner-section h2 {
    font-size: 15px;
  }

  .partner-swiper .swiper-slide img {
    max-height: 45px;
  }
}