/* === PARTNER SECTION (For Black/White Logos) === */
.partner-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  background: radial-gradient(circle at top left, #020617, #0b0f1a);
  text-align: center;
  overflow: hidden;
  color: #f8fafc;
}

/* Subtle animated overlay */
.partner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 182, 212, 0.1), rgba(147, 51, 234, 0.1));
  mix-blend-mode: overlay;
  animation: hueRotate 12s infinite linear;
  z-index: 0;
}

@keyframes hueRotate {
  from { filter: hue-rotate(0deg); }
  to { filter: hue-rotate(360deg); }
}

/* Heading */
.partner-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 50px;
  background: linear-gradient(90deg, #06b6d4, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
  background-clip: text;
  color: transparent;
}

/* Swiper Container */
.partner-swiper {
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 10px 0;
}

/* Swiper Wrapper */
.partner-swiper .swiper-wrapper {
  display: flex;
  align-items: center;
  transition-timing-function: linear !important;
}

/* Swiper Slides */
.partner-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  transition: transform 0.3s ease;
}

.partner-swiper .swiper-slide:hover {
  transform: scale(1.1);
}

/* Partner Logos (for black/white icons) */
.partner-swiper .swiper-slide img {
  max-height: 80px;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.8;
  filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
  transition: all 0.4s ease;
}

.partner-swiper .swiper-slide img:hover {
  opacity: 1;
  filter: brightness(1.8)
    drop-shadow(0 0 20px rgba(6, 182, 212, 0.6))
    drop-shadow(0 0 35px rgba(147, 51, 234, 0.3));
}

/* 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;
  }
}