.common_hero_section {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 385px;
    display: flex;
    align-items: center;
    justify-content: start;
    text-align: left;
    padding-left: 5.7%;
    padding-bottom: 23px;
    color: var(--white);
}

@media screen and (min-width:1700px) {
    .common_hero_section {
        padding-left: 135px;
    }
}

.common-hero-content{
    background: rgb(255, 255, 255, 0.8);
    width: 458px;
    min-height: 229px;
    border-radius: 0px;
    padding: 47px 0 20px 49px;
}
.common_hero_section.finance {
    background-image: url(/images/common/hero-finance.jpg);
}
#reviews .common_hero_section {
    background-image: url(/images/common/hero-reviews.jpg);
}
#car-sourcing .common_hero_section {
    background-image: url(/images/common/hero-carsourcing.jpg);
}
#about .common_hero_section {
    background-image: url(/images/common/hero-about.jpg);
}
@media screen and (min-width: 767px) {
    #about .common-hero-content {
        padding: 47px 49px;
    }
}

#contactus .common_hero_section {
    background-image: url(/images/common/hero-contact.jpg);
    height: 293px;
    padding: 0;
    background-position: center bottom;
}

.common_hero_section .dark-btn {
    width: 329px;
    letter-spacing: unset;
}
.common_hero_section p {
    margin: 10px 0 23px 2px;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 23px;
}
.common_hero_section h1 {
   color: var(--primary-color);
    font-size: 30px;
    font-weight: 600;
    line-height: 36px; 
    font-family: var(--body-font);
}

@media screen and (max-width: 1499px) {
    #contactus .common_hero_section {
        background-position: center top -15px;
        height: 270px;
    }
}
@media screen and (max-width: 992px) {
    #contactus .common_hero_section {
        height: 180px;
    }
}
@media screen and (max-width: 767px) {
    .common_hero_section .common-hero-content {
        text-align: center;
        width: 100%;
        max-width: 400px;
        padding: 35px 20px 25px;
        min-height: auto;
    }
    
    .common_hero_section {
        height: 300px;
        padding-inline: 15px;
        justify-content: center;
        padding-bottom: 15px;
        align-items: center;
    }
    #reviews .common_hero_section {
        background-position: center left -600px;
    }
    .common_hero_section h1 {
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 8px;
    }
    .common_hero_section p {
        font-size: 16px;
        line-height: 19px;
        margin: 10px 0 23px;
    }

   .common_hero_section .dark-btn {
        width: 100%;
        max-width: 289px;
    }
}

@media screen and (max-width:331px) {
    #car-sourcing .common_hero_section .dark-btn,
    .common_hero_section .dark-btn{
        width: 90%;
    }
}
/* cashforcars common hero start */

@media screen and (max-width:767px) {
    #cashforcars .common_hero_section {
        gap: 30px;
        flex-direction: column;
        height: auto;
        padding-top: 50px;
    }
    #car-sourcing .common_hero_section .dark-btn {
        width: 100%;
        padding-block: 15px;
    }
}

@media screen and (max-width:331px){
    #car-sourcing .common_hero_section .dark-btn {
        font-size: 14px;
        padding: 17px 0;
    }
}