/* Estilo General */
@font-face {
    font-family: 'Aller Regular';
    src: url('../fonts/Aller/Aller_Std_Rg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Aller';
    src: url('../fonts/Aller/Aller_Std_Bd.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Aller Bold Italic';
    src: url('../fonts/Aller/Aller_BdIt.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Aller Light';
    src: url('../fonts/Aller/Aller_Std_Lt.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Aller Light Italic';
    src: url('../fonts/Aller/Aller_LtIt.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Aller Italic';
    src: url('../fonts/Aller/Aller_It.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Aller Display';
    src: url('../fonts/Aller/AllerDisplay.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: 'Aller Regular', sans-serif;
    background-color: #f4f4f4;
}

/* Contenedor del video */
.video-container {
    position: relative;
    overflow: hidden;
    height: 800px;
    
}

.video-container video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* Texto superpuesto en el video */
.overlay-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #ffffff;
    text-align: left;
}

.overlay-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    font-family: 'Aller Display';
}

.overlay-subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-family: 'Aller Regular';
}

.overlay-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #003087;
    border: none;
    border-radius: 20px;
    color: #ffffff;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Aller Regular';
}

.overlay-button:hover {
    background-color: #001f5b;
}

/* Sección adicional con el objetivo */
.additional-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 20px;
}

.additional-section .content img {
    max-width: 600px; /* Ancho máximo de la imagen */
    width: 100%; /* Asegura que se ajuste al contenedor */
    height: auto; /* Mantiene la proporción */
}

/* Sección de Misión y Visión */
.mission-vision {
    padding: 50px 20px;
}

.mission, .vision {
    flex: 1;
    padding: 30px;
    border-radius: 5px;
    box-sizing: border-box;
}
.mission-vision .content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}
.mission img, .vision img {
    display: block;
    margin: 0 auto 15px;
    width: auto;
    max-width: 100%;
    height: auto;
}

.mission-text, .vision-text {
    font-size: 1.2rem;
    line-height: 1.5;
    color:#001f5b;
    font-family: 'Aller Regular';
    text-align: justify;

}
/* CSS for Valores Empresariales section */
.valores-empresariales {
    background-color: #041c5d; /* Dark blue background color */
    color: white; /* White text color */
    padding: 40px 20px;
}
.content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.valores-title {
    margin-top: 40px;
    font-size: 2.5em;
    font-weight: bold;
    text-transform: uppercase;
}

.valores-title img {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}
.valor-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.valores-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-top: 20px;
}

.valor {
    color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    width: calc(33.333% - 40px);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background-color:#041c5d;
}

.valor img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.valor h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: left;
    text-transform: uppercase;
    font-family: 'Aller Regular', sans-serif; /* Apply Aller Regular font */
    font-weight: bold;
}

.valor p {
    font-size: 1em;
    line-height: 1.8;
    font-family: 'Aller Light', sans-serif;
    text-align: justify;
    font-weight: 300;
    margin: 0;
}
label {
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'Aller Bold', Arial, sans-serif; /* Cambia a Aller Bold */
}


/* Contact Section */
/* Sección de Contacto */
.contact-section {
    background-color: #f2f3f5;
    padding: 40px 80px;
    margin: 10px 35px 20px;
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Alineación para ocupar todo el ancho */
}

.contact-title {
    font-size: 3em;
    font-weight: bold;
    color: #0a2463;
    font-family: 'Aller Display', Arial, sans-serif;
    margin-bottom: 10px;
}

.contact-description {
    position: relative;
    margin-right: 25px;
    font-size: 1.5em;
    color:#002060;
    font-family: 'Aller Regular';
    text-align: justify;
    line-height: 1.5;
    max-width: 100%;
}

