/* Banner styles */
.hero-banner {
  position: relative;
  width: 100%;
  height: 68vh; 
  overflow: hidden;
}

.banner-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slides {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.banner-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slide.active {
  opacity: 1;
  z-index: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay gradient for better text readability */
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.1) 50%,
    rgba(0,0,0,0.4) 100%
  );
  z-index: 2;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 10;
}

.banner-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.5px;
}

.banner-content p {
  font-size: 1.2rem;
  margin: 0;
  text-shadow: 0 4px 12px rgb(0, 0, 0);
  font-weight: 400;
}

/* Navigation dots */
.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

.banner-dot.active {
  background: rgba(255, 255, 255, 0.9);
  width: 14px;
  height: 14px;
}

/* Navigation arrows */
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: white;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.banner-nav:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.banner-nav.prev {
  left: 20px;
}

.banner-nav.next {
  right: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-banner {
    height: 300px;
  }

  .banner-content h1 {
    font-size: 1.8rem;
  }

  .banner-content p {
    font-size: 1rem;
  }

  .banner-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .banner-nav.prev {
    left: 10px;
  }

  .banner-nav.next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    height: 250px;
  }

  .banner-content h1 {
    font-size: 1.4rem;
  }

  .banner-content p {
    font-size: 0.9rem;
  }

  .banner-nav {
    display: none;
  }
}
