@media (max-width: 1199px) {
    .loginshowhide {
        display: none;
    }

    .loginhideshow {
        display: block !important;
    }

    .banner {
        width: 300px !important;
        /* height: 300px!important; */
    }

    #cards-custom .card-body-custom {
        height: 300px;
    }
}

@media only screen and (max-width: 1400px) {
    .CarInfoHero-img img {
        height: 350px !important;
        object-fit: contain;
        aspect-ratio: 2 / 3;
    }

    #SellTrade-hero p {
        font-weight: 600;
        font-size: 65px;
        line-height: 97.84px;
        color: #FFFFFF;
    }
}

@media (min-width: 1200px) {
    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: .4rem !important;
    }

    /* 
    .nav-item .nav-link {
        font-size: 0.85rem;
    }
    #Indexhero .searchFormTab .nav-link{
            font-size: 1rem;
    } */

}

@media (min-width: 1400px) {
    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: .5rem !important;
    }

    .nav-item .nav-link {
        font-size: 1rem;
    }

    .tel {
        font-size: 1rem !important;
    }
}

@media (max-width: 1199px) {
    .searchNavbarNav {
        width: 20% !important;
    }
}

@media (max-width: 1170px) {
    .searchNavbarNav {
        width: 15% !important;
    }
}

@media (max-width: 1120px) {
    .searchNavbarNav {
        width: 10% !important;
    }
}

@media (max-width: 1050px) {
    .car-image {
        max-width: 100%;
        height: 800px;
        margin-top: 200px;
        width: 400px;
        top: 30px;
    }

    #desk-txt {
        display: none;
    }

    #mob-txt {
        display: block;
    }

    .text-content p {
        font-weight: 600;
        font-size: 44px;
        line-height: 46px;
        text-align: center;
        margin-bottom: 20px;
        /* word-spacing: 5px; */
        margin: 0 20px;
    }

    #inquire-btn {
        font-size: 0.9rem;
        margin-top: 30px;
    }

    .inquire .overlay {
        margin: auto;
    }

    .text-content {
        top: -5%;
    }

    .searchNavbarNav {
        width: 5% !important;
    }
}

@media (min-width: 1200px) {

    #carCarousel .carousel-item,
    #intcarCarousel .carousel-item {
        height: 300px;
    }
}

