@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    height: 100%;
    width: 100%;
}
.page1{
    height: 100vh;
    width: 100%;
}
nav{
    width: 100%;
    height: 60px;
    background-color: rgb(13, 13, 37);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 10px 50px;
    position: fixed;
    z-index: 9999999;
    
}
nav h1 a{
    color: white;
    text-decoration: none;
}
nav .explore{
    padding: 10px 10px;
    background-color:#C96868;
    border-radius: 50px;
    border: none;
    font-size: 15px;
    color: white;
    transition: 0.5s;
}

.navelem ul li{
    display: inline-block;
    color: white;
    padding:5px 10px;
    border: 1px solid white;
    border-radius: 50px;
    gap: 30px;
    transition: 0.5s;
    z-index: 99999;
    
    

    
}

.navelem ul li a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 10px;
    z-index: 999999;

}
.navelem ul li:hover{
    border: 2px solid white;
    background-color: white;
    z-index: 99999;
    
}
.navelem ul li a:hover{
    color: black;
    background-color: transparent;
    z-index: 99999;
}
.space{
    width: 5%;
}
nav .explore:hover{
    background-color: #FD8B51;
}
ul li {
    position: relative; /* Ensures the dropdown is positioned relative to the parent li */
}

.dropdown {
    display: none;
    position: absolute;
    margin-top: 5px;
    top: 100%; /* Makes sure it appears just below the parent menu item */
    left: 0;
    background-color:  rgb(13, 13, 37);
    z-index: 1; /* Ensures the dropdown is on top */
    padding: 10px 0;
    border-radius: 10px;
}

ul li:hover .dropdown, 
.dropdown:hover {
    display: block; /* Keeps the dropdown visible when hovering over it */
}

.dropdown ul {
    margin: 0;
    padding: 0;
}

.dropdown ul li {
    display: block;
    margin: 10px 0;
    border: none;
    white-space: nowrap;
}
.dropdown ul li:hover{
    background-color:white;
    border-radius:0%;
    
}
/* /* ---------------------------------- */
ul li {
    position: relative; /* Ensures the dropdown is positioned relative to the parent li */
}

.dropdown1 {
    display: none;
    position: absolute;
    margin-top: 5px;
    top: 100%; /* Makes sure it appears just below the parent menu item */
    left: 0;
    background-color:  rgb(13, 13, 37);
    z-index: 1; /* Ensures the dropdown is on top */
    padding: 10px 0;
    border-radius: 10px;
}

ul li:hover .dropdown1, 
.dropdown11:hover {
    display: block; /* Keeps the dropdown visible when hovering over it */
}

.dropdown1 ul {
    margin: 10px;
    padding: 0;
}

.dropdown1 ul li {
    display: block;
    margin: 10px 0;
    border: none;
    white-space: nowrap;
    
}
.dropdown1 ul li:hover{
    background-color:white;
    border-radius:0%;
    color: black;
} 
#menu-icon{
    position: absolute;
    right: 3%;
    font-size: 20px;
    padding: 5px 10px;
    background-color: #C96868;
    color: white;
    border: none;
}
/* ////////////////////////////media queries and side bar//////////// */
.sidebar {
    position: fixed;
    top: 0;
    right: -250px; /* Initially off-screen */
    width: 250px;
    height: 100vh;
    background-color: rgb(13, 13, 37);
    transition: right 0.3s ease; /* Smooth transition */
    z-index: 9999;
    padding: 20px; /* Add some padding */
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 20px 0; /* Space between items */
    color: white;
    
}
.sidebar ul li:hover {
   
    color: black;
    
}

.sidebar ul li a{
    color: white;
    text-decoration: none;
}

