/*GENERALES*/
body, html {
    margin: 0;
    font-family: 'Roboto';
    height: 100%;
}
a{
    text-decoration: none;
}

main p{
    font-size: 20px;
}
body, section:not(header):not(footer) p, section:not(header):not(footer) span, section:not(header):not(footer) div {
    font-family: 'Roboto';
}
section:not(header):not(footer) h1, 
section:not(header):not(footer) h2, 
section:not(header):not(footer) h3, 
section:not(header):not(footer) h4, 
section:not(header):not(footer) h5, 
section:not(header):not(footer) h6 {
    font-family: 'Signika', sans-serif;
}
.boton-principal{
    background-color: #0092C7; 
    color: white; 
    padding: 15px 40px; 
    border: none; 
    border-radius: 40px; 
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease; 

}
.boton-secundario {
    background-color: #43B4B1; 
    color: white; 
    padding: 15px 40px; 
    border: none; 
    border-radius: 40px; 
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease; 
}
.btn-acc{
    background-color: #005578;
}
.btn-acc:hover{
    background-color: #0092C7;
}
.boton-principal:hover{
    background-color: #43B4B1;
}
.boton-secundario:hover {
    background-color: #005578;
}
.logo-blanco{
    width: 300px;
    height: auto;
}
/*GENERALES*/
/*HEADER*/
.logo_1{
    width: 100px;
    height: auto;
    
}
header {
    font-size: 20px;
    font-family: 'Signika';
}

.nav-link {
    color: #005578;
    transition: color 0.4s ease-out, transform 0.2s ease-out; 
    font-size: inherit; 
}

.nav-link:hover {
    color:#43B4B1;
    transform: scale(1.1); 
}

.dropdown-item {
    font-size: 18px;
    color: #fff;
}
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000; 
}

.whatsapp-icon img {
    width: 70px; 
    height: auto;
}
/*FIN HEADER*/
/*HOME*/ 
/*section1*/
.section-1 p {
    font-size: 18px;
}
.back-section1{
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 720px;
}
.back-section1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.227);
    z-index: 1;
}
.back-section1 > * {
    position: relative;
    z-index: 2; 
}
/*fin section1*/
/*section2*/
.section-2 h2, .section-4 h2{
    font-family: 'Signika';
    font-size: 40px;
    color: #005578;
}
.img-edit {
    overflow: hidden;
    position: relative;
    width: 500px;
    height: 600px;
    border-radius: 20px;
    padding: 20px;
}

.img-edit > img {
    width: 100%;
    height: 100%; 
    border-radius: 20px;
    transition: transform 1.1s ease-out; 
}

.img-edit:hover > img {
    transform: scale(1.15);
}

.overlay-text {
    font-size: 30px;
    position: absolute;
    top: 88%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: #fff; 
    font-family:'Signika' ;
    background-color:rgba(0, 84, 120, 0.588); 
    padding: 10px;
    padding-left: 120px;
    padding-right: 120px;
    border-radius: 10px; 
    text-align: center;
    transition: color 0.5s ease-in-out, transform 0.75s ease-in-out;
}

.img-edit:hover .overlay-text {
    transform: translate(-50%, -50%) scale(1.1); 
    color: #fff;
}
/*fin section2*/
/*inicio section3*/

.fondo-sect3{
    background-color: #005578;
    color: #fff;
    padding: 20px;
    border-radius: 20px;
}
/*Fin Seccion 3*/
/*Inicio Seccion 4*/
.map-responsive {
    position: relative;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #f3f3f3;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.fondo-sect4{
    background-color: #fff;
    border: #004a64 solid 2px;
    color: #004a64;
    padding: 20px;
    border-radius: 20px;
}

/*Fin Seccion 4*/
/*INICIO FOOTER*/
.footer {
    background-color: #005578; 
    color: #ffffff; 
}
.footer-logo img {
    height: 150px; 
    width: auto;
    transition: transform 0.3s ease;  
}
.footer-logo img:hover{
    transform: scale(1.1);
}

.footer-social img {
    height: 40px; 
    width: auto;   
    transition: transform 0.3s ease;  
}
.footer-social img:hover {
    transform: scale(1.1);
}
footer p {
    font-family: 'Signika';
    font-size: 20px;
}
/*FIN FOOTER*/

/*Media Queries*/

