@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;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;

    
}
.header #login-btn i{
    font-size: 2.5rem;
    color: var(--light-color);
    cursor: pointer;
    display: none;


}



/* variables */
:root{
   --main-color:#d90429;
   --text-color:#020102;
   --bg-color:#fff;
   --border:1rem solid var(--main-color);
   --box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
}
html::-webkit-scrollbar {
    width: 0.5rem;
    background: var(--main-color);
}

html::-webkit-scrollbar-thumb {
  border-radius: 5rem;
  background: var(--text-color);
}


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;
}

header.shadow {
    background: var(--bg-color);
    box-shadow: 2px 4px 4px rgb(15 54 55 / 20%);
    transition: 0.9s ease;
}
header.shadow #search-icon {
    color: var(--text-color);
}

.nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 35px;
}

#menu-icon{
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    display: none;
}

.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(--text-color);
    font-size: 1rem;
    text-transform:uppercase;
    font-weight: 500;
}

.navbar a:hover, .navbar .active{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

#search-icon{
    font-size: 24px;
    cursor: pointer;
}

.search-box {
    position: absolute;
    top: 110%;
    right: 0;
    left: 0;
    background: var(--bg-color);
    box-shadow: 4px 4px 20px rgb(15 54 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: .5s;
}

.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:url(/img/Background-home.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
}

.home-text {
    padding-left: 130px;
}

.home h1{
    font-size: 2.4rem;
}

.home-text span{
    color: var(--main-color);
}

.home-text p {
    font-size: 0.938rem;
    font-weight: 300;
    margin: 0.5rem 0 1.2rem;
}

.btn {
    padding: 10px 22px;
    background: var(--main-color);
    color: var(--bg-color);
    font-weight: 400;
}

.btn:hover {
    background:darkred;
    transition: 0.4s;
}

.heading{
    text-align: center;
}

.heading span {
    font-weight: 500;
    color: var(--main-color);
}

.heading p{
    font-size: 0.938rem;
    font-weight: 300;
}

.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.5);
    transition: 0.5s;
}

.cars-container .box h2{
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-weight: 400;
    font-size: 1rem;
    background: var(--bg-color);
    padding: 8px;
    border-radius: 0.5rem;
}

.cars-container .box:hover h2{
    background: var(--main-color);
    color:var(--bg-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;
}

.about-text p{
    font-size: 0.938rem;
    margin: 0.5rem 0 1.4rem;
}

.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: #f6f6f6;
}

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

.blog-container h3 {
    font-size: 1.2rem;
}
.blog-container .box p{
    font-size: 0.938rem;
    margin: 4px 0;
}

.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(--main-color);
    column-gap: 1.2rem;
    transition: 0.5s;
}

.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;
}

.social a{
    font-size: 24px;
    color: var(--bg-color);
    margin-right: 1rem;
}

.social a:hover {
    color: var(--main-color);
}

