/* home reviews */

#homepage__reviews-section {
    background-image: url(/images/home/bgrnd-home-reviews.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 513px;
    padding-left: 5.4%;
    padding-top: 74px;
    padding-bottom: 87px;
    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: 100%;
    max-width: 623px;
    height: auto;
    border-radius: 15px;
    background: linear-gradient(126deg, #F6F6F6 42.41%, rgba(144, 144, 144, 0.80) 115.5%);
    color: var(--primary-color);
    padding: 43px 64px 39px 49px;
}

#homepage__reviews-section .homepage__reviews-content h3 {
    font-family: var(--kaisei-tokumin-font);
    font-size: 28px;
    font-weight: 400;
    line-height: 27px; 
    text-transform: capitalize;
    padding: 0;
    padding-bottom: 35px;
}
#homepage__reviews-section .homepage__reviews-content .dark-btn {
    max-width: 258px;
    height: 60px;
    padding: 19px;
    font-weight: 600;
}

#homepage__reviews-section .customer-rating {
    margin-right: 16px;
    margin-top: 3px;
    display: flex;
    justify-content: start;
    margin-bottom: 9px;
}
#homepage__reviews-section .homepage__reviews-content p {
    font-size: 17px;
    font-weight: 300;
    line-height: 26px;
    padding-bottom: 40px;
    padding-right: 7px;
    padding-left: 6px;
}
#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: start;
    justify-content: space-between;
    gap: 20px;
}
.home-reviews-flex-inner {
    padding-left: 0;
}

.home-reviews-flex .customer-details {
    padding-left: 7px;
    padding-top: 6px;
}
.home-reviews-flex .customer-name {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-transform: capitalize;
}

.home-reviews-flex .customer-name-location-date {
    font-size: 15px;
    font-weight: 300;
    line-height: 24px;
    text-transform: capitalize;
}
@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: 75px 22px 67px;
        display: flex;
        justify-content: center;
        align-items: start;
        height: 581px;
        background-image: url(/images/home/bgrnd-home-reviews-m.jpg);
        background-position: center top;
        margin-top: 3px;
    }
    #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 .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: center;
        gap: 18px;
    }
    #homepage__reviews-section .row.align-end {
        justify-content: start;
        margin: 0;
    }

    #homepage__reviews-section .homepage__reviews-wrapper {
        padding: 0;
        justify-content: center;
    }
    #homepage__reviews-section .homepage__reviews-image-section, 
    #homepage__reviews-section .homepage__reviews-image-section img {
        width: 100%;
    }
    #homepage__reviews-section .homepage__reviews-content {
        padding: 33px 25px 28px;
        text-align: center;
        max-width: 450px;
    }
    .home-reviews-flex .customer-details {
        padding: 0;
    }
    #homepage__reviews-section .homepage__reviews-content h3 {
        font-size: 22px;
        line-height: 25px;
        padding-bottom: 11px;
    }
    #homepage__reviews-section .homepage__reviews-content p {
        padding-inline: 0;
        padding-bottom: 24px;
        font-size: 16px;
        line-height: 22px;
    }
    .home-reviews-flex .customer-name-location-date, 
    .home-reviews-flex .customer-name {
        font-size: 16px;
    }
    #homepage__reviews-section .homepage__reviews-content .dark-btn {
        margin-right: 0;
    }
    #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 {
        flex-direction: column;
        gap: 0;
        align-items: center;
        padding-bottom: 22px;
    }
    #homepage__reviews-section .customer-rating {
        margin: 0;
    }
}
@media screen and (max-width: 330px) {
    #homepage__reviews-section .homepage__reviews-content, 
    #homepage__reviews-section {
        padding-inline: 4%;
    }
    #homepage__reviews-section .homepage__reviews-content {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 400px) {
    #homepage__reviews-section .homepage__reviews-content p {
        max-width: 272px;
        margin-inline: auto;
    }
}
@media screen and (max-width: 369px) {
    .home-reviews-flex .customer-name-location-date {
        padding-bottom: 0;
    }
}