/* home reviews */

#homepage__reviews-section {
    background-image: url(/images/home/bgrnd-reviews.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 486px;
    padding-right: 7.2%;
    padding-top: 69px;
    padding-bottom: 30px;
    display: flex;
    align-items: start;
    justify-content: end;
}

#homepage__reviews-section .container {
    max-width: 100%;
    padding: 0;
}

#homepage__reviews-section .heading-flex {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

#homepage__reviews-section .homepage__reviews-wrapper {
    display: flex;
    justify-content: end;
}

#homepage__reviews-section .homepage__reviews-content {
    width: 581px;
    position: relative;
    padding: 34px 56px 53px 58px;
    border-radius: 5px;
    background: #FFF;
}
.reviews-btn-main .reviews-btn.mobile {
    margin-bottom: 0;
}

#homepage__reviews-section .homepage__reviews-content h4 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 600;
    line-height: 33px;
    margin-bottom: 20px;
    margin-top: 0;
    letter-spacing: 0.28px;
    padding: 0;
    text-transform: capitalize;
    margin-left: 0;
}

#homepage__reviews-section .homepage__reviews-content p {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 51px;
    margin-left: -1px;
    padding-top: 0;
}

#homepage__reviews-section .home-review-para-wrapper {
    display: flex;
    gap: 0;
    align-items: start;
}

.home-reviews-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    gap: 15px;
}

.homepage__reviews-text-section {
    /* background-image: url("/images/home/icon-quote.svg"); */
    background-position: top 6px right;
    background-repeat: no-repeat;
    background-size: 180px;
}

#homepage__reviews-section .homepage__reviews-content .reviews-btn {
    width: 215px;
    height: 55px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    background: transparent;
    font-family: var(--header-font);
    color: var(--primary-color);
    text-align: right;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: unset;
    text-transform: uppercase;
    margin-bottom: 5px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#homepage__reviews-section .homepage__reviews-content .reviews-btn.mobile {
    display: none;
}
.home-reviews-flex .reviews-btn:hover, #homepage__reviews-section .homepage__reviews-content .reviews-btn:hover {
    color: #000;
}
.home-reviews-flex-inner {
    padding-left: 0;
}

.home-reviews-flex-inner .customer-rating {
    margin-bottom: 13px;
    padding-right: 0;
    justify-content: start;
}

.home-reviews-flex .customer-name {
    color: var(--primary-color);
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    margin-top: 0;
    padding-left: 1px;
}

.home-reviews-flex .customer-name-location-date {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    padding-bottom: 0;
    margin-left: 0;
    padding-left: 1px;
}

.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:767px) {
    .reviews-btn.mobile {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    #homepage__reviews-section .homepage__reviews-content p {
        padding-right: 27px;
    }
}

@media screen and (max-width:767px) {
    #homepage__reviews-section {
        padding: 0;
        min-height: auto;
        background-image: unset;
        display: flex;
        justify-content: center;
        align-items: end;
        padding: 0;
    }
    .homepage__reviews-text-section {
        background-position: top 5px right 10px;
        background-size: 130px;
    }
    .homepage__reviews-image-section {
        background-image: url(/images/home/bgrnd-reviews.jpg);
        background-position: center left 38%;
        background-repeat: no-repeat;
        background-size: cover;
        height: 260px;
    }
    #homepage__reviews-section .homepage__reviews-wrapper {
        flex-direction: column;
    }

    #homepage__reviews-section .homepage__reviews-content {
        width: 91.8%;
        min-height: auto;
        padding: 20px 15px 30px 20px;
        margin: auto;
        margin-top: -67px;
    }
    #homepage__reviews-section .homepage__reviews-content p {
        margin-left: 0;
        margin-bottom: 25px;
        padding-right: 10px;
        margin-top: 0;
        font-size: 14px;
        line-height: 19px;
    }
    #homepage__reviews-section .homepage__reviews-content .reviews-btn {
        font-size: 14px;
    }

    #homepage__reviews-section .homepage__reviews-content h4 {
        margin-left: 0;
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 11px;
    }
    #homepage__reviews-section .home-review-para-wrapper img {
        width: 28px;
    }
    #homepage__reviews-section .home-review-para-wrapper {
        gap: 11px;
    }
    .homepage__reviews-flex-part .customer-rating {
        margin-left: 0;
        margin-bottom: 7px;
    }
    .home-reviews-flex .customer-name, .home-reviews-flex .customer-name-location-date {
        padding-left: 0;
        font-size: 14px;
        line-height: 19px;
    }

    .home-reviews-flex {
        margin-bottom: 0;
        flex-direction: column;
        gap: 7px;
        justify-content: end;
        align-items: start;
        padding-left: 0;
    }

    .reviews-btn-main {
        display: flex;justify-content: end;
    }

    .homepage__reviews-text-section {
        text-align: left;
    }

    #homepage__reviews-section .home-btn {
        margin: auto;
    }

    #homepage__reviews-section .home-btn.mobile {
        display: inline-block;
        margin-left: 0;
        height: 55px;
        font-weight: 700;
        padding: 19px;
    }
    .reviews-btn-main .reviews-btn.mobile {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 330px) {
    #homepage__reviews-section .homepage__reviews-content {
        width: 97%;
        padding: 23px 10px 25px 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 FINANCE SECTION */

#home_finance_section {
    padding-top: 0;
    padding-bottom: 88px;
}

