.slider-container {
  width: 100%;
  overflow: hidden;
  height: 850px;
}

.slide {
  display: none;
  width: 100%;
  text-align: center;
  position: relative;
  align-items: center;
  justify-content: center; /* Centra horizontalmente la imagen */
}

.slide img {
  width: 100%;
  max-height: 100%;
  margin-top: -120px;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 26%; /* Centramos el contenido horizontalmente */
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: left;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo medio transparente */
  width: 50%; /* Ancho del fondo transparente */
}

h1,
p {
  margin: 0;
}

.ver-mas-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3498db;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

/* Añade estilos para los controles del slider */
.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 2; /* Coloca los controles encima del slider */
}

.prev-btn,
.next-btn {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
}
.control-btn {
  background-color: transparent;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
}

/*  .slider-container {
        position: relative;
        width: 100%;
        overflow: hidden;
      } */

/* Media query para pantallas más pequeñas (ej. dispositivos móviles) */
@media only screen and (max-width: 767px) {
  .slide img {
    max-height: 700px;
    margin-top: 0px;
  }

  .slide-content {
    width: 100%; /* En pantallas más pequeñas, el fondo transparente ocupa el 100% */
    position: absolute;
    top: 50%;
    left: 50%; /* Centramos el contenido horizontalmente */
  }

  .outer-container {
    height: 300px;
  }
  .banner-section.style-seven {
    position: relative;
    margin-top: 95px;
  }
}

.slide-content p {
  font-size: 14px; /* Ajusta el tamaño del párrafo */
}

.link-btn {
  margin-top: 10px; /* Ajusta el espacio entre el párrafo y el botón */
}
