.clients-section5 {
  background: transparent ;
  padding: 5rem 1rem;
  overflow: hidden;
  position: relative;
  text-align: center;
  color: #fff;
}

.section-heading5 {
    font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(to right, #6268AA 23.51%, #8F98FF 43%, #9A4281 55%, #AC134B 80%);
    background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  margin-bottom: 3rem;
}

.section-heading5::after {
    content: '';
    display: block;
    margin: 0.5rem auto 0;
    width: 250px;
    height: 6px;
    background-image: url('https://res.cloudinary.com/dvabb4elb/image/upload/v1750871772/client-Line_swpeyd.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.udlline5 {
  width: 100vw;            /* Full screen width */
  margin-top: 30px;
  display: block;          /* Ensures no inline spacing issues */
  position: relative;      /* Keeps it in the flow */
  left: 0;
}




.clients-slider5 {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.our-clients-image {
  background: red; /* just for testing */
  height: 100px;
}


.clients-track5 {
  display: flex;
  align-items: center;
  animation: scrollClients5 10s linear infinite;
}

.client-item5 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

.client-logo5 {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  padding: 0.5rem;
  transition: transform 0.6s;
}

.client-logo5:hover {
  transform: scale(1.1);
}

.client-divider5 {
  width: 2px;
  height: 100px;
  opacity: 0.6;
}

@keyframes scrollClients5 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 1100px) {
  .section-heading5 {
    font-size: 2rem;
  }
  .section-heading5::after {
    width: 220px;
    margin-top: 0;
  }
  .client-logo5 {
    width: 120px;
    height: 120px;
  }

  .client-divider5 {
    height: 80px;
  }
  
}
@media screen and (max-width: 468px) {
  .section-heading5 {
    font-size: 1.5rem;
  }

  .section-heading5::after {
    width: 160px;
    margin-top: 0;
  }

  .client-logo5 {
    width: 100px;
    height: 100px;
    margin-top: 60px; /* 👈 Moves logo a little down */
  }

  .client-divider5 {
    height: 40px;
    margin: 0 10px;
  }

  .udlline5 {
    width: 100%;
    height: 20px;
    margin-top: 40px;
  }

  .clients-slider5 {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  .clients-track5 {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: max-content;
    animation: scrollClients5Mobile 12s linear infinite; /* 👈 Enabled infinite scroll */
  }

  .client-item5 {
    padding: 0 0.8rem;
    flex: 0 0 auto;
  }
  @keyframes scrollClients5Mobile {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
}
