/* home reviews */

#homepage__reviews-section {
    background-image: url(/images/home/home-reviews-bgrnd.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: start;
    padding-block: 40px;
    padding-left: 137px;
    position: relative;
}
#homepage__reviews-section .container {
    max-width: 100%;
    padding: 0;
}
@media screen and (min-width: 1700px) {
    #homepage__reviews-section .container {
        max-width: 1646px;
    }
}
#homepage__reviews-section .heading-flex {
    display: flex;
    gap: 11px;
    justify-content: space-between;
    align-items: start;
    position: relative;
}
#homepage__reviews-section .home-flex-wrap {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: start;
}

#homepage__reviews-section .row.align-end {
    justify-content: start;
    margin: 0;
}

#homepage__reviews-section .homepage__reviews-wrapper {
    display: flex;
    justify-content: start;
    padding-right: 0px;
    width: 100%;
}

#homepage__reviews-section .homepage__reviews-content .customer-rating{
    display: flex;
    align-items: start;
    justify-content: start;
}
#homepage__reviews-section .homepage__reviews-content .customer-rating img {
    width: 18px;
}
#homepage__reviews-section .homepage__reviews-content {
    width: 607px;
    height: auto;
    min-height: auto;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.90);
    padding: 0;
    color: var(--white);
    padding: 36px 50px 50px 52px;
}

#homepage__reviews-section .homepage__reviews-content h3 {
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
    text-transform: capitalize;
    padding: 0;
    min-height: 73px;
    margin-top: 9px;
}
#homepage__reviews-section .homepage__reviews-content .dark-btn {
    max-width: 213px;
    margin-left: 0;
    background: transparent;
    border: 1px solid white;
    border-radius: 0;
}
#homepage__reviews-section .homepage__reviews-content p {
    font-size: 19px;
    font-weight: 400;
    line-height: 24px;
    padding-bottom: 41px;
}
#homepage__reviews-section .home-review-para-wrapper {
    display: flex;
    gap: 0;
    align-items: start;
}

#homepage__reviews-section .home-reviews-flex-inner .flex-content {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}
#homepage__reviews-section .heading-flex .heading_wrapper {
    padding-top: 8px;
}
#homepage__reviews-section img.positioned{
    position: absolute;
    width: 343px;
    top: 91px;
    right: 97px;
}
#homepage__reviews-section .heading-flex img.quote {
    margin-top: 6px;
    margin-right: 13px
}

.home-reviews-flex-inner {
    padding-left: 0;
}

.home-reviews-flex-inner .customer-rating {
    justify-content: start;
    margin-bottom: 7px;
}

.home-reviews-flex .customer-name {
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    line-height: 21px;
    text-transform: capitalize;
    margin-left: 2px;
    font-family: var(--header-font);
}

.home-reviews-flex .customer-name-location-date {
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    text-transform: capitalize;
    margin-left: 2px;
    margin-bottom: 6px;
}


.home-reviews-flex .reviews-btn:focus,
.reviews-btn-main .reviews-btn.mobile:focus,
#homepage__reviews-section .homepage__reviews-content .reviews-btn:focus {
    outline: none;
    box-shadow: none;
}

@media screen and (min-width: 992px) and (max-width: 1599px) {
    #homepage__reviews-section img.positioned {
        right: 1%;
    }
    #homepage__reviews-section{
        padding-left: 3%;
    }
}
@media screen and (min-width: 767px) and (max-width: 992px) {
    #homepage__reviews-section {
        padding-inline: 3%;
        justify-content: center;
    }
    #homepage__reviews-section .homepage__reviews-wrapper {
        justify-content: center;
    }
}
@media screen and (max-width:992px) {
    #homepage__reviews-section img.positioned {
        display: none;
    }
}
@media screen and (max-width:767px) {
    #homepage__reviews-section {
        width: 100%;
        padding: 88px 12px 60px;
        display: flex;
        justify-content: center;
        align-items: start;
        min-height: 682px;
        background-image: url(/images/home/mobile-home-reviews.jpg);
    }
    #homepage__reviews-section .homepage__reviews-content {
        width: 100%;
        min-height: auto;
        padding: 38px 40px 33px 36px;
    }
    #homepage__reviews-section .row {
        margin: 0;
    }
    #homepage__reviews-section .container {
        padding: 0;
    }

    .home-reviews-broder-top-wrapper.mobile-appear {
        display: block;
        min-height: 10px;
        width: 100%;
        background-color: #FFD457;
    }
    #homepage__reviews-section .home-reviews-flex-inner .flex-content .reviews-btn-main,
    #homepage__reviews-section .home-reviews-flex-inner .flex-content .reviews-btn-main .reviews-btn{
        width: 100%;
    }
    #homepage__reviews-section .home-reviews-flex-inner .flex-content .reviews-btn-main .reviews-btn {
        margin-left: 5px;
    }

    #homepage__reviews-section .row.align-end {
        justify-content: start;
        margin: 0;
    }

    #homepage__reviews-section .homepage__reviews-wrapper {
        flex-direction: column;
        padding: 0;
        justify-content: start;
        align-items: start;
        gap: 30px;
    }
    #homepage__reviews-section .homepage__reviews-image-section, 
    #homepage__reviews-section .homepage__reviews-image-section img {
        width: 100%;
    }
    #homepage__reviews-section .home-reviews-flex-inner .flex-content {
        flex-direction: column;
        justify-content: start;
        align-items: start;
        gap: 17px;
    }
    .home-reviews-flex .customer-name,
    .home-reviews-flex .customer-name-location-date {
        margin-left: 0;
    }
    #homepage__reviews-section .heading-flex .heading_wrapper {
        padding-top: 4px;
    }
    #homepage__reviews-section .homepage__reviews-content h3 {
        margin-top: 5px;
        font-size: 32px;
        min-height: 59px;
    }
    #homepage__reviews-section .homepage__reviews-content p {
        font-size: 16px;
        line-height: 22px;
        padding-bottom: 18px;
    }
    #homepage__reviews-section .home-review-para-wrapper {
        gap: 11px;
    }
    .home-reviews-flex {
        margin-bottom: 0;
        gap: 0;
        flex-direction: column;
        justify-content: end;
        align-items: start;
        padding-left: 0;
    }
    #homepage__reviews-section .heading-flex {
        display: flex;
        flex-wrap: wrap-reverse;
        gap: 0;
        justify-content: space-between;
    }

    .homepage__reviews-text-section {
        text-align: left;
    }

    #homepage__reviews-section .heading-flex img.quote {
       margin-top: 4px;
       margin-right: 0;
    }

    #homepage__reviews-section .home-btn {
        margin: auto;
    }
    #homepage__reviews-section .homepage__reviews-content .dark-btn {
        margin-left: 0;
        max-width: 278px;
    }
}
@media screen and (max-width: 370px) {
    #homepage__reviews-section {
        padding-inline: 3%;
    }
    #homepage__reviews-section .heading-flex {
        padding-right: 0;
    }
}
@media screen and (max-width: 767px) and (orientation:landscape) {
    #homepage__reviews-section .homepage__reviews-content {
        width: 75%;
        margin-inline: auto;
    }
}
/* HOMEPAGE-MID-SECTION */

