/* === Google Font Import - Poppins === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}
.main-cont{
    position: relative;
  }
  .main-cont#blur.active3{
        filter: blur(20px);
        pointer-events: none;
        user-select: none;
  }
/* :root {
    --primary: #ec994b;
    --white: #ffffff;
    --bg: #f5f5f5;
  } */
 .hero-section{
   width: 100%;
   background-color: #000000;
   background-image: url("../image/Truck-Image2.webp");
   background-repeat: no-repeat;
   background-size: 100% 100%;
   height: 873px;


   
}
.hero-section h1{
    height: 127px;
    padding: 2px;
    font-family: 'IM FELL English';
    font-style: normal;
    font-weight: 400;
    font-size: 64px;
    line-height: 90px;
    color: #FFFFFF;
    text-shadow: 0px 2px 20px #000000;
    margin-top: 50px;
    background-image: url(../image/trust.png);
    background-repeat: no-repeat;
    background-size: 144px 100%;
    background-position-x: 28px;
    display: flex;
    align-items: center;

}
.text-bg{
    background-image: url("../image/text-bg.png");
    background-repeat: no-repeat;
    width: 514px;
    margin-top: 40px;

}
.hero-section h2{
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-size: 36px;
    line-height: 62px;
    color: #FFFFFF;
    text-shadow: 0px 2px 9px #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.Select-Brand{
/*width: 405px;*/
/*height: 324px;*/
width: 350px;
    height: 280px;
background: rgba(0, 0, 0, 0.5);
padding: 30px;
margin-top: 40px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.Select-Brand h3{
     font-family: 'Inter';
font-style: normal;
font-weight: 800;
    font-size: 28px;
    line-height: 40px;
color: #FFFFFF;
overflow: hidden;
}
span{
    color: #ff0000!important;
    margin-left: 5px;
}
select{
    font-family: 'Inter'; 
    font-style: normal;
    font-weight: 400;
       font-size: 20px;
    line-height: 36px;
    text-align: center;
    color: #000000;
    padding: 5px;
    margin-bottom: 30px;
}
.second-section{
    margin-top: 50px;
}
.second-section h1{
    height: 57px;
    font-family: 'Inter';
    background-image: url("../image/text-bg-2.svg");
    background-repeat: no-repeat;
    background-position-x: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: normal;
    font-weight: 800;
    font-size: 34px;
    line-height: 50px;
    color: #000000; 
}
.second-section-card{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 40px 50px;
}
.second-section-card .card{
width: 258.7px;
height: 246px;
background: rgba(0, 0, 0, 0.03);
border: 1px solid #303030;
box-shadow: 0px 4px 40px 10px rgba(0, 0, 0, 0.42);
border-radius: 50px;
margin: 30px 20px;
display: flex;
justify-content: center;
align-items: center;
transition: all .3s ease-in-out;
}
.second-section-card .card:hover{
    transform: scale(1.2);
}
.second-section-card .card .card-img img{
    height: 129px;
    width: 149px;
    display: block;
    margin: auto;
}
.second-section-card .card .A_Q img{
    height: 115px;
    width: 107px;
}
.second-section-card .card .B_P img{
    height: 103px;
    width: 104px;
}
.second-section-card .card .card-para p{
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-size: 26px;
    line-height: 40px;
    color: #FF0000;
    margin-top: 20px;
} 


.carousel2 {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
  }
  
  .card-container2 {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    transition: left 0.5s ease-in-out;
  }
  
 
.card3{
    /* position: relative; */
    background: #fff;
    border-radius: 20px;
    /* margin: 20px 0; */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    padding: 25px 42px;
    height: 420px;
    width: 400px;
    margin: 20px 10px;
    overflow-y: hidden;
    /* text-align: center; */
    /* width: 100%;
    height: 200px; */
}
.card3 .btn{
    overflow: hidden;
}
.car-img{
    height: 300px;
}
.car-img img{
    height: 100%;
    width: 100%;
    margin: auto;
    object-fit: cover;
}
.car-name{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.car-detls{
    overflow-y: hidden;
}
.car-detls p{
    font-weight: 700;
    font-size: 14px; 
    line-height: 26px;
    /* height: auto; */
    color: #5F5F5F;
    overflow-y: hidden;
}
.dicp {
    height: 44px;
    
}
.car-name .name{
    font-weight: 700;
    font-size: 20px;
    line-height: 31px;
    color: #303030;
    height: 28px;
    }
    .car-name .use {
      font-weight: 700;
    font-size: 14px;
    line-height: 23px;
    background: #BBBBBB;
    height: 22px;
    padding: 2px;
    color: #FFFFFF;
    }

    .enq-btn{
        width: 100%;
        display: flex;
        justify-content: space-around;
        margin-top: 20px;
        height: 41px;
    }
    .recently_listed_section h2{
        font-weight: 600;
        font-size: 30px;
        line-height: 48px;
        color: #5F5F5F;
    }
   
    .recently_listed_section button {
        background-color: transparent;
        border: none;
        outline: none;
        cursor: pointer;
        font-size: 20px;
        line-height: 30px;
        color: #fe2121;
        margin: 0 20px;
      }
      .enq-btn a{
        background: #ff4c4c;
        outline: none;
        border: none;
        color: #fff;
        padding: 8px 22px;
        border-radius: 20px;
        font-size: 14px;
        line-height: 22px;
        transition: all 0.3s ease;
        cursor: pointer;
        /* height: auto; */
        height: 37px;
    }
    .enq-btn a:hover{
        background: #ff0000;
    }
      
    .carousel-btn{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }

    
#enq-form{
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 500px;
    padding: 80px;
    -webkit-box-shadow: 0px 10px 40px -10px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0px 10px 40px -10px rgba(0, 0, 0, 0.7);
    box-shadow: 0px 10px 40px -10px rgba(0, 0, 0, 0.7);
    background: #e6e6e6;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
    border-radius: 5px;
    z-index: 999;
  }
  #enq-form.active3{
    top: 50%;
    visibility: visible;
    opacity: 1;
    transition: 0.3s;
    z-index: 999;
  }
  #enq-form a{
      text-decoration: none;
      color: red;
      border: 2px solid red;
      padding: 5px;
      background-color: #fff;
      text-align: center;
      z-index: 999;
  }
  .myHed p{
    font-size: 40px;
    line-height: 54px;
    font-weight: 500;
    margin-bottom: 30px;
    color:  #ff0000;
    
}
@media (max-width:1018px) {
    .hero-section{
       height: 770px;
     }
    .hero-section h1{
        height: 110px;
        font-weight: 400;
        font-size: 44px;
        line-height: 58px;
        margin-top: 50px;
        background-size: 144px 100%;
        background-position-x: 28px;
        display: flex;
        align-items: center;
    
    }
    .text-bg {
        background-size: 100% 100%;
        width: 394px;
    }
    .hero-section h2{
        font-size: 28px;
        line-height: 44px;
        color: #FFFFFF;
    }
    .Select-Brand {
        width: 366px;
        height: 291px;
        padding: 20px;
    }
    select {
        font-size: 24px;
  }
  .Select-Brand h3 {
    font-size: 28px;
    }
}
@media (max-width:585px) {
    .hero-section{
        height: 600px;
     }
    .hero-section h1{
        height: 100px;
        font-size: 36px;
        line-height: 50px;
        background-size: 115px 100%;
    
    }
    .Select-Brand {
        margin: auto;
        margin-top: 40px;
    }
    #enq-form{
        width: 90%;
        margin: auto;
        padding: 31px;
    }
    .myHed p{
        font-size: 28px;
        line-height: 40px;
        
    }
    #enq-form form div{
        width: 90%!important;
        margin: auto;
    }
  }
