@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    scroll-padding-top: 1rem;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

/* variables */
:root {
    --main-color:#d90429;
    --text-color:#000000;
    --bg-color:#fff;
}
/* Custom Scroll Bar */
html::-webkit-scrollbar{
    width: 0.5rem;
    background: transparent;
}
html::-webkit-scrollbar-thumb{
    border-radius: 5rem;
    background: var(--main-color);
}
section {
    padding: 4rem 0 2rem;
}
img{
    width: 100%;
}
body{
    color:var(--text-color);
}
.container{
    max-width: 1068px;
    margin-left: auto;
    margin-right: auto;
}
header{
    display: block;
    width: 100%;
    position:fixed;
    top: 0;
    left: 0;
    z-index: 100;
    white-space: nowrap;
}
header.shadow{
    background: var(--text-color);
    box-shadow: 0px 11px 15px #c10929;
    transition: 0.5s ease;
}
header.shadow #menu-icon{
    color: var(--bg-color);
}
header.shadow #search-icon{
    color: var(--bg-color);
}
header.shadow a{
    color: var(--bg-color);
}
.nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 35px;
    max-width: 87%;
}
#menu-icon{
    font-size: 24px;
    cursor: pointer;
    color:var(--bg-color);
    display: none;
}
.logo1{
    max-width: 150px;
    margin-left: 0px;
    margin-top: 0;
}
.logo{
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}
.logo span{
color: var(--main-color);
} 

.navbar{
    display:flex;
    column-gap: 2rem;
}
.navbar a{
    color: var(--bg-color);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
}
.nav a:hover,
.navbar .active{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color) ;
}
#search-icon{
    font-size: 24px;
    cursor: pointer;
    color: var(--bg-color);
}
.search-box{
    position: absolute;
    top: 110%;
    right: 0;
    left: 0;
    background: var(--bg-color);
    box-shadow: 4px 4px 20px rgb(15 45 55 /10%);
    border: 1px solid var(--main-color);
    border-radius: 0.5rem;
    clip-path: circle(0% at 100% 0%);
}
.search-box.active{
    clip-path: circle(144% at 100% 0%);
    transition: 0.4s;
}
.search-box input{
    width: 100%;
    padding: 20px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
}
.home{
    max-width: 1300px;
    margin: auto;
    width: 100%;
    min-height: 640px;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center left;
    position: absolute; 
    z-index: 5;
    
   
}
/* CONTACT US FORM */

section.contactus{
    margin-top: 10%;
    padding: 20px 15%;
    align-items: center;
    justify-content: center;
}
#checkText,
#checkText2,
#checkText3,
#checkText4
{
    display: none;
}
#mycheck{
    display: inline;
}
.labels{
    color: var(--main-color);
}
.contactus{
    background: var(--text-color);
    height: 100%;
    width: 100%;
    min-height: 100vh;
    align-items: center;
    
}
.contactus-img{
    max-width: 100%;
    width: 720px;
    height: auto;
    border-radius: 10px;
}
.contactus-form h1{

    display: flex;
    font-size: 60px;
    color: var(--bg-color);
    margin-bottom: 20px;
}
.contactus-form form .fields{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}.check label{
    display: flex;
}
.labels{
    display: flex;
    width: 70%;
}
.check{
    gap: 2rem;
    display: flex;
    width: 50%;
}
.check-box{
    
    margin-left: 0px;
}

