/* home reviews */

#homepage__reviews-section {
    background-image: url(/images/home/bgrnd-reviews.jpg);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 450px;
    display: flex;
    align-items: start;
    justify-content: start;
    padding-block: 70px 30px;
    padding-right: 6%;
    position: relative;
}
#homepage__reviews-section img.positioned{
    position: absolute;
    bottom: 0;
    left: 0;
}
#homepage__reviews-section .container {
    max-width: 100%;
    padding: 0;
}
@media screen and (min-width: 1600px) {
    #homepage__reviews-section .container {
        max-width: 1506px;
    }
    #homepage__reviews-section {
        padding-inline: 0;
    }
    #homepage__reviews-section .home-reviews-flex-inner .flex-content {
        padding-right: 9px;
    }
}
#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: 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 .customer-details {
    padding-left: 4px;
}
#homepage__reviews-section .homepage__reviews-content .customer-rating{
    display: flex;
    align-items: start;
    justify-content: start;
    margin-bottom: 7px;
    margin-left: 0;
}
#homepage__reviews-section .homepage__reviews-content .customer-rating img {
    width: auto;
}
#homepage__reviews-section .homepage__reviews-content {
    width: 100%;
    max-width: 568px;
    color: var(--white);
    padding: 0;
}

#homepage__reviews-section .homepage__reviews-content h3 {
    font-family: var(--semiexpanded-font);
    font-size: 32px;
    font-weight: 600;
    line-height: 30px;
    text-transform: capitalize;
    padding: 0;
    min-height: auto;
    margin-top: 2px;
    margin-bottom: 29px;
}
#homepage__reviews-section .homepage__reviews-content .dark-btn {
    max-width: 236px;
    height: 55px;
    padding: 16px;
    font-size: 15px;
    background: transparent;
    border: 1px solid var(--white);
}
#homepage__reviews-section .homepage__reviews-content p {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    padding-bottom: 48px;
    max-width: 513px;
    padding-left: 3px;
}
#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;
    gap: 20px;
    flex-wrap: wrap;
}

#homepage__reviews-section .heading-flex img.quote {
    margin-top: 0;
}

.home-reviews-flex-inner {
    padding-left: 0;
}

.home-reviews-flex .customer-name {
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    line-height: 21px;
    text-transform: capitalize;
    margin-left: 0;
    /* font-family: var(--header-font); */
}

.home-reviews-flex .customer-name-location-date {
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    text-transform: capitalize;
    margin-left: 0;
    margin-bottom: 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: 1700px) and (max-width: 1799px) {
    #homepage__reviews-section{
        padding-left: 6%;
    }   
}

@media screen and (max-width:767px) {
	.switcher__parent-right {
		padding-left: 17px;
	}
	.switcher__parent-left {
		padding-right: 18px;
	}
    #homepage__reviews-section {
        background-image: url(/images/home/mobile-reviews.jpg);
        background-position: bottom center;
        width: 100%;
        padding: 43px 34px 74px;
        display: flex;
        justify-content: center;
        align-items: end;
        min-height: 761px;
    }
    #homepage__reviews-section .homepage__reviews-content {
        width: 100%;
    }
    #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: 22px;
    }
    #homepage__reviews-section .customer-details {
        padding-left: 2px;
    }
    .home-reviews-flex .customer-name,
    .home-reviews-flex .customer-name-location-date {
        margin-left: 0;
    }

    #homepage__reviews-section .homepage__reviews-content h3 {
        margin-block: 5px 0;
        min-height: 55px;
        font-size: 32px;
        line-height: 25px;
    }
    #homepage__reviews-section .homepage__reviews-content p {
        font-size: 18px;
        line-height: 21px;
        padding-bottom: 21px;
    }
    #homepage__reviews-section .homepage__reviews-content .customer-rating {
        margin-bottom: 1px;
    }
    #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.quote{
        width: 51px;
        margin-top: -2px;
    }

    #homepage__reviews-section .home-btn {
        margin: auto;
    }
    #homepage__reviews-section .homepage__reviews-content .dark-btn {
        margin-left: 0;
        max-width: 236px;
    }
}
@media screen and (max-width:435px) {
    #homepage__reviews-section img.positioned {
        width: 100%;
    }
}
@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;
    }
}
/* HOMEPAGE-MID-SECTION */

