* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open\ Sans\ Regular.ttf'),
    url('../fonts/Open\ Sans\ Light.ttf'),
    url('../fonts/Open\ Sans\ Italic.ttf'),
    url('../fonts/Open\ Sans\ Semibold.ttf'),
    url('../fonts/Open\ Sans\ Bold.ttf');
    font-display: fallback;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Book.otf'),
    url('../fonts/Gotham-Bold.otf'),
    url('../fonts/Gotham-Medium.otf');    
    font-display: fallback;
}

html, body {
    height: 100%;
}
body {
    min-width: 23.55em;
    font-family: 'Gotham', sans-serif;
}
h3{      
    font-size: 1.1em;
    font-weight: 600;
}
/** Set root default colors*/
/** Set index values */
:root {
    --primary-color: #005b8b;
    --secondary-color: #84b753;
    /* --primary-color: #0D4B71;
    --secondary-color: #75C045; */
    --blue-108-color: #274c71;
    --background-color: #F5F5F5;
    --background-error-color: #cf0909;
    --text-primary-color: #274c71;
    --text-blue-light-color: #1074a7;
    --text-secondary-color: #0771a7;
    --text-color: #FFFFFF;
    --text-black: #000000;
    --text-gray: #CCCCCC;
    --text-gray-light: #858585;
    --text-black-light: #1E1E1E;
    --icon-color: #6376fa;
    --text-white: #FFFFFF;    
    --grant_z_index: 9999;
    --medium_z_index: 1111;
    --low_z_index: 1;
}
.text-black{
    color: var(--text-black);
}
.text-white{
    color: var(--text-white);
}
/** EMBLA STYLES */
.embla {
    overflow: hidden;
}

.embla__container {
    display: flex;
}

.embla__slide {
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
    max-height: 100%;
}

.embla__slide img {
    width: 100%;
    /* min-height: 13em; */
    /* aspect-ratio: 30/11;
    max-height: 100%; */
}
/** END EMBLA STYLES*/

.bg-message{
    background-color: var(--background-color);
    padding: 1em;
}
/* .home_section {
    background-color: #fff;
    color: #000;
    padding: 0;
    border-radius: 5px;    
    text-align: center;    
    position: relative;
} */

/** Information Form */
.home_section__information_form {
    background-color: var(--background-color);
    padding: 2em;
    border-radius: 5px;
    margin: 2em;
}
/* .information_form {
    margin-top: 1rem;
    display: flex;
    flex-flow: wrap column;
    gap: 1.2em;
} */

/* .information_form h2 {
    color: var(--text-black-light);
    text-align: start;
    margin-bottom: 0.2em;
    font-size: 1.3em;
} */

.information_form .input {
    border: none;
    border: 1px solid var(--text-gray);
    padding: 10px;
    border-radius: 5px;
    background-color: var(--text-color);
    color: var(--text-black);
}

.information_form #phone:focus {
    outline: none;
}

.information_form select {
    border: 1px solid var(--text-gray);
    padding: 10px;
    border-radius: 5px;
    color: var(--text-black);
}

.information_form textarea {
    border: none;
    border: 1px solid var(--text-gray);
}

.information_form .btn_request_information {
    padding: 10px;
    border: none;
    /* border: 1px solid var(--text-black); */
    border-radius: 5px;
    background-color: #1a486e;
    color: var(--text-color);
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    width: 100px;
}

.information_form .btn_request_information:is(:focus, :hover) {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: none;
}

.loader_form {
    border: 8px solid var(--secondary-color);
    border-top: 8px solid var(--icon-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    transform: translate(-50%, -50%);
}

#loader_footer {
    display: none;
}

#loader {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/** Slider Section */
.slider_section__items {
    background-color: var(--secondary-color);
    list-style: none;
    display: flex;
    padding: 2em;
    gap: 1em;
    justify-content: space-evenly;
    align-items: center;
}

.slider_list__links {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.2em;
}

.slider_list__links:is(:focus, :hover) {
    /* background-color: var(--primary-color); */
    color: var(--primary-color);
    /* padding: 5px; */
    transition: all 0.2 ease-in-out;
}

/** End slider section*/

/** Benefits Section */
.benefits_section {
    font-family: 'Proxima Nova', sans-serif;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1em;
    padding: 0 0 3em 0;
    /* min-height: 14em; */
}

.benefits_section__description {
    border: 1px solid var(--text-gray);
    border-radius: 5px;
    text-align: center;
    display: flex;
    flex-flow: wrap column;
    /* justify-content: center; */
    /* align-items: center; */
    min-height: 20em;
    text-decoration: none;
}

