.header-general {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.header-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/Imagenes/imagenCourier3.jpg') no-repeat center center/cover;
    filter: blur(3px); 
    z-index: 0;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 62, 128, 0.6);
    z-index: 1;
}

.header-content {
    position: absolute;
    top: 40%;
    left: 15%;
    transform: translateY(-50%);
    color: white;
    text-align: left;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(35px); 
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-content h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'VTF Justina', sans-serif;
    opacity: 0; 
    animation: fadeInUp 1s ease-out forwards; 
}
    
.underline {
    width: 100px;
    height: 3px;
    background-color: #48b2e8;
    margin-bottom: 20px;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(650px); 
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.breadcrumb {
    font-size: 15px;
    color: #ffffff;
    opacity: 0.8;
    display: flex;
    align-items: center;
    margin-top: 5px;
    font-family: 'Slate', sans-serif;
    opacity: 0; 
    animation: fadeInRight 1s ease-out 0.5s forwards;
}

.breadcrumb i{
    font-size: 15px; 
    margin: 0 8px; 
    color: #48b2e8; 
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.breadcrumb a:hover {
    color: #F8A22F;
}

.breadcrumb span {
    margin-left: 5px;
}

/* ----------------NUESTRA EXPERIENCIA ---------------------*/
.nuestra-experiencia {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    background-color: #fff;
}

.contenedor-experiencia {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
}

.texto-experiencia {
    flex: 1;
    text-align: left;
    padding-left: 200px;
    max-width: 450px;
}

.subtitulo-experiencia {
    font-family: 'VTF Justina', sans-serif;
    font-size: 14px;
    color: #57B5E3;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.texto-experiencia h2 {
    font-family: 'VTF Justina', sans-serif;
    font-size: 32px;
    color: #245bb4;
    font-weight: bold;
    margin: 10px 0;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.texto-experiencia h2.visible{
    opacity: 1;
    transform: translateY(0);
}

.subrayado-experiencia {
    width: 50px;
    height: 3px;
    background-color: #57B5E3;
    margin: 15px 0;
}

.texto-experiencia p {
    font-family: 'Slate', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.imagenes-experiencia {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

.imagen-izquierda {
    max-width: 450px;
    height: 300px;
    padding-top: 80px;
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.imagen-izquierda.visible{
    opacity: 1;
    transform: translateX(0);
}

.imagen-derecha {
    max-width: 450px;
    height: auto;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.imagen-derecha.visible{
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    .contenedor-experiencia {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .texto-experiencia {
        padding-left: 0;
        max-width: 100%;
        text-align: center;
    }

    .texto-experiencia h2 {
        font-size: 28px;
        text-align: center;
    }

    .imagenes-experiencia {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 100%;
    }

    .imagenes-experiencia img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .imagen-izquierda,
    .imagen-derecha {
        padding-top: 0;
        max-width: 100%;
        height: auto;
    }
}


/* ---------------- ESPIRITU EMPRENDEDOR ---------------------*/
.espiritu-emprendedor {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px 0;
    background-color: #fff;
}

.contenedor-emprendedor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    width: 100%;
}

.imagen-emprendedor {
    flex: 1;
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.imagen-emprendedor.visible{
    opacity: 1;
    transform: translateX(0);
}

.imagen-emprendedor img {
    max-width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.texto-emprendedor {
    flex: 1;
    text-align: left;
    padding-left: 50px;
    max-width: 550px;
}

.texto-emprendedor h2 {
    font-family: 'VTF Justina', sans-serif;
    font-size: 32px;
    color: #1F4F9C;
    font-weight: bold;
    margin: 10px 0;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.texto-emprendedor h2.visible{
    opacity: 1;
    transform: translateY(0);
}

.subrayado-emprendedor {
    width: 100px;
    height: 3px;
    background-color: #57B5E3;
    margin: 15px 0;
}

.texto-emprendedor p {
    font-family: 'Slate', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .espiritu-emprendedor {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }

    .contenedor-emprendedor {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .texto-emprendedor {
        padding-left: 0;
        max-width: 100%;
    }

    .texto-emprendedor h2 {
        font-size: 28px;
        text-align: center;
        line-height: 1.3;
    }

    .subrayado-emprendedor {
        width: 80px;
        margin: 10px auto;
    }

    .texto-emprendedor p {
        font-size: 14px;
        text-align: center;
    }

    .imagen-emprendedor {
        width: 100%;
        max-width: 350px;
        margin-top: 20px;
    }

    .imagen-emprendedor img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}



/* ---------------- ESPIRITU EMPRENDEDOR ---------------------*/
.contacto {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    background-color: #f7f7f7;
}

.contenedor-contacto {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    width: 100%;
}

.texto-contacto {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.subtitulo-contacto {
    font-size: 14px;
    color: #57B5E3;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'VTF Justina', sans-serif;
}

.texto-contacto h2 {
    font-family: 'VTF Justina', sans-serif;
    font-size: 32px;
    color: #1F4F9C;
    font-weight: bold;
    margin: 10px 0;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.texto-contacto h2.visible{
    opacity: 1;
    transform: translateY(0);
}

.subrayado-contacto {
    width: 100px;
    height: 3px;
    background-color: #57B5E3;
    margin: 15px 0;
}

.texto-contacto p {
    font-family: 'Slate', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.formulario-contacto {
    flex: 1;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.formulario-contacto.visible{
    opacity: 1;
    transform: translateY(0);
}

form {
    display: flex;
    flex-direction: column;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 13px;
    background-color: #fff;
    font-family: 'Slate', sans-serif;
}

textarea {
    height: 100px;
}

.boton-enviar {
    background: linear-gradient(90deg, #fcbb43, #ff882d);
    color: white;
    font-size: 13px; 
    font-weight: bold;
    padding: 10px 18px; 
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    display: inline-block;
    width: auto; 
    align-self: flex-start;
}

.boton-enviar:hover {
    background: linear-gradient(90deg, #FF6F00, #FFA600);
}

@media screen and (max-width: 768px) {
    .contacto {
        padding: 40px 15px; /* Reduce el padding lateral */
    }

    .contenedor-contacto {
        flex-direction: column;
        text-align: center;
    }

    .texto-contacto {
        max-width: 100%;
        text-align: left;
        padding: 0 20px;
    }

    .texto-contacto h2 {
        font-size: 28px;
    }

    .formulario-contacto {
        width: 100%;
        max-width: 90%;
        padding: 20px;
        margin-top: 20px;
    }

    input, textarea {
        font-size: 14px;
        padding: 12px;
    }

    .boton-enviar {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}
