#particles-js {
  width: 100%;
  height: calc(100vh - 130px);
  position: absolute;
  z-index: 1;
  top: 100px;
  left: 0;
  background: var(--blue) url('../img/layout/bg-slider.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.swiper-container {
  width: 100%;
  position: relative;
  z-index: 2;
  margin-top: 100px;
  height: calc(100vh - 130px);
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  position: absolute;
  top: 160px;
  left: 10%;
  color: #fff;
  max-width: 40%;
}

.slide-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
  line-height: 2.4rem;
}

.slide-description {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 50px;
}

.slide-btn,
.btn {
  border-radius: 30px;
  text-decoration: none;
  color: #fff;
  background: var(--orange);
  font-size: 15px;
  padding: 15px 20px;
  font-weight: 600;
  transition: all .2s linear;
  text-transform: uppercase;
  border: 2px solid #fff;
}

.slide-btn {
  letter-spacing: 1px;
  font-size: 1.1rem;
}

.slide-btn:hover,
.btn {
  background: #fff;
  color: var(--blue);
  border-color: var(--orange);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.slide-image {
  position: absolute;
  right: 10%;
  bottom: calc(50% -250px);
  width: auto;
  height: auto;
  max-width: 500px;
  max-height: 500px;
}

.swiper-button-prev,
.swiper-button-next {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: all .2s linear;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.swiper-pagination-bullet {
  background: rgba(0, 0, 0, 0.7);
}

.swiper-pagination-bullet-active {
  background: var(--gradient-orange)
}

/* Animación Fade In Up */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}

/* Transición de opacidad suave */
.slide-content {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

@media (max-width: 1000px) {
  #particles-js {
    background-position: -50px -40px;
  }
  .slide-content {
    max-width: 80%;
    top: 100px;
    line-height: 22px;
  }

  .slide-image {
    bottom: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
  }

  .slide-title {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 24px;
  }

  .slide-description {
    font-size: 16px;
  }

  .slide-btn {
    font-size: 14px;
  }
}
@media (max-height: 600px) {
  .swiper-container, .swiper-wrapper, #particles-js {
    min-height: 400px !important;
  }
  .slide-content {
    max-width: 60%;
    top: 80px;
    line-height: 22px;
  }

  .slide-image {
    bottom: 0;
    right: 0;
    max-width: 30%;
  }

  .slide-title {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 22px;
  }

  .slide-description {
    font-size: 16px;
  }

  .slide-btn {
    font-size: 14px;
  }
}