[data-carousel-slide-to][aria-current='true'] {
  opacity: 1 !important;
  background-color: white !important;
}

.equal-height-container {
  height: auto;
}

@media (min-width: 1024px) {
  .equal-height-container {
    height: 400px;
  }
}

.triumphs-container {
  height: 100%;
}

.marquee-container {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
  /* Enable hardware acceleration for smoother scrolling */
  will-change: transform;
  transform: translateZ(0);
}

.marquee-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  /* Hardware acceleration and smooth rendering */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Enhanced list styling for triumphs with smooth scrolling optimization */
.marquee-content ul {
  transition: all 0.3s ease;
  /* Optimize for smooth scrolling animations */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.marquee-content li {
  padding: 0.75rem 0;
  border-left: 3px solid transparent;
  padding-left: 1rem;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.marquee-content li:hover {
  border-left-color: #06194A;
  background: linear-gradient(90deg, rgba(6, 25, 74, 0.05) 0%, transparent 100%);
  transform: translateX(2px);
}

.marquee-content li::before {
  content: '';
  position: absolute;
  left: -0.375rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5rem;
  height: 0.5rem;
  background: linear-gradient(135deg, #06194A, #0a2458);
  border-radius: 50%;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.marquee-content li:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1.2);
}


/* Enhanced gradient overlay for smooth scrolling effect */
.marquee-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2rem; /* Increased height for better gradient effect */
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(255, 255, 255, 0.8) 50%, 
    transparent 100%);
  pointer-events: none;
  z-index: 5;
}

.marquee-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2rem; /* Increased height for better gradient effect */
  background: linear-gradient(to top, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(255, 255, 255, 0.8) 50%, 
    transparent 100%);
  pointer-events: none;
  z-index: 5;
}
