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

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

.common_hero_section.cashforcars {
    background-image: url(/images/common/sell-your-car-header.jpg);
}

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

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

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

.common-hero-content {
    width: 432px;
    min-height: 216px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.80);
    padding: 29px 51px 39px 52px;
}

.common_hero_section .common-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    letter-spacing: 0.48px;
    color: var(--primary-color);
    padding: 19px 7px 19px 0;
    position: relative;
    text-transform: uppercase;
    width: 100%;
    height: 55px;
    box-shadow: unset;
    border: none;
    background-color: var(--button-color);
    background-image: url("/images/common/common-hero-btn-arrow.svg");
    background-position: right 8.4% center;
    background-repeat: no-repeat;
    background-size: auto;
}



.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: 22px;
    margin-left: 3px;
}

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

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

.common_hero_section.cashforcars .right-content h3 {
    font-size: 18px;
    font-family: var(--header-font);
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    margin-bottom: 19px;
    letter-spacing: 0.18px;
    text-transform: uppercase;
    text-align: left;
    color: var(--white);
}

.common_hero_section.cashforcars .right-content p {
    font-size: 16px;
    font-family: var(--body-font);
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.16px;
    text-align: left;
    color: var(--white);
}

.common_hero_section.cashforcars .right-content {
    display: flex;
    background-color: rgba(0, 0, 0, 0.70);
    width: 691px;
    min-height: 175px;
    gap: 57px;
    padding: 16px 34px 12px 49px;
    margin-top: 14px;
}

.common_hero_section .right-content .text-content {
    margin-top: 8px;
}

@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;
    }
}