.banner-mtech-8 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 2rem 1rem;
}
.banner-mtech-8 .content-wrapper {
    display: flex;
    flex-direction: column;
    width: 81.25rem;
    max-width: 100%;
    gap: 2.5rem;
}
.banner-mtech-8 .content-wrapper .text-part {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.banner-mtech-8 .content-wrapper .text-part > h2 {
    width: 100%;
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    color: #0f0f0f;
}
.banner-mtech-8 .content-wrapper .text-part .description {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
}
.banner-mtech-8 .content-wrapper .text-part .description .left-part {
    display: flex;
    width: 100%;
}
.banner-mtech-8 .content-wrapper .text-part .description .left-part > h3 {
    width: 100%;
    font-size: 1.5rem;
    line-height: 1.875rem;
    color: #0f0f0f;
}
.banner-mtech-8 .content-wrapper .text-part .description .right-part {
    display: flex;
    width: 100%;
}
.banner-mtech-8 .content-wrapper .text-part .description .right-part > p {
    font-size: 1rem;
    line-height: 1.25rem;
    width: 100%;
    color: #898d90;
}
.banner-mtech-8 .content-wrapper .image-container {
    display: flex;
    position: relative;
    width: 100%;
    height: 35rem;
}
.banner-mtech-8 .content-wrapper .image-container::after {
    background: linear-gradient(to bottom, #002865b0 20%, #ffffff00 75%);
    aspect-ratio: 13 / 8;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 0.5rem;
}

.banner-mtech-8 .content-wrapper .image-container > img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}
.banner-mtech-8 .content-wrapper .image-container .text-over-image {
    position: absolute;
    transform: translate(-50%, 0);
    left: 50%;
    width: 100%;
    top: 4.5rem;
    z-index: 1;
    color: white;
    font-size: 1.5rem;
    line-height: 1.875rem;
    text-align: center;
}

@media (max-width: 81.25rem) {
    .banner-mtech-8 {
        padding: 6rem;
    }
    .banner-mtech-8 .content-wrapper {
        width: unset;
        gap: 6rem;
    }
    .banner-mtech-8 .content-wrapper .text-part {
        gap: 3rem;
    }
    .banner-mtech-8 .content-wrapper .text-part > h2 {
        text-align: left;
        line-height: 4.5rem;
    }
    .banner-mtech-8 .content-wrapper .text-part .description {
        flex-direction: column;
        justify-content: unset;
        gap: 2rem;
    }
    .banner-mtech-8 .content-wrapper .text-part .description .left-part > h3 {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    .banner-mtech-8 .content-wrapper .text-part .description .right-part > p {
        line-height: 1.5rem;
    }
    .banner-mtech-8 .content-wrapper .image-container {
        height: unset;
        aspect-ratio: 1 / 1.35;
    }
    .banner-mtech-8 .content-wrapper .image-container .text-over-image {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }
}
@media (max-width: 700px) {
    .banner-mtech-8 {
        padding: 1.5rem 1.25rem;
    }
    .banner-mtech-8 .content-wrapper {
        gap: 4.75rem;
    }
    .banner-mtech-8 .content-wrapper .text-part {
        gap: 2rem;
    }
    .banner-mtech-8 .content-wrapper .text-part > h2 {
        font-size: 2.25rem;
        line-height: 2.25rem;
    }
    .banner-mtech-8 .content-wrapper .text-part .description {
        gap: 1rem;
    }
    .banner-mtech-8 .content-wrapper .text-part .description .left-part > h3 {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }
    .banner-mtech-8 .content-wrapper .text-part .description .right-part > p {
        font-size: 0.75rem;
        line-height: 1rem;
    }
    .banner-mtech-8 .content-wrapper .image-container .text-over-image {
        top: 3rem;
        font-size: 1.25rem;
        line-height: 1.5rem;
    }
}