.common_hero_section {
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    height: 307px;
    display: flex;
    align-items: start;
    justify-content: center;
    text-align: center;
    padding-inline: 0;
    padding-bottom: 0;
    color: white;
}

.common_hero_section.finance {
    background-image: url(/images/common/finance-header.png);
}
#reviews .common_hero_section {
    background-image: url(/images/common/reviews-header.png);
}
#team-section .common_hero_section {
    background-image: url(/images/common/meet-the-team-header.png);
}
#car-sourcing .common_hero_section {
    background-image: url(/images/common/car-sourcing-header.jpg);
}
#about.vehicle-preparation .common_hero_section {
    background-image: url(/images/common/preperation-header.png);
}
#about .common_hero_section {
    background-image: url(/images/common/our-story-header.jpg);
}
#contactus .common_hero_section {
    background-image: url(/images/common/contact-header.jpg);
    height: 218px;
    align-items: end;
    padding: 0;
    padding-bottom: 49px;
}
#contactus .common_hero_section h1 {
    margin: 0 auto;
}
.common_hero_section .dark-btn {
    width: 294px;
}
.common_hero_section p {
    margin: 0;
    color: var(--white);
    font-size: 18px;
    font-weight: 400;
    line-height: 23px;
    margin-bottom: 24px;
}
.common_hero_section h1 {
   color: var(--white);
    font-size: 40px;
    font-weight: 400;
    line-height: 36px; 
    font-family: var(--playfair-font);
    margin: 67px 0 14px;
}

@media screen and (max-width: 992px) {
    #contactus .common_hero_section {
        height: 110px;
        background-position: center top;
        padding-bottom: 20px;
    }
}
@media screen and (max-width: 767px) {
    .common_hero_section {
        height: 300px;
    }
    .common_hero_section h1 {
        font-size: 32px;
        line-height: 32px;
        margin-bottom: 8px;
    }
    .common_hero_section p {
        font-size: 17px;
        line-height: 19px;
        margin: 10px 0 23px;
    }
}

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

.common_hero_section.cashforcars {
    background-image: url(/images/common/sell-your-car-header.png);
}

.cashforcars .right-content h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 18px;
    text-transform: capitalize;
    text-align: left;
    color: var(--primary-color);
}
.cashforcars .right-content h3 img {
    margin-right: 23px;
    margin-top: -3px;
}

.cashforcars .right-content.flex p{
    font-size: 15px;
    font-weight: 400;
    line-height: 21px;
    margin-top: -3px;
}
.cashforcars .right-content.flex{
    display: flex;
    align-items: start;
    justify-content: space-between;
    max-width: 585px;
}
.cashforcars .right-content p {
   font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: var(--secondary-color);
    margin-left: 0;
    margin-bottom: 0;
    text-transform: none;
    width: 92%;
}

@media screen and (max-width:767px) {
    .cashforcars .right-content p {
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
        width: 100%;
        text-align: center;
    }
    .cashforcars .right-content h3 {
        font-size: 18px;
        line-height: 21px;
        text-align: center;
    }
    #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 (max-width:331px){
    #car-sourcing .common_hero_section .dark-btn {
        font-size: 12px;
    }
}

/* CASHFORCARS MIDDLE CONTENT START */
@media screen and (min-width:1300px) {   
    .cashforcars_middle_content.container{
        max-width: 1226px;
        padding-inline: 0;
    }
}
.cashforcars_middle_content{
    display: grid;
    grid-template-columns: 45% auto;
    padding: 40px 0 8px;
    gap: 15px;
    justify-content: space-between
}
@media screen and (max-width:992px){
    .cashforcars .right-content.flex{
        max-width: 100%;
    }
    .cashforcars_middle_content{
        padding-top: 30px;
        grid-template-columns: 1fr;
        row-gap: 40px;
        padding-inline: 13px;
    }
}

@media screen and (max-width:767px){
    .cashforcars .right-content.flex{
        flex-direction: column-reverse;
        align-items: center;
        row-gap: 20px;
    }
}
/* CASHFORCARS MIDDLE CONTENT END */