#LOGO-SLIDER {
  padding: 50px 0;
  background: #f5f5f5;
  overflow: hidden;
}

.logo-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: scrollLogos 18s linear infinite;
}

.logo-item {
  width: 320px;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  flex-shrink: 0;
}

/* stała przestrzeń na logo */

.logo-image {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.logo-image img {
  max-height: 110px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

/* stała wysokość tekstu */

.logo-item p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  min-height: 85px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* płynna animacja */

@keyframes scrollLogos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.logo-item img {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

