body{
  text-align: center;
  display: block;
}


header{
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background-color: white;
    z-index: 100;
    position:fixed ;
}
header a{
  text-decoration: none;
}
header table, tr, td{
    text-align: center;
    width: 100%;
    background-color: transparent;
}
.logo{
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin: 0 auto;

}

  
.video-container {
  position: relative; 
  width: 100%;
  height: 360px; 
  overflow: hidden;
  background-color: #000; /* Fondo negro mientras carga */
}

video {
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  will-change: transform; /* Optimización de rendimiento */
  transform: translateZ(0); /* Aceleración por hardware */
  backface-visibility: hidden; /* Mejora el rendimiento en algunos navegadores */
}

.overlay-text {
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 5px black; 
  text-align: center;
  max-width: 100%; 
  word-wrap: break-word;
  white-space: normal; 
}
  
  

.presentacion {
  background-color: #5CA7D2;
  display: flex; 
  width: 100%;
  height: 400px;
}
  
  
.presentacion1 {
  background-color: transparent;
  width: 30%;
  height: 100%;
  text-align: center;
 
  display: flex;
  align-items: center;
 
}
.presentacion2 {
  
  width: 70%;
  text-align: left;
  background-color: transparent;
  text-align: left;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 19px; 
  font-weight: bold;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  padding-left: 20px;
  padding-right: 20px;
  
}
  
  
@media (max-width: 600px) {
  .presentacion {
     display: block;
    height: 400px;
  }

  .presentacion1 {
      height: 30%;
      width: 100%;
      
  }
  .presentacion2{
      width: 70%;
      margin: 0 auto;
     text-align: center;
    
    height: 70%;
  }
  
  
}
.imgPresentacion{
  width: 100px;
  height: 100px;
  border-radius: 20px;
  margin: 0 auto;
}
.servicios{
  padding-top: 20px;
  padding-bottom: 20px;
  display: block;
  width: 100%;
  background: linear-gradient(to bottom, #ffffff, #5CA7D2 50%, #ffffff);
  background-color: white;
  text-align: center;
  margin: 0 auto;
}
.servicio{
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  background-color: white;
  width: 70%;
  margin: 0 auto;
  margin-top: 30px;
  height: 400px;

}
#map-container {
  width: 100%;
  height: 500px;
}
.servicio1{
  width: 100%;
  height: 40%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.servicio2{
  text-align: center;
  width: 100%;
  height: 60%;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
  word-wrap: break-word; /* Permite que las palabras largas se corten */
  overflow-wrap: break-word; /* Asegura que el contenido no se salga */
}
.imgServicio{
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
}
/*footer*/
footer{
  margin-top: 30px;
  display: inline-flex; 
  width: 100%; 
  background-color: #3b6e8c;
  
}
footer  div {
  width: 50%;
  padding: 30px;
  text-align: center;
  background-color: transparent;
}
.redesContacto{
  text-align: center;
  justify-content: space-evenly;
  display: flex;
  align-items: center;
  margin: 0 auto;
  width: 80%;
}
footer h4, h5{
  background-color: transparent;
  color: white;
}
#logoTask{
  width: 60px;
  height: 60px;
  border-radius: 10px;
}
footer a{
  background-color: transparent;
  width: 30px;
  border-radius: 10px;
  height: 30px;
}
.logos{
  width: 30px;
  border-radius: 8px;
  height: 30px;
}
@media (max-width: 600px){
  .logos{
      width: 100%;
      border-radius: 100px;
      height: 30%;
  }
  footer a{
      background-color: transparent;
      width: 30%;
      border-radius: 10px;
      height: 30%;
  }
}
  
.dropdown {
  position: absolute;
  z-index: 1000;
  top: 60px;
  right: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 10px;
  display: none; 
}

.dropdown button {
  padding: 10px 20px;
  background-color: #5CA7D2;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.dropdown button:hover {
  background-color: #486AA9;
}
.abrirMaps{
  background-color: #5CA7D2;
  text-align: center;
  width: 40%;
  color: white;
  border: none;
  border-radius: 5px;
  height: 30px;
}

.whatsapp-icon {
  position: fixed;
  bottom: 20px; 
  right: 20px; 
  width: 60px; 
  height: 60px;
  background-color: #b7d9e7; 
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000; 
  transition: transform 0.2s ease-in-out;
}
.whatsapp-icon:hover {
  transform: scale(1.1); 
}
.whatsapp-icon img {
  width: 70%;
  height: 70%;
}
  