@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    overflow-x: hidden;
}
a{
    text-decoration: none;
}
p{
    font-size: 14px;
    line-height: 1.8;
    font-weight: 300;
}
h2{
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 15px;
}
ul{
    list-style: none;
    padding: 0;
}
::placeholder{
    font-size: 14px;
}
body{
    font-family: 'Poppins', sans-serif;
}
:root{
    --header-height:3.5rem;
    --main-color: #1f5b5b;
    --first-color:hsl(220,68%,97%);
    --first-color-lighten:hsl(220,68%,97%);
    --title-color:hsl(220,48%,28%);
    --text-color:hsl(220,12%,45%);
    --body-color:hsl(220,100%,99%);
    /*--primary-color:#2454CF;*/
     --primary-color:#1a25ab; 
    --secondary-color:#fa4238;
    /* --secondary-color:#E01E24; */


    --normal-font-size:.938rem;
    --small-font-size:.813rem;
    --smaller-font-size:.75rem;


    --primary-shadow: 0 2px 8px hsla(220, 68%, 12%, .1);

}

.main_padding{
    padding: 70px 0;
}
.section_title{
    font-size: 35px;
    font-weight: 600;
    text-align: center;
}
.sell-btn{
    background-color: #fff;
    border: 1px solid var(--main-color);
    padding: 8px 20px;
    border-radius: 20px;
    color: #000;
}
.sell-btn:hover{
    color: #000;
}


/* .header_top{
    background: var(--primary-color);
    height: 40px;
    padding: 6px 0;
}
.header_top .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header_top .email-phone{
    display: flex;
    gap: 20px;
}
.header_top .email-phone a{
    display: inline-flex;
    gap: 5px;
    color: #fff;
}
.header_top .social-icons a{
    display: inline-flex;
    gap: 5px;
    color: #fff;
}
.header_top .social-icons{
    display: flex;
    gap: 10px;
} */



nav.active{
    visibility: visible;
    transform: translateX(300px);
  }



nav {
    background: #fff;
    /* position: fixed; */
    width: 100%;
    /* z-index: 999; */
    height: 60px;
    line-height: 60px;
    box-shadow: var(--primary-shadow);
}

nav .wrapper {
    position: relative;
   
    /* margin: auto; */
    display: flex;
    align-items: center;
    justify-content: space-between;
}
nav .fas{
    font-size: 12px;
}
.wrapper .logo{
    width: 120px;
}

.wrapper .nav-links {
    display: inline-flex;
    margin-bottom: 0;
}

.nav-links li a {
    color: #000;
    text-decoration: none;
    padding: 9px 15px;
    font-size: 14px;
}

.nav-links .drop-menu {
    background-color: #fff;
    width: 320px;
    top: 60px;
    line-height: 45px;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--primary-shadow);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.nav-links .padding_dropdown_menu{
    padding: 10px 10px 30px;
}
.search_city {
    position: relative;
    margin-bottom: 10px;
}
.search_city input{
    border-radius: 50px;
}
.search_city input:focus{
    box-shadow: none;
    outline: none;
}
.search_city i{
    position: absolute;
    top: -3px;
    right: 10px;
}
.search_city_div p{
    font-weight: 500;
}
.search_city_div .top_city{
    display: flex;
    flex-wrap: wrap;
    column-gap: 5px;
    row-gap: 15px;
    line-height: 1;
}
.search_city_div .top_city li{
    background: #fff;
    border: 1px solid var(--main-color);
    padding: 6px 20px;
    font-size: 14px;
    border-radius: 50px !important;
    cursor: pointer;
}

.rent_property_menu{
    display: flex;
    flex-direction: column;
    gap: 0;
}
.rent_property_menu a{
    font-size: 14px;
    margin-bottom: 0 !important;
    padding: 0 !important;
    line-height: 30px;
}

.more_service_menu{
    width: 200px !important;
}
.more_service_menu ul li{
    padding:0px 10px;
    font-size:14px;
}