.input-fields{

    white-space: nowrap;
    display: flex;
    flex-direction: column;
    margin: 4px 0; 
    width: calc(100%/3 - 15px);
}
.input-field1{
    gap: 1rem;
    display: flex;
    justify-content: space-between;

    width: 100%;
}
.input-field1 input{
    white-space: nowrap;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 4px 0; 
    width: calc(100%/2 - 15px);
}
.contactus-form span{
    color: var(--main-color);
}
.contactus-form p{
    color: var(--bg-color);
    letter-spacing: 1px;
    line-height: 26px;
    font-size: 1.1rem;
}
.contactus-form form{
    flex-direction: column;
    display: flex;
    width: 100%;
    position: relative;
    display: flex;
    gap: 2rem;
    min-height: 490px;
}
.contactus-form form input,
form textarea{
    width: 100%;
    padding: 10px;
    border: none;
    outline: none;
    background: #191919;
    color: var(--bg-color);
    font-size: 1rem;
    margin-bottom: 0.7rem;
    border-radius: 10px;
}
.contactus-form textarea{
    resize: none;
    height: 200px;

}
.contactus-form form .btn{
    display: inline-block;
    background: var(--main-color);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 10px;
    width: 220px;
    transition: ease .20s;
}
.contactus-form form .btn:hover{

    border: 2px solid #d90429;
    background: transparent;
    transform: scale(1.1);


}
.select-option{
    background-color: #191919;
    color: var(--bg-color);
    text-decoration: none;
    border: none;
    border-radius: 10px;
    height: 6vh;
    width: 100%;
}



* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  width: 100%;
  position: relative;
background-color: #020102;
 
}

/* Hide the images by default */
.mySlides {
  display: none;
  width: 100%;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}




/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 2s;
}

@keyframes fade {
  from {opacity: 0}
  to {opacity: 1}
}
.home-text {
    padding-left: 130px;
}
.home-text h1 {
    font-size: 2.4rem;    
    color: #fff;
    text-decoration: none;


}
.home-text span {
    color: var(--main-color);
}
.home-text p {
    font-size: 0.938rem;
    font-weight: 300;
    margin: 0.5rem 0 1.2rem;
    color: #fff;

}
.btn-btn{
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn {
    justify-content: center;
    align-items: center;
    padding: 10px 22px;
    background: var(--main-color);
    color: var(--bg-color);
    font-weight: 400;
}
.btn:hover{
    background: #fd052f;
}
.heading {
    text-align: center;
}
.heading span{
    font-weight: 500;
    color: var(--main-color);
}
.heading h2{
    color: var(--bg-color);
}
.heading p{
    font-size: 0.938rem;
    font-weight: 300;
    color: var(--bg-color);
}
.cars-container{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}
.cars-container .box{
    flex:1 1 17rem;
    position: relative;
    height: 200px;
    border-radius: 0.5rem;
    overflow: hidden;
}
.cars-container .box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}
.cars-container .box img:hover{
    transform: scale(1.1);
    transition: 0.5s;
}
.cars-container .box h2{
    position: absolute;
    bottom: 0.2rem;
    left: 0.2rem;
    font-weight: 400;
    font-size: 0.6rem;
    background: var(--bg-color);
    padding: 8px;
    border-radius: 0.5rem;
}
.cars-container .box:hover h2{
    background: var(--main-color);
    color: var(--text-color);
}
.about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}
.about-img{
    flex: 1 1 21rem;
}
.about-text{
    flex: 1 1 21rem;
}
.about-text span{
    font-weight: 500;
    color: var(--main-color);
}
.about-text h2{
    font-size: 1.7rem;
    color: var(--bg-color);
}
.about-text p{
    font-size: 0.938rem;
    margin: 0.5rem 0 1.4rem;
    color: var(--bg-color);
}
.parts-container{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}
.parts-container .box{
    flex: 1 1 17rem;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: #f6f6f6;
    border-radius: 0.5rem;
}
.parts-container .box img{
    width: 100%;
    height: 150px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 1rem;
}
.parts-container .box h3{
    font-size: 1.1rem;
    font-weight: 600;
}
.parts-container .box span{
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--main-color);
}
.parts-container .box .bx{
    color: var(--main-color);
    margin: 0.8rem 0;
}
.parts-container .box .btn{
    max-width: 120px;
}
.parts-container .box .details{
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 1.8rem;
    right: 1rem;
    font-size: 1rem;
    color: var(--text-color);
}
.parts-container .box .details:hover{
    color: var(--main-color);
    text-decoration: underline;
}
.blog-container{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}
.blog-container .box{
    flex: 1 1 13rem;
    padding: 20px;

}
.blog-container .box:hover{
    background: var(--main-color);
}
.blog-container .box span{
    font-size: 0.8rem;
    color: var(--main-color);
}
.blog-container .box:hover span{
    font-size: 0.8rem;
    color: var(--text-color);
}