.footer-box h3{
    font-size: 1.1 rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.footer-box a, 
.footer-box p {
    color: #818181;
    margin-bottom: 10px;
}

.footer-box a:hover {
    color:var(--bg-color);
}

.copyright {
    padding: 20px;
    text-align: center;
    color: var(--bg-color);
    background-color: var(--text-color);
}

.contactUs{
    position: relative;
    width: 100%;
    padding: 5px 100px;
    background: var(--bg-color);
    /* border: 1px solid  white; */
}

.contactUs .title{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    color: var(--text-color);
    background: var(--bg-color);


}
.contactUs .title h2{
    color: var(--text-color);
    font-weight: 1000;
}
.Box {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 5fr 4fr;
    grid-template-areas: 
    "form info"
    "form map";
    grid-gap: 20px;
    margin-top: 20px;
}

.form {
    grid-area: form;
}
.info {
    grid-area: info;
}
.map {
    grid-area: map;
}
.contact {
    padding: 40px;
    background: var(--bg-color);
    box-shadow: 0 5px 35px rgb(15 54 55 / 20%);
}

.contact h3 {
    color:var(--text-color);
    font-weight: 500;
    font-size: 1.4em;
    margin-bottom: 10px;
} 

.formBox {
    position: relative;
    width: 100%;
}

.formBox .row50{
    display: flex;
    gap: 20px;
}
.inputBox { 
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 50%;
}

.formBox .row100 .inputBox{
    width: 100%;
}

.inputBox span {
    color: var(--main-color);
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
}

.inputBox input {
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid darkmagenta;
}
.inputBox textarea{
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid #333;
    resize: none;
    min-height: 220px;
    margin-bottom: 10px;
}

.inputBox input[type= "submit"]{

    background: var(--main-color);
    color: var(--bg-color);
    border: none;
    font-size: 1.1em;
    max-width: 120px;
    font-weight: 500;
    cursor: pointer;
    padding: 14px 15px;
}

.inputBox ::placeholder {
    color: var(--light-color);
}

/* info */
.info{
    background: var(--bg-color);
}
.info h3 {
    color: var(--text-color);
}

.info .infoBox div{
    display: flex;
    align-items: center;
    margin-bottom: 10px;

}

.info .infoBox div span {
    min-width: 40px;
    height: 40px;
    color: var(--bg-color);
    background: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    border-radius: 50%;
    margin-right: 15px;


}

.info .infoBox div p {
    color: var(--text-color);
    font-size: 1.1em;
}

.info .infoBox div a{
    color: var(--main-color);
    text-decoration: none;
    font-size: 1.1em;
}

.sci {
    margin-top: 40px;
    display: flex;
}

.sci li {
    list-style: none;
    margin-right: 15px;
}

.sci li a {
    color: var(--main-color);
    font-size: 2em;
    color: var(--text-color);
}

.sci li a:hover {
    color:var(--main-color);
}

.map{
    padding: 0;
}
.map iframe {
    width: 100%;
    height: 100%;
}

























.login-form-container.active{
    top: 0;
    opacity: 1;

}

.login-form-container {
    position: fixed;
    top: -105%;
    left: 0;
    z-index: 1000;
    height: 100%;
    width: 100%;
    background:var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;

}

.login-form-container form{
    padding: 2rem;
    margin: 2rem;
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    background: url(/img/background.png)no-repeat;
    border: var(--bg-color);
    text-align: center;
    width: 40rem;
}

.login-form-container form h3{
    color: var(--text-color);
    font-size:1rem;
    padding-bottom: 1rem;
    text-transform: uppercase;
}

.login-form-container form .box{
    margin: 1rem 0;
    width: 100%;
    text-transform: none;
    color: var(--text-color);
    font-size: 1.6rem;
    padding: 1rem 1.2rem;
    border: var(--border);
    border-radius: 12rem;
}

.login-form-container form p{
    padding: 1rem 0;
    font-size: 1.5rem;
    color: var(--light-color);
}

.login-form-container form p a {
    color: var(--main-color);
    text-decoration: underline;
}

.login-form-container form .btn{
    display: block;
    width: 100%;
    margin: .5rem 0;
}

.login-form-container #close-login-form {
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    font-size: 3rem;
    color: var(--text-color);
    cursor: pointer;
}

















@media (max-width: 1080px){
    .container{
        margin-left: 1rem;
        margin-right: 1rem;   
    }
}
@media (max-width: 991px){
    .nav {
        padding: 15px 20px;
    }
    section {
        padding: 3rem 0 1rem;
    }
    .home-text{
        padding-left: 2rem;
    }
    .home-text h1 {
        font-size: 2.1rem;
    }
}













@media (max-width: 920px){
    #search-icon{
        color: var(--text-color);
    }
}

@media (max-width: 768px){
    .search-box input {
        padding: 25px;
    }
    .nav{
        padding: 10px 0;
    }
    #menu-icon {
        display: initial;
    }
    .navbar {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        background: url(/img/background.png);
        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{
        display: block;
        padding: 10px;
    }

    .navbar a:hover,
    .navbar .active {
        border-bottom: none;
        color: var(--main-color);
    }
    .navbar.active{
        clip-path: circle(144% at 0% 0%);
    }
    .blog-container .box{
        padding: 4px;
    }


}

@media (max-width:727px){
    .heading span{
        font-size: 0.9rem;
    }
    .heading h2 {
        font-size: 1.4rem;
    }
    .about {
        flex-direction: column-reverse;
    }
    .about-text {
        text-align: center;
    }
    .about-text h2 {
        font-size: 1.4rem;

    }
}

@media (max-width: 607px){
    .footer-container{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 360px){
    .search-box input {
        padding: 11px;
    }
    .home {
        min-height: 500px;
    }
    .home-text h1 {
        font-size: 2rem;
    }
    .home-text p br{
        display: contents;

    }

}

@media (max-width:991px){
    .contactUs{
        padding: 20px;
    }
    .Box {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-areas:
        "form"
        "info"
        "map"
        ;
    }
    .map{
        
        min-height: 300px;
    }
    .formBox .row50{
        display: flex;
        gap: 0;
        flex-direction: column;

    }
    .inputBox {
        width: 100%;
    }
}