.why-us-section {
    overflow: hidden;
}

.why-us-section .image-wrapper {
    border-radius: 30px;
    overflow: hidden;
    line-height: 0;
    position: relative;
    padding-bottom: 100%;
    height: 758px;
}

.why-us-section .image-wrapper img {
    position: absolute;
    right: 0;
    left: auto;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

.why-us-section .image-wrapper:hover img {
    transform: scale(1.08);
}

.why-us-section .wrapper {
    display: flex;
    align-items: stretch;
    margin: 0 -28px;
    flex-wrap: wrap;
}

.why-us-section .wrapper .image-block {
    width: 47.65%;
    padding-left: 28px;
    padding-right: 28px;
}

.why-us-section .wrapper .text-wrapper {
    width: 52.35%;
    padding-left: 28px;
    padding-right: 28px;
}

.why-us-section .text-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 40px;
}

.why-us-section .text-box {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-right: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}


.why-us-section .text-box:last-child {
    /* grid-column: 1 / -1; */
    border-right: none;
    border-bottom: none;
}

.why-us-section .text-box:nth-child(2n) {
    border-right: none;
}

.why-us-section .text-box:nth-child(odd):last-child {
    border-bottom: none;
}

.why-us-section .text-box:last-child {
    border-bottom: none;
}

.why-us-section .text-boxes:has(.text-box:nth-child(odd):last-child) .text-box:last-child {
    grid-column: 1 / -1;
}

.why-us-section .text-boxes:has(.text-box:nth-child(even):last-child) .text-box:nth-last-child(2) {
    border-bottom: 0;
}

.why-us-section .icon-block {
    width: 45px;
    height: 45px;
}

.why-us-section .icon-block img {
    width: 100%;
    height: 100%;
    display: block;
}

.why-us-section .text-block h3 {
    margin: 20px 0 20px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
}

.why-us-section .text-block p {
    line-height: 1.6;
}

@media (max-width: 1199px) {

    .why-us-section .wrapper .image-block,
    .why-us-section .wrapper .text-wrapper {
        width: 50%;
    }

    .why-us-section .wrapper {
        margin: 0 -10px;
    }

    .why-us-section .wrapper .text-wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

    .why-us-section .text-boxes {
        margin-top: 15px;
    }

    .why-us-section .text-block h3 {
        margin: 20px 0 10px;
    }

    .why-us-section .image-wrapper {
        height: 500px;
    }
}

@media (max-width: 991px) {
    .why-us-section .wrapper {
        margin: 0;
    }

    .why-us-section .wrapper .image-block,
    .why-us-section .wrapper .text-wrapper {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    .why-us-section .wrapper .text-wrapper {
        margin-top: 30px;
    }

    .why-us-section .image-wrapper {
        line-height: 0;
        border-radius: 12px;
        overflow: hidden;
        height: auto;
    }

    .why-us-section .text-boxes {
        margin-top: 20px;
    }
}

@media (max-width: 640px) {
    .why-us-section .text-boxes {
        grid-template-columns: 1fr;
    }

    .why-us-section .text-box {
        border-right: none;
    }

    .why-us-section .text-box:not(:last-child) {
        border-bottom: 1px solid #e0e0e0;
    }

    .why-us-section .text-block h3 {
        font-size: 16px;
    }
}