/*=====================================================
    TRUSTED CLIENTS SECTION - Auto-Scroll Carousel
======================================================*/

.trusted-clients {
  position: relative;
  padding: 100px 0;
  background: var(--otto-bg-dark);
  background-image: url('../images/shapes/dot-bg.webp');
  background-repeat: repeat;
  background-size: auto;
  background-position: center;
  overflow: hidden;
}

/* Background Effects */
.trusted-clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 500px;
  height: 500px;
  background: var(--otto-radial-purple-medium);
  opacity: 0.3;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.trusted-clients::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 10%;
  width: 400px;
  height: 400px;
  background: var(--otto-radial-pink-light);
  opacity: 0.2;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

/* Floating Shape Images */
.trusted-clients .shape-1 {
  position: absolute;
  top: 15%;
  right: 5%;
  width: 120px;
  height: auto;
  opacity: 0.15;
  animation: float-rotate 25s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.trusted-clients .shape-2 {
  position: absolute;
  bottom: 20%;
  left: 3%;
  width: 100px;
  height: auto;
  opacity: 0.12;
  animation: float-bounce 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes float-rotate {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

@keyframes float-bounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-25px) scale(1.1);
  }
}

/* Title Section */
.trusted-clients__title-box {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.trusted-clients__title {
  font-size: 48px;
  font-weight: 700;
  color: var(--otto-white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.trusted-clients__title-highlight {
  background: var(--otto-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trusted-clients__subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: var(--otto-text-gray);
  margin: 0;
  opacity: 0.9;
}

/* Carousel Container */
.trusted-clients__carousel {
  position: relative;
  width: 100%;
}

.trusted-clients-swiper {
  overflow: hidden;
  padding: 20px 0;
}

.trusted-clients-swiper .swiper-slide {
  height: auto;
}

/* Logo Box */
.trusted-clients__logo-box {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--otto-bg-medium);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  transition: all 0.3s ease;
}

.trusted-clients__logo-box:hover {
  transform: translateY(-8px);
  border-color: rgba(92, 176, 233, 0.3);
  box-shadow: 0 15px 40px rgba(92, 176, 233, 0.2);
  background: var(--otto-gradient-bg-blue);
}

.trusted-clients__logo-box img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0) invert(1);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.trusted-clients__logo-box:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1199px) {
  .trusted-clients__title {
    font-size: 42px;
  }
}

@media (max-width: 991px) {
  .trusted-clients {
    padding: 80px 0;
  }
  
  .trusted-clients__title {
    font-size: 38px;
  }
  
  .trusted-clients__title-box {
    margin-bottom: 50px;
  }
}

@media (max-width: 767px) {
  .trusted-clients {
    padding: 60px 0;
  }
  
  .trusted-clients__title {
    font-size: 32px;
  }
  
  .trusted-clients__subtitle {
    font-size: 15px;
  }
  
  .trusted-clients__logo-box {
    height: 140px;
    padding: 30px;
  }
  
  .trusted-clients__logo-box img {
    max-height: 60px;
  }
}

@media (max-width: 575px) {
  .trusted-clients__title {
    font-size: 28px;
  }
  
  .trusted-clients__logo-box {
    height: 120px;
    padding: 20px;
  }
  
  .trusted-clients__logo-box img {
    max-height: 50px;
  }
}
