/* home reviews */

.homepage__reviews-section_wrapper .absolute-stripe{
    position: absolute;
    top: -2px;
    left: 0;
    z-index: -1;
}
.homepage__reviews-section_wrapper{
    position: relative;
}
#homepage__reviews-section {
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0% 100%);
    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.2%;
    padding-top: 96px;
    padding-bottom: 29px;
    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: 666px;
    height: auto;
    border-radius: 0px;
    background: var(--white);
    padding: 71px 69px 61px 62px;
    color: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 96%, 0% 100%);
}

#homepage__reviews-section .homepage__reviews-content h3 {
    font-size: 32px;
    font-weight: 500;
    line-height: 32px; 
    text-transform: capitalize;
    padding: 0;
    padding-bottom: 20px;
}
#homepage__reviews-section .homepage__reviews-content .dark-btn {
    max-width: 230px;
    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;
    column-gap: 20px;
}
#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: 124px 0 60px;
        display: flex;
        justify-content: center;
        align-items: start;
        height: 816px;
        background-image: url(/images/home/bgrnd-review-home-mob.png);
        background-position: left top;
        clip-path: unset;
    }
    #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 18px;
        padding-right: 22px;
    }

    #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: 43px;
        padding-left: 0px;
    }

    #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: 41px 33px 60px 42px;
    }
    .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;
    }
    .home-reviews-flex .customer-name{
        font-size: 18px;
    }
    .home-reviews-flex .customer-name-location-date{
        font-size: 14px;
    }
    #homepage__reviews-section .homepage__reviews-content h3 {
        padding-bottom: 32px;
    }
    #homepage__reviews-section .homepage__reviews-flex-part .customer-rating{
        margin-left: 0;
    }
    #homepage__reviews-section .homepage__reviews-content p {
        padding-right: 0;
        padding-bottom: 45px;
        padding-left: 2px;
        font-size: 15px;
        line-height: 21px;
    }
    #homepage__reviews-section .homepage__reviews-content .dark-btn {
        margin-right: 0;
        width: 100%;
        max-width: 249px;
    }
    #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 .homepage__reviews-flex-part{
        padding-left: 4px;
    }
    .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% 55px;
    }
    #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 */

#homepage-mid-section {
    padding-top: 40px;
    padding-bottom: 47px;
}
@media screen and (min-width: 1700px) {
    #homepage-mid-section .container {
        max-width: 1650px;
        padding: 0;
    }
}
#homepage-mid-section .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
}
#homepage-mid-section h3 {
    color: var(--secondary-color);
    font-size: 32px;
    font-weight: 500;
    line-height: 40px; 
    margin-bottom: 15px;
}
#homepage-mid-section p {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 22px; 
    margin-bottom: 25px;
}

#homepage-mid-section .dark-btn {
    max-width: 245px;
}
#homepage-mid-section .grid-section {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 112px;
    padding: 46px 54px 55px;
    border-radius: 2px;
    border: 1px solid #B5B5B5;
    background: linear-gradient(325deg, #F3F3F3 10.82%, #FFF 65.15%);
}
#homepage-mid-section .grid-section img {
    margin-top: 5px;
}
#homepage-mid-section .grid-section .text-content {
    max-width: 326px;
}
@media screen and (min-width: 1599px) {
    #homepage-mid-section .grid-section:last-child {
        padding: 54px 62px 37px;
        gap: 126px;
    }
    #homepage-mid-section .grid-section:last-child p {
        margin-bottom: 10px;
        min-height: 69px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1699px) {
    #homepage-mid-section .container {
        max-width: 98%;
    }
}
@media screen and (min-width: 992px) and (max-width: 1550px) {
    #homepage-mid-section .grid-section {
        justify-content: space-between;
        gap: 30px;
        padding-inline: 40px;
    }
}
@media screen and (max-width: 1200px) {
    #homepage-mid-section .grid-section {
        flex-direction: column-reverse;
        justify-content: start;
        align-items: center;
        gap: 20px;
        text-align: center;
        padding: 21px 14px 38px;
    }
    #homepage-mid-section .grid-section img {
        margin: 0 auto;
        width: 100px;
    }
    #homepage-mid-section h3 {
        font-size: 30px;
    }
    #homepage-mid-section p{
        font-size: 16px;
        line-height: 22px;
        width: 95%;
        margin-inline: auto;
    }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
    #homepage-mid-section .grid-section .image_wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 90px;
    }
}

@media screen and (min-width: 768px) and (max-width:992px) {
    #homepage-mid-section .container {
        max-width: 95%;
        padding-inline: 0;
        gap: 30px;
    }
}

@media screen and (max-width:767px) {
    #homepage-mid-section{
        order: 3;
        padding: 20px 0 64px;
    }
    #homepage-mid-section .grid-section:last-child .image_wrapper {
        padding-left: 19px;
    }
    #homepage-mid-section .container{
        grid-template-columns: 1fr;
        gap: 25px;
        padding-inline: 10px;
    }
   
    #homepage-mid-section .mob-only{
        display: block;
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 22px;
    }
}

@media screen and (min-width: 767px) {
    #homepage-mid-section .mob-only {
        display: none;
    }
}