.benefits_section__description img {
    width: 100%;
    height: 12em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.benefits_section__description .benefits_description {
    text-align: left;
    padding: 1.5em;
    /* border: 1px solid var(--text-gray); */
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    width: 100%;
}

.benefits_description h4 {
    color: var(--text-blue-light-color);
    font-size: 1.5em;
    font-weight: 500;
    margin-bottom: 0.5em;
}

.benefits_description span {
    font-size: 1em;
    color: var(--text-gray-light);
}

/** Links Section */
.links_section {
    display: flex;
    flex-flow: wrap column;
    gap: 2em;
    padding: 1em;
    justify-content: space-evenly;
    align-items: center;
    min-height: 15em;
    background-color: var(--secondary-color);
}

.links_section__link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.2em;
}

.links_section__link:is(:focus, :hover) {
    color: var(--primary-color);
    transition: all 0.2 ease-in-out;
}

/** Corredor Section */

.corredor_section {
    min-height: 20em;
}

.corredor {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-content: space-around;
    align-items: center;
    gap: 1em;
}

.corredor__description {
    padding: 2em;
    border: 1px solid var(--text-gray);
    margin: 0 auto;
    max-width: 60%;
    text-align: left;
    min-width: 25em;
}

.corredor__description h3 {
    margin-bottom: 1em;
}

.corredor img {
    width: 90%;
    margin: 0 auto;
}

/** Video Section */

.video_section {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3em;
    padding: 3em 1em;
    min-height: 20em;
}

/* .video {
    min-height: 25em;
} */

.video iframe {
    width: 100%;
    height: 100%;
}

/** Contact Section */

.contact_section {
    display: flex;
    flex-flow: wrap column;
    min-height: 14em;
}

.contact_section__information {
    width: 100%;
    display: flex;
}

.contact_section__information iframe {
    width: 100%;
    height: 100%;
    min-height: 25em;
}

.contact_section__register {
    background-color: var(--background-color);
    width: 100%;
    padding: 2em;
}

.politicas {
    display: flex;
    flex-flow: wrap row;
    justify-content: center;
    gap: 1em;
    color: #000000;
}
.politicas-home {
    display: flex;    
    /* justify-content: center; */
    gap: 1em;
    color: #000000;
}

/** messages for forms */
.footer_phone_errors {
    color: var(--text-color);
    background-color: var(--background-error-color);
    padding: 10px;
    border-radius: 5px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 0.8em;
}

.success-message {
    color: var(--text-color);
    background-color: var(--secondary-color);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-message {
    color: var(--text-color);
    background-color: var(--background-error-color);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.error-container{
    text-align: left;
    font-size: 13px;
    color: var(--background-error-color);
    margin-bottom: 5px;
}

@media screen and (max-width: 768px) {
    .slider_section__items {
        /* font-size: 0.55em; */
        flex-flow: wrap column;
    }
}

/* when design is in tablet resolution changed size of links of images header */
@media screen and (min-width: 500px) and (max-width: 1024px) {
    .benefits_section__description img {
        height: 18em;
    }
}


@media (min-width: 768px) {
    .swiper-slide img {
        max-height: 30em;
    }

    /* .home_section__information_form {
        margin: 2em;
    } */

    .benefits_section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .links_section {
        min-height: 6em;
    }

    /* .links_section__link {
        font-size: 1.5em;
    } */

    .corredor {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact_section {
        flex-direction: row;
    }

    /* .contact_section__information {
        width: 60%;
    } */
    .contact_section__register {
        width: 40%;
        display: flex;
        justify-content: end;
    }

    .footer_form_green_line {
        border: 1px solid var(--secondary-color);
        
    }

    .footer_information_form p {
        text-align: left;
        color: var(--text-gray-light);
    }

    .footer_information_form #footer_phone:focus {
        outline: none;
    }
}

@media (min-width: 1024px) {
    /* body {
        display: flex;
        flex-direction: column;
    } */
    /* .swiper {
        height: 44em;
    } */
    .swiper-slide img {
        max-height: 44em;
    }

    .home_section__slider {
        position: relative;
        /* margin-top: 5em; */
    }

    .home_section__information_form {
        position: absolute;
        /* z-index: var(--medium_z_index); */
        top: 1em;
        right: 100px;
        width: 21em;
        border: 1px solid var(--text-gray);
    }

    .benefits_section {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits_section__description img {
        height: 19em;
    }

    .links_section {
        position: relative;
        flex-direction: row;
    }

    .links_section__link::before {
        content: '|';
        position: absolute;
        margin-left: -4em;
        color: var(--text-color);
    }
    .video {
        display: grid;
    }
    .video_section {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer_information_form {
        min-width: 25em;
        width: 25em;
    }
}

@media screen and (width: 1024px) {
    .benefits_section {
        gap: 1em;
        padding: 1em;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .home_section__information_form {
        max-width: 20em;
        margin: 0;
        padding: 0 1.5em;
    }
}

@media screen and (max-width: 1440px) {

    /* .information_form {
        gap: 1em;
    } */

    .information_form h2 {
        font-size: 1.2em;
    }

    .information_form input {
        padding: 10px;
    }

    .information_form select {
        padding: 10px;
    }
    /* .video {
        min-height: 20em;
    } */
    .links_section__link {
        font-size: 1.2em;
    }
}

/* new style home */
.top{
    margin-top: 80px;
}
.inner{
    max-width: 90em;
    margin: 0 auto; 
    margin-top: 10px;   
}
@media screen and (max-width: 480px){
    .inner {
        max-width: 85%;
    }
}

@media screen and (max-width: 1280px){
    .inner {
        max-width: 90%;
    }
}
#message-home{
    margin-top: 2em;
    margin-bottom: 2em;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    color: #000;
}
/* #message-title{
    max-width: 28em;
    align-items: end;
} */
#message-home #message-title{
    display: flex;
    flex-direction: column;
    /* align-items: center;     */
    justify-content: center;

}
#message-image{
    text-align: end;
}
#message-home img{
    max-width: 20em;
    box-shadow: 6px 6px 5px;
}
#bar-offer{
    margin: 1em 0;
    /* padding: 0.5em; */
    /* background-color: var(--secondary-color); */
    border-radius: 5px;
    color:var(--text-black);

}
#bar-offer h3{
    margin-top: 12px;
    text-align: center;
}
@media screen and (max-width:710px){
    #message-home{
        grid-template-columns: 1fr;
    }
    #message-image{
        text-align: center;
    }
    #message-home img{
        width: 100%;
    }
}

