/* Estilos base del banner */
.md-sliding-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

/* Contenedor de las diapositivas */
.md-sliding-banner-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

/* Estilos para cada diapositiva */
.md-slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Contenedor del contenido del slide */
.md-slide-content {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Estilos para la imagen móvil (opcional) */
.md-slide-mobile {
  display: none;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Controles de navegación */
.md-sliding-banner-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
}

.md-sliding-banner-controls button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.md-sliding-banner-controls button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Botón */
.btn-primary-slide {
  background: #ffffff; 
  border: 1px solid #ff6b00; 
  border-radius: 8px;
  color: #000000; 
  padding: 12px 24px;
  font-family: "Lato", sans-serif;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease; 
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

.btn-primary-slide:hover {
  background: #ff6b00; 
  color: #ffffff; 
  border-color: #ff6b00; /
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .md-slide {
    background-image: none !important;
  }

  .md-slide-mobile {
    display: block;
  }

  .md-sliding-banner {
    height: 450px; /* Altura reducida para móviles */
    max-width: 500px;
  }

  .btn-primary-slide {
    width: 100%;
    max-width: 200px;
    padding: 10px 20px; /* Padding reducido para móviles */
    font-size: 16px; /* Tamaño de fuente reducido para móviles */
  }
}