/* home reviews */

#homepage__reviews-section {
    background-image: url(/images/home/home-reviews-bgrnd.jpg);
    background-color: var(--primary-color);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 450px;
    display: flex;
    align-items: start;
    justify-content: end;
    padding-block: 62px;
    padding-right: 7.34%;
    padding-bottom: 85px;
}
#homepage__reviews-section .container {
    max-width: 100%;
    padding: 0;
}
@media screen and (min-width: 1700px) {
    #homepage__reviews-section .container {
        max-width: 1638px;
    }
    #homepage__reviews-section {
        padding-inline: 0;
    }
}
#homepage__reviews-section .heading-flex {
    display: flex;
    flex-direction: row-reverse;
    gap: 42px;
    justify-content: start;
    align-items: start;
    position: relative;
    margin-left: -93px;
}
#homepage__reviews-section .heading-flex img.quote {
    margin-top: 16px;
}
#homepage__reviews-section .home-flex-wrap {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: start;
}

#homepage__reviews-section .row.align-end {
    justify-content: start;
    margin: 0;
}

#homepage__reviews-section .homepage__reviews-wrapper {
    display: flex;
    justify-content: end;
    padding-right: 0px;
    width: 100%;
}

#homepage__reviews-section .homepage__reviews-content .customer-rating{
    display: flex;
    align-items: start;
    justify-content: start;
}
#homepage__reviews-section .homepage__reviews-content .customer-rating img {
    width: 15.4px;
    height: auto;
}
#homepage__reviews-section .homepage__reviews-content {
    width: 539px;
    /* height: auto;
    min-height: 404px;
    border-radius: 10px;
    background: linear-gradient(132deg, #05141F 48.1%, rgba(5, 20, 31, 0.00) 152.82%); */
    color: var(--white);
    padding: 0;
}

#homepage__reviews-section .homepage__reviews-content h3 {
    font-size: 36px;
    font-weight: 600;
    line-height: 36px;
    text-transform: capitalize;
    padding: 0;
    min-height: auto;
    margin-top: 15px;
    margin-bottom: 35px;
}
#homepage__reviews-section .homepage__reviews-content .dark-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 221px;
    max-width: 221px;
    height: 55px;
    padding: 0;
    font-size: 19px;
    line-height: 17px;
    background: transparent;
    border: 1px solid var(--white);
}
#homepage__reviews-section .homepage__reviews-content p {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    margin-left: 4px;
    padding-bottom: 55px;
    max-width: 511px;
    min-height: 151px;
}
#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;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.home-reviews-flex-inner {
    padding-left: 0;
}

.home-reviews-flex-inner .customer-rating {
    justify-content: start;
    margin-bottom: 9.5px;
    margin-left: 4px;
}

.home-reviews-flex .customer-name {
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    line-height: 21px;
    text-transform: capitalize;
    margin-left: 5px;
}

.home-reviews-flex .customer-name-location-date {
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    text-transform: capitalize;
    margin-left: 5px;
    margin-bottom: 1px;
    font-family: var(--blinker-font);
}