#homepage-mid-section {
    padding-top: 81px;
    padding-bottom: 77px;
}
@media screen and (min-width: 1700px) {
    #homepage-mid-section .container {
        max-width: 1648px;
        padding: 0;
        padding-right: 2px;
    }    
}
#homepage-mid-section .container {
    display: grid;
    grid-template-columns: 46.2% auto;
    padding-inline: 0;
    gap: 100px;
}
#homepage-mid-section h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 25px;
    margin-top: 4px;
    margin-bottom: 11px;
}
#homepage-mid-section .cashforcars h3 {
    margin-bottom: 20px;
}
#homepage-mid-section .cashforcars p {
    margin-bottom: 35px;
}
#homepage-mid-section p {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 29px;
}
#homepage-mid-section .text_content {
    max-width: 330px;
}
#homepage-mid-section .dark-btn {
    width: 272px;
}
#homepage-mid-section .grid-section {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 54px;
    color: var(--primary-color);
}
@media screen and (max-width: 1499px) and (min-width: 992px) {
    #homepage-mid-section .text_content {
        max-width: unset;
    }
}
@media screen and (max-width: 1699px) and (min-width: 1500px) {
    #homepage-mid-section .container {
        gap: 50px;
        max-width: 95%;
    }    
    #homepage-mid-section .grid-section img{
        width: 100%;
    }
    #homepage-mid-section .grid-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}
@media screen and (max-width: 1499px) {
    #homepage-mid-section .grid-section img{
        width: 100%;
    }
    #homepage-mid-section .grid-section {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: start;
        gap: 30px;
    }   
    #homepage-mid-section .container {
       max-width: 880px;
        padding: 0;
        grid-template-columns: 1fr 1fr;
    }  
}

@media screen and (min-width:768px) and (max-width:991px) {
    #homepage-mid-section .container{
        gap: 20px;
        max-width: 95%;
    }
    #homepage-mid-section .dark-btn{
        margin-top: 16px;
    }
}
@media screen and (max-width: 767px) {
    #homepage-mid-section .dark-btn{
        margin-top: 15px;
        width: 100%;
    }
    #homepage-mid-section{
       order: 3;
       padding: 48px 0 54px;
    }
    #homepage-mid-section .container {
        display: flex;
        gap: 30px;
        flex-direction: column;
    }
    #homepage-mid-section h3 {
        margin-top: 0;
    }
    #homepage-mid-section .cashforcars h3 {
        margin-bottom: 11px;
    }
    #homepage-mid-section p {
        margin-bottom: 34px;
    }
    #homepage-mid-section .cashforcars p {
        margin-bottom: 16px;
    }
    #homepage-mid-section .text_content {
        max-width: 325px;
    }
    #homepage-mid-section .mobile-only-appear.wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: start;
        justify-content: start;
    }
    #homepage-mid-section .grid-section {
        gap: 0;
    }
}
@media screen and (max-width:350px) {
    #homepage-mid-section .mobile-only-appear.wrapper .dark-btn,
    #homepage-mid-section .mobile-only-appear.wrapper img{
        width: 100%;
    }
    #homepage-mid-section .grid-section {
        padding-inline: 15px;
    }
}


/* Home page - Family tradition section START */
#home-family-tradition-section {
    position: relative;
    width: 100%;
    height: 450px;
    margin-top: 0;
    overflow: hidden;
    background: #5b7f78;
}
#home-family-tradition-section .hft-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
#home-family-tradition-section .hft-photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
#home-family-tradition-section .hft-fifty {
    position: absolute;
    top: 0;
    left: 6.892%;
    width: auto;
    max-width: 943.68px;
    height: 100%;
}
#home-family-tradition-section .hft-content {
    position: absolute;
    top: 92px;
    left: 10.78%;
    width: 387px;
    max-width: calc(50% - 10.78%);
    min-width: 330px;
    color: #fff;
}
#home-family-tradition-section .hft-bar {
    position: absolute;
    top: 0;
    left: -46px;
    width: 6px;
    height: 72px;
    background: #fff;
}
#home-family-tradition-section .hft-title {
    max-width: 380px;
    margin: -2px 0 25px;
    font-family: var(--body-font);
    font-size: 32px;
    font-weight: 600;
    line-height: 35px;
    letter-spacing: 0.64px;
    text-transform: none;
    color: #fff;
}
#home-family-tradition-section .hft-content p {
    margin: 0;
    font-family: var(--body-font);
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: #fff;
    margin-left: 2px;
    margin-bottom: 33px;
}
#home-family-tradition-section .hft-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 267px;
    height: 55px;
    margin-left: 2px;
    background: var(--button-color);
    font-family: var(--semiexpanded-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 17px;
    text-decoration: none;
    color: #fff;
}

