*{
 
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
body, html{
    padding: 0;
    margin: 0;
    width: 100%;
    height:auto;
}
/* Animación */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

header{
    width: 100%;
    height: auto;
    background-size: cover;
    background-image:url(/images/fundacion-background.webp);
}
header nav{
    width: 100%;
    display: flex;
    padding: 1%;
}
header nav .logo{
    width: 25%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
header nav .logo img{
    width: 200px;
    height: auto;
}
header .nav-links{
    width: 40%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
header .nav-links a{
    color:#db911b ;
    font-size: 25px;
    text-decoration: none;
    font-weight: 600;
}
.nav-links a:hover{
background-color: #fff;
    animation: pulse 1s infinite;
}
header .redes{
    width: 35%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
header .redes img{
    width: 35px;
    height: auto;
}
/*sección home*/
.containerh{
    width: 100%;
display: flex;
height: auto;

}
.container-title{
    width: 50%;
    padding-left: 30px;

}
.container-title h1{
    color: #fff;
    font-size: 48px;
    width: 50%;
}
.container-title p{
    color: #fff;
    font-size: 30px;
    width: 72%;
}
button{
    background-color: #176289;
    padding: 10px 5px;
    width: 25%;
    border-radius: 10px;
}
button a{
    color: #fff;
    font-size: 25px;
    text-decoration: none;
}
button:hover{
    animation: pulse 1s infinite;
}
/*botones flotantes*/
.whatsapp-fixed {
    position: fixed;
    right: 3%; /* Ajusta según tus preferencias */
    bottom:32%; /* Distancia desde el fondo para no superponer el footer */
    color: white;
    padding: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1%; /* Tamaño del círculo */
    height: 1%; /* Tamaño del círculo */
    text-decoration: none;
    z-index: 1000; /* Asegúrate que esté sobre otros elementos */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2); /* Opcional: Añade sombra para mejor visibilidad */
}
.whatsapp-fixed:hover{ animation: pulse 1s infinite;}

.call-fixed {
    position: fixed;
    right: 3%; /* Ajusta según tus preferencias */
    bottom:19%; /* Distancia desde el fondo para no superponer el footer */
    color: white;
    padding: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1%; /* Tamaño del círculo */
    height: 1%; /* Tamaño del círculo */
    text-decoration: none;
    z-index: 1000; /* Asegúrate que esté sobre otros elementos */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.call-fixed img{
    width: 5.5rem;
    height:6rem;
}
.call-fixed i {
    font-size: 30px; /* Aumenta el tamaño del ícono del teléfono */
}
.call-fixed:hover{
    animation: pulse 1s infinite; 
}
.container-titlep h1{
    color: #db911b;
    text-align: center;
    font-size: 25px;
}
.container-titlep p{
    color: #686464;
    font-size: 20px;
    padding-left: 20%;
    padding-right: 20%;
    text-align: center;
}
/*formulariooo*/
.contact-form {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 20px;
    padding-left:2%;
   height:79vh;
    width:50%; /* O ajusta según la necesidad */
    box-shadow: none; /* Sombra suave alrededor del formulario */
    text-align: center; /* Centrar el texto y los elementos del formulario */
    margin-top: 5%;

}
form{
    width: 50%;
    height: 0vh;
}
#contactForm label {
    display: block; /* Los labels en su propia línea */
    margin-top: 10px; /* Margen superior */
    margin-bottom: 2px; /* Espaciado antes de cada input */
    color: #fff; /* Color del texto de las etiquetas */
}
#contactForm textarea {
    width: 100%; /* Ocupa todo el ancho del contenedor del formulario */
    height: 130px; /* Ajusta esto según cuánto quieras que sea alto el cuadro de texto */
    padding: 7px; /* Espacio interior alrededor del texto */
    margin-bottom: 15px; /* Espaciado después del textarea */
    border: 1px solid #fff; /* Borde del color azul característico */
    border-radius: 6px; /* Bordes redondeados para el textarea */
    box-sizing: border-box; /* El width incluye el padding y border */
    resize: vertical; /* Permite al usuario cambiar el tamaño verticalmente si es necesario */
    color: #fff;
}
input, textarea {
    width: 100%;
    height:7vh;
    padding: 8px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #ccc;
    color: #fff;
  }
  .submit-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinea el contenido a la izquierda */
  }
  .submit-container input[type="submit"] {
    margin-right: 10px; /* Espacio entre el botón y el texto */
    cursor: pointer;
  }
  .submit-text {
    color:#fff;
    font-size: 16px;
  }
#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm input[type="tel"],
#contactForm textarea {
    width: calc(100% - 20px); /* Ancho menos el padding */
    padding: 8px; /* Espacio interior para escribir */
    margin-bottom: 15px; /* Espaciado después de cada input */
    border: 1px solid #fff;
    border-radius: 12px; /* Bordes redondeados para los inputs y textarea */
    border-width:2px ;
    background: none;
    color: #fff;
    box-sizing: border-box; /* El width incluye el padding y border */
}

  input::placeholder, textarea::placeholder {
    color: white; /* Cambia el color a blanco */
    opacity: 1; /* Asegura que el color sea completamente opaco */
  }