.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: 1700px) and (max-width: 1799px) {
    #homepage__reviews-section{
        padding-left: 6%;
    }
}
/* slide the photo to the right as the screen narrows so the couple stay visible */
@media screen and (min-width: 992px) and (max-width: 1399px) {
    #homepage__reviews-section {
        background-position: calc(-430px + (100vw - 992px) * 0.2457) top;
    }
}
/* narrower: nudge the photo left so the quote icon, review and button sit on the dark fade */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    #homepage__reviews-section {
        background-position: calc(-560px + (100vw - 992px) * 0.874) top;
    }
}
@media screen and (min-width: 992px) and (max-width: 1050px) {
    #homepage__reviews-section {
        background-position: calc(-560px + (100vw - 992px) * -5.126) top;
    }
}
@media screen and (max-width:991px) {
    #homepage__reviews-section {
        background-image: url(/images/home/mobile-home-reviews.jpg);
        background-position: center bottom;
        width: 100%;
        padding: 38px 39px 0 31px;
        display: flex;
        justify-content: center;
        align-items: start;
        min-height: 674px;
    }
    #homepage__reviews-section .homepage__reviews-content {
        width: 100%;
        max-width: 305px;
    }
    #homepage__reviews-section .row {
        margin: 0;
    }
    #homepage__reviews-section .container {
        padding: 0;
    }

    .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 .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 .home-reviews-flex-inner .flex-content {
        flex-direction: column;
        justify-content: start;
        align-items: start;
        gap: 25px;
    }
    #homepage__reviews-section .homepage__reviews-content .customer-rating,
    .home-reviews-flex .customer-name,
    .home-reviews-flex .customer-name-location-date {
        margin-left: 0;
    }

    #homepage__reviews-section .homepage__reviews-content h3 {
       margin-block: 6px 34px;
        min-height: 0;
        font-size: 30px;
        line-height: 36px;
    }
    #homepage__reviews-section .homepage__reviews-content p {
        font-size: 16px;
        line-height: 20px;
        max-width: 303px;
        min-height: 161px;
        margin-left: 0;
        padding-bottom: 41px;
    }
    #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-direction: row-reverse;
        flex-wrap: nowrap;
        gap: 26px;
        justify-content: start;
        margin-left: 0;
    }

    .homepage__reviews-text-section {
        text-align: left;
    }

    #homepage__reviews-section .heading-flex img.quote{
        width: 51px;
        margin-top: 0;
        margin-left: -1px;
    }

    #homepage__reviews-section .home-btn {
        margin: auto;
    }
    #homepage__reviews-section .homepage__reviews-content .dark-btn {
        margin-left: 0;
        width: 100%;
        max-width: 305px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    #homepage__reviews-section {
        background: linear-gradient(85deg, #000 45%, rgba(0, 0, 0, 0) 99%) no-repeat, url(/images/home/home-reviews-photo.jpg) no-repeat 10% center / auto 100%, var(--primary-color);
        min-height: 550px;
        align-items: center;
        justify-content: flex-start;
        padding-block: 0;
    }
}
@media screen and (max-width: 370px) {
    #homepage__reviews-section {
        padding-inline: 5%;
    }
    #homepage__reviews-section .heading-flex {
        padding-right: 0;
    }
}
@media screen and (max-width: 767px) and (orientation:landscape) {
    #homepage__reviews-section .homepage__reviews-content {
        width: 75%;
        margin-inline: auto;
    }
}
/* start of home experience */
#home-experience {
    --u: calc(min(100vw, 1920px) / 1920);
    position: relative;
    height: calc(var(--u) * 450);
    background: #f3f3f3;
    overflow: hidden;
}
#home-experience .experience-bg {
    position: absolute;
    top: 0;
    left: calc(var(--u) * 27);
    width: calc(var(--u) * 822);
    height: calc(var(--u) * 450);
}
#home-experience .experience-inner {
    position: relative;
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
}
#home-experience .experience-text {
    position: absolute;
    top: calc(var(--u) * 106);
    left: calc(var(--u) * 203);
    width: calc(var(--u) * 387);
    color: var(--primary-color);
}
#home-experience .experience-text h2 {
    font-size: calc(var(--u) * 36);
    font-weight: 400;
    line-height: calc(var(--u) * 40);
    margin: 0 0 calc(var(--u) * 32);
}
#home-experience .experience-text h2 strong {
    font-weight: 600;
}
#home-experience .experience-text p {
    font-size: calc(var(--u) * 15);
    font-weight: 400;
    line-height: calc(var(--u) * 21);
    margin: 0 0 calc(var(--u) * 38);
}
#home-experience .btn.dark-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: calc(var(--u) * 270);
    max-width: 100%;
    height: 55px;
    background: var(--primary-color);
    font-size: calc(var(--u) * 19);
    font-weight: 600;
    line-height: calc(var(--u) * 17);
}
#home-experience .experience-media {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(var(--u) * 1238);
    height: calc(var(--u) * 450);
}
#home-experience .experience-photo {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(var(--u) * 960);
    height: 100%;
    object-fit: cover;
}
@media screen and (min-width: 1921px) {
    #home-experience .experience-photo {
        right: calc((100vw - 1920px) / -2);
        width: calc(960px + (100vw - 1920px) / 2);
    }
}
#home-experience .experience-stripes {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--u) * 618);
    height: 100%;
}
#home-experience .experience-kgm {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--u) * 618);
    height: 100%;
}
#home-experience .experience-kgm-logo {
    position: absolute;
    top: calc(var(--u) * 77);
    left: calc(var(--u) * 230);
    width: calc(var(--u) * 136);
    height: auto;
}
#home-experience .experience-kgm p {
    position: absolute;
    top: calc(var(--u) * 220);
    left: calc(var(--u) * 103);
    width: calc(var(--u) * 387);
    margin: 0;
    color: var(--white, #fff);
    font-size: calc(var(--u) * 15);
    font-weight: 400;
    line-height: calc(var(--u) * 21);
    text-align: center;
}
#home-experience .experience-kgm .btn.dark-btn {
    position: absolute;
    top: calc(var(--u) * 319);
    left: calc(var(--u) * 146);
    background: transparent;
    border: 1px solid var(--white, #fff);
    font-size: calc(var(--u) * 17);
}
@media screen and (max-width: 991px) {
    #home-experience {
        height: auto;
        padding-top: 40px;
    }
    #home-experience .experience-bg {
        display: none;
    }
    #home-experience .experience-inner {
        height: auto;
    }
    #home-experience .experience-text,
    #home-experience .experience-media {
        position: static;
        width: auto;
        height: auto;
    }
    #home-experience .experience-text {
        padding: 0 20px 40px;
        text-align: center;
    }
    #home-experience .experience-text h2 {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 20px;
    }
    #home-experience .experience-text p {
        font-size: 16px;
        line-height: 22px;
        max-width: 420px;
        margin: 0 auto 25px;
    }
    #home-experience .btn.dark-btn {
        width: 240px;
        height: 55px;
        font-size: 19px;
        line-height: 17px;
    }
    #home-experience .experience-photo {
        position: static;
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    #home-experience .experience-stripes {
        display: none;
    }
    #home-experience .experience-kgm {
        position: static;
        width: auto;
        height: auto;
        padding: 30px 20px;
        background: #151515;
        text-align: center;
    }
    #home-experience .experience-kgm-logo {
        position: static;
        display: block;
        width: 136px;
        margin: 0 auto 25px;
    }
    #home-experience .experience-kgm p {
        position: static;
        width: auto;
        max-width: 420px;
        margin: 0 auto 25px;
        font-size: 16px;
        line-height: 22px;
    }
    #home-experience .experience-kgm .btn.dark-btn {
        position: static;
        font-size: 17px;
    }
}
@media screen and (max-width: 991px) {
    #home-experience {
        padding-top: 0;
        order: 4;
    }
    #home-experience .experience-bg {
        display: block;
        left: calc(50% - 303.5px);
        width: 637px;
        height: 349px;
    }
    #home-experience .experience-text {
        width: 281px;
        margin: 0 auto;
        padding: 47px 0 38px;
        text-align: left;
    }
    #home-experience .experience-text h2 {
        font-size: 30px;
        line-height: 37px;
        margin: 0 0 25px;
    }
    #home-experience .experience-text p {
        max-width: none;
        font-size: 14px;
        line-height: 19px;
        margin: 0 0 40px;
    }
    #home-experience .experience-text .btn.dark-btn {
        width: 270px;
        font-size: 19px;
    }
    #home-experience .experience-media {
        display: flex;
        flex-direction: column;
    }
    #home-experience .experience-kgm {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 387px;
        padding: 41px 0 0;
        background: url('/images/home/home-kgm-stripes-mobile.svg') center / cover no-repeat;
    }
    #home-experience .experience-kgm-logo {
        width: 86px;
        margin: 0 0 36px;
    }
    #home-experience .experience-kgm p {
        width: 278px;
        max-width: 100%;
        margin: 0 0 30px;
        font-size: 14px;
        line-height: 19px;
    }
    #home-experience .experience-kgm .btn.dark-btn {
        width: 270px;
        font-size: 17px;
    }
    #home-experience .experience-photo {
        order: 2;
        aspect-ratio: 375 / 302;
        object-fit: cover;
    }
}
/* Mid desktop: keep text readable and grow the section height as the screen narrows */
@media screen and (min-width: 992px) and (max-width: 1750px) {
    #home-experience {
        --extra: clamp(0px, calc((1750px - 100vw) * 0.35), 260px);
        --h: calc(var(--u) * 450 + var(--extra));
        height: var(--h);
    }
    #home-experience .experience-bg {
        height: var(--h);
        width: calc(var(--h) * 822 / 450);
    }
    #home-experience .experience-text {
        top: calc(var(--u) * 106 + var(--extra) * 0.3);
        left: max(40px, calc(var(--u) * 203 - (1750px - 100vw) * 0.12));
        width: calc(var(--u) * 387 + (1750px - 100vw) * 0.12);
    }
    #home-experience .experience-text h2 {
        font-size: max(30px, calc(var(--u) * 36));
        line-height: 1.15;
        margin-bottom: 24px;
    }
    #home-experience .experience-text p {
        font-size: max(16px, calc(var(--u) * 15));
        line-height: 1.45;
        margin-bottom: 30px;
    }
    #home-experience .btn.dark-btn {
        width: max(230px, calc(var(--u) * 270));
        font-size: max(17px, calc(var(--u) * 19));
    }
    #home-experience .experience-media,
    #home-experience .experience-photo,
    #home-experience .experience-stripes,
    #home-experience .experience-kgm {
        height: var(--h);
    }
    #home-experience .experience-kgm {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 30px 0 20px;
        box-sizing: border-box;
    }
    #home-experience .experience-kgm-logo,
    #home-experience .experience-kgm p,
    #home-experience .experience-kgm .btn.dark-btn {
        position: static;
    }
    #home-experience .experience-kgm-logo {
        width: max(100px, calc(var(--u) * 136));
        margin-bottom: 22px;
    }
    #home-experience .experience-kgm p {
        width: 100%;
        margin-bottom: 26px;
        font-size: max(16px, calc(var(--u) * 15));
        line-height: 1.45;
    }
    #home-experience .experience-kgm .btn.dark-btn {
        font-size: max(17px, calc(var(--u) * 17));
    }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
    #home-experience {
        --sw: calc(var(--u) * 618 + 80px);
    }
    #home-experience .experience-bg {
        left: 0;
        width: calc(var(--u) * 822 + 20px);
        height: auto;
        top: calc((var(--h) - (var(--u) * 822 + 20px) * 450 / 822) / 2);
    }
    #home-experience .experience-text {
        top: 105px;
    }
    #home-experience .experience-stripes,
    #home-experience .experience-kgm {
        width: var(--sw);
    }
    #home-experience .experience-kgm p {
        width: calc(var(--sw) * 0.68);
        max-width: 100%;
    }
}
@media screen and (min-width: 1205px) and (max-width: 1399px) {
    #home-experience .experience-text {
        width: calc(var(--u) * 387 + (1750px - 100vw) * 0.12 + 40px);
    }
}
@media screen and (min-width: 1200px) and (max-width: 1750px) {
    #home-experience .experience-bg {
        top: calc(var(--extra) / 2);
        width: calc(var(--u) * 822);
        height: calc(var(--u) * 450);
    }
    #home-experience .experience-text p,
    #home-experience .experience-kgm p {
        font-size: 14px;
        line-height: 1.45;
    }
    #home-experience .experience-kgm p {
        width: calc(var(--u) * 618 * 0.7);
        max-width: 100%;
    }
}
/* end of home experience */
/* start of home panels */
#home-panels {
    padding: 46px 0 43px;
}
#home-panels .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 60px;
    max-width: 1380px;
    padding-inline: 15px;
}
#home-panels .home-panel {
    display: flex;
    align-items: flex-start;
    column-gap: 60px;
    padding: 22px 26px 23px;
    background: var(--backgrey, #f1f1f1);
}
#home-panels .home-panel-image {
    flex-shrink: 0;
    width: 209px;
    height: 209px;
    object-fit: cover;
}
#home-panels .home-panel-content {
    flex: 1;
    min-width: 0;
    max-width: 269px;
    padding-top: 17px;
    color: var(--primary-color);
}
#home-panels .home-panel-content h2 {
    font-size: 26px;
    font-weight: 600;
    line-height: 30px;
    margin: 0 0 13px;
}
#home-panels .home-panel-content p {
    font-size: 15px;
    font-weight: 400;
    line-height: 21px;
    margin: 0 0 31px;
}
#home-panels .btn.dark-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 269px;
    height: 55px;
    padding: 0;
    background: var(--primary-color);
    font-size: 19px;
    font-weight: 600;
    line-height: 17px;
}
@media screen and (max-width: 1399px) {
    #home-panels .container {
        column-gap: 30px;
    }
    #home-panels .home-panel {
        column-gap: 30px;
        padding-inline: 20px;
    }
}
@media screen and (max-width: 1199px) {
    #home-panels .container {
        grid-template-columns: 1fr;
        row-gap: 30px;
        max-width: 660px;
    }
}
@media screen and (max-width: 767px) {
    #home-panels {
        padding: 0;
        order: 5;
        margin-bottom: 31px;
    }
    #home-panels .container {
        row-gap: 7px;
        max-width: none;
        padding-inline: 0;
        max-width: 450px;
    }
    #home-panels .home-panel {
        column-gap: 24px;
        min-height: 163px;
        padding: 22px 12px 22px;
        box-sizing: border-box;
    }
    #home-panels .home-panel-image {
        width: 118px;
        height: 118px;
    }
    #home-panels .home-panel-content {
        max-width: none;
        padding-top: 1px;
        padding-right: 8px;
    }
    #home-panels .home-panel-content h2 {
        font-size: 18px;
        line-height: 23px;
        margin-bottom: 9px;
    }
    #home-panels .home-panel-content p {
        font-size: 11px;
        line-height: 14px;
        margin-bottom: 15px;
    }
    #home-panels .btn.dark-btn {
        max-width: 173px;
        height: 42px;
        font-size: 15px;
    }
}
/* end of home panels */
/* start of home welcome */
#home-welcome {
    padding: 51px 0 64px;
}
#home-welcome .container .image_content img {
    border: 10px solid #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
