/* ============================================================
   OVER MIJ / EDUCARE
   ============================================================ */
.over-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--wit);
    margin: var(--margin) 0;
}

.over-duo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.over-side-photo {
    flex: 1;
    height: 420px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.over-side-photo.over-photo-left {
    margin-right: -40px;
    border-top-right-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

.over-side-photo.over-photo-right {
    margin-left: -40px;
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
}

.over-side-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.over-textbox-centered {
    flex: 0 0 540px;
    max-width: 540px;
    background: var(--wit);
    padding: 56px 48px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-radius: var(--radius);
    z-index: 5;
    text-align: center;
    border: 1px solid var(--grijs-licht);
}

.over-logo {
    max-height: 62px;
    width: auto;
    margin-bottom: 1.25rem;
}

@media (max-width: 1024px) {
    .over-section {
        margin: 0 !important;
        padding: 0 !important;
        background: var(--blauw);
    }

    .over-duo-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        width: 100%;
        padding: 0;
        background: var(--blauw);
        gap: 160px;
    }

    .over-side-photo {
        width: 100%;
        height: 380px;
        margin: 0 !important;
        border-radius: 0 !important;
        flex: none;
        position: relative;
    }

    .over-side-photo.over-photo-left {
        border-bottom: 2px solid var(--goud);
    }

    .over-side-photo.over-photo-left img {
        object-fit: cover;
        object-position: center 40%;
    }

    .over-side-photo.over-photo-right {
        display: block;
        border-top: 2px solid var(--goud);
    }

    .over-side-photo.over-photo-right img {
        object-fit: cover;
        object-position: center 20%;
    }

    .over-textbox-centered {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 36px);
        max-width: 540px;
        margin: 0;
        padding: 28px 28px;
        z-index: 10;
        flex: none;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    }

    .over-textbox-centered.reveal.visible {
        transform: translate(-50%, -50%);
    }

    .over-logo {
        max-height: 54px;
        height: auto;
    }
}

@media (max-width: 600px) {
    .over-duo-container {
        gap: 220px;
    }

    .over-side-photo {
        height: 280px;
    }

    .over-textbox-centered {
        width: calc(100% - 24px);
        padding: 20px 18px;
    }

    .over-textbox-centered h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .over-textbox-centered .label {
        font-size: 14px;
        margin-bottom: 0.3rem;
    }

    .over-textbox-centered p {
        font-size: 0.88rem;
        line-height: 1.45;
        margin-bottom: 0.75rem;
    }

    .over-textbox-centered .btn {
        padding: 8px 18px;
        font-size: 0.75rem;
    }
}