/* home reviews */

#about #homepage__reviews-section {
    padding-bottom: 98px;
}
#homepage__reviews-section {
    /* background-image: url(/images/home/homepage-review-img.jpg); */
    background-position:center top;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: start;
    padding-bottom: 70px;
}
#homepage__reviews-section .container {
    max-width: 95%;
    padding: 0;
    background-image: url(/images/home/bgrnd-reviews-home.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center left;
    min-height: 450px;
    border-radius: 15px 100px 15px 15px;
    display: flex;
    align-items: center;
    padding-block: 25px;
}
@media screen and (min-width:1850px) {
    #homepage__reviews-section .container {
        max-width: 1643px;
    }
}

#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 .dark-btn{
    width: 236px;
    padding: 13px;
    height: 54px;
    margin-top: 8px;
    border-radius: 2px;
    border: 1px solid var(--primary-color);
}
#homepage__reviews-section .homepage__reviews-content .customer-rating{
    display: flex;
    align-items: center;
}
#homepage__reviews-section .homepage__reviews-content {
    width: 656px;
    border-radius: 15px;
    background: var(--button-color);
    padding: 40px 52px 55px 57px;
    margin-left: -65px;
    min-height: 358px;
}

#homepage__reviews-section .homepage__reviews-content h3 {
    font-size: 40px;
    font-weight: 700;
    line-height: 32px;
    color: var(--primary-color);
    padding: 15px 0 28px;
    text-transform: capitalize;
}
#homepage__reviews-section .homepage__reviews-flex-part .customer-rating {
    margin-left: 1px;
}
#homepage__reviews-section .homepage__reviews-content p {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    padding: 0 18px 20px 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: start;
    justify-content: space-between;
    padding-left: 3px;
    padding-right: 11px;
    gap: 20px;
}
#homepage__reviews-section .homepage__reviews-content .reviews-btn {
    width: 226px;
    height: 57px;
    border-radius: 5px;
    color: var(--white);
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: unset;
    text-transform: none;
    background: transparent;
    border: 1px solid white;
    padding: 13px;
    margin-right: 45px;
}
#homepage__reviews-section .heading-flex img {
    margin-right: 0;
    margin-top: -16px;
}
.home-reviews-flex-inner {
    padding-left: 0;
}

.home-reviews-flex-inner .customer-rating {
    justify-content: start;
    margin-bottom: 9px;
}
.home-reviews-flex .customer-name {
    color: var(--primary-color);
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    line-height: 21px;
    margin-left: 1px;
    text-transform: capitalize;
    margin-top: 10px;
}
.home-reviews-flex .customer-name-location-date {
    color: var(--primary-color);
    text-align: left;
    font-size: 15px;
    font-weight: 300;
    line-height: 21px;
    text-transform: capitalize;
    margin-bottom: 1px;
    margin-left: 1px;
    margin-top: 5px;
}
.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 (max-width: 1850px) {
    #homepage__reviews-section {
       padding-left: 5%;
    }
}
@media screen and (min-width:768px) and (max-width: 1199px) {
    #homepage__reviews-section .container {
        max-width: 90%;
        background-position: center left -120px;
    }
    #homepage__reviews-section .homepage__reviews-content {
        width: 620px;
        margin-left: -50px;
    }
}
#homepage__reviews-section .mobile-appear-bg{
    display: none;
}

@media screen and (max-width:767px) {
    #homepage__reviews-section .mobile-appear-bg img{
        width: 100%;
    }
    #homepage__reviews-section .mobile-appear-bg{
        display: block;
        width: 80%;
    }
    #homepage__reviews-section {
       padding: 0 9px 37px;
       flex-direction: column;
    }
    #about #homepage__reviews-section{
        padding-bottom: 50px;
    }
    #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;
    }
    .home-reviews-broder-top-wrapper.mobile-appear {
        display: block;
        min-height: 10px;
        width: 100%;
        background-color: #FFD457;
    }
    .homepage__reviews-text-section {
        text-align: left;
    }
    #homepage__reviews-section .container .homepage__reviews-wrapper{
        width: 100%;
    }
    #homepage__reviews-section .container{
        background: none;
        padding: 0;
        max-width: 100%;
        min-height: auto;
    }
    #homepage__reviews-section .homepage__reviews-content {
        width: 100%;
        padding: 33px 39px 38px 34px;
        margin: 0 auto;
        min-height: auto;
    }
    #homepage__reviews-section .home-reviews-flex-inner .flex-content{
        flex-direction: column;
        gap: 21px;
        padding: 0;
    }
    #homepage__reviews-section .homepage__reviews-content h3{
        font-size: 36px;
        padding: 8px 0 27px;
    }
    #homepage__reviews-section .homepage__reviews-content p{
        line-height: 25px;
        padding-right: 15px;
        padding-bottom: 29px;
    }
    #homepage__reviews-section .reviews-btn-main{
        width: 100%;
    }
    #homepage__reviews-section .dark-btn{
        width: 100%;
    }
    #homepage__reviews-section .heading-flex img{
        width: 61px;
        margin-top: -19px;
        margin-right: -2px;
    }
}

