@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/*Animations*/
.fadeinleft {
    opacity:0;
    transform: translateX(200px);
    transition: all 1.3s ease-out;
}

.fadeinright{
    opacity: 0;
    transform: translateX(-200px);
    transition: all 0.8s ease-out;
}

.fadeindown{
    opacity: 0;
    transform: translateY(-100px);
    transition: all 1.2s ease-out;
}

.fade-in-up{
    opacity:0;
    transform: translateY(100px);
    transition: all 0.5s ease-in-out;
}

.active-left,.active-right,.active-down{
    opacity:1;
    transform: translateX(0);
    transform: translateY(0);
}

.active-up{
    opacity:1;
    transform: translateX(0);
    transform: translateY(0);
}


.fadein{
opacity: 0;
}   

@keyframes fade-left {
    from {
      transform: translateX(200px);
    }
  
    to {
      transform: translateX(0px);
    }
  }

.fade-left{
    animation: fade-left ease-in-out 0.2s;
}


/* End Animations*/

h1,h2,h3,h4,h5,h6,p{
    font-family: 'DM Sans';
}

#head-hero{
    background: url('../img/duacar-hero.jpg')rgba(26, 26, 46, 0.35);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    height: 104vh;
    display: flex;
    align-items: center;

}

.navbar{
    margin-bottom: -7.8em;
    background-color: transparent!important;
    box-shadow: none!important;

    color: white;
}

.navbar li{
    margin: 0em 0.4em;
}

.navbar li a{
    color: white;
    font-family: 'DM Sans';
    border-bottom: 1px solid transparent;
}

.navbar li a.active{
    color: white!important;
    font-family: 'DM Sans';
    border-bottom: 1px solid white!important;

}

.navbar li a:hover{
    border-bottom: 1px solid white;
    color: white;
}

.contact-btn{
    background-color: transparent;
    border: 1px solid white;
    border-radius: 18px;
    font-family: 'DM Sans';
    color: white;
    text-transform: capitalize;
    font-size: 14px;
}

.contact-btn:hover{
    background-color: #0146a6;
    color: white!important;
    transition-duration: 0.3s;
    
    
}


.contact-btn-2{
    background-color: transparent;
    border: 1px solid rgb(233, 233, 233);
    border-radius: 18px;
    font-family: 'DM Sans';
    color: white;
    text-transform: capitalize;
    font-size: 14px;
    color: black;
}

.contact-btn-2:hover{
    background-color: #0146a6;
    color: white!important;
    transition-duration: 0.3s;
    
    
}

.filter-bar {
    display: flex;
    
    gap: 10px;
    margin-bottom: 20px;
    font-family: 'DM Sans';
    background-color: white;
    width: fit-content;
    padding:  0.7em 1em;
    border-radius: 20px;
    color: rgb(54, 54, 54);
}

.filter-bar select, .filter-bar button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #eeeeee;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius:12px;
    background-color: #fff;
    padding: 0.6em 1.2em;
    color: rgb(54, 54, 54);
    font-family: 'DM Sans';
    margin: 0em 0.4em;
}

.filter-bar button {
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

.filter-bar button:hover {
    background-color: #0056b3;
}


.results-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.car-card {
    background-color: #fff;
    border-radius: 5px;
    padding: 0px;
    width: 300px;
    
}








#cars-head{
    background: url('../img/byc-img.jpg')rgba(0, 0, 0, 0.6);
    background-blend-mode: multiply;
    height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: end;
}


#model:disabled {
    background-color: #f0f0f0; /* Light grey background when disabled */
}



.active-tab{
    background-color: #0146a6b4;
    height: 3em;
    border-radius: 10px 10px 0px 0px;

}

.grid-tab:hover{
    background-color: #0146a6b4;
    height: 3em;
    border-radius: 10px 10px 0px 0px;
}

.car-category-grid{
    display: none;
}


.category-active{
    display: block;
    animation: fadeIn ease-in 0.4s;
}




.card{
    box-shadow: none!important;
    border: 1px solid rgb(226, 219, 219);
    overflow: hidden;
    overflow-y: hidden;
    
}

.card img{
    transition-duration: 0.4s;
}

.card:hover img{
    scale: 1.04;
    transition-duration: 0.25s;
}

.card h6{
    font-weight: 500;
}