@media (max-width: 991px) {

    #product .right a.selectLease,
    #product .right a.testDrive,
    #product .right a.askQuestion {
        width: 200px;
    }

    .CarInfoHero-img img {
        height: 300px !important;
        object-fit: contain;
        aspect-ratio: 2 / 3;
    }

    #SellTrade-hero p {
        font-weight: 600;
        font-size: 65px;
        line-height: 97.84px;
        color: #FFFFFF;
    }

    #cards-custom .card-body-custom {
        height: 270px;
    }

    #create-text {
        font-size: 44px;
        text-align: center;
        margin-top: 20px;
        width: 100%;
    }

    .wrap,
    .SIGNUP1 {
        display: none;
    }

    .nav-link {
        color: #000 !important;
    }

    #ProductDescription-header .mob-fav {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    #desk-img {
        display: none;
    }

    #mob-img {
        display: block;
    }

    /* Bootstrap's breakpoint for lg screens */
    /* Sidebar behavior for mobile */
    #loginModal .banner,
    #signupModal .banner {
        display: none;
    }

    #navbarSupportedContent.sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 75%;
        max-width: 300px;
        background-color: #fff;
        color: #000;
        overflow-y: auto;
        transition: left 0.3s ease-in-out;
        z-index: 1050;
    }

    #navbarSupportedContent.sidebar.open {
        left: 0;
    }

    .text-black {
        color: #fff !important;
    }

    .SIGNUP2 {
        margin-left: 12px !important;
    }
}
@media only screen and (min-width: 767.98px) {
    .filterButton {
        display: none;
    }
}
@media only screen and (max-width: 767.98px) {

    #product .right a.selectLease,
    #product .right a.testDrive,
    #product .right a.askQuestion {
        width: 305px;
    }

    .car-image {
        top: -20px;
    }

    .text-content p {
        font-size: 34px;
        line-height: 41px;
    }

    /* .car-image {
        margin-top: 200px;
    } */

    #carCarousel .carousel-item,
    #intcarCarousel .carousel-item {
        height: 200px;
        /* Increase height for larger screens like tablets and desktops */
    }

    .mobileSearchContainer {
        display: flex !important;
        flex-direction: row !important;
        width: 100vw !important;
        justify-content: space-between !important;
    }

    #applyFilters {
        display: none;
    }

    #applyFiltersMob {
        display: inline;
        margin-left: 30%;
    }

    .searchParaDiv {
        width: 100vw;
    }

    .searchTextPara {
        text-align: left;
    }

    .filterTitle {
        display: none;
    }

    .header {
        /* position: relative; */
        background: url("../image/mob-hero1.png") no-repeat bottom center;
        /* background-size: cover;
        width: 100vw;
        margin-bottom: 30px;
        overflow: hidden;
        height: 90vh; */
    }

    .header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: none;
        z-index: 1;
    }

    #OrderConfirmation-header-text {
        top: 15%;
    }

    .right {
        display: flex;
        flex-direction: column;
        /* Stack items vertically */
        align-items: center;
        /* Center items horizontally */
        justify-content: center;
        /* Center items vertically */
        text-align: center;
    }

    .mobile-order-history {
        display: block;
    }

    .desktop-order-history {
        display: none;
    }

    .header {
        background-size: cover;
        height: 80vh;
    }

    /* .header::before {
        background: none;
    } */

    .navbar {
        background-color: #000000;
    }

    .collapse {
        /* background-color: #ffffff; */
        border-radius: 8px;
        /* margin-top: 5px; */
    }


    /* .text-white {
        color: #000000 !important;
    } */

    .navbar-toggler {
        background-color: #000000;
        border: 0;
    }

    /* .nav-item a {
        color: #000000;
    } */

    /* .hero-text p {
        margin-left: 30px;
        margin-right: 30px;
        margin-top: 60px !important;
        font-weight: 300;
        font-size: 22px;
        line-height: 30px;
        text-align: center;
    } */

    .search-form {
        width: 370px;
    }

    /* cards */
    #cars .card {
        margin-bottom: 30px !important;
    }

    /* Cars section */
    .cars-title {
        text-align: center;
    }

    #cars .card {
        margin: auto;
    }

    /* #cards-custom .card {
        display: flex;
        flex-direction: column; 
    } */

    #card-custom .card {
        display: flex;
        flex-direction: column;
    }

    #cards-custom .card-body-custom {
        background-color: #F7F7F7;
        height: 220px;
        border-radius: 20px;
    }

    #cards-custom .card-content {
        order: 1;
    }

    #cards-custom .card-img {
        order: 2;
    }

    #SearchResult .cars-title,
    #LightingResult .cars-title,
    #Favourites .cars-title {
        font-size: 28px;
    }

    .fa-location-dot {
        margin-top: 5px;
    }



    .inquire {
        height: 400px;
    }




    .create {
        padding-top: 30px;
        padding-bottom: 20px;
        height: 215px;
    }

    #create-text {
        font-size: 24px;
        text-align: center;
        margin-top: 20px;
        width: 100%;
    }

    #create-btn {
        padding: 8px, 24px, 8px, 24px;
        font-size: 16px;
        display: block;
        margin: auto;
        margin-top: 15px;
    }





    #social {
        /* width: 264px; */
        /* display: flex;
       justify-content: center; */
        margin: auto;
        order: 1;
        padding-left: 0px !important;
    }

    .footer img {
        height: 24px;
        width: 24px;
        margin: 0 5px;
    }


    #signupModal .banner {
        display: none;
    }

    .signupbtn {
        order: 1;
    }

    #signedup {
        order: 2;
        text-align: center;
        margin-top: 10px;
    }


    .CreateAccount #create-btn {
        border-radius: 5px;
        margin-left: auto;
        padding: 12px 60px;
    }

    .footer {
        padding: 10px 5px;
    }

    #footer-text p:first-of-type {
        display: none;
    }

    #footer-text {
        font-size: 18px;
        text-align: center;
        order: 2;
        margin-top: 20px;
    }

    #social {
        display: flex;
        justify-content: center;
    }

    .footer img {
        height: 16px;
        width: 16px;
        margin: 0 5px;
    }


    /* ............dealer inquiry ..........*/
    #DealerInquiry-inquire {
        margin-top: 1200px;
    }

    /* #DealerInquiry-hero .DealerInquiry-hero-text p{
        font-size:34px;
    } */
    /* ............contact us.............  */
    .contactus p {
        font-size: 32px;
    }

    #ContactUs-form form {
        margin: auto;
        margin-top: -300px;
        width: auto;
        z-index: 2;
    }

    #ContactUsInquire {
        /* margin-top: 1100px; */
        position: absolute;
        top: 70%;
    }


    /*........... my favourites........... */
    #Favourites {
        margin-top: 0px;
    }

    #Favourites .col-lg-3 {
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #Favourites .card {
        width: 300px;
    }

    #Favourites .card i {
        float: left;
    }

    #Favourites .car-title {
        text-align: left;
    }

    #Favourites .car-price {
        float: left;
        text-align: left;
        padding-top: 10px;
    }

    #Favourites .cars-right .downpayment,
    .distance {
        font-weight: 500;
        font-size: 16px;
        padding-top: 10px;

    }

    /* .........about leasify ............ */
    #AbouLeasify-hero .header-text {
        font-size: 42px;
        margin-top: 100px;
    }

    #aboutLeasify {
        margin-top: -550px;
    }

    #aboutLeasify .about-head {
        font-size: 36px;
        line-height: 40.6px;
        text-align: center;
    }

    #aboutLeasify .about-text {
        font-size: 16px;
        line-height: 25px;
        text-align: justify;

    }

    /* ...........SELL_TRADE.............. */

    #SellTrade-hero .CarInfoHero-text {
        /* margin-top: 50px; */
        left: 0px;
    }

    #SellTrade-hero p {
        font-size: 32px;
        line-height: 44.8px;
        text-align: center;
    }


    .CarInfoHero-img img {
        height: 400px !important;
        object-fit: contain;
        aspect-ratio: 2 / 3;
    }

    /* #SellTrade-hero img {
        width: 346px;
        height: 258px;
    } */

    /* ..........index page ............*/
    #Indexhero .hero-text h1 {
        font-size: 24px;
        line-height: 28px;
        margin-top: 100px;
        text-align: center;
    }

    #Indexhero .hero-text h1 span {
        font-size: 12px;
        line-height: 24px;
    }

    #Indexhero .search-form {
        /* width: auto; */
        height: auto;
        margin: 0px;

    }

    #Indexhero .hero-form {
        display: flex;
        justify-content: center;
        align-items: center;
    }


    #Indexhero .button-group .btn {
        margin: 4px;
    }


    #Indexhero .hero-text h1 {
        margin-top: 15px;
    }

    #cards-custom .card-title {
        text-align: left;
        font-size: 16px !important;
        line-height: 15.69px !important;
    }

    #cards-custom .card-text {
        text-align: left;
        font-size: 10px !important;
        line-height: 13.85px !important;
    }

    #cards-custom .card-body-custom img {
        display: flex;
        justify-content: flex-start;
    }

    #SearchResult,
    #LightingResult {
        margin-top: 0px;
    }

    #SearchResult .col-lg-3,
    #LightingResult .col-lg-3 {
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #SearchResult .card,
    #LightingResult .card {
        width: 300px;
    }

    #SearchResult .card i,
    #LightingResult .card i {
        float: left;
    }

    #SearchResult .car-title,
    #LightingResult .car-title {
        text-align: left;
    }

    #SearchResult .car-price,
    #LightingResult .car-price {
        float: left;
        text-align: left;
        padding-top: 10px;
    }

    #SearchResult .cars-right .downpayment,
    .distance,
    #LightingResult .cars-right .downpayment,
    .distance {
        font-weight: 500;
        font-size: 16px;
        padding-top: 10px;

    }

    #loginModal .socials {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    #loginModal .socials .col-lg-12 {
        margin-top: auto !important;
    }

    #loginModal .social-container a {
        display: none;
    }

    /* .SIGNUP button{
        border: 1px solid #000;
    }
    .SIGNUP2 button{
        border: 1px solid #fff;
    } */
    #signupModal .socials {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    #signupModal .socials .col-lg-12 {
        margin-top: auto !important;
    }

    #signupModal .social-container {
        width: 89px;
    }

    #signupModal .social-container a {
        display: none;
    }

    #signupModal .custom-margin {
        margin: auto;
    }

    /* ......product description........ */
    #product {
        margin-top: -50px;
        width: 90vw;
        margin-left: auto;
        /* Center the div horizontally */
        margin-right: auto;
        /* Center the div horizontally */
        display: flex;
        /* Enable flexbox */
        justify-content: center;
        /* Center flex items horizontally */
        align-items: center;
        /* Center flex items vertically (optional) */
    }

    .mob-lease {
        display: flex;
        justify-content: space-around;
    }

    /* #ProductDescription-buttons a {
        font-size: 12px;
    }
    #ProductDescription-buttons a.active{
        font-size: 12px;
    } */
    #product .fav {
        float: left !important;
    }

    .small-img {
        flex-wrap: wrap
    }

    /* #ProductDescription-header #desk-img {
        height: 20px !important;
    } */



    #ProductDescription-header {
        height: 250px;
    }

    /* .......ease of lease.............. */
    #EaseOfLease-hero .div1 {
        font-size: 28px;
    }

    #EaseOfLease-hero .div2 {
        font-size: 14px;
        text-align: justify;
    }

    #HowItWorks .head {
        width: auto;
        text-align: center;
        margin: auto;
    }

    #HowItWorks .custom-card1 {
        flex-direction: row;
        text-align: left;
    }

    #HowItWorks .card1-img {
        order: 1;
        margin-right: 15px;
    }

    #HowItWorks .card-title,
    .card-text {
        order: 2;
    }

    #Lease-service .card2 p:first-of-type {
        text-align: left;
    }

    #Lease-service .card2 p:last-of-type {
        text-align: left;
    }

    #Lease-service .card2 img {
        margin-top: 20px;
    }


    /*.......... order history........... */

    #OrderHistory .card {
        border: 1px solid #98A2B3;
    }

    /* #OrderHistory .view_terms_condtion,
    #OrderHistory .cancelUserAppointment,
    #OrderHistory .message {
        display: none;
    } */


    /* order confirmation */
    #OrderConfirmation-header-text p {
        font-size: 32px;
        line-height: 44px;
        margin-top: 70px;
    }

    #product .thankyou-container {
        width: 400px;
    }

    #product .leaseorder {
        width: auto;
        height: 62px;
        padding: 20px 20px;
        font-size: 20px;
        line-height: 21.23px;
    }

    #product .thankyou-container .Thankyou {
        font-size: 24px;
        line-height: 36px;
    }

    #product .image-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    #product .image-title:last-of-type {
        margin-top: 30px;
    }

    #product .product-cont .splImg {
        width: 44px;
        height: 44px;
    }

    #product .product-cont .img-fluid {
        /* width: 292px !important;
        height: 229px !important; */
        display: block;
        /* margin-left: auto;
        margin-right: auto; */
    }

    /* #product .essentialdoc-text {
        display: none;
    } */
    #product .properties .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #product .doc {
        font-size: 10px;
    }

    #savebig .SaveBig p:first-of-type {
        font-size: 24px;
        line-height: 36px;
    }

    #savebig .chevrolete p:first-of-type {
        font-size: 24px;
        line-height: 36px;
    }

    #savebig .SaveBig p:nth-of-type(2) {
        font-size: 16px;
        line-height: 25.6px;
        margin-top: 0px !important;
    }

    #savebig .chevrolete p:last-of-type {
        font-size: 16px;
        line-height: 25.6px;
        margin-top: 0px !important;
    }

    #cards-custom .card-body-custom img {
        width: 40px;
        height: 40px;
    }

    #product .properties p {
        font-size: 12px;
    }

    #product .properties p span {
        font-size: 10px;

    }

    #product .right p.amount {
        text-align: center;
    }

    .leaseIcons {
        width: 36px;
        height: 36px;
    }

    .OrderHistory-hero,
    #MyFavourites-header .hero-text,
    #DealerInquiry-hero .DealerInquiry-hero-text p,
    #ProductDescription-header .hero-text {
        font-size: 24px;
        text-align: center;
    }

    .OrderHistory-hero {
        margin-top: 50px;
    }

    #MyFavourites-header {
        margin-bottom: 1px;
        padding-bottom: 1px;
    }

    .carInfo2-card1 .row .col-lg-3 {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .searchTextContainer {
        justify-content: left !important;
    }

    .custom-scroll {
        height: 60vh;
    }

    .filterHeader {
        box-shadow: none;
    }

    .filterDiv {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    }
}

