.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.1%;
    color: var(--primary-color);
}
#servicing-page .common_hero_section {
    background-image: url(/images/common/header-service.jpg);
    justify-content: space-between;
    padding-right: 7.8%;
}

@media screen and (min-width:1700px) {
    .common_hero_section{
        padding-left: 135px;
        align-items: start;
        padding-top: 84px;
    }
    #servicing-page .common_hero_section img.logo {
        margin-top: 49px;
    }
}
@media screen and (max-width: 1299px) {
    #servicing-page .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),url(/images/common/header-service.jpg);
        background-position: center left 28%;
    }
}
@media screen and (min-width:768px) and (max-width:1199px) {
    .common_hero_section {
        padding-left: 7%;
    }
    #servicing-page .common_hero_section {
        padding-right: 4%;
        padding-left: 4%;
    }
    #servicing-page .common_hero_section img.logo {
        width: 250px;
    }
    #servicing-page .common_hero_section .common-hero-content {
        width: 380px;
        padding-left: 25px;
    }
}
#team-section .common_hero_section {
    background-image: url(/images/common/header-team.jpg);
}
.common_hero_section.finance {
    background-image: url(/images/common/header-finance.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);
}
#contactus .common_hero_section {
    background-image: url(/images/common/header-contact.jpg);
    height: 281px;
}
.common_hero_section .dark-btn:hover{
    color: white;
}
.common_hero_section .dark-btn {
   width: 266px;
    text-transform: none;
    padding: 15px;
    border-radius: 5px;
}
.common_hero_section .common-hero-content{
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.80);
    width: 432px;
    min-height: 216px;
    padding: 36px 0 20px 50px;
}
.common_hero_section p {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 23px;
    margin: 9px 0 18px;
    margin-left: 1px;
}
.common_hero_section h1 {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    line-height: 36px; 
}
@media screen and (max-width: 767px) {
    #servicing-page .common_hero_section {
        padding: 30px 15px;
        flex-direction: column;
        height: 385px;
        justify-content: center;
        gap: 30px;
    }
    #servicing-page .common_hero_section img.logo {
        width: 250px;
    }
    .common_hero_section .common-hero-content{
        max-width: 450px;
        width: 98%;
        padding: 25px 15px 30px;
        min-height: unset;
    }
    .common_hero_section .dark-btn {
        max-width: 330px;
        width: 90%;
        padding-inline: 15px;
    }
    .common_hero_section {
        height: 270px;
        padding-inline: 15px;
        justify-content: center;
        text-align: center;
    }
    .common_hero_section h1 {
        font-size: 26px;
    }
    .common_hero_section p {
        font-size: 16px;
        margin-top: 8px;
        line-height: 19px;
        margin-left: 0;
    }
    .common_hero_section .common-btn {
        width: 100%;
    }
}

/* cashforcars common hero start */

.common_hero_section.cashforcars {
    justify-content: space-between;
    align-items: start;
    padding-top: 84px;
    padding-right: 143px;
    gap: 30px;
    background-image: url(/images/common/header-cashforcars.jpg);
}

.common_hero_section.cashforcars .right-content h3 {
   font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    margin-bottom: 11px;
    text-transform: none;
    text-align: left;
    color: var(--white);
}

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

.common_hero_section.cashforcars .right-content {
    display: flex;
    width: 664px;
    min-height: 168px;
    gap: 29px;
    padding: 26px 45px 40px 44px;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.70);
}

@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: 30px 25px;
        margin-bottom: 10px;
        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;
        padding-inline: 20px;
    }

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

@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: 23px;
    }
}