* {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(255, 255, 255, 0.01), rgba(0, 0, 0, 1)), url(Images/bg11.webp);
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

nav {
    display: flex;
    padding: 0.5% 6%;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

nav img {
    width: 70%;
    border-radius: 500px;

}

.nav-links {
    flex: 1;
    text-align: right;

}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 5px 10px;
    position: relative;

}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #1F338E;
    display: block;
    margin: auto;
    transition: 0.5s;
}



.nav-links ul li:hover::after {
    width: 100%;

}



.text-box {
    width: 60%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
}



.text-box h1 {
    font-size: 80px;
    font-weight: 700;
    transition: 5s;
}

.text-box p {
    margin: 5px 0px 40px;
    font-size: 30px;
    font-weight: 400;
    color: #fff;
    line-height: 1;
    transition: 5s;

}

.hero-btn {
    bottom: 20px;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 3px solid #fff;
    padding: 12px 34px;
    font-size: 15px;
    font-weight: 500;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid #1F338E;
    background: #1F338E;
    transition: 1s;

}

nav .fa {
    display: none;
}

@media(max-width: 700px) {


    .text-box h1 {
        font-size: 50px;
        transition: 5s;
    }

    .text-box p {
        font-size: 20px;
        transition: 5s;
    }


    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: absolute;
        background: #1F338E;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;

        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;

    }

    .nav-links ul {
        padding: 30px;

    }

    nav img {
        width: 90px;
        padding-top: 12px;
    }


}

@media(max-width: 1200px) {

    .text-box h1 {
        font-size: 70px;
        transition: 5s;
    }

    .text-box p {
        font-size: 25px;
        transition: 5s;
    }


}

@media(max-width: 600px) {

    .text-box h1 {
        font-size: 50px;
        transition: 5s;
    }

    .text-box p {
        font-size: 20px;
        transition: 5s;
    }


}

/*------- ABOUT US ------*/
.aboutUs {
    min-height: 100vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
    text-align: center;

    background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 1)), url(Images/aboutUs.jpg);
}

.aboutUs #circle1 {
    width: 300px;
    height: 300px;
    position: absolute;
    top: 45%;
    left: 30%;
    transform: translate(-50%, -50%);
    text-align: center;
    border-radius: 50%;
    background-color: black;
    box-shadow: 0 0 20px 0 #1F338E;
    transition: 2s;

}

.aboutUs #circle2 {
    width: 300px;
    height: 300px;
    position: absolute;
    top: 65%;
    left: 30%;
    transform: translate(-50%, -50%);
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 20px 0 #1F338E;
    background-image: url(Images/Asset3.png);
    background-position: center;
    background-size: cover;
    transition: 2s;
}

.aboutUs #aboutUsInfo {
    border: 2px solid black;
    width: 35%;
    height: 55%;
    position: absolute;
    top: 55%;
    left: 70%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: transparent;
    box-shadow: 0 0 20px 0 #1F338E;
    background-image: url(Images/aboutUs2.webp);
    background-position: center;
    background-size: cover;
    color: transparent;
    transition: 2s;
}

#Switch {
    text-align: center;
    color: white;
    --width: 30px;
    --height: 20px;
    --thumb-size: 15px;
    font-size: 14px;
    padding: 8px;
    background: black;
    border-radius: 15px;
    box-shadow: 0 0 40px 0 #1F338E;

}

#pAbout {
    font-weight: 300;
    color: transparent;
}

#h3About {
    margin-top: 10%;
    font-weight: 400;
    color: transparent;
    font-size: 20px;
    transition: 2s;
}

#circle1 h3 {
    margin-top: 10%;
    color: #999;
    font-weight: 400;
    transition: 2s;
}

#circle1 p {
    font-size: 13px;
    color: #999;
    font-weight: 300;
    transition: 2s;
}


.aboutUs h1,
.galleryRotate h1,
.contact h1,
.prototype h1 {
    color: white;
    padding-top: 50px;
    font-size: 36px;
    font-weight: 400;
}



.aboutUs p,
.galleryRotate p,
.contact p,
.prototype p {
    color: #FAF9F6;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.text-box2 p {
    color: #444444;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-around;

}


.aboutUs-col p {
    font-size: 14px;
    font-weight: 600;
}

.aboutUs-col {
    flex-basis: 45%;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    border: 3px solid #444444;
    border-radius: 40%;
}

h3 {
    text-align: center;
    font-weight: 700;
    margin: 0;
    color: #444444;
}

.aboutUs-col:hover {
    background: #F5F5F4;

}

@media(max-width: 700px) {
    .row {

        flex-direction: column;
        margin: 25px;

    }

    .text-box2 {
        top: 60%;
    }

}

@media(max-width: 800px) {

    .aboutUs #circle1,
    .aboutUs #circle2 {
        width: 200px;
        height: 200px
    }

    #circle1 h3 {
        margin-top: 15%;
        font-weight: 500;
        color: white;
        font-size: 12px;
    }

    #circle1 p {
        font-size: 10px;
        color: white;
        font-weight: 200;
    }

    .aboutUs #aboutUsInfo {
        width: 200px;
        height: 45%;
        left: 72%;

    }

    .aboutUs p,
    .aboutUs h3 {
        font-size: 12px;
    }
}

/*----------3D Model--------*/
.prototype {
    min-height: 100vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 1)), url(Images/contact.jpg);
}


