/* ===== HERO BANNER ===== */
.our-services-hero {
    position: relative;
    background: url('/images/banners/projects.jpg') no-repeat center center/cover;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* 🔹 Superposición oscura */
/*.our-services-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 49, 139, 0.4);
}

/* Capa negra semitransparente sobre el azul */
/*.hero-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
} */


/* 🔹 Imagen del título "Our Services" en la esquina inferior izquierda */
.our-services-hero .hero-banner img {
    position: absolute; /* Permite colocarlo en cualquier parte */
    left: 5%;  /* 🔹 Ajusta la distancia desde el borde izquierdo */
    bottom: 5%; /* 🔹 Ajusta la distancia desde el borde inferior */
    width: auto;
    max-width: 250px; /* 🔹 Ajusta el tamaño según sea necesario */
    max-height: 120px;
}



/* ====== EDUCATION SECTION ====== */
.education-section {
    width: 100%;
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    flex-direction: column;
    padding: 40px 0; /* Quitar padding horizontal */
}

.education-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.education-content {
    width: 100%;
}

.education-title {
    width: 100%;
    margin-bottom: 30px;
}

.education-title h2 {
    font-size: 32px;
    font-weight: bold;
    color: #002b5c;
    text-align: left;
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    margin: 30px 0;
    width: 100%;
}

.education-image {
    width: 100%;
}

.education-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.education-text {
    width: 100%;
}

.education-text h3 {
    font-size: 35px;
    font-weight: 500;
    color: #002b5c;
}

.education-text p {
    font-size: 16px;
    color: rgb(160, 160, 160);
    line-height: 1.6;
    text-align: justify;
    font-weight: lighter;
}

.education-text p strong {
    color: #002b5c;
}

.education-details {
    grid-column: span 2;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

.education-details p strong {
    color: #002b5c;
    font-weight: bold;
}




/* Animaciones Scroll */
.scroll-animate-left, .scroll-animate-right {
    opacity: 0;
    transition: all 1s ease-out;
}

.scroll-animate-left {
    transform: translateX(-50px);
}

.scroll-animate-right {
    transform: translateX(50px);
}

.visible {
    opacity: 1 !important;
    transform: translateX(0px) !important;
}

.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}






@media (max-width: 1024px) {
    .education-section {
        padding: 30px 0; /* Quitamos padding lateral del section */
    }

    .education-container {
        width: 90%;
        margin: 0 auto;
    }

    .education-title {
        width: 90%;
        margin: 0 auto 30px;
    }

    .education-title h2 {
        font-size: 28px;
        text-align: center;
        color: #002b5c;
    }

    .education-grid {
        width: 90%;
        margin: 0 auto 40px;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .education-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .education-image img {
        width: 100%;
        border-radius: 8px;
        object-fit: cover;
    }

    .education-text {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .education-text h3 {
        text-align: center;
        font-size: 26px;
        margin-bottom: 20px;
        color: #002b5c;
    }

    .education-text p {
        text-align: justify;
        font-size: 15px;
        line-height: 1.6;
        color: rgb(160, 160, 160);
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .education-section {
        padding: 25px 0;
    }

    .education-container {
        width: 85%;
    }

    .education-title {
        width: 85%;
        margin: 0 auto 25px;
    }

    .education-title h2 {
        font-size: 24px;
    }

    .education-grid {
        width: 85%;
        gap: 20px;
        margin-bottom: 30px;
    }

    .education-text h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .education-text p {
        font-size: 14px;
        line-height: 1.5;
        padding: 0;
        margin-bottom: 15px;
    }

    .education-image {
        max-width: 100%;
    }
}