.common_hero_section {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 385px;
    display: flex;
    align-items: start;
    justify-content: start;
    text-align: left;
    padding-top: 84px;
    padding-left: 135px;
}

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

.common_hero_section.cashforcars {
    background-image: url(/images/common/header-we-buy-cars.jpg);
}

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

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

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

.common-hero-content {
    width: 432px;
    min-height: 216px;
    border-radius: 2px;
    background: linear-gradient(114deg, #FFF 34.73%, rgba(153, 153, 153, 0.70) 129.4%);
    padding: 33px 54px 37px 49px;
}

.common_hero_section .common-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--body-font);
    font-size: 15px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    letter-spacing: 0.15px;
    color: var(--white);
    padding: 19px 0 19px 0;
    position: relative;
    text-transform: uppercase;
    width: 100%;
    height: 55px;
    box-shadow: unset;
    border-radius: 2px;
    border: none;
    background: var(--button-color);
}



.common_hero_section p {
    font-family: var(--body-font);
    font-size: 18px;
    color: var(--primary-color);
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 0;
    margin-bottom: 23px;
    margin-left: 2px;
    letter-spacing: 0.1px;
}

.common_hero_section h3 {
    text-align: left;
    color: var(--primary-color);
    font-family: var(--header-font);
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 36px;
    margin-bottom: 10px;
    letter-spacing: 0.8px;
}

.common_hero_section.cashforcars {
    justify-content: space-between;
    padding-right: 136px;
    gap: 30px;
}

.common_hero_section.cashforcars .right-content h3 {
    font-size: 20px;
    font-family: var(--header-font);
    font-style: normal;
    font-weight: 600;
    line-height: 25px;
    margin-bottom: 20px;
    text-transform: capitalize;
    text-align: left;
    color: var(--white);
    letter-spacing: 0.18px;
}

.common_hero_section.cashforcars .right-content p {
    font-size: 15px;
    font-family: var(--body-font);
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    color: var(--white);
    margin-left: 1px;
}

.common_hero_section.cashforcars .right-content {
    display: flex;
    background: rgba(51, 51, 51, 0.80);
    width: 670px;
    min-height: 168px;
    gap: 54px;
    padding: 26px 34px 11px 31px;
    margin-top: 10px;
}



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

@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 (min-width:768px) and (max-width:1200px) {
    .common_hero_section.cashforcars {
        flex-direction: column;
        height: auto;
        padding-bottom: 40px;
        padding-top: 40px;
        gap: 20px;

    }
}

@media screen and (max-width:992px) and (min-width:768px) {
    .common_hero_section {
        padding-left: 6%;
    }
}

@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.cashforcars {
        flex-direction: column;
        height: auto;
        padding-bottom: 30px;
        gap: 20px;
        align-items: center;
        justify-content: center;
        padding-right: 4%;

    }

    .common_hero_section.cashforcars .right-content {
        width: 100%;
        gap: 20px;
        padding: 30px 20px;
        margin-bottom: 30px;
    }

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

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

    .common_hero_section h3 {
        font-size: 27px;
        margin-bottom: 5px;
        text-align: center;
    }

    .common_hero_section.cashforcars .right-content h3 {
        font-size: 16px;
        margin-bottom: 15px;
        text-align: center;
        line-height: 20px;
    }

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

    .common_hero_section.cashforcars .right-content p {
        font-size: 14px;
        margin-bottom: 0;
        line-height: 18px;
        text-align: center;
    }

    .common_hero_section .right-content {
        background: rgba(0, 0, 0, 0.70);
        display: flex;
        flex-wrap: wrap-reverse;
        height: auto;
        padding: 26px 20px 36px 20px;
        gap: 20px;
        margin-top: 0;
        margin-bottom: 50px;
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: 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%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 30px 15px;
    }
}

@media screen and (max-width:360px) {
    .common_hero_section p {
        font-size: 15px;
        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;
    }
}