/* home reviews */

#homepage__reviews-section {
   background-image: url(/images/home/home-reviews-bgrnd.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 511px;
  padding-left: 132px;
  padding-top: 87px;
  padding-bottom: 54px;
  display: flex;
  align-items: start;
  justify-content: end;
}
#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 .customer-rating{
    display: flex;
}
#homepage__reviews-section .homepage__reviews-content {
    width: 644px;
    height: auto;
    border-radius: 0;
    padding: 56px 51px 51px 53px;
    color: var(--white);
    background: var(--background-color);
}

#homepage__reviews-section .homepage__reviews-content h3 {
    font-size: 36px;
    font-weight: 700;
    line-height: 30px; 
    text-transform: capitalize;
    padding: 0;
    margin-bottom: 34px;
    border-left: 4px solid #CEB33D;
    padding-left: 15px;
}
#homepage__reviews-section .homepage__reviews-content .dark-btn {
    max-width: 261px;
    margin-top: 21px;
    height: 55px;
    padding: 15px;
}
#homepage__reviews-section .homepage__reviews-content p {
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    padding-bottom: 45px;
    padding-left: 2px;
}
#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-direction: column; */
    align-items: start;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}
#homepage__reviews-section .heading-flex img{
    margin-right: 26px;
    margin-top: 3px;
}

.home-reviews-flex-inner {
    padding-left: 0;
}

.home-reviews-flex-inner .customer-rating {
    justify-content: start;
    margin-bottom: 5px;
}

.home-reviews-flex .customer-name {
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    line-height: 21px;
    margin-top: 2px;
    text-transform: capitalize;
}

.home-reviews-flex .customer-name-location-date {
    text-align: left;
    margin-left: 0;
    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:768px) and (max-width:1500px) {
    #homepage__reviews-section {
        padding-left: 6%;
    }
}
@media screen and (max-width:767px) {
    #homepage__reviews-section {
        width: 100%;
        padding: 37px 14px 30px;
        display: flex;
        justify-content: center;
        align-items: start;
        background-position: center right 10%;
        min-height: 710px;
        background-image: url(/images/home/homepage-reviews-m.jpg);
    }
    #homepage__reviews-section .homepage__reviews-content {
        width: 100%;
        padding: 30px 40px 30px 28px;
    }
    #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 {
        flex-direction: column;
        align-items: start;
        gap: 19px;
    }

    #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%;
    }

    .home-reviews-flex .customer-name,
    .home-reviews-flex .customer-name-location-date {
        margin-left: 2px;
    }

    #homepage__reviews-section .homepage__reviews-content h3 {
        font-size: 26px;
        margin-bottom: 26px;
    }
    #homepage__reviews-section .homepage__reviews-content p {
        font-size: 18px;
        padding-bottom: 27px;
        line-height: 22px;
    }
    #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 {
        margin-right: 0;
    }

    #homepage__reviews-section .home-btn {
        margin: auto;
    }
    #homepage__reviews-section .homepage__reviews-content .dark-btn{
        margin: 0;
        max-width: 272px;
    }
}
@media screen and (max-width: 370px) {
    #homepage__reviews-section .homepage__reviews-content p{
        padding-right: 0;
    }
    #homepage__reviews-section {
        padding-inline: 5%;
    }
    #homepage__reviews-section .homepage__reviews-content{
        padding-inline: 20px;
    }
}
@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-block: 47px 67px;
}

#homepage-mid-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 79px;
    max-width: 98%;
    position: relative;
}
@media screen and (min-width:1200px) {
    #homepage-mid-section .container {
        max-width: 1142px;
        padding-inline: 0 ;
    }
}
#homepage-mid-section h3 {
    font-size: 30px;
    font-weight: 600;
    line-height: 25px;
    text-transform: capitalize;
    letter-spacing: 0.6px;
    margin-bottom: 5px;
}
#homepage-mid-section p {
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
    text-transform: capitalize;
    letter-spacing: 0.32px;
    font-family: var(--header-font);
}
#homepage-mid-section .dark-btn {
   width: 212px;
    height: 46px;
    border-radius: 2px;
    border: 1px solid white;
    background: transparent;
    padding: 12px;
    margin-top: 16px;
    text-transform: capitalize;
}

#homepage-mid-section .grid-content_wrapper{
    padding: 21px 32px 18px;
    min-height: 94px;
    width: 100%;
    background-image: url(/images/common/white-arrow-right.svg);
    background-repeat: no-repeat;
    background-position: top 25px right 30px;
    background-color: rgba(0,0,0,0.9);
}
#homepage-mid-section .grid-section {
    height: 317px;
    color: white;
    display: flex;
    justify-content: start;
    align-items: end;
    cursor: pointer;
}

#homepage-mid-section .grid-section.service {
   background: url(/images/home/homepanel-service.jpg) no-repeat center right/cover;
}

#homepage-mid-section .grid-section.rental {
    background: url(/images/home/homepanel-sell-your-car.jpg) no-repeat center top/cover;
}

@media screen and (min-width:768px) and (max-width:1399px) {
    #homepage-mid-section .container{
        gap: 30px;
    }
}
@media screen and (min-width:768px) and (max-width:1199px) {
    #homepage-mid-section h3 {
        font-size: 28px;
    }
    #homepage-mid-section p {
        font-size: 14px;
    }
    #homepage-mid-section .grid-content_wrapper{
        padding-inline: 22px;
        background-position: top 25px right 20px;
    }
}
@media screen and (max-width: 767px) {
    #homepage-mid-section .grid-section {
        height: 212px;
    }
    #homepage-mid-section {
        order: 3;
        padding-block: 24px 38px;
    }
    #homepage-mid-section .container {
        grid-template-columns: 1fr;
        gap: 27px;
        max-width: 100%;
        padding-inline:8.5px ;
    }
    #homepage-mid-section h3 {
        font-size: 20px;
        line-height: 17px;
        margin-bottom: 2px;
        letter-spacing: 0.4px;
    }
    #homepage-mid-section p {
        font-size: 12px;
        line-height: 17px;
        letter-spacing: 0.24px;
    }
    #homepage-mid-section .grid-content_wrapper {
        padding: 14px 21px 13px;
        background-position: top 22px right 18px;
        background-size: 10px;
        min-height: 63px;
    }
}
@media screen and (max-width: 767px) and (orientation:landscape) {
    #homepage-mid-section .container {
        max-width: 400px;
    }
}
@media screen and (max-width:310px) {
    #homepage-mid-section p {
        line-height: 18px;
        margin-top: 6px;
        max-width: 210px;
    }
    #homepage-mid-section .grid-content_wrapper {
        background-position: bottom 27px right 13px;
    }
}