#home-welcome .container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    column-gap: 30px;
    max-width: 98%;
}
@media screen and (min-width: 1700px) {
    #home-welcome .container {
        max-width: 1652px;
        padding: 0;
        padding-right: 42px;
    }
}

#home-welcome .container h1{
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    line-height: 32px;
    margin: 5px 0 30px;
}
#home-welcome .crest{
    margin-top: 47px;
}
#home-welcome .text_content{
    max-width: 513px;
}
#home-welcome .container h5 {
    color: var(--primary-color);
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: 28px; 
    text-transform: capitalize;
    margin-top: 30px;
}
#home-welcome .container p {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 24px;
    margin-left: 2px;
}
#home-welcome .container .dark-btn {
    max-width: 283px;
    margin-top: 47px;
}
@media screen and (max-width: 1459px) {
    #home-welcome .container .image_content img{
        width: 100%;
        border: 5px solid #FFF;
    }
    #home-welcome .crest img{
        width: 240px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1459px) {
    #home-welcome .text_content{
        max-width: 410px;
    }
    #home-welcome .crest,
    #home-welcome .container h5{
        margin-top: 0;
    }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
    #home-welcome .crest{
        grid-column: span 2;
        display: flex;
        justify-content: center;
        grid-row-start: 1;
    }
    #home-welcome .crest,
    #home-welcome .container h5{
        margin-top: 0;
    }
    #home-welcome .container {
        row-gap: 30px;
        display: grid;
        grid-template-columns: 53% 44%;
    }
}
@media screen and (max-width: 767px) {
    #home-welcome {
        order: 4;
        text-align: center;
        padding-block: 22px 49px;
    }
    #home-welcome .container .text_content img{
        width: 90%;
    }
    #home-welcome .container h1 {
        margin: 3px 0 25px;
    }
    #home-welcome .container img.mobile-appear{
        margin-top: 29px;
        width: 100%;
    }
    #home-welcome .container p{
        text-align: center;
        font-size: 16px;
        font-weight: 400;
        line-height: 22px; 
        max-width: 318px;
        margin-inline: auto;
        margin-bottom: 21px;
    }
    #home-welcome .container .dark-btn{
       margin-bottom: 22px;
        margin-top: 22px;
    }
    #home-welcome .container h3 {
        margin-bottom: 17px;
        margin-top: 27px;
    }
    #home-welcome .container{
        padding-inline: 10px;
        display: grid;
        justify-content: center;
        gap: 14px;
        align-items: center;
    }
    #home-welcome .text_content {
        margin: auto;
        grid-row-start: 2;
    }
    #home-welcome .crest{
        grid-row-start: 1;
        margin-top: 0;
    }
    #home-welcome .crest img {
        width: 133px;
    }
    #home-welcome .container h5{
        margin-top: 0;
    }
}

/* end of home welcome */