#educational-offer{    
    color: var(--text-black);
}

.container-educational-offer {
    margin: 1em 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6em;
}
/* .offer{
    flex-grow: 1;
    flex-basis: 200px; 
} */
.offer a{
    color: var(--text-black);
}
.offer p{
    /* padding: 1em 2em; */
    /* text-align: justify; */
}
.offer-container img{
    padding: 2em 2em 0;
}

.offer img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1100px) {
    .container-educational-offer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container-educational-offer {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width:790px){
    /* .container-educational-offer{
        grid-template-columns: 1fr;
    } */
    .title-position{
        text-align: start;
        font-size: 22px;
    }
}
.links_section__link_info {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1em;
}

.links_section__link_info:is(:focus, :hover) {
    color: var(--primary-color);
    transition: all 0.2 ease-in-out;
    cursor: default;    
}

.dropdown{
    position: relative;
}
.dropdown h5{
    margin-bottom: 0;
}
.dropdown img {
    margin-left: 5px;
    width: 6%;
    height: 2em;
}
.dropdown-toggle{
    cursor: pointer;
}
.dropdown-menu{
    position: absolute;
    list-style-type: none;
    left: 10px;
    background: var(--navbar-bg-color);
    padding: 10px;
    min-width: 12em;
    text-align: left;
    z-index: 11;
    display: none;
}
.dropdown-menu li{
    color: var(--text-color);
    margin: 8px;
}
.dropdown-menu li a{
    font-size: 0.9em;
    color: var(--text-color);
    font-weight: bold;
    text-decoration: none;
}
.dropdown-menu li a:is(:focus, :hover){    
    color: var(--secondary-color);
}
.show{
    display: block;
}
@media screen and (max-width:699px) {
    .dropdown-menu{
        position: static;
        text-align: center;
    }
    /* .dropdown img {        
        width: 4%;
    } */
}
.description-online h2{
    margin-top: 1em;    
}
.social-networks-footer{
    display: flex;
    gap: 10px;
    flex-direction: row-reverse;
}

/* SLIDER SECTION CON DOS ESPACIOS; IMAGEN Y FORMULARIO */
.slider_section {
    display: grid;
    grid-template-columns: 3fr 1.2fr;
     /* gap: 5px;  */
}

/* SLIDER SECTION SOLO CON LA IMAGEN DE SLIDER
 .slider_section { 
     display: block; /* Cambia grid a block 
     width: 100%; Asegura que ocupe todo el ancho 
 } */
.slider_section h5{
    color: var(--text-black-light);
    font-size: 14px !important;
}
@media screen and (max-width:990px) {
    .slider_section{        
        grid-template-columns: 1fr;        
    }    

}

/* Container general para video y logos */
.responsive-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2em;
}

/* Estilos para el video */
.responsive-video {
    flex: 1 1 400px;
    max-width: 100%;
}

.responsive-video iframe {
    width: 100%;
    height: 500px; /* Tu altura original */
    border: none;
    border-radius: 0px;
}

/* Contenedor de los logos y frase */
.logos-container {
    flex: 1 1 500px;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

/* Fila de logos */
.logos-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    flex-wrap: wrap;
}

.logos-row img {
    max-height: 100px;
    width: 100%;
    max-width: 30%;
    object-fit: contain;
}

/* Imagen de la frase */
.frase-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Responsive ajustes */
@media screen and (max-width: 768px) {
    .logos-row {
        flex-direction: column;
        align-items: center;
    }

    .logos-row img {
        max-width: 80%;
    }
}