.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: 7.5%;
    color: var(--white);
}
@media screen and (min-width:768px) and (max-width:1199px) {
    .common_hero_section {
        padding-left: 6.5%;
    }
}
.common_hero_section.finance {
    background-image: url(/images/common/header-finance.jpg);
}
#car-sourcing .common_hero_section {
    background-image: url(/images/common/header-carsourcing.jpg);
}
#team-section .common_hero_section {
    background-image: url(/images/common/header-team.jpg);
}
#reviews .common_hero_section {
    background-image: url(/images/common/header-reviews.jpg);
}
#about .common_hero_section {
    background-image: url(/images/common/header-about.jpg);
}
#about.aftersales .common_hero_section {
    background-image: url(/images/common/header-aftersales.jpg);
}
#car-sourcing .common_hero_section .btn-dark{
    width: 348px;
}
#contactus .common_hero_section {
    background-image: url(/images/common/header-contact.jpg);
}
.common_hero_section .btn-dark {
    width: 289px;
    padding: 15px;
}
.common_hero_section p {
    margin: 13px 0 24px 2px;
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: 1px;
    text-transform: none;
}
.common_hero_section h1 {
    color: var(--white);
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2.52px;
    text-transform: uppercase;
}

@media screen and (max-width: 767px) {
    .common_hero_section .common-hero-content {
        text-align: center;
        width: 100%;
        max-width: 400px;
    }
    .common_hero_section {
        height: 270px;
        padding-inline: 15px;
        justify-content: center;
    }
    .common_hero_section h1 {
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 8px;
    }
    .common_hero_section p {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 20px;
    }
    .common_hero_section .common-btn {
        width: 100%;
        max-width: 289px;
    }
}

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

.common_hero_section.cashforcars {
    justify-content: space-between;
    padding-right: 138px;
    gap: 30px;
    background-image: url(/images/common/header-cashforcars.jpg);
}
@media screen and (max-width: 992px) {
    .common_hero_section.finance {
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),url(/images/common/header-finance.jpg);
        background-position: top right 20%;
    }
    .common_hero_section.cashforcars {
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),url(/images/common/header-cashforcars.jpg);
    }
    #team-section .common_hero_section {
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),url(/images/common/header-team.jpg);
    }
    #reviews .common_hero_section {
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),url(/images/common/header-reviews.jpg);
    }
    #about .common_hero_section {
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),url(/images/common/header-about.jpg);
    }
    #about.aftersales .common_hero_section {
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/header-aftersales.jpg);
    }
    #contactus .common_hero_section {
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),url(/images/common/header-contact.jpg);
    }
    #car-sourcing .common_hero_section {
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),url(/images/common/header-carsourcing.jpg);
    }
}
.common_hero_section.cashforcars .right-content h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 12px;
    text-transform: none;
    text-align: left;
    color: var(--white);
}
.common_hero_section.cashforcars .right-content h3 img {
    margin-right: 23px;
    margin-top: -3px;
}

.common_hero_section.cashforcars .right-content p {
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    color: var(--white);
    margin-left: 9px;
    margin-bottom: 0;
    text-transform: none;
}

.common_hero_section.cashforcars .right-content {
    display: flex;
    width: 486px;
    min-height: 183px;
    padding: 23px 50px 41px 32px;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.50);
}

@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: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;
    }
    
    .common_hero_section.cashforcars .right-content {
        width: 100%;
        gap: 20px;
        padding: 15px 20px;
        flex-direction: column-reverse;
        align-items: center;
    }

    .common_hero_section.cashforcars .right-content h3 {
        font-size: 16px;
        margin-bottom: 15px;
        text-align: center;
        line-height: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        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;
    }

    #cashforcars .common_hero_section {
        gap: 30px;
        flex-direction: column;
        height: auto;
        padding-top: 50px;
    }
    #car-sourcing .common_hero_section .btn-dark {
        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 (min-width:1200px){
    .common_hero_section.cashforcars .right-content {
        margin-top: 36px;
    }
}

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