.text-content-contact {
    position: relative;
    background: linear-gradient(103deg, rgba(243, 243, 243, 1) 0%, rgba(224, 225, 226, 1) 100%);
    padding: 50px 22px;
}

.text-content-contact:after {
    content: "";
    position: absolute;
    width: 1260px;
    height: 601px;
    right: -17px;
    top: 0;
    background: linear-gradient(90deg, rgba(224,225,226,1) 0%, rgba(243,243,243,1) 100%);
    clip-path: polygon(0 0, 100% 0, 68% 100%, 0% 100%);
}

.text-content-contact__content {
    position: relative;
    z-index: 1;
}

.text-content-contact__form {
    position: relative;
    z-index: 1;
}

.text-content-contact__content .sub-heading {
    color: #000000;
    font-size: 20px;
    margin-bottom: 10px;
}

.text-content-contact__content {
    margin: 0 0 30px;
}

.text-content-contact-bg {
    display: none;
}

.two-logo-carousel + .text-content-contact {
    margin-top: 0 ;
}

@media(min-width: 768px) {
    .text-content-contact {
        background: linear-gradient(103deg, rgba(243, 243, 243, 1) 0%, rgba(224, 225, 226, 1) 100%);
        padding: 80px 52px;
    }

    .text-content-contact:after {
        right: 38px;
    }

    .text-content-contact__content {
        margin: 0 0 36px;
    }
}

@media(min-width: 1200px) {
    .text-content-contact:after {
        right: calc(50% - 150px);
        width: 1028px;
        height: 100%;
    }

    .text-content-contact {
        padding: 100px 63px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .text-content-contact__content {
        width: 391px;
        margin: 0;
    }

    .text-content-contact__form {
        width: calc(100% - 391px);
        padding-left: 32px;
    }

    .contact-form .col-xl-4 {
        width: 50%;
    }

    .contact-form .col-xl-12 {
        width: 50%;
    }
}

@media(min-width: 1600px) {
    .contact-form .col-xl-4 {
        width: 33.3333%;
    }

    .contact-form .col-xl-12 {
        width: 100%;
    }

    .text-content-contact {
        padding: 100px 147px;
        margin: 115px 63px;
    }

    .single-post .text-content-contact {
        margin: 0 63px;
    }

    .text-content-contact:after {
        display: none;
    }

    .text-content-contact__content {
        width: 523px;
    }

    .text-content-contact__form {
        width: calc(100% - 523px);
        padding-left: 78px;
    }

    .text-content-contact-bg {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
    }
    .text-content-contact.fx-cat-family + .image-buttons {
        padding-top: 0;
    }
}