.section-education {
    width: 100vw;
}

.image-container-education {
    position: relative;
    width: 100vw;
    height: 60vh;
    overflow: hidden;
    margin-bottom: 10vh;
    padding-bottom: clamp(16px, 4vh, 64px);
}

.image-container-education img {
    min-width: 100vw;
    height: 50vh;
    object-fit: cover;
    display: block;
}

.overlay-text {
    position: absolute;
    top: 52%;
    left: 25%;
    color: white;
    z-index: 1;
}

.overlay-text h1 {
    font-size: 4.5rem;
    margin: 0;
    line-height: 1.2;
}

.highlight-white {
    color: white;
}

.highlight-green {
    color: #7AC142;
    /* verde suave */
    font-weight: bold;
}

.description {
    padding: 30px;
    max-width: 40vw;
    margin: auto;
    font-size: 20px;
    line-height: 1.5;
    text-align: start;
    margin-left: 23%;
}

.description>p {
    max-width: 40vw;
}

@media (max-width: 768px) {
    .image-container-education { height: 40vh; margin-bottom: 6vh; }
    .image-container-education img { height: 40vh; }
    .overlay-text { left: 8%; top: 50%; }
    .overlay-text h1 { font-size: 2rem; }
    .description { max-width: 90vw; margin-left: auto; font-size: 16px; }
    .description>p { max-width: 100%; }
}

@media (max-width: 1280px) {
    .overlay-text { left: 18%; top: 50%; }
    .overlay-text h1 { font-size: 2.6rem; }
    .description { max-width: 60vw; margin-left: auto; }
}

@media (min-width: 1200px) and (max-width: 1500px) and (max-height: 900px) {
    .image-container-education { height: 50vh; margin-bottom: 6vh; }
    .image-container-education img { height: 50vh; }
    .overlay-text { top: 48%; left: 16%; }
    .overlay-text h1 { font-size: 2.4rem; }
}

/* Ajustes gerais para janelas com altura efetiva baixa (zoom >= 125%) */
@media (max-height: 900px) {
    .image-container-education { height: 70vh; }
    .image-container-education img { height: 70vh; }
    .overlay-text { top: 42%; }
    .overlay-text h1 { font-size: 3rem; }
}