#homepage-mid-section {
    padding-top: 81px;
    padding-bottom: 77px;
}
@media screen and (min-width: 1700px) {
    #homepage-mid-section .container {
        max-width: 1648px;
        padding: 0;
        padding-right: 2px;
    }    
}
#homepage-mid-section .container {
    display: grid;
    grid-template-columns: 46.2% auto;
    padding-inline: 0;
    gap: 100px;
}
#homepage-mid-section h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 25px;
    margin-top: 4px;
    margin-bottom: 11px;
}
#homepage-mid-section .cashforcars h3 {
    margin-bottom: 20px;
}
#homepage-mid-section .cashforcars p {
    margin-bottom: 35px;
}
#homepage-mid-section p {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 29px;
}
#homepage-mid-section .text_content {
    max-width: 330px;
}
#homepage-mid-section .dark-btn {
    width: 272px;
}
#homepage-mid-section .grid-section {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 54px;
    color: var(--primary-color);
}
@media screen and (max-width: 1499px) and (min-width: 992px) {
    #homepage-mid-section .text_content {
        max-width: unset;
    }
}
@media screen and (max-width: 1699px) and (min-width: 1500px) {
    #homepage-mid-section .container {
        gap: 50px;
        max-width: 95%;
    }    
    #homepage-mid-section .grid-section img{
        width: 100%;
    }
    #homepage-mid-section .grid-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}
@media screen and (max-width: 1499px) {
    #homepage-mid-section .grid-section img{
        width: 100%;
    }
    #homepage-mid-section .grid-section {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: start;
        gap: 30px;
    }   
    #homepage-mid-section .container {
       max-width: 880px;
        padding: 0;
        grid-template-columns: 1fr 1fr;
    }  
}

@media screen and (min-width:768px) and (max-width:991px) {
    #homepage-mid-section .container{
        gap: 20px;
        max-width: 95%;
    }
    #homepage-mid-section .dark-btn{
        margin-top: 16px;
    }
}
@media screen and (max-width: 767px) {
    #homepage-mid-section .dark-btn{
        margin-top: 15px;
        width: 100%;
    }
    #homepage-mid-section{
       order: 3;
       padding: 48px 0 54px;
    }
    #homepage-mid-section .container {
        display: flex;
        gap: 30px;
        flex-direction: column;
    }
    #homepage-mid-section h3 {
        margin-top: 0;
    }
    #homepage-mid-section .cashforcars h3 {
        margin-bottom: 11px;
    }
    #homepage-mid-section p {
        margin-bottom: 34px;
    }
    #homepage-mid-section .cashforcars p {
        margin-bottom: 16px;
    }
    #homepage-mid-section .text_content {
        max-width: 325px;
    }
    #homepage-mid-section .mobile-only-appear.wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: start;
        justify-content: start;
    }
    #homepage-mid-section .grid-section {
        gap: 0;
    }
}
@media screen and (max-width:350px) {
    #homepage-mid-section .mobile-only-appear.wrapper .dark-btn,
    #homepage-mid-section .mobile-only-appear.wrapper img{
        width: 100%;
    }
    #homepage-mid-section .grid-section {
        padding-inline: 15px;
    }
}