.nav-links li:hover .cust_drop-menu{
    z-index: 100 !important;
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
    z-index: 9999;
    /* top: 100px; */
    opacity: 1;
    visibility: visible;
    transition: all .3s ease;
}
.drop-menu li:last-child{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.drop-menu li:hover{
    background-color: #f7f7f7;
}
.drop-menu li a {
    width: 100%;
    display: block;
    padding: 0 0 0 15px;
    font-weight: 400;
}
.mega-box{
    position: absolute;
    top: 60px;
    background-color: #fff;
    width: 80%;
    left: 10%;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;  
    box-shadow: var(--primary-shadow);
    
}

.new_project_mega_box h6 a{
    text-transform: uppercase;
}

.mega-box .content{
    background-color: #fff;
    padding: 20px 50px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 50px;
    width: 100%;
    justify-content: space-between;
}
.mega-box .content a{
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    padding: 0;
    margin-bottom: 15px;
    transition: all .4s ease;
    cursor:pointer;
}
.mega-box .content a:hover{
    text-decoration: underline;
}
.mega-box .header-img{
    width:100%;
    height:200px;
    margin-bottom: 10px;
}
.mega-box img{
    /* display: none; */
    height: 100%;
    width:100%;
    
    object-fit: cover;
}
/* .mega-box .content .row{
    width: calc(25% - 30px);
    line-height: 45px;
} */
.nav-links .mobile-item{
    display: none;
}

.wrapper .btn{
    color: var(--primary-color);
    font-size: 26px;
    cursor: pointer;
    display: none;
}
.wrapper .btn.cancel-btn{
    position: absolute;
    right: 5px;
    top: 12px;
}

@media screen and (max-width:970px){
    .wrapper .btn{
        display: block;
    }
    .wrapper .nav-links{
        position: fixed;
        height: 100vh;
        width: 100%;
        max-width: 350px;
        background-color: #fff;
        display: block;
        top: 0;
        left: -100%;
        line-height: 50px;
        overflow-y: auto;
        padding: 50px 10px;
        box-shadow: 0 15px 15px rgba(0,0,0,0.15);
        transition: all .3s ease;
        z-index: 99999;
    }

    #menu-btn:checked ~ .nav-links{
        left: 0%;
    }
    #menu-btn:checked ~ .btn.menu-btn{
        display: none;
    }

    .nav-links::-webkit-scrollbar{
        width: 0px;
    }
    .nav-links li{
        margin: 15px 10px;
    }
    .nav-links li a{
        padding: 0 20px;
        display: block;
        font-size: 20px;
    }
    .nav-links .drop-menu{
        position: static;
        opacity: 1;
        visibility: visible;
        top: 65px;
        /* padding-left: 20px; */
        width: 100%;
        max-height: 0px;
        overflow: hidden;
        transition: all .3s ease;
    }
    #showCity:checked ~ .drop-menu,
    #showRent:checked ~ .drop-menu,
    #showProjects:checked ~ .mega-box,
    #showMoreService:checked ~ .drop-menu{
        max-height: 100%;
    }
    .nav-links .drop-menu li{
        margin: 0;
    }
    .nav-links .drop-menu li a{
        font-size: 18px;
        border-radius: 5px;
    }
    .nav-links .desktop-item{
        display: none;
    }
    .nav-links .mobile-item{
        display: block;
        font-size: 20px;
        color: #000;
        /* padding-left: 20px; */
        cursor: pointer;
        border-radius: 5px;
        transition: all .3s ease;
    }

    .mega-box{
        position: static;
        top: 65px;
        width: 100%;
        opacity: 1;
        visibility: visible;
        max-height: 0px;
        overflow: hidden;
        transition: all .3s ease;
    }
    .mega-box .content{
        grid-template-columns: 1fr;
        padding: 20px 20px 0 20px;
    }
    .mega-box .content .row{
        width: 100%;
        margin-bottom: 15px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
}
.wrapper input{
    display: none;
}
.wrapper .search_input{
    display: block !important;
}