.common_hero_section {
    background-repeat: no-repeat;
    background-position: center left;
    background-size: cover;
    height: 385px;
    display: flex;
    align-items: center;
    justify-content: start;
    padding-bottom: 19px;
    text-align: left;
    padding-left: 7.5%;
    color: var(--white);
}
.common-hero-content{
    width: 100%;
    padding: 0;
    background: transparent;
}
.common_hero_section.finance {
    background-image: url(/images/hero-images/header-finance.jpg);
}
#reviews .common_hero_section {
    background-image: url(/images/hero-images/header-reviews.jpg);
}
#team-section .common_hero_section {
    background-image: url(/images/hero-images/header-team.jpg);
}
#car-sourcing .common_hero_section {
    background-image: url(/images/hero-images/header-carsource.jpg);
}
#about .common_hero_section {
    background-image: url(/images/hero-images/header-about.jpg);
}
#coffee-shop .common_hero_section {
    background-image: url(/images/hero-images/header-coffeeshop.jpg);
}
#barber-shop .common_hero_section {
    background-image: url(/images/hero-images/header-barbershop.jpg);
}
#contactus .common_hero_section {
    background-image: url(/images/hero-images/header-contact.jpg);
    height: 294px;
}
#servicing-page .common_hero_section {
    background-image: url(/images/hero-images/header-service.jpg);
}
.common_hero_section .dark-btn {
    max-width: 329px;
    color: var(--secondary-color);
}
.common_hero_section .dark-btn:hover {
    color: var(--secondary-color);
}
.common_hero_section p {
    margin: 14px 0 23px 2px;
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
}
.common_hero_section h1 {
    font-size: 42px;
    font-weight: 600;
    line-height: 36px;
}
@media screen and (max-width: 992px) {
    #contactus .common_hero_section {
        height: 180px;
    }
}
@media screen and (max-width: 767px) {
    .common_hero_section.finance {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.0)), url(/images/hero-images/header-finance.jpg);
    }
    #reviews .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.0)), url(/images/hero-images/header-reviews.jpg);
    }
    #team-section .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.0)), url(/images/hero-images/header-team.jpg);
    }
    #car-sourcing .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.0)), url(/images/hero-images/header-carsource.jpg);
    }
    #about .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.0)), url(/images/hero-images/header-about.jpg);
    }
    #coffee-shop .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.0)), url(/images/hero-images/header-coffeeshop.jpg);
    }
    #barber-shop .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.0)), url(/images/hero-images/header-barbershop.jpg);
    }
    #contactus .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.0)), url(/images/hero-images/header-contact.jpg);
    }
    #servicing-page .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.0)), url(/images/hero-images/header-service.jpg);
    }
    .common_hero_section {
        height: 250px;
        padding: 30px 15px;
        justify-content: center;
        align-items: center;
        text-align: center;
        background-position: center left 21%;
    }
    #reviews .common_hero_section {
        background-position: center left -600px;
    }
    .common_hero_section h1 {
        font-size: 28px;
        line-height: 30px;
        margin-bottom: 8px;
        margin-inline: auto;
    }

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

/* cashforcars common hero start */

.common_hero_section.cashforcars {
    justify-content: space-between;
    padding-right: 138px;
    gap: 30px;
    background-image: url(/images/hero-images/header-sell-your-car.jpg);
    padding-top: 76px;
}
.common_hero_section.cashforcars .common-hero-content {
    width: 50%;
}

.common_hero_section.cashforcars .right-content h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    margin-bottom: 14px;
    text-transform: capitalize;
    text-align: left;
    color: var(--white);
    margin-left: 1px;
    margin-top: 3px;
}

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

.common_hero_section.cashforcars .right-content {
    display: flex;
    width: 680px;
    min-height: 168px;
    padding: 28px 44px 20px 48px;
    border-radius: 0;
    background: rgba(42, 42, 42, 0.8);
    align-items: start;
}

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

@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;
        padding-left: 7%;
    }
}

@media screen and (min-width:1200px) {
    .common_hero_section.cashforcars .right-content{
        margin-top: 32px;
    }
    #team-section .common_hero_section,
    #barber-shop .common_hero_section,
    #coffee-shop .common_hero_section{
        padding-left: 9.5%;
    }
}
@media screen and (max-width:767px) {
    .common_hero_section.cashforcars .common-hero-content {
        width: 100%;
    }
    .common_hero_section.cashforcars {
        flex-direction: column;
        height: auto;
        gap: 10px;
        align-items: center;
        justify-content: center;
        padding: 25px 20px 45px;
    }
    
    .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%;
    }
    .common_hero_section p {
        font-size: 16px;
        line-height: 21px;
        margin: 11px 0 20px;
    }
}

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