.card p{
    font-size: 14px;
}
.page-btn{
    height: fit-content;
    box-shadow: none;
    font-size: 16px;
    font-family: 'DM Sans';
    text-transform: capitalize;
    color: rgb(36, 36, 36);
    border-bottom: 1px solid transparent;
    border-radius: 0px;
    width: fit-content!important;
    font-weight: 300;
    padding: 0.4em;
}

.page-btn:hover{
    border-bottom: 1px solid black;
    box-shadow: none!important;
    transition-duration: 0.3s;
    border-radius: 0px;
    color: black;
}


.card .condition{
    margin-bottom: -2em;
    margin-left: 0.6em;
    position: relative;
transform: translateY(8px);
    background-color: rgb(33, 184, 33);
    z-index: 10;
    width: fit-content;
    color: white;
    font-family: 'DM Sans';
    font-size: 13px;
    padding: 0.2em 0.6em;
    border-radius: 5px;
}

.card span{
    margin-top: 2em!important;
}
.mobile-tab-title{
    display: none;
}

.owl-nav .owl-next{
    position: absolute;
    top: calc(100%);
    right: 91%;
    opacity: 1;
    font-size: 22px!important;
    z-index: 1;
    width: 40px;
    background-color: transparent!important;
    color: white!important;
    border: 1px solid rgb(255, 255, 255)!important;
    transition-duration: 0.3s;
    border-radius: 8px!important;
    
}

.owl-nav .owl-prev{
    position: absolute;
    top: calc(100%);
    color: rgba(255, 255, 255, 0.829)!important;
    left: 1%;
    opacity: 1;
    font-size: 22px!important;
    z-index: 1;
    width: 40px;
    background-color: transparent!important;
    transition-duration: 0.3s;
    border: 1px solid #ffffff!important;
    border-radius: 8px!important;
}

.owl-nav .owl-next:hover{
    right: 90.8%;
    transition-duration: 0.1s;
    color: rgb(255, 255, 255)!important;
}

.owl-nav .owl-prev:hover{
    left: 0.8%;
    transition-duration: 0.1s;
    color: rgb(255, 255, 255)!important;
}

.fa-fw{
    font-size: 15px;
}

.about-box{
    
    padding:  4em;
    border-radius: 15px;
   
    
    background-repeat: no-repeat;
    
    background-color: #e9f2ff;
}


.mail-btn{
    background-color: #405ff2;
    border-radius: 8px;
    color: white;
    font-weight: 200;
    font-family: 'DM Sans';
    text-transform: capitalize;
    font-size: 16px;
    padding: 0.8em 1.6em;

}

.mail-btn:hover{
    background-color: #0146a6!important;
    border-radius: 8px;
    color: white!important;
    font-weight: 200;
    font-family: 'DM Sans';
    text-transform: capitalize;
    font-size: 16px;
}

.wp-btn{
    background-color: #27ca63;
    border-radius: 8px;
    color: white;
    font-weight: 200;
    font-family: 'DM Sans';
    text-transform: capitalize;
    font-size: 16px;
    padding: 0.8em 1em;

}

.wp-btn:hover{
    background-color: #128c7e;
    border-radius: 8px;
    color: white;
    font-weight: 200;
    font-family: 'DM Sans';
    text-transform: capitalize;
    font-size: 16px;
}

#allcars{
    background-color: #050b20;
    margin: 6em 0em;
}

#allcars .card{
    border: none;
}

.brand-tab{
    border-bottom: 2px solid transparent;
}

.brand-tab:hover{
    border-bottom: 2px solid #f1ececf5;
}

.brand-active{
    border-bottom: 2px solid #f1ececf5;
}

.car-slide{
    display: none!important;
    
}

.active-car-slide{
    display: block!important;
    
}