@media screen and (max-width: 1199px) {
    #home-family-tradition-section {
        height: 400px;
    }
    #home-family-tradition-section .hft-content {
        top: 60px;
        left: 90px;
    }
    #home-family-tradition-section .hft-bar {
        left: -30px;
    }
}
@media screen and (max-width: 991px) {
    #home-family-tradition-section .hft-content {
        left: 60px;
        min-width: 0;
        width: 44%;
    }
    #home-family-tradition-section .hft-title {
        font-size: 26px;
        line-height: 32px;
    }
    #home-family-tradition-section .hft-bar {
        height: 64px;
    }
    #home-family-tradition-section .hft-content p {
        font-size: 16px;
        line-height: 22px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    #home-family-tradition-section {
        height: 330px;
    }
    #home-family-tradition-section .hft-content {
        top: 40px;
    }
}
@media screen and (max-width: 767px) {
    #home-family-tradition-section {
        height: auto;
        margin-top: 0;
        order: 3;
    }
    #home-family-tradition-section .hft-bg {
        height: 450px;
    }
    #home-family-tradition-section .hft-photo {
        position: relative;
        display: block;
        width: 100%;
        height: 259px;
        margin-top: 450px;
    }
    #home-family-tradition-section .hft-fifty {
        z-index: 1;
        top: 321px;
        left: 12.8%;
        width: 74.13%;
        max-width: 278px;
        height: auto;
        aspect-ratio: 278 / 154;
    }
    #home-family-tradition-section .hft-content {
        top: 64px;
        left: 0;
        right: 0;
        width: auto;
        max-width: none;
        min-width: 0;
        z-index: 2;
        padding-right: 15px;
    }
    #home-family-tradition-section .hft-bar {
        left: 31px;
        height: 53px;
    }
    #home-family-tradition-section .hft-title {
        max-width: 250px;
        margin: -2px 0 17px 67px;
        font-size: 28px;
        line-height: 30px;
        letter-spacing: 0.56px;
    }
    #home-family-tradition-section .hft-content p {
        max-width: 242px;
        margin-left: 70px;
        font-size: 14px;
        line-height: 20px;
    }
    #home-family-tradition-section .hft-btn {
        width: min(268px, calc(100% - 98px));
        max-width: none;
        height: 54px;
        margin: 33px 0 0 49px;
    }
}
@media screen and (max-width: 330px) {
    #home-family-tradition-section .hft-title {
        margin-left: 40px;
    }
    #home-family-tradition-section .hft-bar {
        left: 18px;
    }
    #home-family-tradition-section .hft-btn,
    #home-family-tradition-section .hft-content p {
        margin-left: 40px;
    }
}
/* Home page - Family tradition section END */
/* start of home panels */
#home-panels {
    padding: 55px 0 66px;
}
#home-panels .container {
    display: flex;
    justify-content: space-between;
    column-gap: 30px;
}

@media screen and (min-width:1500px) {
    #home-panels .container {
        max-width: 1418px;
        padding: 0;
    }
    #home-panels {
        padding-right: 145px;
        padding-left: 50px
    }
}

#home-panels .home-panel {
    display: flex;
    align-items: flex-start;
    column-gap: 47px;
}

#home-panels .home-panel-content {
    max-width: 269px;
    color: var(--primary-color);
}
#home-panels .home-panel-content h2 {
    font-size: 24px;
    font-family: var(--semiexpanded-font);
    font-weight: 600;
    line-height: 30px;
    margin: -2px 0 12px;
}
#home-panels .home-panel-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin: 0 0 30px;
}

@media screen and (min-width: 768px) {
    #home-panels .btn.dark-btn {
        max-width: 258px;
        font-size: 15px;
        padding: 15px;
    }
}
@media screen and (max-width: 1499px) {
    #home-panels .container {
        max-width: 100%;
    }
    #home-panels .home-panel {
        column-gap: 30px;
    }
}
@media screen and (max-width: 1199px) {
    #home-panels .container {
        flex-direction: column;
        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: 38px;
        max-width: none;
        padding: 12px 8px 0px;
        max-width: 450px;
    }
    #home-panels .home-panel {
        flex-direction: column;
        column-gap: 24px;
    }
    #home-panels .home-panel-image {
        width: 100%;
    }
    #home-panels .home-panel-content {
        text-align: center;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #home-panels .home-panel-content p {
        margin-bottom: 21px;
        max-width: 269px;
        margin-inline: auto;
        line-height: 20px;
    }
    #home-panels .home-panel-content h2 {
        margin: 14px 0 9px;
    }
    #home-panels .btn.dark-btn {
        height: 63px;
        padding: 19px;
    }
}
/* end of home panels */