@media (max-width:430px) {
    .hero-section{
        background-image: url("../image/Truck-Image1.webp");
        height: 590px;
     }
    .hero-section h1{
        height: 83px;
        font-size: 30px;
        line-height: 46px;
        background-size: 100px 100%;
        justify-content: center;
    
    }
    .text-bg {
        background-size: 100% 100%;
        width: 310px;
        margin-top: 26px;
    }
    .hero-section h2{
        font-size: 22px;
        line-height: 38px;
    }
    .Select-Brand {
        width: 305px;
        height: 266px;
    }
    select {
        font-size: 22px;
  }
  .Select-Brand h3 {
    font-size: 29px;
    }
  }
@media (max-width:358px) {
    .hero-section h1{
        height: 68px;
        font-size: 25px;
        line-height: 39px;
        background-size: 82px 100%;
    
    }
    .text-bg {
        width: 252px;
    }
    .hero-section h2{
        font-size: 18px;
        line-height: 34px;
    }
  }
@media (max-width:330px) {
    .hero-section h1{
        height: 68px;
        font-size: 20px;
        line-height: 34px;
        background-size: 82px 100%;
    
    }
    .text-bg {
        width: 240px;
    }
    .hero-section h2{
        font-size: 17px;
        line-height: 34px;
    }
    .Select-Brand {
        width: 280px;
        height: 266px;
    }
  }


  .close-icon{
    position: fixed;
    right: 25px;
    top: 20px;
    color: #000000;
    height: 30px;
    width: 30px;
    cursor: pointer;
  }