.blog-container h3{
    font-size: 1.2rem;
    color: var(--bg-color);
}
.blog-container .box p{
    font-size: 0.938rem;
    margin: 4px 0;
    color: var(--bg-color);
}
.blog-container .box blog-btn{
    display: flex;
    align-items: center;
    column-gap: 4px;
    color: var(--text-color);    
}
.blog-container .box .blog-btn .bx{
    font-size: 20px;
}
.blog-container .box .blog-btn:hover{
    color: var(--text-color);
    column-gap: 0.7rem;
    transition: 0.4s;
}
/*whatsapp button*/
.float-whatsapp{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}
.my-float{
	margin-top:16px;
}
.footer{
    background: var(--text-color);
    color: #f6f6f6;
    border-top: 2px solid var(--main-color);
}
.footer-container{
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.footer-container .logo{
    color: var(--bg-color);
    margin-bottom: 1rem;
}
.footer-container .footer-box{
    display: flex;
    flex-direction: column; 
}
.social{
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.social a{
    font-size: 24px;
    color: var(--bg-color);
    margin-right: 1rem;
}
.sociala:hover{
    color: var(--main-color);
}
.footer-box h3{
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
}
.footer-box a,
.footer-box p{
    color: #818181;
    margin-bottom: 10px;
}
.footer-box a:hover{
    color: var(--main-color);
}
.copyright{
    padding: 20px;
    text-align: center;
    color: var(--bg-color);
    background: var(--text-color);
}
/* Making Responsive */
@media (max-width: 1570px){
    section.contactus{
        padding: 80px 3%;
        transition: .2s;
    }
    .contactus-form h1{
        font-size: 60px;
    }
    .contactus-form p{
        margin-bottom: 3rem;
    }
    .logo1{
        max-width: 150px;  
    }
    section.contactus{
        margin-top: 5%;
    }
    .nav{
        max-width: 87%;
    }
}
@media (max-width:1080px){
    .container{

        margin-left: 1rem;
        margin-right: 1rem;
    }
    section.contactus{
        grid-gap: 2rem;
        transition: .3s;
    }
    .nav{
        max-width: 87%;
    }
    
}
@media (max-width:1000px){
    section.contactus{
        grid-template-columns: 1fr;
    }
    .contactus-form{
        order: 2;
    }
    .contactus-img img{
        max-width: 100%;
        width: 100%;
        height: auto;
        text-align: center;
        margin-bottom: 30px;

    }
    .logo1{
        max-width: 150px;  
    }
    section.contactus{
        margin-top: 8%;
    }
    .nav{
        max-width: 100%;
    }
}

@media (max-width: 991px){
    .nav{
        padding:  15px 0px;
    }
    section {
        padding: 3rem 0 1rem;
    }
   .home-text{
        padding-left: 2rem;
    }
    .home-text h1{
        font-size: 2.1rem;
    }
    .logo1{
        max-width: 150px;  
    }
    section.contactus{
        margin-top: 8%;
    }
    .nav{
        max-width: 100%;
    }

}
@media (max-width: 920px){
    #search-icon {
        color: var(--bg-color)
    }
    .home{
        min-height: 50px;
        font-size: 20px;
        position: absolute;
        margin-top: 120px;

    } 
    .home-text h1{
    font-size: 18px;

    }
    .home-text p{
    font-size: 12px;
    }
    .btn{
        font-size: 10px;
    }
    .slideshow-container{
        position: relative;
    }
    .logo1{
        max-width: 150px;  
    }
    section.contactus{
        margin-top: 10%;
    }
    .nav{
        max-width: 100%;
    }
}
@media (max-width: 768px){
    .search-box input{
        padding: 15px;
    }
    header.shadow a{
        color: var(--text-color);
    }
    .contactus-img img{
        max-width: 100%;
        width: auto;
        height: auto;
        text-align: center;
        margin-bottom: 30px;

    }
    .input-fields{
        width: calc(100%/2 - 15px);
    }
    .input-field1{
        width: calc(100%/ - 15px);
    }
    .nav{
        padding: 10px 0;
    }
    #menu-icon{
        display: initial;
    }
    
    
    .navbar{
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        background: var(--main-color);
        row-gap: 0.5rem;
        text-align: center;
        box-shadow: 4px 4px 20px rgb(15 54 55 / 20%);
        clip-path: circle(0% at 0% 0%);
        transition: 0.6s;
    }
    .navbar a{
        color: var(--text-color);
        display: block;
        padding: 15px;
    }
    .navbar a:hover,
    .navbar.active{
        border-bottom: none;
        background: var(--bg-color);
        color: var(--main-color);
    }
    .navbar.active{
        clip-path: circle(144% at 0% 0%);
    }
    .blog-container .box{
        padding: 4px;
    }
    .home{
        min-height: 25px;
        font-size: 20px;
        position: absolute;
        margin-top: 70px;

    } 
    .home-text h1{
    font-size: 20px;

    }
    .home-text p{
    font-size: 10px;
    }
    .btn{
        font-size: 10px;
    }
    .logo1{
        max-width: 150px;  
    }
    .nav{
        max-width: 100%;
    }
    
}
@media (max-width:722px){
    .heading span{
        font-size: 0.9rem;
    }
    .heading h2{
        font-size: 1.4rem;
    }
    .check{
        width: 100%;
}
    .about{
        flex-direction: column-reverse;
    }
    .about-text{
        text-align: center;
    }
    .about-text h2{
        font-size: 1.4rem;
    }
    .home{
        min-height: 25px;
        font-size: 20px;
        position: absolute;
        margin-top: 70px;

    } 
    .home-text h1{
    font-size: 20px;

    }
    .home-text p{
    font-size: 10px;
    }
    .btn{
        font-size: 10px;
    }
    .slideshow-container{
        position: relative;
    }
    .logo1{
        max-width: 150px;  
    }
    section.contactus{
        margin-top: 10%;
    }
    .nav{
        max-width: 100%;
    }
}
@media (max-width:607px){
    .footer-container{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .home{
        min-height: 25px;
        font-size: smaller;
        position: absolute;
       margin-top: 50px;

    } 
    .home-text h1{
    font-size: 12px;

    }
    .home-text p{
    font-size: 10px;
    }
    .slideshow-container{
        position: relative;
    }
    .logo1{
        max-width: 150px;
        margin-left: 0px;
        margin-top: 0;
    }
   
    section.contactus{
        margin-top: 10%;
    }
    .nav{
        max-width: 100%;
    }
}
@media (max-width:470px){
    .envelope{     
        font-size: 16px;
    }
    .envelope-two{
        font-size: 16px;
    }
    .envelope-icon{
        display: flex;
    }
    .logo1{
        max-width: 150px;  
    }
    section.contactus{
        margin-top: 15%;
    }
    .nav{
        max-width: 100%;
    }
}
@media (max-width:450px){
    .search-box input {
        padding: 11px;
    }
    .input-fields{
        width: calc(100%/1 - 15px);
    }
    .check{
        width: 100%;
        flex-wrap: wrap;
    }
    section.contactus{
        margin-top: 15%;
    }
    .contactus-form h1{

        display: flex;
        font-size: 3rem;
        color: var(--bg-color);
        margin-bottom: 20px;
    }
    .home{
        min-height: 200px;
        margin-top: 0;
    }
    .home-text h1{
        font-size: 12px;
    }
    .home-text p{
        font-size: 8px;
        margin-right: 150px;
    
    }
    .btn{
       font-size: 8px;
    }
        .home-text p br{
        display: contents;
    }
    .slideshow-container{
        position: relative;
    }
    .input-field1{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .logo1{
        max-width: 140px;
    }
    .nav{
        max-width: 100%;
    }
    
   
}
@media (max-width:280px){
    .contactus-form h1{
        font-size: 2rem;
    }
    .nav{
        max-width: 100%;
    }

}