.banner{
    background: url('../img/banner-dua.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 60vh;
    border-radius: 20px;
}

.mision-content{
    background-image: url('../img/car-bg.webp');
    
    background-size: 50%;
   
    background-repeat: no-repeat;
    background-color: #e9f2ff;
    display: flex;
    
    padding: 5em;
    border-radius: 20px;
    color: white; 
    background-position: 100% 100%!important;
}

@media only screen and (max-width: 867px) {
    .filter-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      width: 80%;
      justify-content: center;
      margin: auto;
      padding: 0.8em 0.4em;
    }
    #head-hero{
        
        
        text-align: center;
    }
    .filter-bar select, .filter-bar button{
        width: 100%;
        
    }
    #car-grid-home{
        margin-top: 0em!important;
        
    }
    .tabs-row{
       margin-top: 2em;
       margin-bottom: 2em;
    }

    .grid-tab{
        background-color: #3c4247;
        padding: 0.5em 0.2em;
        border-radius: 5px;
        
    }

    .grid-tab:hover{
        height: fit-content!important;
        border-radius: 5px;
    }
    .grid-tab h5{
        font-size: 13px;
        margin-top: 0em!important;
        padding-top: 0em!important;
    }
    .tab-display{
        display: block!important;
        padding: 0em!important;
        text-align: center!important;
    }
    .active-tab{
        height: fit-content;
    }
    .car-grid-total{
        margin-top: 1em!important;
    }
    .mobile-tab-title{
        display: block;
    }

    .grid-tab img{
        width: 32px!important;
    }
    .card{
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .button-flex{
        display: block!important;
    }

    .wp-btn-2{
        margin-left: 0em!important;margin-top: 1em;
        width: 100%!important;
    }
    .mail-btn-2{
        width: 100%!important;
    }
    .about-box{
        padding: 3.5em;
    }
    .brand-tab{
        margin-bottom: 1em;
    }
    .contact-btn-2{
        margin:0em!important;
        margin-right: 1em!important;
        margin-top: 1em!important;
        margin-bottom: 2em!important;
    }
    .owl-nav .owl-prev{
        position: absolute;
        top: calc(100%);
        color: rgba(255, 255, 255, 0.829)!important;
        left: 2%;
        opacity: 1;
        font-size: 22px!important;
        z-index: 1;
        width: 40px;
        background-color: transparent!important;
        transition-duration: 0.3s;
        border: 1px solid #ffffff!important;
        border-radius: 8px!important;
    }
    .owl-nav .owl-next{
        position: absolute;
        top: calc(100%);
        right: 70%;
        opacity: 1;
        font-size: 22px!important;
        z-index: 1;
        width: 40px;
        background-color: transparent!important;
        color: white!important;
        border: 1px solid rgb(255, 255, 255)!important;
        transition-duration: 0.3s;
        border-radius: 8px!important;
        
    }
    .owl-nav .owl-prev:hover{
        left: 1%;
    }
    .owl-nav .owl-next:hover{
        right: 69%;
    }
    .widen-p{
        width: 100%!important;
    }
    .mision-content{
        padding: 4em 2em;
        margin: 3em 0em;
    }
    .copyright{
        text-align: start!important;
    }
    footer .row{
        padding: 1.1em;
    }
    .car-card{
        width: 100%;
    }
    .navbar{
        background-color: #0146a6!important;
       
    }

    .navbar-nav{
        padding:  0em!important;
        
    }
  }


  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
  }

  footer{
    background: url('../img/banner-dua.jpg')rgba(0, 0, 0, 0.3);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: multiply;
    padding-top: 6em;
    margin-bottom: 0em;
  }

  .footer-link,.footer-link:hover{
    color: white;
  }

  .share{
    border: 1px solid rgb(189, 189, 189);
    height: fit-content;
    padding: 0.1em 0.5em;
    border-radius: 50%;
  }


 #about-head{
    background: url('../img/about-head.jpeg')rgba(0, 0, 0, 0.6);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: multiply;
    height: 60vh;
    display: flex;
    align-items: center;
 }
 #about-banner{
    background: url('../img/dua-benz-banner.jpg')rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: multiply;
    height: 40vh;
    display: flex;
    align-items: center;
    background-attachment: fixed;
 }

 #contact-head{
    background: url('../img/dua-contact-head.jpg')rgba(0, 0, 0, 0.6);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: multiply;
    height: 60vh;
    display: flex;
    align-items: center;
 }

 #myForm {
  
    
   
   
    border-radius: 20px;
   
    
    background-position: center;
    background-size: cover;
    
    z-index: 999!important;
  }
  label {
    display: block;
    margin-bottom: 8px;
    color: rgb(255, 255, 255);
    color: black;
  }
  input, textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
    
    border: 1px solid #87C4D8;
    color: white;
  }


  .dropdown-toggle{
    background-color: transparent;
    color: white;
    font-family: 'DM Sans';
    font-size: 16px;

}

.dropdown-item{
    color: black!important;
}