.hero-slider {
  position: relative;  
}

.hero-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.hero-card.active {
  opacity: 1;
  position: relative;
}

.slider1-images {
  border-radius: 12px;
  width: 100%;
  height: 250px;
  object-fit: cover;
}
