.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: 20px;
    color: var(--white);
}

@media screen and (min-width:1700px) {
    .common_hero_section {
        padding-left: 85px;
    }
    .common_hero_section.cashforcars .right-content{
        margin-top: -7px !important;
    }
}

.common-hero-content{
    width: 464px;
    min-height: 288px;
    border-radius: 0px;
    background-image: url(/images/common/common-hero-bg.png);
    /* background: rgba(255, 255, 255, 0.80); */
    padding: 55px 0 20px 49px;
}
.common_hero_section.finance {
    background-image: url(/images/common/finance-header.jpg);
}
#reviews .common_hero_section {
    background-image: url(/images/common/reviews-header.jpg);
}
#car-sourcing .common_hero_section {
    background-image: url(/images/common/car-sourcing-header.jpg);
}
#about .common_hero_section {
    background-image: url(/images/common/about-header.jpg);
}
#contactus .common_hero_section {
    background-image: url(/images/common/contact-header.jpg);
    height: 294px;
}

.common_hero_section .dark-btn {
    width: 269px;
}
.common_hero_section p {
    margin: 10px 0 22px 0px;
    color: var(--white);
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 36px;
    letter-spacing: -0.64px;
    width: 80%;
}
.common_hero_section h1 {
   color: var(--white);
    font-size: 18px;
    font-weight: 500;
    line-height: 20px; 
}

@media screen and (max-width: 767px) {
    .common_hero_section .common-hero-content {
        text-align: center;
        width: 100%;
        max-width: 400px;
        padding: 30px 20px;
        min-height: auto;
        background-image: none;
        background: rgba(0, 0, 0, 0.40);
    }
    
    .common_hero_section {
        height: 300px;
        padding-inline: 15px;
        justify-content: center;
        padding-block: 0;
        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 auto 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 */

.common_hero_section.cashforcars {
    justify-content: space-between;
    padding-right: 138px;
    gap: 30px;
    background-image: url(/images/common/cashforcars-header.jpg);
}

.common_hero_section.cashforcars .right-content h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 25px;
    margin-bottom: 21px;
    text-transform: capitalize;
    text-align: left;
    color: var(--white);
    margin-left: 0px;
}
.common_hero_section.cashforcars .right-content h3 img {
    margin-right: 23px;
    margin-top: -3px;
}

.common_hero_section.cashforcars .right-content p {
   font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    color: var(--white);
    margin-left: 0;
    margin-bottom: 0;
    text-transform: none;
    width: 92%;
    letter-spacing: -0.3px;
}

.common_hero_section.cashforcars .right-content {
    display: flex;
    width: 719px;
    min-height: 184px;
    padding: 38px 45px 20px 46px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.50);
    align-items: start;
    margin-top: 0px;
}

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

@media screen and (min-width:1200px) and (max-width:1400px) {
    .common_hero_section.cashforcars .common-hero-content {
        min-width: 464px;
    }
}
@media screen and (min-width:1200px) and (max-width:1300px) {
    .common_hero_section.cashforcars .right-content{
        padding-left: 30px;
    }
}
@media screen and (min-width:768px) and (max-width:1200px) {
    .common_hero_section.cashforcars {
        flex-direction: column;
        height: auto;
        padding-bottom: 50px;
        padding-top: 50px;
        gap: 20px;
    }
}
@media screen and (min-width:768px) and (max-width:992px) {
    .common_hero_section.cashforcars{
        padding-inline:4% ;
    }
}

@media screen and (max-width:767px) {
    .common_hero_section.cashforcars {
        flex-direction: column;
        height: auto;
        padding-bottom: 30px;
        gap: 20px;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background-position: center left;
    }
    
    .common_hero_section.cashforcars .right-content {
        width: 100%;
        gap: 20px;
        padding: 22px 20px;
        flex-direction: column-reverse;
        align-items: center;
    }

    .common_hero_section.cashforcars .right-content h3 {
        font-size: 17px;
        margin-bottom: 15px;
        text-align: center;
        line-height: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-inline: auto;
        align-items: center;
    }
    .common_hero_section.cashforcars .right-content h3 img {
        margin: 0;
    }
    .common_hero_section.cashforcars .right-content p {
        font-size: 14px;
        margin-bottom: 0;
        line-height: 18px;
        text-align: center;
        margin-inline: auto;
    }

    #cashforcars .common_hero_section {
        gap: 30px;
        flex-direction: column;
        height: auto;
        padding-top: 50px;
    }
    #car-sourcing .common_hero_section .dark-btn {
        width: 100%;
        font-size: 14px;
    }
}

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

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