* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos generales */

body {
    font-family: 'Lato', sans-serif;
    background-color: #ffffff;
    color: #0D0A6B;
    line-height: 1.6;
}


/* header */

header {
    
    height: 30%;
    display: flex;
    flex-direction: row;
    align-items: center;
    background:  linear-gradient(to right, #1BE7B0, #0D0A6B);
    color: #ffffff;
    padding: 1px 20px;
    text-align: center;
    
}


.header__img {
   
    max-width: 24%; /* Ajuste del tamaño del logo */
    height: auto;
}

h1 {
    
    font-family: 'Karma', serif;
    font-size: 4.5vw; /* Ajuste del tamaño del encabezado */
    height: auto;
    color: #ffffff;
}


/* Nav */
.nav {
    background-color: #FFFFFF;
    padding: 10px 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.nav__ul {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
}

.nav__ul li {
    margin-right: 20px;
    color: #111111;
}


.nav__ul li a {
    color: #0D0A6B;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-family: 'karma', serif;
    font-weight: bold;
}


.nav__ul li a:hover {
    background-color: #1BE7B0;
}

/* Estilos para dispositivos móviles */
@media screen and (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: left;
    }

    .nav__ul {
        flex-direction: column;
        text-align: left;
    }

    .nav__ul li {
        margin: 0;
        margin-bottom: 10px;
    }
}


/* Contenedor principal con Flexbox */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
}



h2, h5, h6 {
    width: 95%;
    margin: 20px auto;
    overflow: hidden;
    color: #0D0A6B;
    font-size: 4vh;
    font-family: "Karma", serif;
    text-align: center;
    padding: 30px 20px;
    background-color: #1BE7B0;
}



/* Sección de Misión y Visión */
section#mision__vision {
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: center;
    margin-top: 20px;
    margin-left: 30px;
    margin-right: 30px;

}

.mision, .vision {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;

}

h3, h4 {
    color: #111111;
    font-family: "Karma", serif ;
}

.mision img, .vision img {
    width: 12%;
    margin-bottom: 10px;
    color: #0D0A6B;
}

/* Sección de Testimonios */
/
section#testimonios {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Ajusta el espacio entre los elementos */
    padding-bottom: 0px;
}


.testimonio__1 {
    flex-basis: calc(33.33% - 20px); 
    margin-bottom: 20px;     
    border: 1px solid #ccc;
    padding: 20px 10px;
    text-align: center;
    color: #111111;
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;

}

.testimonio__imagen__1 {
    max-width: 100%;
    height: auto;
    margin-left: 2px;
    margin-right: 2px;
    margin-bottom: 30px;
    border: 1px solid #808080;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(100, 450, 124, 0.1);
}

@media screen and (min-width: 768px) {
    .testimonio__imagen__1 {
    max-width: 40%; /* Establece el límite de anchura en pantallas grandes */
    height: auto; /* Mantiene la proporción de aspecto */
    }
    }

/* Sección de Contacto Rápido */

#contacto__rapido {
    text-align: center;
    padding: 5px 20px;
}


.contacto__rapido__whatsapp {
    padding: 10px;
    margin-top: 10px;
    font-size: 8hw;
    font-family: 'karma', serif;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 8px;

}

.fa-whatsapp, .fa-twitter, .fa-linkedin {
    height: 85px; 
    margin-top: 5px;
}



/* Estilos para la sección de imagen final */
#imagen__index {
    text-align: center; /* Centra la imagen horizontalmente */
    
}

.imagen__index__1 {
   
    max-width: 100%;
    height: auto;
    padding: 30px 20px;
    
}

@media screen and (min-width: 768px) {
    .imagen__index__1 {
    max-width: 40%; /* Establece el límite de anchura en pantallas grandes */
    height: auto; /* Mantiene la proporción de aspecto */
    }
    }

footer {
    text-align: center;
    color: #111111;
    margin-bottom: 180px;
}

