.main-carousel-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.text-white {
  color: #fff;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-carousel-wrapper {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.main-carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.main-carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: scale(1.1);
}

.main-carousel-slide.main-carousel-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.main-carousel-slide.main-carousel-loading {
  animation: mainCarouselImageLoad 1.2s ease-in-out forwards;
}

@keyframes mainCarouselImageLoad {
  0% {
    opacity: 0;
    transform: scale(1.1);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.main-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.main-carousel-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.main-carousel-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

#main-carousel-activeText {
  font-size: 25px;
  font-weight: 200;
  line-height: 52px;
  letter-spacing: 1.5px;
  transition: all 0.5s ease-in-out;
  margin: 50px 0px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
}

#main-carousel-activeText.main-carousel-animate {
  opacity: 1;
  transform: translateY(0);
}

#main-carousel-activeText.main-carousel-slide-out {
  opacity: 0;
  transform: translateY(-30px);
}

@media (max-width: 768px) {
  #main-carousel-activeText {
    font-size: 20px;
    line-height: 40px;
  }

  .main-carousel-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  #main-carousel-activeText {
    margin: 20px 0px !important;
  }
  .main-carousel-wrapper {
    height: 100vh !important;
    width: 95% !important;
  }
}