#contactForm input[type="submit"] {
    background-color: #176289;
    border: 1px solid #fff;
    margin-left:0;
    width: 50%; /* El botón de envío ocupa todo el ancho */
    padding:2px 2px; /* Espacio interior del botón */
    color: white; /* Texto blanco en el botón */
    border-radius: 12px; /* Bordes redondeados del botón */
    cursor: pointer; /* Cursor de mano al pasar por encima */
    margin-top: 3px; /* Margen superior para separar del último input/textarea */
}

#contactForm input[type="submit"]:hover {
    background-color:#db911b; /* Color del botón al pasar el cursor por encima */
}

#contactForm input:invalid,
#contactForm textarea:invalid {
    border-color:  #fff;
     /* Color de borde para campos inválidos */
}

.contact-form h2 {
    margin-bottom: 15px;
    color: #fff;
    width:50%;
    align-items: center;

    padding-left: 2%;
}


/*fORMULARIO*/
.container-im{
    width: 100%;
    height: auto;
    display: flex;
    padding: 2%;
    align-items: center;
    background: linear-gradient(to right, #004080, #66a3ff);
    filter: blur(1px);
    justify-content: space-evenly;
    
}
.container-im img{
    width: 150px;
    height: auto;
}
.container-causas{
    width:100%;
    display: flex;
    height: auto;
    padding: 20px;
    background-color:#FFFFFF;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);

    

}
.item{
    width: 25%;
    padding: 1%;
}
.item h3{
    color: #db911b;
    font-size: 25px;
    text-align: center;
}
.item p{
    font-size: 22px;
    width: 80%;
    color: #C8C8C8;

}
/*mision*/
.mision{
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
}
.mision .container-m{
    width: 50%;
    padding: 1%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mision .container-m img{
    width: 50%;
    height: auto;
}
.mision .container-text{
    width: 50%;
    height: auto;
}
.mision .container-text p{
    color:#C8C8C8;
    font-size: 22px;
    width: 70%;
}
.mision .container-text h3{
    font-size: 28px;
}
.testimonials{
    width: 100%;
    height: auto;
        padding: 2%;
   
}
.testimonials h3{
    text-align: center;
}.testimonios{
    width: 100%;
    height: auto;
    gap: 10px;
    display: flex;
    border-radius: 8px;
    justify-content: center;
}
.grid{
    width: 30%;
    height: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);


}

.grid p{
  font-style: italic;
  font-size: 22px;
  color: #aaa8a8;
  padding:12px;
}
/*footer*/
footer{
    width: 100%;
    background-color: #000;
    margin: 0;
    padding: 0;


}
.container-footer{
    width: 100%;
    display: flex;
    background-color: #000;
    padding: 1%;
}
.container-footer .logo{
    
        width: 25%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
}
.container-footer .logo img{
    width: 200px;
    height: auto;
}
.nav-links{
    width: 40%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.container-footer .nav-links a{
    color:#db911b ;
    font-size: 25px;
    text-decoration: none;
    font-weight: 600;
}
.container-footer .redes{
    width: 35%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.container-footer .redes img{
   width: 35px;
    height: auto;
}
footer .copy a{
    color: #db911b;
    text-decoration: none;
    text-align: center;
}
footer .copy{
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
}
/*subpagina nosotros*/
.cotainer-nosotros, .container-visi, .container-lider{
    width: 100%;
    height: auto;
    display: flex;
}
.nosotros-text, .vision-text{
    width: 50%;
    height: auto;
    padding: 1%;
    color: #686464;
    font-size: 25px;
}
.vision-text h3{
    color: #db911b;
}
.nosotros-imagen, .vision-imagen{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nosotros-imagen img,  .vision-imagen img{

    width: 50%;
    height: auto;
}
.container-valor{
    background-image: url(/images/servicio-social-fundacion.webp);
    background-size: cover;
    background-repeat: no-repeat;
}
.container-valor{
    width: 100%;
    display: flex;
}
.valor-title{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #db911b;
    font-size: 30px;
}
.container-compromiso{
    width: 50%;
    font-size: 25px;
    color: #fff;
    padding: 10px;
}
.container-compromiso strong{
    color: #db911b;
}

.lideres-container h2{
    text-align: center;
    font-size: 30px;
    color: #686464;
}
.container-lider{
    gap: 10px;
    padding: 1%;
}
.lider-item{
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);
}
.lider-item h3{
    color: #db911b;
    text-align: center;
    font-size: 23px;
}
.lider-item p{
    font-size: 20px;
    color: #686464;
}
/*subpagina proyectoa*/
.container-proyectos{
    width: 100%;
    height: auto;
}
.container-proyectos .container-title{
    width: 100%;
    padding: 0;
}
.container-proyectos .container-title h1{
    color: #db911b;
    text-align: center;
    width: 100%;
}
.container-proyectos .container-title p{
    width: 100%;
    color: #686464;
    font-size: 22px;
    padding-left: 25%;
    padding-right: 25%;
}
.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    padding: 40px;
 width: 100%;
    margin: 0 auto;
}

.proyecto {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.proyecto img {
    width: 80%;
    height: auto;
    object-fit: cover;
}

.proyecto h2 {
    color: #ff6600;
    font-size: 1.5rem;
    margin: 15px 0;
}

.proyecto p {
    padding: 0 15px 20px;
    color: #666;
    font-size: 22px;
}
 /*Media query*/
 @media (max-width: 768px) {
    header nav, .container-footer{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    header .nav-links, .container-footer .nav-links{
        width: 100%;
        justify-content: space-around;
        margin-top: 5px;
        margin-bottom: 9px;
        font-size: 20px;
    }
    header .nav-links a {
        font-size: 18px;
    }
    header .redes, .container-footer  .redes{

        width: 100%;
        justify-content: center;
        margin-bottom: 9px;
    }
    .container-footer  .nav-links a{
        font-size: 18px;
    }
    header .redes a{
        width: 15%;
        justify-content: center;
        display: flex;
    }
    .container-footer .redes img{
        height: auto;
        width: 29px;
        margin: 3px;
    }
    .containerh{
        flex-direction: column;
    }
    .container-title{
        width: 100%;
        padding: 0;
        justify-content: center;
        flex-direction: column;
        display: flex;
        align-items: center;
    }
    .contact-form{
        width: 100%;
        padding-left: 0;
        align-items: center;
    }
 form{
    width: 100%;
 }
    .container-title h1 {
        width: 100%;
        font-size: 25px;
        text-align: center;
    }
    .container-title p{
        font-size: 18px;
        width: 100%;
        padding: 5px;
    }
    button{
        width: 50%;
        padding: 10px 5px;
    }
    .container-im{
display: none;
    }
    .container-causas, .mision, .testimonios{
        flex-direction: column;
        width: 100%;
        padding: 5px;
    }
    .item, .mision .container-m, .mision .container-text, .mision .container-text p, .grid, .item p {
        width: 100%;
    }
    .cotainer-nosotros, .lideres-container, .container-visi, .container-lider{
        width: 100%;
        flex-direction: column;
    }
    .cotainer-nosotros .nosotros-text, .nosotros-imagen, .vision-imagen, .vision-text{
        width: 100%;
        padding: 5px;
    }
    .lider-item{
        color: #686464;
        font-size: 18px;
    }
    .container-valor{
        width: 100%;
        flex-direction: column;
    }
    .valor-title{
        width: 100%;
        text-align: center;
        font-size: 25px;
    }
    .container-compromiso{
        width: 100%;
    }
    .container-proyectos{
        width: 100%;
        flex-direction: column;

    }
    .container-titlep{
        width: 100%;

    }
    .container-titlep h1{
        color: #db911b;
        text-align: center;
    }
    .container-titlep p{
        padding: 3px;
        color: #686464;
        font-size: 18px;
    }
    .proyectos-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr); 
        gap: 10px;
        padding: 10px;
     width: 100%;
        margin: 0 auto;
    }
    .grid img{
        width: 80%;
    }
 }