/* 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: 480px;
    padding-left: 7.1%;
    padding-top: 73px;
    padding-bottom: 59px;
    display: flex;
    align-items: center;
    justify-content: end;
}

#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-wrapper {
    display: flex;
    justify-content: start;
    padding-right: 0px;
    width: 100%;
}

#homepage__reviews-section .homepage__reviews-content {
    width: 620px;
    height: auto;
    border-radius: 10px;
    background: var(--white);
    padding: 50px 43px 41px 68px;
    color: var(--primary-color);
}

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

#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: 41px;
    padding-right: 11px;
    padding-left: 1px;
}

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

.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 {
        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: 42px 0 0;
        display: flex;
        justify-content: center;
        align-items: end;
        height: 827px;
        background-image: url(/images/home/mob-bgrnd-review-home.jpg);
        background-position: center top;
        margin-bottom: 143px;
    }
    #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;
    }

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

    #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: 30px 44px 41px 38px;
        margin-bottom: -130px;
    }
    .home-reviews-flex .customer-name-location-date {
        margin-top: 0;
    }
    .home-reviews-flex .customer-name,
    .home-reviews-flex .customer-name-location-date {
        margin-left: 2px;
    }
    #homepage__reviews-section .homepage__reviews-flex-part .customer-rating {
        margin-left: 0;
    }
    #homepage__reviews-section .homepage__reviews-content h3 {
        padding-bottom: 28px;
    }
    #homepage__reviews-section .homepage__reviews-content p {
        padding-right: 0;
        padding-bottom: 34px;
    }
    #homepage__reviews-section .homepage__reviews-content .dark-btn {
        margin-right: 0;
        max-width: 253px;
    }
    #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 p, 
    .home-reviews-flex .customer-name {
        font-size: 16px;
    }
    #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;
    }
}
/* HOMEPAGE-MID-SECTION */

#homepage-mid-section {
    padding-top: 49px;
    padding-bottom: 102px;
    text-align: center;
}
@media screen and (min-width: 1200px) {
    #homepage-mid-section .container {
        max-width: 1116px;
        padding: 0;
    }
}

#homepage-mid-section .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 51px;
}
#homepage-mid-section h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 27px; 
    margin-bottom: 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#homepage-mid-section p {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 45px;
}
#homepage-mid-section .grid-section {
    position: relative;
}
#homepage-mid-section .dark-btn {
    max-width: 230px;
    height: 60px;
    padding: 18px;
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    text-transform: none;
}
#homepage-mid-section .stripe {
    display: block;
    width: 59px;
    height: 5px;
    background: var(--button-color);
    margin-top: 12px;
    border-radius: 2px;
}
#homepage-mid-section .grid-section img {
    border-radius: 10px;
}
@media screen and (min-width: 767px) {
    br.mob-only {
        display: none;
    }
}
@media screen and (max-width: 1199px) {
    #homepage-mid-section .grid-section img {
        width: 100%;
    }
}

@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{
       padding: 12px 0 52px;
       margin-top: 25px;
       order: 3;
    }
    #homepage-mid-section .container {
        grid-template-columns: 1fr;
        gap: 53px;
        padding-inline: 11px;
    }
    #homepage-mid-section h1,
    #homepage-mid-section p {
        max-width: 90%;
        margin-inline: auto;
    }
    #homepage-mid-section p {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 27px;
    }
    #homepage-mid-section .stripe {
        margin-top: 16px;
    }
    #homepage-mid-section h1 {
        margin-bottom: 16px;
    }
    #homepage-mid-section .dark-btn {
        max-width: 182px;
        height: 47px;
        font-size: 16px;
        padding: 11px;
        bottom: -23px;
    }
}

@media screen and (max-width:375px) {
    #homepage-mid-section{
        background-size: auto;
    }
}
