/* Css code of Smart City Website */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html{
    width: 100%;
    height: 100%;
}
body{
    background-color: #fff;
    overflow-x: hidden;
}
/* Css for scroll bar */
body::-webkit-scrollbar {
    width: 1em;
  }
body::-webkit-scrollbar-thumb {
    background-color: rgb(169, 169, 169);
    border-radius: 5rem; 
}
.container {
    left: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 6rem;
    background-color: #fff;
    padding-left: 5rem;
    padding-right: 5rem;
    top: 0;
    border-bottom: 1px solid #ececec;
    z-index: 5;
    position: fixed;
}
.nav-links{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-left: 0;
    width: 60%;
}
.nav-links li{
    list-style: none;
    margin: 0 1rem;
}
.nav-links li a{
    position: relative;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #636363;
}
#logo-img{
    width: 18rem;
}
.active{
    color: #2487b1 !important;
}
.categories{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 2rem;
    background-color: transparent;
    padding-top: 3rem;
    padding-left: 5rem;
    padding-right: 5rem;
    position: absolute;
    top: 6rem;
}
.categories-links{
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 2rem;
}
.categories-links li{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    width: 5rem;
    height: 1.5rem;
    border-radius: 10rem;
}
.categories-links li:hover{
    cursor: pointer;
}
.categories-links li a{
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    color: #15132b;
}
.cities-container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    position: absolute;
    width: 100%;
    top: 8rem;
}
.city-box{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 22rem;
    height: 22rem;
    border-radius: 5px;
    margin-bottom: 3rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.468);
    text-align: center;
    overflow: hidden;
    transition: all 0.8s;
    transform-style: preserve-3d;
}
.cityclicked{
    width: 100%;
    height: 100%;
    position: fixed;
}
.city-box img{
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    z-index: -1;
    transition: all 0.8s ease-out;
    object-fit: cover;
}
.active-link{
    width: 5rem;
    height: 1.5rem;
    background-color: #2487b1;
    border-radius: 10rem;
}
.city-box:hover img{
    cursor: pointer;
}
.city-box:hover{
    cursor: pointer;
    transform: scale(1.5);
    z-index: 10;
}
.footer-info1{
    display: flex;
    flex-direction: column;
    height: 6rem;
    justify-content: space-between;
}
.footer-detail{
    font-size: 0.8rem;
    color: #fff;
    text-align: left;
}
.footer-info{
    width: 100%;
    height: 5rem;
    display: flex;
    justify-content: space-between;
    padding: 2rem 5rem;
}
.footer-detail{
    font-size: 0.8rem;
    color: #fff;
    font-weight: 500;
}
.footer-info2{
    width: 15rem;
    padding-right: 5rem;
}
footer{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    justify-content: center;
    width: 100%;
    height: 12rem;
    background-color: #2487b1;
}
.footer-rights{
    position: relative;
    font-weight: 500;
    color: #fff;
    font-size: 0.8rem;
    margin-top: 5rem;
}
.footer-rights::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 0.1rem;
    background-color: #1c6889;
}
.cities-box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 5rem;
}
#nav-projects::after{
    content: '';
    position: absolute;
    left: 1.2rem;
    bottom: -0.3rem;
    width: 4px; 
    height: 4px;
    border-radius: 50%;
    background-color: #2797c7;
}
#dropdown-arrow{
    width: 0.3rem;
    transform: rotate(90deg);
    margin-left: 0.3rem;
}
.service-dropdown{
    height: 21rem;
    background-color: #fff;
    border-radius: 5px;
    position: absolute;
    z-index: 5;
    margin-left: 0;
    margin-top: 23rem;
    margin-left: 7rem;
    box-shadow: 5px 5px 50px #cecece;
    display: none;
}
.service-dropdown li{
    list-style: none;
    padding: 0.5rem 0.8rem;
}
.service-dropdown li:hover{
    background-color: rgb(240, 240, 240);
}
.dropdown-link{
    text-decoration: none;
    font-size: 0.7rem;
    color: #0f0e1f;
}
.dropdown-list{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100%;
    width: 100%;
}
.dropdown-link:hover{
    color: #2797c7;
    transition: all ease-out 0.3s;
}
.toggle-dropdown{
    display: flex;
}
@media only screen and (max-width: 1000px){
    .container{
        width: 100vw;
        flex-direction: column;
        left: 0;
        top: 0;
        transform: none;
        padding: 5rem 0;
    }
    .service-dropdown{
        margin-top: 29rem;
    }
    #logo-img{
        margin-bottom: 1rem;
    }
    .nav-links{
        width: 100%;
    }
    .nav-links li{
        margin: 0.5rem;
    }
    .nav-links li a{
        display: flex;
    }
    footer{
        height: 100%;
    }
    .footer-info{
        height: 100%;
        padding: 2rem;
        flex-direction: column;
    }
    .footer-info1, .footer-info2{
        width: 100%;
        padding: 0;
    }
    .footer-info1{
        margin-bottom: 1rem;
    }
    .footer-detail{
        width: 100%;
    }
    .footer-rights{
        margin-top: 1rem;
        padding: 2rem;
    }
    .footer-rights::before{
        display: none;
    }
    .cities-box{
        padding: 0 2rem;
    }
    .city-box:hover{
        transform: scale(1);
        z-index: 0;
    }
}