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

#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: 581px;
    height: auto;
    border-radius: 5px;
    background: linear-gradient(124deg, #2E3094 29.77%, rgba(46, 48, 148, 0.80) 97.64%);
    padding: 48px 34px 41px 46px;
    color: var(--white);
}

#homepage__reviews-section .homepage__reviews-content h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 25px; 
    text-transform: uppercase;
    padding: 0;
    padding-bottom: 23px;
}

#homepage__reviews-section .homepage__reviews-flex-part .customer-rating {
    margin-left: 2px;
}
#homepage__reviews-section .homepage__reviews-content p {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    padding-bottom: 41px;
    padding-right: 39px;
    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 .homepage__reviews-content .reviews-btn {
    width: 225px;
    height: 55px;
    border-radius: 5px;
    color: var(--white);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: unset;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--white);
    padding: 15px;
}

#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: 16px;
    font-weight: 700;
    line-height: 21px;
    margin-left: 2px;
    text-transform: capitalize;
}

.home-reviews-flex .customer-name-location-date {
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    text-transform: capitalize;
    margin-bottom: 4px;
    margin-left: 1px;
    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;
        display: flex;
        justify-content: center;
        align-items: end;
        height: 809px;
        background: url(/images/home/mob-home-reviews-bgrnd.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    #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 13px;
    }

    #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: 48px 45px 53px 39px;
        max-width: 581px;
    }

    #homepage__reviews-section .homepage__reviews-content p {
        padding-bottom: 25px;
        padding-right: 16px;
        font-size: 16px;
        line-height: 22px;
    }
    .home-reviews-flex .customer-name-location-date {
        margin-top: 0;
    }

    #homepage__reviews-section .homepage__reviews-content h3 {
        font-size: 24px;
        line-height: 25px;
        padding-bottom: 25px;
    }
    #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: 32px 15px 35px;
    }
    #homepage__reviews-section .container {
        max-width: 100%;
    }
    #homepage__reviews-section .homepage__reviews-content {
        padding-left: 10%;
        padding-right: 10%;
    }
    #homepage__reviews-section .heading-flex img {
        margin-right: 0;
    }
    .home-reviews-flex .customer-name {
        font-size: 18px;
    }
    .home-reviews-flex .customer-name-location-date {
        font-size: 15px;
    }
}

@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: 37px;
    padding-bottom: 81px;
    background-image: url(/images/home/home-welcome-bgrnd.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}
@media screen and (min-width: 1200px) {
    #homepage-mid-section .container {
        max-width: 1070px;
        padding: 0;
    }
    #homepage-mid-section .text-content {
        padding-left: 22px;
    }
}

#homepage-mid-section .container {
    display: grid;
    grid-template-columns: auto 502px;
    gap: 60px;
}

#homepage-mid-section .text-content {
    text-align: center;
}

#homepage-mid-section .text-content h3 {
   font-size: 24px;
    font-weight: 600;
    line-height: 25px;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    margin: 19px 0 28px;
}
#homepage-mid-section .text-content p {
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 22px;
    margin-inline: 20px;
}
#homepage-mid-section .welcome-img{
    margin-top: 9px;
    width: 100%;
}

#homepage-mid-section .text-content .red-btn-hr{
    margin-top: 1px;
}
#homepage-mid-section .text-content .btn {
    color: var(--primary-color);
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    line-height: 25px; 
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: none;
    margin-top: 13px;
    outline: none;
}

@media screen and (min-width:992px) and (max-width:1199px) {
    #homepage-mid-section .container {
        grid-template-columns: auto 395px;
    }
}

@media screen and (max-width:992px) {
    #homepage-mid-section .container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 21px;
        padding-inline: 18px ;
    }
    #homepage-mid-section .text-content p {
        font-size: 13px;
        line-height: 18px;
        margin-inline: 18px;
        margin-bottom: 17px;
    }
    #homepage-mid-section .text-content h3{
        font-size: 20px;
        letter-spacing: 2px;
        margin: 19px 0;
    }
}

@media screen and (max-width:992px) {
    #homepage-mid-section{
         background-image: url(/images/home/home-welcome-bg-mob.png);
        background-size: cover;
    }
}

@media screen and (max-width:767px) {
    #homepage-mid-section{
       padding: 12px 0 57px;
       margin-top: 25px;
       order: 3;
    }
    #homepage-mid-section .text-content .btn{
        margin-top: 7px;
    }
    #homepage-mid-section .welcome-img {
        border-radius: 20px;
    }
}

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