@media only screen and (max-width:520px) {
    .text-content p {
        font-size: 24px;
        line-height: 36px;
    }

    #EaseOfLease-hero .div1 {
        font-size: 24px;
    }

    #EaseOfLease-hero .div2 {
        font-size: 12px;
    }

    #SellTrade-CarInfo .carinfo-sec2-text p:nth-of-type(2) {
        font-size: 10px;
        line-height: 18.7px;
    }

    #SellTrade-CarInfo .carinfo-sec2-text p:first-of-type {
        font-weight: 600;
        font-size: 14px;
        line-height: 18.7px;
    }

    #SellTrade-CarInfo img {
        width: 40.19px !important;
        height: 43.8px !important;
        object-fit: contain;
    }

    #SellTrade-CarInfo img.logo3 {
        width: 80px !important;
        height: 37px !important;
        object-fit: contain;

    }
}

@media only screen and (max-width:510px) {
    #Indexhero .searchFormTab .nav-link {
        padding: 0.5rem 1.5rem !important;
    }
}

@media only screen and (max-width:440px) {
    #EaseOfLease-hero .div1 {
        font-size: 20px;
    }
}

@media only screen and (max-width:474px) {
    #aboutLeasify .about-head {
        font-size: 30px;
        line-height: 36px;
    }

    #aboutLeasify .about-text {
        font-size: 14px;
        line-height: 22px;
    }

    #Indexhero .searchFormTab .nav-link {
        padding: 0.5rem 1.2rem !important;
        font-size: 0.9rem;
    }
}