#home_finance_section .container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 215px;
}

#home_finance_section h2.main-heading {
    color: var(--primary-color);
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    line-height: 33px;
    letter-spacing: 0.28px;
    text-transform: capitalize;
    margin-bottom: 33px;
}

@media screen and (min-width:1700px) {

    #home_finance_section .container {
        max-width: 1460px;
        padding: 0;
        padding-right: 35px;
    }
}

#home_finance_section .text-part {
    padding: 7px 0 11px;
    background: #FFF;
    text-align: left;
}

#home_finance_section .grid-part {
    display: grid;
    grid-template-columns: auto 333px;
}

#home_finance_section .text-part h2 {
    color: #05141F;
    font-size: 28px;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 15px;
    margin-left: 1px;
    letter-spacing: normal;
    text-transform: capitalize;
    padding: 0;
}

#home_finance_section .text-part p {
    color: #05141F;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    width: 219px;
    margin-bottom: 0;
    margin-left: 1px;
}

#home_finance_section .btn-div {
    padding-top: 27px;
    padding-left: 0;
}

.home-btn {
    width: 198px;
    height: 54px;
    border-radius: 5px;
    border: none;
    color: #FFF;
    text-align: center;
    text-transform: none;
    font-size: 16px;
    font-weight: 700;
    line-height: unset;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--button-color);
}

.home-btn:hover {
    color: #FFF;
}


@media screen and (min-width: 767px) and (max-width: 1700px) {
    #home_finance_section .container {
        grid-gap: 100px;
    }
}

@media screen and (max-width: 1400px) {
    #home_finance_section .grid-part {
        grid-template-columns: 245px auto;
    }
    #home_finance_section {
        padding-bottom: 60px;
    }
    #home_finance_section .image-part img {
        width: 100%;
    }
    #home_finance_section .container {
        grid-gap: 50px;
    }
}
@media screen and (max-width: 1200px) and (min-width: 992px) {
    #home_finance_section .container {
        grid-template-columns: 1fr;
        max-width: 70%;
    }
    #home_finance_section .grid-part {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 992px) {
    #home_finance_section .text-part {
        width: 92%;
    }
    #home_finance_section .container {
        grid-template-columns: 1fr;
        grid-gap: 30px;
    }
    #home_finance_section .grid-part {
        grid-template-columns: repeat(2, 1fr);
    }
    #home_finance_section {
        padding-bottom: 30px;
    }
}


@media screen and (max-width: 767px) {
    #home_finance_section .container {
        max-width: 100%;
        padding: 0 15px;
        grid-gap: 15px;
    }
    #home_finance_section .grid-part {
        grid-template-columns: 1fr;
    }
    #home_finance_section .text-part h2 {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 8px;
    }
    #home_finance_section .image-part {
        grid-row-start: 1;
    }
    #home_finance_section .text-part {
        padding-top: 15px;
    }
    #home_finance_section .text-part p {
        width: 219px;
        line-height: 20px;
        font-size: 16px;
    }
    #home_finance_section .btn-div {
        padding-top: 17px;
        padding-left: 0;
    }
}
