/* General styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.clients-section {
    width: 90%;
    margin: 40px auto;
    text-align: center;
    background-color: #fff;
    padding: 20px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.clients-section h2 {
    font-size: 1.5rem;
    text-align: left;
    margin: 10px 20px;
}

.clients-section h2 strong {
    font-weight: bold;
}


.clients-marquee{
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  /* soft fade on edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* Track that we scroll */
.clients-track{
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  will-change: transform;
}

/* Cards */
.client-card{
  flex: 0 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.client-card:hover{
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
.client-card img{
  height: 64px;
  max-width: 220px;
  display: block;
  object-fit: contain;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .clients-marquee{ -webkit-mask-image:none; mask-image:none; }
}