/* Hero Background Image Slider */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg-slider .slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateX(100%);
  transition: all 1.5s ease-in-out;
}

.hero-bg-slider .slide-item.active {
  opacity: 1;
  transform: translateX(0);
}

.hero-bg-slider .slide-item.prev {
  opacity: 0;
  transform: translateX(-100%);
}

/* Remove the problematic keyframe animation */
.hero-bg-slider .slide-item:nth-child(1),
.hero-bg-slider .slide-item:nth-child(2),
.hero-bg-slider .slide-item:nth-child(3) {
  animation: none;
}

/* Overlay for better text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(13, 71, 161, 0.7) 0%, 
    rgba(30, 64, 175, 0.6) 50%, 
    rgba(66, 165, 245, 0.5) 100%);
  z-index: -1;
}

/* Enhanced hero content styling */
.hero-content {
  position: relative;
  z-index: 1;
  color: white;
}

.hero-content h1 {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h6 {
  color: #e3f2fd !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  color: #f5f5f5 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for background slider only */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
  }
  
  .hero-bg-slider .slide-item {
    background-position: center right;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 60vh;
  }
}
