body{
    background-color: #EBF7E3;
}

* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.deslizo {display: none}
img {vertical-align: middle;}


.contenedor-desliz {
  max-width: 1000px;
  position: relative;
  margin: auto;
}


.anterior, .siguiente {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}


.siguiente {
  right: 0;
  border-radius: 3px 0 0 3px;
}


.anterior:hover, .siguiente:hover {
  background-color: rgba(0,0,0,0.8);
}


.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.numero {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

.menu-navegacion{
    text-align: center;
    background-color: #EBF7E3;
    padding: 20px 10px;

}

.btn-nav {
    background-color: #EBF7E3;
    border: none;
    color: #4a7540;
    padding: 14px 28px;
    margin: 10px 8px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-nav:hover{
    background-color: #3e8e41;
    color: white;
    transform: scale(1.05);
}

#miBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #9BD770;
  color: black;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px; 
}

#miBtn:hover {
  background-color: lab(89.27% -40.78 48.98);
}
.seccion-inicial {
  text-align: center;
  padding: 60px 20px;
  background-color: #9BD770;
  color: #000000;
  width: 100%;
  background: linear-gradient(to left, #ebf7e3, #d4edc1);
}

.contenedor-interno {
  max-width: 900px;
  margin: 0 auto;
}

.subtitulo-principal {
  font-size: 32px;
  color: #2F7033;
  margin-bottom: 20px;
  font-weight: bold;
}

.contenido-principal {
  font-size: 1.4em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #4a7540;
}

.subtitulo-secundario {
  font-size: 20px;
  font-weight: bold;
  color: #3B8E41;
  letter-spacing: 1px;
}


.pantalla-dividida {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 0px;
}

.mitad {
  position: relative;
  width: 50%;
  overflow: hidden;
}

.mitad img {
  width: 100%;
  height: auto;
  display: block;
}

.contenido-superpuesto {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #EBF7E3;
  width: 100%;
  padding: 20px;
  text-align: center;
  
}



.contenido-superpuesto h2 {
  font-size: 24px;
  margin-bottom: 10px;
  font-family: Verdana, sans-serif;
}


.boton-enlace {
  color: #1B3409;
  font-weight: bold;
  text-decoration: none;
  background-color: #D2EDBF;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s ease;
  font-family: Verdana, sans-serif;;
}

.boton-enlace:hover {
  background-color: #D2EDBF;
}




.texto-inferior {
  background: linear-gradient(to right, #ebf7e3, #d4edc1);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 15px;
  color: #1B3409;
}

.contenedor-texto {
  max-width: 900px;
  text-align: center;
  font-size: 1.1rem;
  font-family: Verdana, sans-serif;
  line-height: 1.6;
}

.contenedor-texto h1 {
  font-weight: normal; 
  margin-bottom: 20px;
   font-size: 1.4rem;
   color: #4a7540;
}

.resaltado {
  font-weight: bold; 
}
.tab {
  overflow: hidden;
  border: 1px solid #66B032;
  background-color: #EBF7E3;
  max-width: 75%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}


.tab button {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 18px;
  transition: 0.3s;
  font-size: 1.8rem;
  font-weight: 500;
  margin: 5px;
  border-radius: 5px;
  color: #1B3409;
}


.tab button:hover {
  background-color: #D2EDBF
}


.tab button.active {
  background-color: #9BD770;
}


.tabcontent {
  display: none;
  padding: 20px 30px;
  border: 1px solid #66B032;
  border-top: none;
  max-width: 75%;
  margin: 0 auto 30px auto;
  background-color: #9BD770;
  border-radius: 0 0 8px 8px;
}

.tabcontent h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #1B3409;
}


.tabcontent p {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #1B3409;
}

.lista-bienestar {
  list-style-type: disc;
  padding-left: 25px;
  margin-top: 10px;
  color: #1B3409;
  font-size: 1.4rem;
  text-align: left;
}

.convenios {
    text-align: center;
    margin-top: 40px;
    color: #2F7033;
  }

  .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: Verdana, 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);
  }

 

  .titulo-final {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
  }
  
  .titulo-final h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2F7033;;
    letter-spacing: 2px;
    font-family:Verdana, sans-serif;
  }

   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;
  }


.footer {
  background: #ff0055;
  color: #1B3409;
  font-family:Verdana, sans-serif;
  margin-top: 40px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: #9BD770;
  padding: 40px 20px;
}

.footer-box {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  margin: 10px;
  font-size: 18px;
}

.footer-box strong {
  font-size: 20px;
  display: block;
  margin-bottom: 10px;
}

.footer-box p {
  margin: 6px 0;
}

.telefono {
  font-size: 18px;
  font-weight: bold;
  margin: 6px 0;
color: #1B3409;
}
.footer-bottom {
  text-align: center;
  padding: 15px;
  font-size: 14px;
  background-color: #1B3409;
  border-top: 1px solid #9BD770;
color: white;
}

.whatsapp-burbuja {
  position: fixed;
  bottom: 20px;
  right: 1810px;
  background-color: #375f1b00;
  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 fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@media only screen and (max-width: 300px) {
  .anterior, .siguiente,.text {font-size: 11px}
}