.cover1 {
  background-image: url(./imagenes/fondo1.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
}

.cover2 {
  background-image: url(./imagenes/fondo2.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  display: grid;
}

.cover3 {
  background-color: #f8fbfb;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;  
}

.cover4 {
  background-image: url(./imagenes/fondo3.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;  
}

.logo {
  width: 14em;
  height: 9em;
  padding: auto;
}

/* Ajustes para dispositivos más pequeños - Modifica tamaño de texto de cabecera */
@media (max-width: 576px) {
  .logo {
    width: 8em;
    height: 5em;
    padding: auto;
  }
}

/* Modifica texto de contacto en cabecera */
.text-cabecera {
  font-size: 1.3em;
  margin-right: 1em;
  padding-right: 1em;
  color: #e4b500;
}

/* Ajustes para dispositivos más pequeños - Modifica tamaño de texto de cabecera */
@media (max-width: 576px) {
  .text-cabecera {
    font-size: 0.9em;
  }
}

.whatsapp,
.face {
  padding: 1em;
}

.hr-custom {

  height: 0.3em;
  width: auto;
  background-color: #ffffff;
  /* Cambia el color de fondo según tus preferencias */
}

/* Modifica tamaño de texto de frase ubicada sobre slider*/
.text-slider {
  font-size: 3em;
  color: #E4B500;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 1em;
}

/* Ajustes para dispositivos más pequeños - Modifica tamaño de texto de frase ubicada sobre slider */
@media (max-width: 576px) {
  .text-slider {
    font-size: 1em;
  }
}

/* Modifica tamaño de texto de slider*/
.slider {
  text-align: center;
  font-size: 7em;
  color: aliceblue;
}

/* Modifica tamaño de texto de slider - Ajustes para dispositivos más pequeños */
@media (max-width: 576px) {
  .slider {
    font-size: 2em;
  }
}

.carousel-control-prev:hover {
  background-color: transparent;
}

.carousel-control-next:hover {
  background-color: transparent;
}

.fixed-nav {
  position: fixed; /* Mantiene el nav fijo en la posición deseada */
  top: 0; /* Lo fija en la parte superior de la ventana del navegador */
  left: 0; /* Lo alinea a la izquierda de la página */
  right: 0; /* Lo alinea a la derecha de la página */
  width: 100%; /* Ajusta el ancho para que ocupe toda la pantalla */
  background-color: rgba(31, 29, 29, 0.9); /* Color de fondo con 10% de transparencia */
  z-index: 1000; /* Asegura que el nav esté por encima de otros elementos */
  padding: 2px 0; /* Ajusta el espaciado superior e inferior según sea necesario */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0); /* Opcional: añade sombra para resaltar el nav */
  text-align: center; /* Centra los elementos del nav horizontalmente */
}

.fixed-nav a {
  margin: 0 20px; /* Ajusta el espaciado entre los enlaces según tus necesidades */
  text-decoration: none;
  color: #d8b114; /* Ajusta el color de texto según tus necesidades */
}

.fixed-nav a:hover {
  color: #f8f8f8; /* Ajusta el color de texto al pasar el mouse según tus necesidades */
}

#banner1 {
  background-color: #d8b114;
  border-radius: 5px 0px 0px 5px;
  width: 50%;
  /* Cambiado a un 50% del ancho del contenedor padre */
  height: 40vh;
  /* 40% de la altura de la ventana visible */
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 12em;
}

#banner2 {
  background-color: #f8f8f5;
  border-radius: 0px 5px 5px 0px;
  width: 50%;
  /* Cambiado a un 50% del ancho del contenedor padre */
  height: 40vh;
  /* 40% de la altura de la ventana visible */
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
  position: relative;
  top: 12em;
}

.text-banner {
  color: 000000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 6.5vh;
  font-style: bold;
  font-weight: 700;
  line-height: normal;
}

/* Ajustes para dispositivos más pequeños */
@media (max-width: 576px) {
  .text-banner {
    font-size: 3.0vh;
  }
}

#text-banner-int1 {
  width: 50%;
  height: 15vh;
  line-height: normal;

}

/* Ajustes para dispositivos más pequeños */
@media (max-width: 576px) {
  .text-banner-int1 {
    font-size: 0.5vh;
  }
}

#text-banner-int2 {
  width: 50%;
  height: 15vh;
  line-height: normal;
}

/* Ajustes para dispositivos más pequeños */
@media (max-width: 576px) {
  .text-banner-int2 {
    font-size: 0.5vh;
  }
}

#text-banner-int3 {
  width: 50%;
  height: 15vh;
  line-height: normal;
}