@media only screen and (max-width:408px) {
    #aboutLeasify .about-head {
        font-size: 28px;
        line-height: 34px;
    }

    #aboutLeasify .about-text {
        font-size: 12px;
        line-height: 20px;
    }
}

@media only screen and (max-width: 420px) {
    #Indexhero .searchFormTab .nav-link {
        padding: 0.5rem 1.2rem !important;
        font-size: 0.8rem;
    }
}

@media only screen and (max-width:386px) {
    #aboutLeasify .about-head {
        font-size: 24px;
        line-height: 34px;
    }

    #Indexhero .searchFormTab .nav-link {
        padding: 0.5rem 1.2rem !important;
        font-size: 0.7rem;
    }
}

@media only screen and (max-width: 356px) {
    #Indexhero .searchFormTab .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 0.5rem;
    }
}

@media only screen and (max-width: 393px) {

    .modal-body {
        padding: 0 !important;
    }

    .header {
        height: 100vh;
    }

    .featuresCustom {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (max-width: 430px) {
    #DealerInquiry-inquire {
        margin-top: 1100px;
    }

}

@media only screen and (max-width: 412px) {
    .navbar-brand {
        margin-right: 0.7rem;
    }

    #Indexhero .search-form {
        padding-left: 10px;
        padding-top: 10px;
        padding-right: 10px;
    }

    #Indexhero .nav-tabs a {
        font-size: 12px;
    }

    #Indexhero .hero-text h1 {
        margin-top: 50px;
    }

    #Indexhero .col-lg-3.col-md-3.col-3.mt-5 {
        margin-top: 0 !important;
    }

    /* .SIGNUP2 {
        margin-left: 0 !important;
    } */
}

