/* Wrapper */
.logo-columns-wrapper {
  width: 100%;
  padding: 2rem 1rem;
/*  background-color: #fff;*/
  overflow: hidden;
  height: 500px;
  position: relative;

  /* Fade top & bottom with CSS mask */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, black 15%, black 85%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, black 15%, black 85%, rgba(0, 0, 0, 0) 100%);
}

/* Grid Layout */
.logo-columns-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Each Column */
.logo-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Animations */
.scroll-up {
  animation-name: scrollUp;
  animation-duration: 240s;
}

.scroll-down {
  animation-name: scrollDown;
  animation-duration: 240s;
}

@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes scrollDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* Logo Items */
.logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-item img {
  max-width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  transition: 0.3s ease;
}

.logo-item img:hover {
  transform: scale(1.05);
}
.sponsor_heading{
    text-align: center;
    padding: 20px;
    color: #fff;
}


.slider-wrapper {
  max-width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0px 30px;
}

.slider-container {
  overflow: hidden;
  width: 100%;
    padding: 20px;
}

.slider-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
}
.logo-slide {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  width: 250px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  transition: transform 0.3s ease;
}

/* Background overlay that animates on hover */
.logo-slide::before {
  content: '';
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #602c52; /* or your desired color */
  z-index: 0;
  transition: bottom 0.4s ease;
  
}

/* Animate the background sliding up */
.logo-slide:hover::before {
  bottom: 0;
}

/* Keep image above overlay */
.logo-slide img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 120px;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-slide img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #000;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.slider-btn:active {
  background: rgba(255, 255, 255, 0.35);
}

.slider-btn.prev {
  left: 0px;
    z-index: 99;
}

.slider-btn.next {
  right: 0px;
    z-index: 99;
}


/* Responsive */
@media (max-width: 1024px) {
  .logo-slide {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .slider-wrapper {
    padding: 0px 20px;
  }

  .logo-slide {
    width: 120px;
    height: 120px;
  }
    .logo-columns-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .logo-column {
    animation-duration: 200s; /* Slower for mobile */
  }
}

@media (max-width: 480px) {
  .logo-slide {
    width: 300px;
    height: 300px;
  }
    .logo-columns-grid {
    grid-template-columns: 1fr 1fr;
}
}


