.why-us-section {
    /* margin-top: 3rem; */
    display: grid;
    row-gap: 2rem;
    /* padding: clamp(1rem, 5vw, 5rem); */
}

.why-us-section header {
    /* text-align: center; */
    /* padding: 0 2rem; */
    width: min(100%, 40rem);
    display: grid;
    row-gap: 1rem;
}

.why-us-main-content {
    display: flex;
    align-items: center;
    /* background-color: aliceblue; */
    /* justify-content: center; */
}

.why-us-main-content > :first-child {
    height: 30rem;
    width: min(35rem, 100%);
    /* width: 30rem; */
    overflow: hidden;
    background-color: var(--green5);
    border-radius: 1rem 0 0 1rem;
    /* outline: 1px solid brown; */
}

.why-us-main-content > :nth-child(2) {
    min-height: 40rem;
    width: min(40rem, 100%);
    flex-grow: 1;
    /* background-color: aliceblue; */
    box-shadow: var(--shadow1);
    border-radius: 1rem;
    display: flex;
    flex-wrap: wrap;
    /* align-items: center; */
    align-content:space-evenly;
    gap: 2rem;
    justify-content: space-between;
    padding: 3rem;
}

.why-us-main-content > :nth-child(2) > * {
    width: min(100%, 15rem);
}

.why-us-img-container {
    position: relative;
}

.why-us-img-container > :first-child {
    position: absolute;
    bottom: -10rem;
    width: 90%;
    /* outline: 1px solid green; */
}

.why-us-img-container > :first-child img {
    width: 100%;
    height: 100%;
}

.why-us-img-container > :nth-child(2) {
    --width: 15rem;
    width: var(--width);
    position: absolute;
    left: calc((100% - var(--width))/2);
    bottom: -12rem;
    position: relative;
    height: 30rem;
}

.why-us-img-container > :nth-child(2) > :first-child {
    width: 100%;
    height: 100%;
}

.why-us-img-container > :nth-child(2) > :nth-child(2) {
    position: absolute;
    top: 6rem;
    right: -5rem;
    height: 5rem;
}
.why-us-img-container > :nth-child(2) > :nth-child(3) {
    position: absolute;
    top: 0;
    left: -5rem;
    height: 5rem;
}


@media screen and (max-width: 640px) {
    .why-us-main-content {
        flex-direction: column;
    }

    .why-us-main-content > :first-child {
        border-radius: 1rem 1rem 0 0;
    }

    .why-us-main-content > :nth-child(2) {
        padding: 2rem 1rem;
        align-content: flex-start;
        min-height: max-content;
    }
    
    .why-us-main-content > :nth-child(2) > * {
        width: 100%;
    }

    .why-us-section header {
        padding: 0;
    }
    
}