.clients-section {
  /* background-color: #f8f9fa; */
  overflow: hidden;
}

.clients-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.5px;
}

.carousel-wrapper {
  /* max-width: 1200px; */
  margin: 0 auto;
  position: relative;
  padding: 0 100px;
}

/* Strip Container */
.clients-strip {
  background: #ffffff;
  border-radius: 24px;
  padding: 60px 80px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Grid layout */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: center;
  justify-items: center;
}

/* Individual client card */
.client-card {
  background-color: #f8f9fa;
  width: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
}

.client-logo {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.client-card:hover .client-logo {
  opacity: 1;
  transform: scale(1.05);
}

/* Placeholder card styling */
.placeholder-card {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px dashed #cbd5e1;
}

.placeholder-text {
  color: #64748b;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

/* ===== Navigation Arrows ===== */
#clientsCarousel .carousel-control-prev,
#clientsCarousel .carousel-control-next {
  width: 56px;
  height: 56px;
  top: 40%;
  transform: translateY(-50%);
  opacity: 1;
  z-index: 10;
}

#clientsCarousel .carousel-control-prev {
  left: 10px;
}

#clientsCarousel .carousel-control-next {
  right: 10px;
}

.carousel-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: #333;
}

.carousel-nav-icon:hover {
  background-color: #f8f9fa;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.carousel-nav-icon svg {
  display: block;
}

/* Hide default Bootstrap icons */
#clientsCarousel .carousel-control-prev-icon,
#clientsCarousel .carousel-control-next-icon {
  display: none;
}

/* ===== Carousel Indicators (Dots) ===== */
#clientsCarousel .carousel-indicators {
  position: static;
  margin-top: 40px;
  margin-bottom: 0;
}

#clientsCarousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  margin: 0 6px;
  opacity: 1;
  transition: all 0.3s ease;
}

#clientsCarousel .carousel-indicators .active {
  background-color: #0d6efd;
  width: 10px;
}

/* ===== Responsive Design ===== */
/* Tablets - 2 columns */
@media (max-width: 991.98px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .clients-strip {
    padding: 50px 40px;
  }

  .carousel-wrapper {
    padding: 0 80px;
  }

  #clientsCarousel .carousel-control-prev {
    left: 5px;
  }

  #clientsCarousel .carousel-control-next {
    right: 5px;
  }
}

/* Small tablets and mobile - 1 column */
@media (max-width: 767.98px) {
  .clients-title {
    font-size: 2rem;
    margin-bottom: 2rem !important;
  }

  .clients-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .clients-strip {
    padding: 40px 30px;
    border-radius: 20px;
  }

  .client-card {
    min-height: 120px;
    padding: 25px;
  }

  .client-logo {
    max-height: 70px;
  }

  .carousel-wrapper {
    padding: 0 10px;
  }

  .carousel-nav-icon {
    width: 48px;
    height: 48px;
  }

  #clientsCarousel .carousel-control-prev,
  #clientsCarousel .carousel-control-next {
    width: 48px;
    height: 48px;
  }

  #clientsCarousel .carousel-control-prev {
    left: 5px;
  }

  #clientsCarousel .carousel-control-next {
    right: 5px;
  }

  .carousel-nav-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* Extra small mobile */
@media (max-width: 575.98px) {
  .clients-strip {
    padding: 30px 20px;
  }

  .client-card {
    min-height: 110px;
  }

  .carousel-wrapper {
    padding: 0 10px;
  }

  .carousel-nav-icon {
    width: 44px;
    height: 44px;
  }

  #clientsCarousel .carousel-control-prev,
  #clientsCarousel .carousel-control-next {
    width: 44px;
    height: 44px;
  }
}