.sidebar.open {
    right: 0; /* Move sidebar into view */
}
.sidebar .explore{
    padding: 5px 5px;
    background-color:#C96868;
    border-radius: 50px;
    border: none;
    font-size: 15px;
    color: white;
    transition: 0.5s;
}
/* Media Queries */
@media (max-width: 1024px) {
    .navelem {
        display: none; /* Hide horizontal navigation on small screens */
    }

    .sidebar {
        width: 200px; /* Adjust sidebar width for smaller screens */
        z-index:99999;
    }

    .sidebar.open {
        right: 0; /* Ensure sidebar is visible */
    }

    nav {
        padding: 10px; /* Adjust padding for smaller screens */
    }

    nav h1 {
        font-size: 18px; /* Adjust font size for smaller screens */
    }

    nav .explore {
        font-size: 20px; /* Adjust button size for smaller screens */
        display: none;
    }
   
}
/* ========================== */
.hero{
    height: 100vh;
    width: 100%;
    background-image: url(sky.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow-x: hidden;
}
.highway{
    height: 200px;
    width: 500%;
    display: block;
    background-image: url(road.jpg);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-repeat: repeat-x;
    animation: highway 5s linear infinite;
}
@keyframes highway{
    100%{
        transform: translateX(-3400px);
    }
}
.city{
    height: 250px;
    width: 500%;
    background-image: url(city.png);
    position: absolute;
    bottom: 200px;
    left: 0;
    right: 0;
    display: block;
    background-repeat: repeat-x;
    animation: city 20s linear infinite;
}
@keyframes city{
    100%{
        transform: translateX(-1400px);
    }
}
.car{
    width: 400px;
    left: 50%;
    bottom: 100px;
    transform: translateX(-50%);
    position: absolute;
    z-index: 2;
}
.car img{
    width: 100%;
    animation: car 1s linear infinite;
}
@keyframes car {
    100%{
        transform: translateY(-1px);

    }
    50%{
        transform: translateY(1px);
    }
    0%{
        transform: translateY(-1px);
    }
    
}
.wheel{
    left: 52%;
    bottom: 178px;
    transform: translateX(-50%);
    position: absolute;
    z-index: 2;
}
.wheel img{
    height: 72px;
    width: 72px;
    animation: wheel 1s linear infinite;
}
.backwheel{
    left: -155px;
    position: absolute;
}
.frontwheel{
    left: 80px;
    position: absolute;
}
@keyframes wheel {
    100%{
        transform: rotate(360deg);
    }
}
/* ============================================= */
@media (max-width: 1024px) {
    .hero {
        height: 80vh;
    }
    .highway {
        height: 150px;
        animation: highway 6s linear infinite;
    }
    .city {
        height: 200px;
        bottom: 150px;
        animation: city 25s linear infinite;
    }
    .car {
        width: 300px;
        bottom: 80px;
    }
    .wheel img {
        height: 60px;
        width: 60px;
        display: none;
    }
}

/* Mobile Landscape (480px - 768px) */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }
    .highway {
        height: 120px;
        width: 550%;
        animation: highway 8s linear infinite;
    }
    .city {
        height: 150px;
        bottom: 120px;
        animation: city 30s linear infinite;
    }
    .car {
        width: 250px;
        bottom: 60px;
    }
    .wheel img {
        height: 50px;
        width: 50px;
        display: none;
    }
}

/* Mobile Portrait (up to 480px) */
@media (max-width: 480px) {
    .hero {
        height: 60vh;
        width: 150%;
        /* background-color: red; */
    }
    .highway {
        height: 100px;
        width: 1000%;
        animation: highway 10s linear infinite;
    }
    .city {
        height: 120px;
        bottom: 100px;
        animation: city 35s linear infinite;
    }
    .car {
        width: 200px;
        bottom: 50px;
    }
    .wheel img {
        height: 40px;
        width: 40px;
        display: none;
    }
}


/* ================================== */
.page2{
    height: 100vh;
    width: 100%;
    background-color: rgb(104, 102, 102);
    position:relative;
}
.content{
    height: 96%;
    width: 98%;
    background-color: white;
    position: absolute;
    top: 2%;
    left: 1%;
}
.content p{
    font-size: 25px;
    padding: 20px 20px;
    font-family: "Dosis", sans-serif;
}
@media (max-width: 1024px) {
    .content {
        height: 94%;
        width: 96%;
        top: 3%;
        left: 2%;
    }
    .content p {
        font-size: 22px;
        padding: 18px;
    }
}

/* Mobile Landscape (480px - 768px) */
@media (max-width: 768px) {
    .content {
        height: 92%;
        width: 94%;
        top: 4%;
        left: 3%;
    }
    .content p {
        font-size: 20px;
        padding: 15px;
    }
}

