*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: poppins;
    scroll-behavior: smooth;
}
:root{
    --black:#333;
    --white:#fff;
    --light-color:#666;
    --main-color:#864AF9;
}

/* start-headre */
.head{
    display: flex;
    position: fixed;
    z-index: 5;
    top: 0;left: 0;right: 0;
    background-color: #fff;
    align-items: center;
    justify-content: space-between;
    padding: 30px 80px 15px;
    box-shadow: 0 0 10px #999;
}
@media (max-width:992px){
    .head{
        justify-content: center;
        padding: 20px 50px;
        flex-wrap: wrap;
    }
}
.head .logo h1{
    font-size: 40px;
    font-weight: 800;
    color: var(--black);
}
@media (max-width:992px) {
    .head .logo h1 {
    font-size: 35px
    }
}
.head .logo span{
    color: var(--main-color);
}
.head .navbar a{
    margin: 0 15px;
    color: var(--black);
    padding: 10px;
    border-bottom: solid 2px transparent;
    transition: .3s;
}

@media (max-width:992px) {
    .head .navbar a {
        margin: 0 5px;
    }
    .head .navbar{
        margin: 0 auto;
        }
}
@media (max-width:450px){
    .head .navbar a {
        font-size: 15px;
        padding: 4px;
    }
}
.head .navbar a:hover{
    border-color: var(--main-color);
}
.head .btn{
    background-color: var(--main-color);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 18px;
    transition: .3s;
    box-shadow: 0 5px 10px #999;
    border-radius: 20px;
}
@media (max-width:767px) {
    .head .btn {
        display: none;
    }
}
.head .btn:hover{
    border-radius: 0;
    transform: scale(1.1);
}
/* end-headre */
/* start-home */
.home{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
}
@media (max-width:992px){
    .home{
        flex-direction: column-reverse;
    }
}
.home .text{
    flex-basis: 50%;
    display: flex;
    align-items: start;
    flex-flow: column;
    padding-left: 40px;
}
@media (max-width:992px) {
    .home .text {
        width: 100%;
    }
}
.home .text h2{
    font-size: 35px;
}
@media (max-width:767px) {
    .home .text h2 {
        font-size: 25px;
    }
}
.home .text span{
    color: var(--main-color);
}
.home .text p{
    line-height: 2;
    color: var(--light-color);
    margin: 20px 0;
}
@media (max-width:767px) {
    .home .text p{
    line-height: 1.5;
    font-size: 15px;
    margin: 20px 0;
    }
}
.home .image{
    flex-basis: 50%;
}
@media (max-width:992px) {
    .home .image {
        width: 100%;
    }
}
.home img{
    height: 400px;
    width: 100%;
    object-fit: cover;
}
@media (max-width:600px) {
    .home img {
        height: 250px;
        margin-top: 70px;
    }
}
.home .btn {
    background-color: var(--main-color);
    color: white;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 18px;
    transition: .3s;
    box-shadow: 0 5px 10px #999;
    border-radius: 0;
}

.home .btn:hover {
    padding-right: 50px;
}

/* end-home */
/* start-cars */
.cars{
    text-align: center;
    padding: 0 20px 20px;
}
.cars h2{
    color: var(--main-color);
    font-size: 30px;
}
.cars h3{
    font-size: 35px;
    margin: 20px 0;
}
.cars p:last-of-type{
    color: var(--light-color);
    font-size: 14px;
}
.cars .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(350px,1fr));
    gap: 30px;
    margin-top: 40px;
}
.cars .box-container .box{
    position: relative;
    transition: .3s;
}
.cars .box-container .box:hover{
    scale: 1.05;
}
.cars .box-container .box .btn{
    position: absolute;
    left: 20px;
    bottom: 20px;
    background-color: var(--black);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    transition: .3s;
}
.cars .box-container .box:hover a{
    background-color: var(--main-color);
}
.cars .box-container .box img{
    position: relative;
    width:100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 0 10px #999;
}
/* end-cars */
/* start-about */
.about{
    padding: 50px 20px;
    text-align: center;
}
.about h2{
    color: var(--main-color);
    font-size: 30px;
}
@media (max-width:767px){
    .about img{
        width: 400px;
    }
}
.about .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 80px;
}
@media (max-width:1070px) {
    .about .container{
        flex-direction: column;
    }
}
.about .container .text{
    flex-basis: 50%;
    text-align: left;
}
@media (max-width:1070px) {
    .about .container .text {
    text-align: center;
    }
}
.about .container .text h1{
    font-size: 50px;
}
@media (max-width:767px){
    .about .container .text h1 {
            font-size: 40px;
        }
}
.about .container .text p{
    margin: 30px 0;
    color: var(--light-color);
}
.about .container .text .btn{
    color: white;
    background-color: var(--main-color);
    padding: 20px 25px;
    margin-top: 10px;
    border: solid 1px transparent;
    display: block;
    width: fit-content;
    transition: .3s;
}
.about .container .text .btn:hover{
    border-color: var(--main-color);
    background-color: transparent;
    color: black;
}
/* end-about */
/* start-reviwe */
.reviwe{
    text-align: center;
    padding:0 80px;
    margin: 100px 0;
}
@media (max-width:767px) {
    .reviwe{
        padding: 0 20px;
    }
}
.reviwe h2{
    color: var(--main-color);
    font-size: 30px;
}
.reviwe p{
    margin: 30px 0;
    color: var(--light-color);
}
.reviwe .box-content{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(350px,1fr));
    gap: 20px;
    margin-top: 50px;
}
.reviwe .box-content .box{
    background-color: var(--black);
    color: white;
    padding: 40px;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 0 10px #999;
}
.reviwe .box-content .box:hover{
    background-color: var(--main-color);
}
.reviwe .box-content .box:hover img {
    scale: 1.1;
}
.reviwe .box-content .box img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: solid 1px white;
    border-radius: 50%;
    transition: .3s;
}
.reviwe .box-content .box h4{
    font-size: 20px;
    margin-top: 10px;
}
.reviwe .box-content .box p{
    color: white;
    font-size: 14px;
}
.reviwe .box-content .box i{
    color: gold;
}
/* end-reviwe */
/* start-footer */
.footer{
    background-color: var(--black);
    padding: 20px 10px;
}
.footer .box-container{
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-wrap: wrap;
}
.footer .box-container .logo h1{
    font-size: 40px;
}
.footer .box-container .logo span{
    color: var(--main-color);
}
.footer .box-container .social i{
    font-size: 20px;
    color: white;
    margin: 20px 10px;
    cursor: pointer;
    transition: .3s;
}
.footer .box-container .social i:hover{
    color: var(--main-color);
}
.footer .box-container .box{
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: start;
    flex-basis: 22%;
}
.footer .box-container .box h3{
    font-size: 25px;
    color: white;
}
.footer .box-container .box a{
    color: #999;
    margin: 5px 0;
    transition: .3s;
}
.footer .box-container .box a:hover{
    color: var(--main-color);
    text-decoration: underline;
    margin-left: 5px;
}
.footer p:last-of-type{
    text-align: center;
    margin-top: 10px;
    color: white;
    letter-spacing: 1.1px;
}
.footer i:last-of-type{
    margin-right: 5px;
}
/* end-footer */
