body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f5f2;
}

.client-section {
  width: 100%;
  height: 150px;
  background-color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.client-title {
  text-align: center;
  position: absolute;
  top: 20px;
  width: 100%;
  font-size: 24px;
  color: #333;
  text-transform: uppercase;
  font-weight: bold;
}

.moving-line {
  display: flex;
  align-items: center;
  white-space: nowrap;
  position: absolute;
  bottom: 0;
  width: 100%;
  animation: moveLine 15s linear infinite;
}

.moving-line img {
  margin-right: 50px; /* Adjust the space between the images */
  height: 60px; /* Adjust the size of the images */
}

.moving-line .duplicate {
  margin-left: 50px;
}

@keyframes moveLine {
  0% {
      transform: translateX(100%);
  }
  100% {
      transform: translateX(-100%);
  }
}

/* Responsive Adjustments for Client Section */
@media (max-width: 768px) {
  .client-section {
      height: auto; /* Allow dynamic height */
      padding: 20px 10px; /* Add padding */
  }

  .client-title {
      font-size: 18px; /* Reduce font size */
      top: 10px; /* Adjust position */
  }

  .moving-line {
      flex-wrap: nowrap; /* Ensure no wrapping occurs */
      animation-duration: 20s; /* Slow down animation slightly */
  }

  .moving-line img {
      margin-right: 20px; /* Reduce space between images */
      height: 40px; /* Scale down images */
  }
}
