.section-subtitle {
  max-width: 760px;
  color: #5c6b79;
  font-size: 1.02rem;
  line-height: 1.8;
}

.client-gallery-wrap {
  margin-top: 0.5rem;
}

.client-gallery-title {
  color: #0b3765;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.client-gallery-subtitle {
  color: #5c6b79;
  line-height: 1.8;
}

#rates .client-slider {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  scroll-behavior: smooth;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

#rates .client-slider::-webkit-scrollbar {
  display: none;
}

#rates .client-slider.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

#rates .client-slider-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 1rem;
  width: max-content;
  animation: clientSlide 32s linear infinite;
  will-change: transform;
}

#rates .client-slider:hover .client-slider-track,
#rates .client-slider.is-dragging .client-slider-track,
#rates .client-slider.is-touching .client-slider-track {
  animation-play-state: paused;
}

#rates .client-slide {
  flex: 0 0 280px !important;
  width: 280px !important;
  max-width: 280px !important;
}

#rates .client-photo-card {
  width: 100%;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(6, 29, 53, 0.08);
  border: 1px solid rgba(11, 55, 101, 0.06);
}

#rates .client-photo-card img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  pointer-events: none;
}

#rates .client-photo-caption {
  padding: 0.95rem 1rem;
  color: #0b3765;
  font-weight: 800;
  text-align: center;
  background: #fff;
}

@keyframes clientSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@media (max-width: 991.98px) {
  #rates .client-slide {
    flex-basis: 240px !important;
    width: 240px !important;
    max-width: 240px !important;
  }

  #rates .client-photo-card img {
    height: 280px;
  }
}

@media (max-width: 767.98px) {
  .client-gallery-title {
    font-size: 1.45rem;
  }

  #rates .client-slide {
    flex-basis: 210px !important;
    width: 210px !important;
    max-width: 210px !important;
  }

  #rates .client-photo-card {
    border-radius: 20px;
  }

  #rates .client-photo-card img {
    height: 240px;
  }

  #rates .client-photo-caption {
    font-size: 0.92rem;
    padding: 0.85rem;
  }
}