
.common_hero_section {
    background-image: url(/images/common/hero-cashforcars.jpg);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: cover;
    height: 385px;
    padding-top: 67px;
    padding-left: 7.1%;
}

.common_hero_section.finance {
    background-image: url(/images/common/header-finance.jpg);
}

.meet-the-team-page .common_hero_section {
    background-image: url(/images/common/header-team.png);
}

#about .common_hero_section {
    background-image: url(/images/common/header-about.jpg);
}

#careers_section .common_hero_section {
    background-image: url(/images/common/header-careers.jpg);
}

#reviews .common_hero_section {
    background-image: url(/images/common/header-reviews.jpg);
}

#servicing-page .common_hero_section {
    background-image: url(/images/common/header-service.jpg);
}

.common-hero-content {
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.80);
    width: 451px;
    padding: 40px 59px 38px 49px;
}

.common_hero_section .common-btn, #about .common-btn {
   width: 215px;
    height: 55px;
    background: var(--button-color);
    border: none;
    border-radius: 2px;
    font-size: 17px;
    font-weight: 700;
    line-height: unset;
    text-align: center;
    color: #fff;
    padding:15px 0;
    position: relative;
}
.cashforcars .common_hero_section .common-hero-content p{
    width: 338px;
}
.common_hero_section p{
    color: var(--primary-color);
    width: 343px;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px; 
    margin-bottom: 22px;
    font-family: var(--body-font);
}
.common_hero_section h3{
    color: var(--primary-color);
    font-size: 30px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 20px;
    text-transform: capitalize;
}

@media screen and (max-width: 992px) {
    .common_hero_section{
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/hero-cashforcars.jpg);
    }
    .common_hero_section.finance {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/header-finance.jpg);
    }
    
    #team-section .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/header-team.jpg);
    }
    #about .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/header-about.jpg);
    }
    #reviews .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/header-reviews.jpg);
    }
    #careers_section .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/header-careers.jpg);
    }

    #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);
    }
}


@media screen and (max-width:767px) {
    .common-hero-content {
        width: 90%;
        padding: 30px 25px;
    }
    .common_hero_section h3 {
        font-size: 24px;
        margin-bottom: 7px;
        line-height: normal;
    }
   
    .common_hero_section {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 300px;
    }
    .cashforcars .common_hero_section p {
        width: 70%;
    }
    .cashforcars .common_hero_section .common-hero-content p,
    .common_hero_section p {
        width: 100%;
    }
}


@media screen and (max-width: 300px) {
    .common_hero_section .common-btn {
        width: 100%;
    }
}

@media screen and (min-width:1200px) {

    .cashforcars-steps-section .container {
        max-width: 918px;
        padding: 0;
        padding-left: 39px;
    }
}

/* cashforcars */


.cashforcars_right_content .wrap img{
    position: absolute;
    top: 18px;
    right: 34px;
}

.cashforcars_right_content h2 span {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    line-height: 22px;
    text-transform: capitalize;
}

.cashforcars_right_content p {
    color: var(--white);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-transform: none;
    width: 480px;
    margin-bottom: 0;
}

.cashforcars_right_content h2 {
    color: #27ADE4;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px; 
    margin-bottom: 18px;
    margin-left: 2px;
}

.cashforcars-steps-section .container p {
    color: var(--primary-color);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}

.cashforcars-steps-section .container {
    padding-top: 29px;
    padding-bottom: 34px;
    text-align: center;
}

.cashforcars_right_content {
    position: absolute;
    width: 670px;
    height: 168px;
    background: #1E2749;
    padding: 26px 32px 30px;
    top: 98px;
    right: 7.1%;
}

@media screen and (min-width:992px) and (max-width: 1399px) {
    .cashforcars_right_content {
        right: 3.1%;
        width: 550px;
        height: auto;
    }
    .cashforcars_right_content p{
        width: 80%;
    }
}
@media screen and (min-width:992px) and (max-width: 1199px) {
    .cashforcars_right_content h2{
        width: 70%;
    }
    .cashforcars_right_content{
        width: 415px;
    }
}

@media screen and (min-width:768px) and (max-width: 991px) {
    .common_hero_section h3 {
        font-size: 34px;
        margin-bottom: 3px;
    }
}

@media screen and (max-width: 992px) {
    .cashforcars_right_content {
        position: unset;
        margin-top: 20px;
    }

    .cashforcars .common_hero_section {
        height: auto;
        padding-bottom: 30px;
        padding-top: 30px;
    }
}

@media screen and (max-width:767px) {
    .cashforcars .cashforcars_right_content p {
        font-size: 14px;
        line-height: 19px;
        width: 100%;
    }

    .cashforcars_right_content {
        width: 90%;
        height: auto;
        padding: 15px;
    }

    .cashforcars .common_hero_section {
        padding-right: 15px;
    }

    .cashforcars_right_content .wrap img {
      display: none;
    }

    .cashforcars_right_content .wrap {
        gap: 15px;
    }

    .cashforcars_right_content h2 {
        font-size: 18px;
        margin-bottom: 10px;
        line-height: 23px;
    }

    .cashforcars_right_content h2 span {
        font-size: 18px;
        line-height: 20px;
    }

    .cashforcars-steps-section .container {
        padding-top: 15px;
        padding-bottom: 10px;
    }

    .cashforcars-steps-section .container p {
        font-size: 14px;
        line-height: 19px;
    }
}

/*  */