@media (max-width: 768px) {
    .section-1 p, h1 {
        display: none;
    }
    .logo-blanco{
        margin-bottom: 50px;
    }
    .content-section1{
        display: flex;
        flex-direction: column;
    }
    .img-edit{
        width: 300px;
        height: 400px;
    }
    .section-2 h2, .section-4 h2{
        font-size: 30px;
    }
    .boton-principal{
        background-color: #0092C7; 
        color: white; 
        padding: 15px 30px; 
        border: none; 
        border-radius: 20px; 
        font-size: 18px;
        cursor: pointer;
        transition: background-color 0.3s ease; 
    
    }
    .boton-secundario {
        background-color: #43B4B1; 
        color: white; 
        padding: 15px 30px; 
        border: none; 
        border-radius: 20px; 
        font-size: 18px;
        cursor: pointer;
        transition: background-color 0.3s ease; 
    }
    .overlay-text{
        padding-left: 65px;
        padding-right: 65px;  
        font-size: 22px;
        top: 85%;
    }
    .img-section-3{
        height: 300px;
        width: 250px;
    }
    .pos-section-3 {
        display: flex;
        flex-direction: column-reverse;
    }
}


/*SECCION NOSOTROS*/
.hero {
    height: 80vh;
    background: url('../img/back.jpg')no-repeat center center;
    background-size:cover;
    display: flex;
    justify-content: center;
    align-items: center;
}


.logo-nosotros {
    height: 400px;

}
   
.primera-seccion {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    min-height: 400px;
}
    
.primera-seccion .info-content {
    flex: 1;
    background-color: #005578;
    color: #ffffff;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}
.info-content2{
    flex: 1;
    background-color: #ffff;
    color: #005578;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}
    
.primera-seccion .info-image {
    flex: 1;
}
    
.primera-seccion .info-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
 /* Segunda sección (Misión) */
 
.segunda-seccion {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-evenly;
    margin-top: 4rem; /* Espacio en la parte superior */
    margin-bottom: 3rem; /* Incrementa el espacio inferior */
    padding-bottom: 3rem; /* Un pequeño relleno extra, si lo prefieres */
}

.segunda-seccion .info-content,
.segunda-seccion .info-image {
    flex: 1;

}

.segunda-seccion .info-content {
    background-color: #004a64;
    color: #ffffff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.segunda-seccion .info-image img {
    width: 100%;
    height:max-content;
    object-fit: cover;
}

/* Tercera sección (Visión) */
.tercera-seccion {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.tercera-seccion .info-content,
.tercera-seccion .info-image {
    flex: 1;

}

.tercera-seccion .info-content {
    background-color: #004a64;
    color: #ffffff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tercera-seccion .info-image img {
    width: 100%;
    height: auto;
 
    object-fit: cover;
}
.historia {
    background-color: #004a64;
}
.historia-text {
    border: #005578 solid 4px;
    border-radius: 20px;
    padding: 40px;
    color: #fff;

}
.leer-mas{
    display: none;
}
/*responsive nosotros-historia*/
@media (max-width: 768px) {
    .historia-parrafo {
        max-height: 100px; 
        overflow: hidden;
        text-overflow: ellipsis;
        position: relative;
        transition: max-height 0.3s ease;
    }

    .historia-parrafo.expandido {
        max-height: none; 
    }

    .leer-mas {
        display: inline-block;
        margin-top: 10px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .info-section {
        flex-direction: column; 
        text-align: center;
    }
    .info-content, .info-image {
        max-width: 100%;
    }

    .primera-seccion {
        flex-direction: column;
    }
    
    .primera-seccion .info-content, 
    .primera-seccion .info-image {
        flex: none;
        width: 100%; 
    }
    
    .primera-seccion .info-content {
        text-align: center;
    }

    .segunda-seccion, 
    .tercera-seccion {
        flex-direction: column;
    }
    
    .segunda-seccion .info-content, 
    .segunda-seccion .info-image, 
    .tercera-seccion .info-content, 
    .tercera-seccion .info-image {
        flex: none;
        width: 100%;
        margin: 0;
    }
    
    .segunda-seccion .info-content, 
    .tercera-seccion .info-content {
        text-align: center;
    }
}
/*SECCION NOSOTROS*/

/*SECCION CANOPY*/
.card-body {
    transition: height 0.3s ease;
    overflow: hidden;
}
.boton-cards {
    background-color: #004a64; 
    color: white; 
    padding: 15px 40px; 
    border: none; 
    border-radius: 10px; 
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease; 
}
.boton-cards:hover {
    background-color: #43B4B1; 
    color: white; 
    padding: 15px 40px; 
    border: none; 
    border-radius: 10px; 
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease; 
}
/*SECCION CANOPY*/

#splide img {
    width: 120%;
    height: auto;
}

@media (max-width: 768px) {
    #splide img {
        max-height: 500px; /* Ajusta el tamaño de la imagen para móviles */
        object-fit: cover; /* Asegura que la imagen mantenga proporciones */
    }

    .splide__list {
        padding: 0 10px; /* Añade algo de espacio para mejor visualización */
    }
}
