/* Logo Slider CSS */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 10)); /* Updated to match new slide width */
  }
}

.slider {
  background: white;
  /* Box shadow removed */
  height: 160px; /* Significantly increased height */
  margin: 40px auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider::before,
.slider::after {
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 160px; /* Increased to match new slider height */
  position: absolute;
  width: 200px;
  z-index: 2;
}

.slider::before {
  left: 0;
  top: 0;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slide-track {
  animation: scroll 30s linear infinite;
  display: flex;
  width: calc(250px * 20); /* Updated to match new slide width */
}

.slide {
  height: 160px; /* Significantly increased height */
  width: 250px; /* Significantly increased width */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.slide img {
  max-width: 100%;
  max-height: 130px; /* Significantly increased logo size */
  filter: grayscale(0);
  opacity: 1;
  transition: all 0.3s ease;
}

.slide:hover img {
  /*filter: grayscale(0);*/
  opacity: 1;
}

/* Responsive styles */
@media (max-width: 768px) {
  .slider {
    height: 130px; /* Significantly increased */
  }
  
  .slider::before,
  .slider::after {
    height: 130px; /* Significantly increased */
    width: 100px;
  }
  
  .slide {
    height: 130px; /* Significantly increased */
    width: 200px; /* Significantly increased */
    padding: 10px;
  }
  
  .slide img {
    max-height: 110px; /* Significantly increased */
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-200px * 10)); /* Updated to match new slide width */
    }
  }
  
  .slide-track {
    width: calc(200px * 20); /* Updated to match new slide width */
  }
}