.waste-treatment {
    display: flex;
    justify-content: center;
    flex-direction: row;
    min-height: 60vh;
    height: auto;
    background-color: #84bd41;
    margin-top: 5vh;
    align-items: stretch;
}

.image-container-waste-treatment {
    margin-top: 0 !important;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    height: auto;
    width: 50vw;
}

.image-container-waste-treatment img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    margin-right: 0;
    z-index: 0;
}

.text-content {
    color: white;
    padding: 40px;
    box-sizing: border-box;
    background-color: #84bd41;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50vw;
    margin-left: 0;
    z-index: 1;
}

.text-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 28vw;
}

@media (max-width: 1280px) {
    .image-container-waste-treatment { width: 55vw; }
    .text-content { width: 45vw; }
    .text-content p { max-width: 40vw; }
}

@media (max-width: 1700px) and (max-height: 900px) {
    .waste-treatment { margin-top: 2vh; }
}

@media (max-width: 768px) {
    .waste-treatment { flex-direction: column; height: auto; }
    .image-container-waste-treatment, .image-container-waste-treatment img { height: auto; }
    .image-container-waste-treatment img { width: 100vw; max-width: 100vw; margin-right: 0; }
    .text-content { width: 100vw; margin-left: 0; padding: 24px 16px; }
    .text-content h2 { font-size: 22px; }
    .text-content p { font-size: 16px; max-width: 90vw; }
}