@media only screen and (max-width: 415px) {
    .SIGNUP button {
        padding: 4px 8px;
        font-size: 14px;
    }

    #AboutLeasify-header {
        height: 600px;
    }

    #aboutLeasify {
        margin-top: -450px;
    }
}

@media only screen and (max-width: 367px) {
    .fa-solid.fa-bars {
        font-size: 20px !important;
    }

    #mob-img {
        height: 20px !important;

    }

    #Indexhero .nav-tabs a {
        font-size: 11px;
    }

    .fa-magnifying-glass {
        font-size: 20px !important;
    }

    #profileDropdown img {
        width: 30px;
        height: 30px;
    }

    #EaseOfLease-hero .div1 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 350px) {

    .sticky-buttons .testDrive,
    .sticky-buttons .selectLease {
        font-size: 14px;
    }

    .carousel-indicators li {
        /* width: 80px; */
        background-size: contain !important;

    }

    .navbar-brand {
        margin-right: 0rem;
    }

    #Indexhero .search-form {
        padding-left: 10px;
        padding-top: 10px;
        padding-right: 10px;
    }

    #Indexhero .nav-tabs a {
        font-size: 9px;
    }

    #Indexhero .hero-text h1 {
        margin-top: 15px;
        /* font-size: 12px; */
    }

    #Indexhero .col-lg-3.col-md-3.col-3.mt-5 {
        margin-top: 0 !important;
    }

    .search-form form label {
        margin-bottom: 0px !important;
        font-size: 12px !important;
    }

    .search-form form select,
    .search-form form input,
    .search-form form button,
    .search-form form .fa-magnifying-glass {
        font-size: 12px !important;
    }

    /* .........about leasify ............ */
    #AbouLeasify-hero .header-text {
        font-size: 40px;
    }

    #aboutLeasify {
        margin-top: -460px;
    }

    #aboutLeasify .about-head {
        font-size: 18px;
        line-height: 20px;
    }

    #aboutLeasify .about-text {
        font-size: 12px;
        line-height: 20px;
    }

    #EaseOfLease-hero .div1 {
        font-size: 16px;
    }

    #DealerInquiry-hero .DealerInquiry-form-p {
        font-size: 12px !important;
    }

    #DealerInquiry-hero .DealerInquiry-hero-text {
        height: 90vh !important;
    }
}

@media only screen and (max-height:685px) {
    #Indexhero .hero-text h1 {
        margin-top: 30px;
    }
}

@media only screen and (max-height:650px) {
    #Indexhero .hero-text h1 {
        margin-top: 15px;
    }
}


@media only screen and (max-height:590px) {
    #Indexhero .hero-text h1 {
        margin-top: 15px;
    }

    #Indexhero .search-form {
        padding-left: 10px;
        padding-top: 10px;
        padding-right: 10px;
        padding-bottom: 20px;
    }

    .form-group {
        margin-bottom: 0.5rem !important;
    }

    .tab-content {
        margin-top: 0.5rem !important;
    }

    .nav-tabs.button-group {
        margin-bottom: 0px !important;
    }
}

@media only screen and (max-height:540px) {
    .btn.btn-primary-custom.btn-block.search-button {
        margin-top: 0px !important;
    }

    #Indexhero .searchBoxTitle {
        margin-bottom: 0px !important;
    }

    #Indexhero .hero-text h1 {
        font-size: 16px;
        margin-bottom: 1px;
    }

}