
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body, html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}



  
  .encabezado {
  position: fixed;
  top: 0%;
  left: 0;
  height: 180px;
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999; 
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contenedor-encabezado {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 0px;
  height: 200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo {
  height: 250px;
  margin-right: 0px;
  margin-top: 0%;
  margin-bottom: 0px;
  width: auto;
 position: relative;
}

  
  .nav-enlaces {
    display: flex;
    gap: 50px;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .nav-enlaces a {
    text-decoration: none;
    color: #000;
    font-weight: 550;
    font-size: 17px;
    transition: color 0.3s ease;
    font-family: 'poppins', sans-serif;
    
  }
  
  .nav-enlaces a:hover {
    color: #ffca39;
  }


.contenido-principal {
    padding-top: 160px; 
        text-align: center;
}


.titulo-principal {
    font-size: 36px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.titulo-principal::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 4px;
    background-color: #eed983; 
    width: 0;
    animation: subrayado 2s ease forwards;
}

@keyframes subrayado {
    to {
        width: 100%;
    }
}


.descripcion {
    font-size: 18px;
    color: #333;
    margin-bottom: 40px;
    font-family: 'poppins', sans-serif;
}


.indices {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'poppins', sans-serif;
}


.somos {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}



 
  .pantalla-dividida {
    display: flex;
    height: 600px; 
    width: 100%;
  }
  
  .mitad {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
  }
  
  .empresa {
    background-image: url('/Imagenes/Index/empresa.jpg');
  }
  
  .candidato {
    background-image: url('/Imagenes/Index/candidato.jpg');
  }
  
  .sombra {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .candidato .sombra {
    background: rgba(0, 43, 74, 0.4); 
  }
  
  .link-bloque {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    text-shadow: #000 0px 0px 5px, #000000 0px 0px 10px;
  }
  
  .link-bloque h2 {
    font-size: 2.5rem;
    margin: 0.5em 0;
  }
  
  .subtitulo {
    font-size: 1.5rem;
    margin: 0.3em 0;
  }
  
  .subtexto {
    font-size: 0.9rem;
    text-decoration: underline;
  }

  .texto-inferior {
    background-color: #f7dc6f;
    text-align: center;
    padding: 80px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #111;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  }

  .seccion-doble {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 40px;
  gap: 60px;
  flex-wrap: wrap;
  background-color: #ffffff;

}

.bloque-texto {
  width: 45%;
  min-width: 300px;
  background-color: #ffffff;
  
}

.bloque-texto h2 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 10px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.bloque-texto p {
  font-size: 1.1rem;
  color: #000000;
  line-height: 1.6;
  font-family: 'poppins', sans-serif;


}



.seccion-doble {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 60px 10%;
  gap: 40px;
  flex-wrap: wrap;
  text-align: left;
}

.bloque-texto {
  flex: 1 1 45%;
  min-width: 300px;
  background-color: transparent;
}

.fondo-blanco {
  background-color: #ffffff;
}

.fondo-amarillo {
  background-color: #fcf3cf;
}

.bloque-texto h2 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 15px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.bloque-texto p {
  font-size: 1.1rem;
  color: #000;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
}


  .lista-bienestar {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 10px;
  color: #000000;
  font-size: 1.3rem;
  text-align: left;
  position: static;
    top: auto;
    bottom: auto;
    left: 10%;
    right: auto;
    font-family: 'poppins', sans-serif;


}
  .contenedor-banner {
    max-width: 1100px;
    margin: 40px auto;     
    padding: 0 20px;       
  }
  
  .banner-contacto {
    background-image: url('/Imagenes/Index/t1.jpg');
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: rgb(255, 255, 255);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  
  .contenido-banner h2 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000000;
    text-shadow: #ffffff 0px 0px 5px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  }
  
  .btn-contacto {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ffbb0033;
    color: rgb(0, 0, 0);
    border: 2px solid rgb(0, 0, 0);
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .btn-contacto .simbolo {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  .btn-contacto:hover {
    background-color: #ffbb0033;
    color: rgb(255, 255, 255);
  }
  
  .btn-contacto:hover .simbolo {
    transform: translateX(5px); 
  }

  .convenios {
    text-align: center;
    margin-top: 40px;
  }

  .capitall {
    height: auto;
    width: auto;
    max-height: 160px;
    max-width: 200px;
    object-fit: contain;
    margin-top: 60px;
  }

  .convenios h2 {
    font-size: 24px;
    margin-bottom: 30px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  }
  
  .fila {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 30px;
    flex-wrap: wrap;
  }
  
  .fila img {
    max-width: 220px;
    max-height: 220px;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
  }

  .fila img {
    transform: scale(1.2); 
    transform-origin: center;
  }
  
  .fila img:hover {
    transform: scale(1.05);
  }

  .serquerer2 {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
  }

  .serquerer2 h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
    
  }

  .titulo-final {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
  }
  
  .titulo-final h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #222;
    letter-spacing: 2px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  }

  .footer {
    background: #111111;
    color: rgb(0, 0, 0);
    font-family: sans-serif;
    position: relative;
    top: 0%;
    left: 0%;
  }
  
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
    background-color: #eed983;
  }
  
  .footer-box {
    flex: 1;
    padding: 20px;
    min-width: 280px;
    position: relative;
    top: 10%;
    left: 15%;
    font-size: 24px;
  }
  
 
  
  .footer-box .numero {
    font-size: 23px;
  
    margin: 5px 0;
    
  }
  
  .footer-box .temas {
    margin-top: 20px;
    line-height: 1.6;
  }
  
  .footer-box hr {
    margin: 20px 0;
    border: 0.5px solid #000000;
  }
  
  .info-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 20px;
    position: relative;
    top: 10%;
    left: 16%;
    width: 100%;

  }
  
  .info-footer a {
    color: rgb(0, 0, 0);
    text-decoration: none;
  }
  
  .info-footer a:hover {
    text-decoration: underline;
  }
  
  .footer-bottom {
    text-align: center;
    padding: 15px;
    font-size: 0.85rem;
    background-color: #000;
    border-top: 1px solid #333;
    color: white;
  }

  .aparecer {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  .aparecer.visible {
    opacity: 1;
    transform: translateY(0);
  }

  img.logo-fesol {
    width: 150px !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  img.logo-comfamiliar {
    width: 170px !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

 .bienvenida-encabezado {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px; 
  background-color: #f7dc6f;
  color: #1a1a1a; 
  font-size: 2.2em; 
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: salir-vehiculo 4s ease forwards;
  animation-delay: 0.9s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
}


.franja-amarilla {
  background-color: transparent;
  padding: 0;
  display: inline-block;
  border-radius: 0;
}

.texto-bienvenida {
  font-size: 1.8rem;
  font-weight: bold;
  color: black;
  opacity: 0;
  animation:
    aparecer-texto 0.3s ease-in 0.2s forwards,
    desaparecer-texto 0.4s ease-out 1.3s forwards;
}


.whatsapp-burbuja {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-burbuja:hover {
  transform: scale(1.1);
}

.whatsapp-burbuja img {
  width: 32px;
  height: 32px;
}


@keyframes aparecer-texto {
  to { opacity: 1; }
}

@keyframes desaparecer-texto {
  to { opacity: 0; }
}

@keyframes desvanecer-franja {
  to { background-color: transparent; }
}

 
@keyframes salir-vehiculo {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}