/* Mobile Portrait (up to 480px) */
@media (max-width: 480px) {
    .page2{
        width: 200%;
    }
    .content {
        height: 90%;
        width: 92%;
        top: 5%;
        left: 4%;
    }
    .content p {
        font-size: 18px;
        padding: 10px;
    }
}
/* =========================================================== */
.page11{
    min-height: 50vh;
    width:100% ;
    background-color: #111;
    position: relative;
}
.page11topdiv{
    height: 100px;
    width: 100%;
    /* background-color: red; */
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page11topdiv i{
    font-size: 40px;
    padding:0 20px;
    color: grey;
}
.page11 .line1{
    height: 3px;
    width:27%;
    background-color: grey;
    position: absolute;
    left: 3%
}
.page11 .line2{
    height: 3px;
    width:27%;
    background-color: grey;
    position: absolute;
    right: 3%
}
.page11center{
    height: 120px;
    width: 400px;
    /* background-color: red; */
    position: absolute;
    top: 25%;
    left: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page11center h2{
    font-size: 30px;
    padding-top: 10px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(233, 233, 233);
}
.page11center p{
    position: absolute;
    bottom:0%;
    font-size: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;

}
.page11bottom{
    height: 40px;
    width: 100%;
    /* background-color: red; */
    position: absolute;
    top:70% ;
    display: flex;
    align-items: center;
    justify-content: center;

}
.page11bottom a{
    padding-left:30px;
    padding-right: 30px;
    font-size: 18px;
    /* text-decoration: none; */
    /* border: 1px solid white; */
    border-right: 1px solid white;
    /* padding-top: 5px; */
    color: white;
    font-family: "Josefin Sans", sans-serif;
    

}
.myname{
    height: 20px;
    width: 100%;
    background-color: grey;
    position: absolute;
    bottom:5%;
    display: flex;
    align-items: center;
    justify-content: center;

}
#facebook:hover{
    color: #316FF6;
    /* background-color: white; */
    scale: 1.2;
    
}
#twitter:hover{
    color: #1DA1F2;
    scale: 1.2;
}
#youtube:hover{
    color: #CD201F;
    scale: 1.2;
}
#instagram:hover{
    color:#e1306c;
    scale:1.2

}
#tiktok:hover{
    color:#ff0050;
    scale:1.2

}
#linkedin:hover{
    color: #0a66c2;
    scale: 1.2;
}
/* //////////////////////////////// */
/* media queries for last footer */
/* For tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .page11{
        position: relative;
        /* top: 0%; */
    }
    .page11topdiv {
        height: 80px; /* Smaller height */
    }

    .page11topdiv i {
        font-size: 30px; /* Smaller icon size */
    }

    .page11 .line1, .page11 .line2 {
        width: 20%; /* Adjust the width of the lines */
    }

    .page11center {
        top: 30%; /* Center text position */
        left: 30%; /* Slightly centered */
        width: 50%; /* Reduced width for better responsiveness */
    }

    .page11center h2 {
        font-size: 24px; /* Slightly smaller heading size */
    }

    .page11center p {
        font-size: 14px; /* Smaller paragraph size */
    }

    .page11bottom {
        height: 30px; /* Smaller height for bottom div */
    }

    .page11bottom a {
        font-size: 16px; /* Smaller link font size */
        padding: 10px; /* Adjusted padding */
    }

    .myname {
        font-size: 12px; /* Smaller footer text size */
    }
    .page11 .line1{
        display: none;
    }
    .page11 .line2{
        display: none;
    }
}

/* For mobile phones (480px and below) */
@media (max-width: 769px) {
    .page11topdiv {
        height: 60px; /* More compact height */
    }

    .page11topdiv i {
        font-size: 25px; /* Smaller icon size */
    }

    .page11 .line1, .page11 .line2 {
        width: 15%; /* Shorter line width for mobile */
    }

    .page11center {
        top: 35%; /* Adjust center position */
        left: 15%; /* Keep it centered */
        width: 70%; /* Reduced width for mobile */
    }

    .page11center h2 {
        font-size: 20px; /* Smaller heading size */
    }

    .page11center p {
        font-size: 12px; /* Smaller paragraph size */
    }

    .page11bottom {
        height: 25px; /* Reduced height */
    }

    .page11bottom a {
        font-size: 14px; /* Smaller link font */
        padding: 5px; /* Adjusted padding */
    }

    .myname {
        font-size: 10px; /* Reduced footer text size */
    }
    .page11 .line1{
        display: none;
    }
    .page11 .line2{
        display: none;
    }
    .page11{
        position: absolute;
        width: 150%;
        /* top: 270%; */
    }
}