/* Hero Carousel */
.hero-carousel {
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.hero-carousel .carousel-item {
  height: auto;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-carousel .carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.hero-carousel .carousel-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10%;
  max-width: 550px;
  color: white;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.35);
  padding: 2rem;
  border-radius: 3px;
}

.hero-carousel .carousel-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.5s;
}

.hero-carousel .carousel-content p {
  font-size: 1.2rem;
  margin-bottom: 5px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.7s;
}

.hero-carousel .carousel-content .btn {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.9s;
  background-color: var(--beo-btn-active-bg);
  margin-top: 10px;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-indicators {
  bottom: 30px;
}

.hero-carousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 8px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators button.active {
  background-color: white;
  transform: scale(1.3);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.hero-carousel .hero-carousel:hover .carousel-control-prev,
.hero-carousel .hero-carousel:hover .carousel-control-next {
  opacity: 1;
}

.hero-carousel .carousel-control-prev {
  left: 30px;
}

.hero-carousel .carousel-control-next {
  right: 30px;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 25px;
  height: 25px;
}

/* Media Queries */
@media (max-width: 768px) {
  .hero-carousel .carousel-item {
    height: auto;
  }

  .hero-carousel .carousel-content {
    left: 5%;
    right: 5%;
  }

  .hero-carousel .carousel-content h2 {
    font-size: 2.5rem;
  }

  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .hero-carousel .carousel-item {
    height: auto;
  }

  .hero-carousel .carousel-content h2 {
    font-size: 2rem;
  }

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

#heroCarousel .carousel-indicators [data-bs-target] {
  flex: 0 1 auto;
  width: 30px;
  height: 5px;
  border-radius: 1px;
}

/* if carousel enabled then */

header section.region-header {
  background: transparent !important;
  position: absolute;
  top: 23px;
  left: 20px;
  z-index: 999;
}
header section.region-header .site-logo img {
  height: 55px;
}
