/* home reviews */

#homepage__reviews-section {
    background-image: url(/images/home/bgrnd-review-home.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 513px;
    padding-left: 7.3%;
    padding-top: 49px;
    padding-bottom: 49px;
    display: flex;
    align-items: start;
    justify-content: start;
}

#homepage__reviews-section .container {
    max-width: 100%;
    padding: 0;
}

#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: end;
}

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

#homepage__reviews-section .homepage__reviews-content {
    width: 663px;
    height: auto;
    border-radius: 10px;
    background: var(--white);
    padding: 54px 69px 61px 59px;
    color: var(--primary-color);
}

#homepage__reviews-section .homepage__reviews-content h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px; 
    text-transform: capitalize;
    padding: 0;
    padding-bottom: 25px;
}
#homepage__reviews-section .homepage__reviews-content .dark-btn {
    max-width: 231px;
    height: 60px;
    padding: 17px;
    font-size: 17px;
    margin-bottom: 2px;
}

#homepage__reviews-section .homepage__reviews-flex-part .customer-rating {
    margin-left: 5px;
}
#homepage__reviews-section .homepage__reviews-content p {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    padding-bottom: 40px;
    padding-right: 11px;
    padding-left: 1px;
    color: var(--secondary-color);
}

#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;
}
#homepage__reviews-section .heading-flex img{
    margin-right: 15px;
    margin-top: -11px;
}

.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: 20px;
    font-weight: 700;
    line-height: 22px;
    margin-left: 4px;
    text-transform: capitalize;
}

.home-reviews-flex .customer-name-location-date {
    text-align: left;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    text-transform: capitalize;
    margin-left: 4px;
    margin-top: 2px;
}


.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: 1700px ) {
    #homepage__reviews-section {
        background-position: center right 38%;
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px ) {
    #homepage__reviews-section {
        padding-right: 5%;
    }
}
@media screen and (max-width: 992px) and (min-width: 768px) {
    #homepage__reviews-section {
        background-position: center;
        padding-inline: 0;
    }
    #homepage__reviews-section .homepage__reviews-wrapper {
        display: flex;
        justify-content: center;
    }
}
@media screen and (min-width:767px) {
    #homepage__reviews-section .homepage__reviews-image-section img {
        display: none;
    }
}
@media screen and (max-width:767px) {
    #homepage__reviews-section {
        width: 100%;
        padding: 107px 0 60px;
        display: flex;
        justify-content: center;
        align-items: start;
        height: 664px;
        background-image: url(/images/home/bgrnd-review-home-mob.jpg);
        background-position: center top;
    }
    #homepage__reviews-section .row {
        margin: 0;
    }

    #homepage-monthly-budget .mobile-appear {
        display: block !important;
        margin: 0 auto;
        margin-top: 9px;
        margin-bottom: 13px;
    }

    #homepage-monthly-budget .mobile-disappear {
        display: none !important;
    }

    #homepage__reviews-section .container {
        padding: 0 14px;
    }

    #homepage__reviews-section .heading-flex img.quote {
        top: 47px;
        right: 13px;
    }

    .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 {
        flex-direction: column;
        align-items: start;
        gap: 28px;
    }

    #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 .homepage__reviews-content {
        width: 100%;
        padding: 35px 33px 34px 36px;
    }
    .home-reviews-flex .customer-name-location-date {
        margin-top: 0;
    }
    .home-reviews-flex .customer-name,
    .home-reviews-flex .customer-name-location-date {
        margin-left: 0px;
    }

    #homepage__reviews-section .homepage__reviews-content h3 {
        padding-bottom: 21px;
        padding-left: 2px;
    }
    #homepage__reviews-section .homepage__reviews-flex-part .customer-rating{
        margin-left: 0;
    }
    #homepage__reviews-section .homepage__reviews-content p {
        padding-right: 0;
        padding-bottom: 22px;
        padding-left: 2px;
        font-size: 15px;
        line-height: 21px;
    }
    #homepage__reviews-section .homepage__reviews-content .dark-btn {
        margin-right: 0;
        width: 100%;
        max-width: 268px;
    }
    #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 {
        width: 26px;
        margin-right: 16px;
        margin-top: -2px;
    }

    #homepage__reviews-section .home-btn {
        margin: auto;
    }
}
@media screen and (max-width: 330px) {
    #homepage__reviews-section .homepage__reviews-content {
        padding: 25px 8% 35px;
    }
    #homepage__reviews-section .container {
        padding-inline: 4%;
    }
    #homepage__reviews-section .heading-flex img {
        margin-right: 0;
    }
    #homepage__reviews-section .homepage__reviews-content h3 {
        font-size: 24px;
        padding-bottom: 20px;
    } 
}

@media screen and (max-width: 369px) {
    .reviews-btn-main .reviews-btn.mobile {
        font-size: 15px;
    }
    .home-reviews-flex .customer-name-location-date {
        padding-bottom: 0;
    }

    #homepage__reviews-section .reviews-btn-main .reviews-btn.mobile {
        width: 216px;
    }
}

