.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 HISTORIA--------------------*/
.nuestra-historia {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    background-color: #fff;
}

.historia-container {
    display: flex;
    align-items: center;
    margin-left: 100px;
    max-width: 1100px;
    width: 100%;
    gap: 50px;
}

.historia-texto {
    flex: 1;
    text-align: left;
    max-width: 520px;
    padding: 50px 0;
}

.historia-subtitulo {
    font-family: 'VTF Justina', sans-serif;
    font-size: 14px;
    color: #48b2e8;
    text-transform: uppercase;
}

.historia-texto h2 {
    font-family: 'VTF Justina', sans-serif;
    font-size: 36px;
    color: #146ab5;
    margin-bottom: 20px;
    margin-top: 0px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(90px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.historia-texto h2.visible{
    opacity: 1;
    transform: translateY(0px);
}

.historia-underline {
    width: 95px;
    height: 4px;
    background-color: #48b2e8;
    margin-bottom: 20px;
}

.historia-texto p {
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    color: #626262;
    line-height: 1.5;
    margin-bottom: 15px;
    max-width: 100%;
    text-align: justify;
}

.historia-imagenes {
    flex: 1;
    display: flex;
    flex-direction: row; 
    gap: 15px; 
    align-items: flex-end; 
    justify-content: flex-start; 
    width: 80%;
    max-width: 900px;
    height: auto;
}

.imagen-historia-superior {
    width: 90%;
    margin-right: 10px;
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.imagen-historia-superio.visible{
    opacity: 1;
    transform: translateX(0);
}

.imagen-historia-superior img {
    width: 100%;
    height: auto;
    min-height: 600px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

.imagen-historia-inferior {
    width: 140%;
    margin-left: 10px;
    opacity: 0;
    transform: translateY(120px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.imagen-historia-inferior.visible{
    opacity: 0;
    transform: translateY(0);
}

.imagen-historia-inferior img {
    width: 140%;
    height: auto;
    min-height: 600px; 
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .nuestra-historia {
        padding: 40px 20px;
    }
    
    .historia-container {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        gap: 30px;
    }
    
    .historia-texto {
        max-width: 100%;
        padding: 0;
        text-align: center;
    }
    
    .historia-texto h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .historia-texto p {
        font-size: 14px;
        text-align: justify;
        padding: 0 10px;
    }
    
    .historia-underline {
        margin: 10px auto;
    }
    
    .historia-imagenes {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }
    
    .imagen-historia-superior, .imagen-historia-inferior {
        width: 100%;
        margin: 0 auto;
        transform: none;
        opacity: 1;
    }
    
    .imagen-historia-superior img, .imagen-historia-inferior img {
        width: 100%;
        height: auto;
        min-height: auto;
    }
}


/*------------------NUESTRA HISTORIA2--------------------*/
.nuestra-historia2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    background-color: #fff;
}

.historia2-container {
    display: flex;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    gap: 50px;
}

.historia2-imagen {
    flex: 1;
    max-width: 550px;
    opacity: 0;
    transform: translateX(-120px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.historia2-imagen.visible {
    opacity: 1;
    transform: translateX(0);
}

.historia2-imagen img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

.historia2-texto {
    flex: 1;
    text-align: left;
    max-width: 500px;
}

.historia2-subtitulo {
    font-family: 'VTF Justina', sans-serif;
    font-size: 14px;
    color: #48b2e8;
    text-transform: uppercase;
}

.historia2-texto h2 {
    font-family: 'VTF Justina', sans-serif;
    font-size: 36px;
    color: #146ab5;
    margin-bottom: 20px;
    margin-top: auto;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(120px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.historia2-texto h2.visible{
    opacity: 1;
    transform: translateY(0);
}

.historia2-underline {
    width: 95px;
    height: 4px;
    background-color: #48b2e8;
    margin-bottom: 20px;
}

.historia2-texto p {
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    color: #626262;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: justify;
}

@media screen and (max-width: 768px) {
    .nuestra-historia2 {
        padding: 40px 20px; 
    }

    .historia2-container {
        flex-direction: column; 
        text-align: center; 
        max-width: 100%;
        gap: 20px;
    }

    .historia2-texto {
        max-width: 100%; 
        text-align: left;
    }

    .historia2-texto h2 {
        font-size: 28px; 
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .historia2-subtitulo {
        font-size: 12px; 
    }

    .historia2-texto p {
        font-size: 14px;
        line-height: 1.5;
        text-align: justify;
    }

    .historia2-underline {
        width: 70px;
        margin: 0 auto 15px auto;
    }

    .historia2-imagen {
        max-width: 100%;
        transform: translateX(0) !important; 
    }

    .historia2-imagen img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    }
}


/*------------------NUESTRA HISTORIA3--------------------*/
.operador-logistico {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background-color: #fff;
    overflow: hidden;
}

.operador-container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.operador-texto {
    text-align: center;
    margin-bottom: 20px;
}

.operador-subtitulo {
    font-family: 'VTF Justina', sans-serif;
    font-size: 14px;
    color: #48b2e8;
    text-transform: uppercase;
}

.operador-texto h2 {
    font-family: 'VTF Justina', sans-serif;
    font-size: 36px;
    color: #146ab5;
    margin-bottom: 10px;
    margin-top: 0;
}

.operador-underline {
    width: 80px;
    height: 3px;
    background-color: #48b2e8;
    margin: 0 auto 20px;
}

.operador-carousel {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.operador-track {
    display: flex;
    width: 300%;
    transition: transform 0.8s ease-in-out;
}

.operador-item {
    flex: 0 0 calc(100% / 3); 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.operador-item img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}