.prototype #prototype1 img#carBackground,
.prototype #prototype2 img#carBackground2 {
    position: absolute;
    width: 35%;
    height: 80%;

    object-fit: cover;
    border-radius: 5%;
    -webkit-box-reflect: below 15px linear-gradient(transparent, transparent, #0004);
    opacity: 0.5;
    transition: 1s;

}

.prototype #prototype1 img#carBackground {
    top: 20%;
    left: 10%;
}

.prototype #prototype2 img#carBackground2 {
    top: 20%;
    left: 55%;
}

#prototype1 img#carBackground:hover {
    opacity: 1;
    border-radius: 0;
    transition: 1s;
    width: 80%;

}

#prototype2 img#carBackground2:hover {
    opacity: 1;
    border-radius: 0;
    transition: 1s;
    width: 80%;
    left: 10%;


}

/*---------- Gallery--------*/
.galleryRotate h1 {
    position: absolute;
    top: 0%;
    color: white;
}

.galleryRotate p {
    position: absolute;
    top: 15%;
    width: 70%;
    font-style: italic;
    font-size: 16px;
    font-weight: 200;
    text-align: center;
    color: white;
}

.galleryRotate {

    display: flex;
    min-height: 100vh;
    background: black;
    justify-content: center;
    padding-top: 25%;
    background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 1)), url(Images/galleryRotate.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.text-box3 {
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: animate 40s linear infinite;

}

@keyframes animate {
    0% {
        transform: perspective(1000px) rotateY(0deg);
    }

    100% {
        transform: perspective(1000px) rotateY(360deg);
    }
}



.text-box3 span {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(350px);
    -webkit-box-reflect: below 0px linear-gradient(transparent, transparent, #0004);
    transition: 3s;

}

.text-box3 span img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: 3s;


}

.text-box3 span:hover img {

    transform: translateY(-50px) scale(1.2);

}

@media(max-width: 900px) {
    .text-box3 span {
        top: 100%;
        left: 0%;
        transform: rotateY(calc(var(--i) * 45deg)) translateZ(220px);
        width: 75%;
        height: 100%;
        transition: 3s;
    }

    .galleryRotate p {
        font-size: 14px;
    }
}

@media(max-width: 700px) {
    .text-box3 span {
        top: 140%;
        left: 0%;
        transform: rotateY(calc(var(--i) * 45deg)) translateZ(200px);
        width: 90%;
        height: 90%;
        transition: 3s;
    }

    .galleryRotate p {
        font-size: 12px;
    }
}

@media(max-width: 500px) {
    .text-box3 span {
        top: 150%;
        left: 0%;
        transform: rotateY(calc(var(--i) * 45deg)) translateZ(150px);
        width: 50%;
        height: 50%;
        transition: 3s;
    }
}


/* ------- CONTACT ------ */


.contact {
    position: absolute;
    min-height: 100vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 1)), url(Images/contact.jpg);
}

.contact h1 {
    text-align: center;
}


.form-box {
    width: 380px;
    height: 480px;
    position: relative;
    margin: 6% auto;
    background: #333;
    padding: 5px;
    overflow: hidden;

}

.button-box {
    width: 240px;
    margin: 35px auto;
    position: relative;
    box-shadow: 0 0 20px 9px #1F338E;
    border-radius: 30px;
    text-align: center;

}

.toggle-btn {
    padding: 10px 30px;
    cursor: pointer;
    background: transparent;
    border: 0;
    outline: none;
    position: relative;
    color: #fff;


}

#btn {
    top: 0;
    left: 0;
    position: absolute;
    width: 120px;
    height: 100%;
    background: linear-gradient(to right, #000, #1F338E);
    border-radius: 30px;
    transition: .5s;

}

.social-icons {
    margin: 30px auto;
    text-align: center;

}

.social-icons .fa {
    color: cyan;
    padding-top: 6px;
    width: 30px;
    height: 30px;
    margin: 0 12px;
    cursor: pointer;
    box-shadow: 0 0 20px 0 #1F338E;
    border-radius: 30%;
    background: linear-gradient(to right, #1F338E, #000);

}

.input-group {
    top: 180px;
    position: absolute;
    width: 280px;
    transition: .5s;
}

.input-field {
    width: 100%;
    padding: 10px 0;
    margin: 5px 0;
    border-left: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid #999;
    outline: none;
    background: transparent;
    color: white;
    font-weight: 500;
}

.submit-btn {
    width: 45%;
    padding: 10px 30px;
    cursor: pointer;
    display: block;
    margin: auto;
    margin-top: 3px;
    background: linear-gradient(to left, #1F338E, #000);
    border: 0;
    outline: none;
    border-radius: 30px;
    color: white;
}

.check-box {
    margin: 30px 10px 30px 0;

}

.input-group span {
    color: #777;
    font-size: 12px;
    bottom: 68px;
    position: absolute;
    font-weight: 500;

}

#contactForm {
    left: 50px;
}

#contactForm .submit-btn {
    margin-top: 30px;
}

#subscribeForm {
    left: 450px;
}




/*--- Back to top button ---*/
.back-to-top {
    position: fixed;
    bottom: 3%;
    right: 3%;
    z-index: 10000;
}

.up-icon {
    width: 55px;
    height: 55px;
    cursor: pointer;
    box-shadow: 0 0 50px 0 white;
    border-radius: 50%;
    background: linear-gradient(#1F338E, #000, #1F338E);

}

.back-to-top .fa {
    font-size: 40px;
    padding-left: 15px;
    padding-top: 6px;
    color: white;

}

/*--- Back to top tooltip ---*/
#tooltip {
    cursor: pointer;
    padding: 7px;
    font-size: 14px;
}