@media screen and (max-width: 400px) {
    #homepage__reviews-section .mobile-appear-bg img{
        width: auto;
    }
    #homepage__reviews-section .mobile-appear-bg{
       width: 100%;
        text-align: center;
    }
}
@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 .mobile-appear-bg img{
        width: 93%;
        margin-bottom: -5px;
    }
}
@media screen and (max-width: 330px) {
    #homepage__reviews-section .homepage__reviews-content{
        padding-inline:20px ;
    }
    #homepage__reviews-section .heading-flex img {
        width: 50px;
    }
    #homepage__reviews-section .homepage__reviews-content p{
        font-size: 16px;
        line-height: 22px;
    }
}


@media screen and (min-width:1700px) {
    #monthly-budget-home-section .container {
        max-width: 1637px;
        padding: 0;
    }
}

#monthly-budget-home-section .container {
    display: grid;
    grid-template-columns: auto 902px;
    gap: 158px;
}
/* START OF HOME MID SECTION */

@media screen and (min-width: 1500px) {
    #home-mid-section .container {
        max-width: 1458px;
        padding-inline: 0;
        padding-right: 19px;
    }
}
#home-mid-section {
    padding: 65px 0 77px;
}
#home-mid-section .container {
    display: grid;
    grid-template-columns: 578px auto;
    gap: 89px;
}
#home-mid-section .logo-wrapper {
    background-image: url("/images/home/tree-home-welcome.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100%;
    padding-top: 63px;
    text-align: center;
    margin-top: 9px;
    padding-right: 10px;
}
#home-mid-section .text-content {
    display: grid;
    grid-template-columns: auto 297px;
    gap: 30px;
}
@media screen and (min-width: 767px) {
    #home-mid-section .text-content .text-wrapper {
        max-width: 401px;
        grid-column-start: 1;
        grid-row-start: 1;
    }
}
#home-mid-section .text-content .text-wrapper h3 {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
    line-height: 25px;
    text-transform: capitalize;
    margin-top: 13px;
    margin-bottom: 15px;
}
#home-mid-section .text-content .text-wrapper h4 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 500;
    line-height: 24px; 
    margin-bottom: 22px;
    padding: 0;
    max-width: 315px;
}
#home-mid-section .text-content .text-wrapper p {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 37px;
}
#home-mid-section .text-content .text-wrapper .dark-btn {
    display: block;
    max-width: 239px;
    height: 60px;
    padding: 18px;
}
@media screen and (min-width: 767px) {
    #home-mid-section .image-wrapper {
        width: 558px;
        aspect-ratio: 18/11;
        border-radius: 100px 15px 15px 15px;
        background: var(--white);
        position: relative;
    }
}
#home-mid-section .image-wrapper .image-child-wrapper {
    background-image: url("/images/home/home-welcome-image.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    margin-left: 20px;
    margin-top: -10px;
}
@media screen and (max-width: 1500px) and (min-width: 992px) {
    #home-mid-section .container {
        grid-template-columns: 35% auto;
        gap: 50px;
        max-width: 95%;
        padding-inline: 0;
    }
    #home-mid-section .image-wrapper {
        width: 100%;
    }
}
@media screen and (max-width: 1200px) {
    #home-mid-section .text-content {
        grid-template-columns: auto 40%;
    }
}
@media screen and (max-width: 992px) {
    #home-mid-section .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    #home-mid-section .text-content {
        grid-row-start: 1;
    }
    #home-mid-section .image-wrapper {
        margin-inline: auto;
    }
}
@media screen and (max-width: 767px) {
    #home-mid-section .container {
        gap: 36px;
        padding-inline: 6px;
    }
    #home-mid-section .mobile-only-disappear {
        display: none;
    }
    #home-mid-section .mobile-only-appear {
        display: block !important;
    }
    #home-mid-section .image-wrapper img {
        width: 100%;
    }
    #home-mid-section .text-content {
        grid-template-columns: 1fr;
        background-image: url(/images/home/tree-welcome-image-m.png);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: auto;
        text-align: center;
        gap: 24px;
        max-width: 320px;
        padding-inline: 0;
        padding-top: 167px;
    }
    #home-mid-section .text-content .text-wrapper h3 {
        display: none;
    }
    #home-mid-section .text-content, 
    #home-mid-section .text-content .text-wrapper .dark-btn, 
    #home-mid-section .text-content .text-wrapper h4 {
        margin-inline: auto;
    }
    #home-mid-section {
        order: 3;
        padding-top: 20px;
        padding-bottom: 23px;
    }
    #home-mid-section .logo-wrapper img {
        display: none;
    }
    #home-mid-section .logo-wrapper {
        background-image: unset;
        padding: 0;
        margin-top: 0;
    }
}
/* END OF HOME MID SECTION */