.swiper-container {
    width: 100%;
    overflow-x: hidden; /* Evita la barra de desplazamiento horizontal */
  }
  .swiper-slide {
    font-size: 18px;
    background: #ffffff00;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    align-items: center; /* Centra el contenido en el slide */
  }
  .swiper-slide::before {
    margin-left: 0.5%;
    margin-right: 0.5%;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0; /* Cubre toda el área de la imagen */
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0)
    ); /* Degradado desde negro opaco a transparente */
    z-index: 2; /* Asegura que el gradiente esté por encima de la imagen */
    border-radius: 10px;
  }
  .swiper-slide img {
    width: 99%;
    height: 500px;
    display: block;
    object-fit: cover; /* Asegura que la imagen cubra todo el slide sin deformarse */
    position: relative;
    z-index: 1; /* Coloca la imagen encima del gradiente */
  }
  @media (max-width:1000px){
    .swiper-slide img {
      width: 99%;
      height: 500px;
      border-radius: 10px;
      display: block;
      object-fit: cover; /* Asegura que la imagen cubra todo el slide sin deformarse */
      position: relative;
      z-index: 1; /* Coloca la imagen encima del gradiente */
    }
  }
  .slide-caption {
    font-family: "Quicksand", sans-serif;
    text-align: center;
    position: absolute;
    z-index: 3;
    bottom: 20px;
    color: white;
    padding: 10px;
    border-radius: 5px;
  }
  .slide-caption h2 {
    font-family: "Afacad Flux", serif;
    margin: 0;
    font-size: 36px;
    padding: 0 40px;
    font-weight: 500;
    text-transform: uppercase;
  }
  .slide-caption p {
    font-family: "Quicksand", sans-serif;
    color: #9fcd61;
    margin: 5px 0 0;
    font-size: 19px;
  }
  .slide-caption h2 a {
    font-family: "Quicksand", sans-serif;
    text-decoration: none;
    color: inherit; /* Mantiene el color original del texto */
  }
  
  .slide-caption h2 a:hover {
    text-decoration: underline; /* O cualquier otro estilo para el hover */
  }

  .slide-caption p a {
    text-decoration: none;
    color: inherit; /* O define otro color aquí si es necesario */
  }
  
  .slide-caption p a:hover {
    text-decoration: underline; /* O el estilo que prefieras al pasar el mouse */
  }


@media (max-width: 575px) {

  .slide-caption h2 {
    font-size: 28px;
    line-height: 28px;
    padding: 0 20px;
  }

 
}