.contact-info {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-section .contact-info .info-items .info-item p {
    color: #001f5b;
    font-family: 'Aller';
    font-size: 1.2rem;
}
.info-item img {
    width: 50px;
    height: 50px;
    margin: 5px;
}

.follow-us-title {
    font-size: 3em;
    font-weight: bold;
    color: #AAD159;
    font-family: 'Aller Display';
    margin-top: 30px;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-media img {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

/* Formulario de Proyecto */
.formulario-proyecto {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 100%;
    margin: 20px 0;
}

.titulo-formulario {
    text-align: center;
    font-size: 2em;
    color: #002060;
    margin-bottom: 30px;
    font-family: 'Aller Display', Arial, sans-serif;
}

.campo {
    font-family: 'Aller Regular';
    display: flex;
    flex-direction: column;
    margin-bottom: 1px;
    color: #001f5b;
}
.campo1{
    font-family: 'Aller Regular';
    display: flex;
    flex-direction: row;
    padding: 25px 0;
    color: #002060;
    justify-content: center;
}

label {
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'Aller Regular';
}
.input-oculto {
    display: none; /* Oculta completamente el input nativo */
}
input{
    border-color: #001f5b;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
input[type="file"] {
    padding: 12px;
    border-radius: 10px;
    font-size: 1em;
    font-family: 'Aller Regular',  sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
input[type="file"]:focus {
    border-color: #AAD159;
    box-shadow: 0 0 8px rgba(166, 206, 57, 0.3);
    outline: none;
}

textarea {
    resize: vertical;
    border-color: #001f5b;
}
.boton-subida {
    display: flex;
    width:auto;
    padding: 10px 15px;
    background-color: #AAD159;
    color: #041c5d;
    cursor: pointer;
    border-radius: 8px;
    font-family: 'Aller Regular';
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
    font-size: 1.2em;
}

.boton-subida:hover {
    background-color: #8bbf32;
    transform: translateY(-2px);
}

#nombre-archivo {
    font-family: 'Aller Regular';
    color: #002060;
    text-align: center;
    margin-left: 15px;
    display: grid;
    align-content: center;

}
.g-recaptcha {
    display: flex;
    justify-content: center;
}

.boton-enviar {
    background-color: #AAD159;
    color:#041c5d;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s, transform 0.2s;
    font-family: 'Aller Display';
    justify-self: center;
}
#formulario-proyecto{
    display: grid;
}

.boton-enviar:hover {
    background-color: #8bbf32;
    transform: translateY(-2px);
}

.boton-enviar:active {
    transform: translateY(0);
}

/* Responsividad */
@media (max-width: 768px) and (min-width: 320px) {

    .mission-vision .content{
        gap:1px;
    }
    .mission-vision{
        width: 100%;
    }
    .mission{
        width: 50%;
    }
    .mission-text, .vision-text{
        text-align: start;
        font-size: 0.8rem;

    }
    .vision{
        width: 50%;
    }

    .valor{
        flex-direction: column;
        width: 100%;
        margin: 0 0;
        justify-content: center;
        align-items: center;
        gap:5px;
    }

    .valor img{
        width: 20%;
        height: auto;
        display: flex;
    }
    .contact-section {
        width: 100%;
        display:flex;
        margin: 0 0;
        padding:0 0;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
    .valores-list{
        display:flex;
        flex-direction: column;
        padding-top: 0;
        gap: 0;
    }
    .contact-info,
    .formulario-proyecto {
        width:100%;
        margin-left: 0; /* Ajuste para que ambos elementos quepan en línea */
    }
    .contact-title{
        font-size: 200%;
        margin-left:10px;
        margin-bottom: 0;
    }
    .contact-description{
        margin-top: 0;
        margin-left: 10px;
        font-size: 120%;
    }
    .info-item{
        width:100%;
        margin-left: 0;
    }
    .contact-description {
        max-width: 100%;
    }
    .contact-section .contact-info .info-items .info-item p {
        font-size: 1rem;
    }
    .follow-us-title {
        display: flex;
        justify-content: center;
        margin-top: 0;
    }
    .social-media {
        margin-top: 0;
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .formulario-proyecto {
        padding: 20px;
        max-width: 100%;
        margin: 0 0 -20px 0;
    }

    .titulo-formulario {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .titulo-formulario {
        font-size: 1.5em;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 0.95em;
    }
    .boton-subida {
        align-self: center;
        text-align: center;
    }
    .boton-enviar {
        font-size: 1.1em;
        width: auto;
    }
    .campo {
    width: 100%;
    max-width: 350px;
    }
    .campo1{
        flex-direction: column;
    }
    #nombre-archivo {
    }
    
    button {
        margin:15px 0;
    }
    .space {
        padding-top: 1vh;
    }
}
@media screen and (max-height: 500px) and (orientation: landscape) {
    .contact-section {
        padding: 40px 24px;
    }
}
@media screen  and (min-width: 3440px){
    .overlay-title {font-size: 70px;}
    .overlay-subtitle {font-size: 53px;}
    .overlay-button {font-size: 48px;}
    .additional-section .content img {max-width: 1300px;}
    .mission-text, .vision-text {font-size: 3rem;}
    .content {max-width: 2500px};
    .valor img{ width: 160px; height: 160px;}
    .valor h3 {font-size: 4rem;}
    .valor p{font-size: 3rem;}
    .contact-title{font-size: 6em;}
    .contact-description{font-size: 3em;}
    .info-item img{width: 6em; height: 6em;}
    .contact-section .contact-info .info-items .info-item p{font-size: 3em;}
    .titulo-formulario{font-size: 4em;}
    label{font-size: 2em;}
    input[type="text"], input[type="email"], input[type="tel"], textarea, input[type="file"] {font-size: 2em;}
    .boton-subida {font-size: 2em;}
    #nombre-archivo {font-size: 2em;}
    .boton-enviar {font-size: 3rem;}
    .g-recaptcha{transform: scale(2.4); margin: 50px 0;}
}