@media screen and (max-width: 767px) and (orientation:landscape) {
    #homepage__reviews-section .homepage__reviews-content {
        width: 75%;
        margin-inline: auto;
    }
}
/* HOMEPAGE-MID-SECTION */

@media screen and (min-width: 1700px) {
    #homepage-mid-section .container {
        max-width: 1622px;
        padding: 0;
    }
}
#homepage-mid-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 52px;
    padding-top: 175px;
    color: var(--white);
    text-align: center;
}
#homepage-mid-section h2 {
    font-family: var(--playfair-font);
    font-size: 32px;
    font-weight: 400;
    line-height: 36px;
    margin-bottom: 10px;
}
#homepage-mid-section h4 {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 25px;
    padding: 0;
    font-family: var(--body-font);
}
#homepage-mid-section h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    text-transform: capitalize;
}
#homepage-mid-section p {
    font-size: 15px;
    font-weight: 400;
    line-height: 21px;
    margin: 20px auto 32px;
}
#homepage-mid-section .btn {
    height: 64px;
    padding: 19px;
    color: var(--white);
    text-align: center;
    font-family: var(--header-font);
    font-size: 17px;
    font-weight: 700;
    line-height: unset;
    text-transform: uppercase;
}
#homepage-mid-section .btn.light-btn {
    border-radius: 2px;
    border: 1px solid var(--white);
    width: 95%;
    max-width: 277px;
}
#homepage-mid-section .grid-child .btn {
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 18px 20px 32px;
    width: 95%;
    max-width: 400px;
}
#homepage-mid-section .grid-child .btn:active, 
#homepage-mid-section .grid-child .btn:focus {
    outline: none;
    box-shadow: unset;
}
#homepage-mid-section .grid-child .btn>span {
    width: 73px;
    height: 3px;
    border-radius: 2px;
    background: #5997EA;
    margin-top: 9px;
}
#homepage-mid-section .dark-btn {
    max-width: 242px;
}
#homepage-mid-section .grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 58px;
    width: 100%;
}
#homepage-mid-section .grid-child h2 {
    text-transform: uppercase;
    margin-bottom: 0;
}
#homepage-mid-section .grid-child {
    border: 5px solid #FFF;
    background-image: url("/images/home/our-stock.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 434px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}
#homepage-mid-section .grid-child.cashforcars {
    background-image: url("/images/home/sell-us-your-car.jpg");
}
#homepage-mid-section .celebrating-30-years {
    width: 96%;
    max-width: 441px;
    margin-inline: auto;
}
#homepage-mid-section .celebrating-30-years img {
    margin-top: 2px;
    margin-bottom: 32px;
}
@media screen and (max-width: 1699px) {
    #homepage-mid-section .container {
        max-width: 95%;
        padding-inline: 0;
    }
}
@media screen and (max-width: 1199px) {
    #homepage-mid-section .grid-wrapper {
        gap: 29px;
    }
}
@media screen and (max-width: 992px) and (min-width: 767px) {
    #homepage-mid-section .grid-child {
        min-height: 250px;
        background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 38.71%, rgba(0, 0, 0, 0.60) 94.47%), url("/images/home/our-stock.jpg");
    }
    #homepage-mid-section .grid-child.cashforcars {
        background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 38.71%, rgba(0, 0, 0, 0.60) 94.47%), url("/images/home/sell-us-your-car.jpg");
    }
}
@media screen and (max-width: 767px) {
    #homepage-mid-section .grid-child {
        min-height: 191px;
    }
    #homepage-mid-section .grid-wrapper {
        grid-template-columns: 1fr;
    }
    #homepage-mid-section h4 {
        font-size: 15px;
        line-height: 21px;
        margin-bottom: 21px;
    }
    #homepage-mid-section h2 {
        font-size: 25px;
        line-height: 32px;
        margin-bottom: 19px;
    }
    #homepage-mid-section .grid-wrapper h2 {
        font-size: 24px;
    }
    #homepage-mid-section .sell-you-car {
        max-width: 325px;
        padding-bottom: 12px;
    }
    #homepage-mid-section .container {
        max-width: 92%;
        gap: 33px;
        padding-top: 188px;
    }
    #homepage-mid-section .celebrating-30-years {
        max-width: 332px;
        padding-bottom: 91px;
    }
    #homepage-mid-section .celebrating-30-years img {
        width: 187px;
    }
    #homepage-mid-section .grid-child .btn {
        padding: 2px 20px 9px;
        font-size: 11px;
    }
    #homepage-mid-section .celebrating-30-years img {
        width: 195px;
        margin-right: 20px;
        margin-bottom: 41px;
    }
    #homepage-mid-section h3 {
        max-width: 226px;
        margin-inline: auto;
    }
    #homepage-mid-section p {
        margin-bottom: 33px;
    }
}
@media screen and (max-width: 767px) and (orientation: landscape) {
    #homepage-mid-section .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }   
}