/* Ajustes para dispositivos más pequeños */
@media (max-width: 576px) {
  .text-banner-int3 {
    font-size: 0.5vh;
  }
}

#text-banner-int4 {
  width: 50%;
  height: 15vh;
  line-height: normal;
}

/* Ajustes para dispositivos más pequeños */
@media (max-width: 576px) {
  .text-banner-int4 {
    font-size: 0.5vh;
  }
}

.cabecera-banner-int {
  font-size: 4.5vh;
}

/* Ajustes para dispositivos más pequeños */
@media (max-width: 576px) {
  .cabecera-banner-int {
    font-size: 2vh;
  }
}

#cuadro-negro {
  background-color: #000000;
  width: auto;
  /* Cambiado a un 100% del ancho del contenedor padre */
  height: auto;
  /* 40% de la altura de la ventana visible */
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40em;
}

#icono-valores {
  width: 40%;
  /* Cambiado a un 100% del ancho del contenedor padre */
  height: auto;
  /* 40% de la altura de la ventana visible */
 
}
.texto-valores {
  color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 2.5em;
}

/* Ajustes para dispositivos más pequeños */
@media (max-width: 576px) {
  .texto-valores {
    font-size: 1.5em;
    margin-top: 1em;
  }
}

.texto-subt-valores {
  color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1.5em;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

/* Ajustes para dispositivos más pequeños */
@media (max-width: 576px) {
  .texto-subt-valores {
    font-size: 0.75em;
  }
}

.texto-vision {
  color: rgb(255, 255, 255);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1em;
}

/* Ajustes para dispositivos más pequeños */
@media (max-width: 576px) {
  .texto-vision {
    font-size: 0.5em;
    margin-top: 1em;
  }
}

#cuadro-servicios {
  background-color: #f8fbfb;
  width: 100%;
  /* Cambiado a un 100% del ancho del contenedor padre */
  height: auto;
  /* 40% de la altura de la ventana visible */
  text-align: center;
  
  justify-content: center;
  align-items: center;
  margin-top: 1.5em;
  margin-bottom: 3em;
}

#foto-servicios {
  width: 75%;
  /* Cambiado a un 100% del ancho del contenedor padre */
  height: auto;
  /* 40% de la altura de la ventana visible */
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 1)
}

.texto-servicios {
  color: rgb(0, 0, 0);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 2.5em;
}

/* Ajustes para dispositivos más pequeños */
@media (max-width: 576px) {
  .texto-servicios {
    font-size: 1.5em;
    margin-top: 1em;
  }

}

.texto-subt-servicios {
  color: rgb(10, 10, 10);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1em;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

/* Ajustes para dispositivos más pequeños */
@media (max-width: 576px) {
  .texto-subt-servicios {
    font-size: 0.75em;
  }
}

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

form {
  max-width: 90%;
  margin: 0 auto;
}

label {
  display: block;
  margin-top: 1em;
}

input,
textarea {
  width: 100%;
  padding: 8px;
  background-color: #f5f5f5;
  margin-bottom: 16px;
  border-radius: 5px;
  box-sizing: border-box;
}

button {
  background-color: #d8b114;
  color: rgb(0, 0, 0);
  padding: 10px 15px;
  margin-top: 5em;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0d9fe2;
}


.text-titulo-form {
  color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 2em;
  margin-left: 3em;
  margin-top: 1em;
}

/* Ajustes para dispositivos más pequeños */
@media (max-width: 576px) {
  .texto-valores {
    font-size: 1.5em;
    margin-top: 1em;
  }
}

#formulario {
  border-radius: 10px;
  background-color: rgba(9, 9, 8, 0.6);
  /* Amarillo con transparencia al 30% */
  width: 75%;
  height: 82%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
  color: #ffffff;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 4em;
  padding: 1em;
}

#testimonio {
  border-radius: 10px;
  background-color: rgba(9, 9, 9, 0.6);
  /* Negro con transparencia al 80% */
  width: 75%;
  height: 20%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
  color: #ffffff;
  margin-top: 1em;
  margin-left: 5em;
  padding: 1em;
}

footer {
  background-color: black;
  /* Color de fondo negro */
  color: white;
  /* Color del texto en el footer */
  height: 10em;
}

html, body {
  height: 100%;
  margin: 0;
  overflow-x: hidden; /* Para evitar la barra de desplazamiento horizontal */
}

.cover1, .cover2, .cover3, .cover4 {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Asegura que el footer permanezca en la parte inferior de la página */
footer {
  margin-top: auto;
}
