.common_hero_section {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 400px;
    display: flex;
    align-items: start;
    justify-content: start;
    text-align: left;
    padding-top: 104px;
    padding-left: 8.4%;
}

#contactus .common_hero_section .container {
    max-width: 95%;
}

#contactus .common_hero_section {
    padding-left: 0px;
    padding-top: 74px;
}

@media screen and (min-width: 1800px) {
    #contactus .common_hero_section .container {
        max-width: 1656px;
        padding: 0;
        padding-right: 7px;
    }

    #contactus .common_hero_section {
        padding-left: 56px;
    }
}


.common_hero_section.finance {
    background-image: url(/images/common/finance-header-image.jpg);
}

#careers_section .common_hero_section {
    background-image: url(/images/common/careers-header-image.jpg);
}

#reviews .common_hero_section {
    background-image: url(/images/common/reviews-header-image.jpg);
}

#about .common_hero_section {
    background-image: url(/images/common/who-we-are-header-image.jpg);
}

.common_hero_section {
    background-image: url(/images/common/contact-header-image.jpg);
}

#servicing-page .common_hero_section {
    background-image: url(/images/common/aftersales-header-image.jpg);
}

.common-hero-content {
    width: 432px;
}

.common_hero_section .common-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--header-font);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    color: var(--white);
    padding: 19px 0 19px 0;
    position: relative;
    width: 243px;
    text-transform: none;
    height: 55px;
    box-shadow: unset;
    border-radius: 5px;
    background: var(--button-color);
    border: none;
}



.common_hero_section p {
    font-family: var(--body-font);
    font-size: 24px;
    color: var(--white);
    font-style: normal;
    font-weight: 400;
    line-height: 23px;
    margin-bottom: 26px;
    margin-left: 2px;
}

.common_hero_section h3 {
    text-align: left;
    color: var(--white);
    font-family: var(--header-font);
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 52px;
    margin-bottom: 10px;
    text-transform: capitalize;
}


@media screen and (min-width:1600px) {
    .common_hero_section .right-content .image-content {
        margin-top: 2px;
    }
}

@media screen and (min-width:991px) {
    #servicing-page .common_hero_section {
        padding-top: 112px;
        padding-left: 9.2%;
    }

    .common_hero_section.finance {
        padding-top: 110px;
        padding-left: 9.1%;
    }

    .common_hero_section.finance h3,
    #servicing-page .common_hero_section h3 {
        font-size: 42px;
    }

    .common_hero_section.finance p,
    #servicing-page .common_hero_section p {
        font-size: 22px;
        line-height: 26px;
    }
}

#contactus .common_hero_section {
    height: 271px;
}

@media screen and (min-width:991px) and (max-width:1600px) {
    .common_hero_section.cashforcars {
        padding-right: 6%;
        padding-left: 6%;
    }

    .common_hero_section .right-content {
        margin-top: 0;
    }
}

@media screen and (max-width: 1300px) and (min-width: 768px) {
    #contactus .common_hero_section .container {
        max-width: 750px;
    }
}
@media screen and (max-width: 1300px) and (min-width: 992px) {
    .common_hero_section {
        background-position: center left;
    }
    #reviews .common_hero_section {
        background-position: center;
    }
}

@media screen and (max-width:992px) {
    .common_hero_section.finance {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/finance-header-image.jpg);
    }

    #careers_section .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/careers-header-image.jpg);
    }

    #reviews .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/reviews-header-image.jpg);
        background-position: center right 30%;
    }

    #about .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/who-we-are-header-image.jpg);
        background-position: center;
    }

    #servicing-page .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/aftersales-header-image.jpg);
    }
    #contactus .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/contact-header-image.jpg);
        background-position: left 39% top;
        padding: 0;
    }

    #contactus .common_hero_section {
        padding-top: 0px;
        align-items: center;
        justify-content: center;
        padding-left: 0;
    }

    #contactus .common-hero-content {
        width: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

}


@media screen and (max-width:767px) {
    .common-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0;
    }


    .common_hero_section {
        padding-left: 4%;
        padding-right: 4%;
        justify-content: center;
        height: 270px;
        padding-top: 50px;
    }

    #contactus .common_hero_section {
        padding-top: 0px;
    }


    .common_hero_section .common-btn {
        width: 240px;
    }

    .common_hero_section h3 {
        font-size: 30px;
        margin-bottom: 5px;
        text-align: center;
        line-height: 37px;
    }

    .common_hero_section p {
        font-size: 16px;
        margin-bottom: 13px;
        text-align: center;
    }

    #cashforcars .common_hero_section {
        gap: 30px;
        flex-direction: column;
        height: auto;
        padding-top: 50px;
    }
}

@media screen and (max-width:500px) {
    .common-hero-content {
        width: 100%;
    }
}

@media screen and (max-width:360px) {
    .common_hero_section p {
        font-size: 16px;
        line-height: 19px;
        margin-bottom: 18px;
    }

    .common_hero_section .common-btn {
        width: 220px;
        font-size: 14px;
    }
}

@media screen and (min-width:560px) and (max-width:767px) and (orientation: landscape) {
    .common_hero_section.cashforcars .right-content {
        width: 500px;
    }
}