/* Section 9 Clientele Container */
#section9 {
  position: relative;
  overflow: visible;
}

#section9 .clientele-container {
  text-align: center;
  padding: 50px;
  max-width: 100%;
  box-sizing: border-box;
  background-color: #f8f6f1;
  position: relative;
  z-index: 1;
}

/* Header styles */
#section9 .clientele-container h1 {
  font-size: 24pt;
  margin-bottom: 0.5em;
  font-family: "Agrandir", sans-serif;
  color: #00396c;
}

#section9 .clientele-container .subtitle {
  margin-top: 10px;
  font-size: 11pt;
  margin-bottom: 2em;
  font-family: "Poppins", sans-serif;
  color: #00396c;
}

#section9 .clientele-container .clientele-line-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 2px;
  background-color: #ffc73c;
  margin: 0 auto;
}

/* Animated line element */
#section9 .clientele-container .clientele-line-container .clientele-line {
  position: absolute;
  width: 00px;
  height: 1vh;
  background-color: #ffc73c;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

#section9
  .clientele-container
  .clientele-line-container
  .clientele-line
  .clientele-dot {
  width: 15px;
  height: 15px;
  background-color: #ffc73c;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Row container for content */
#section9 .clientele-container .row {
  padding-left: 10%;
  padding-right: 10%;
  margin-top: 5%;
}

/* Hover effect for client logos */
#section9 .clientele-container img:hover {
  transform: translateY(-5px) !important;
}

/* Carousel container */
.clientele-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Track for sliding animation */
.clientele-track {
  display: flex;
  width: calc(
    200px * 8
  ); /* Total width of all slides (200px per slide * 8 slides) */
  animation: scroll 20s linear infinite; /* Continuous scrolling animation */
}

/* Individual slide styles */
.clientele-slide {
  width: 200px;
  flex-shrink: 0; /* Prevent slides from shrinking */
  padding: 10px;
  display: flex;
  align-items: center;
}

/* Pause animation on hover */
.clientele-carousel:hover .clientele-track {
  animation-play-state: paused;
}

/* Keyframes for infinite scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 4)); /* Half of the total width */
    /* Move half the width (creates seamless loop) */
  }
}
