*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}
html{
    scroll-behavior: smooth;
}

header{ 
    background-color: #060608;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;  
}

.logo{
    position: absolute; 
}

.logo img{ 
    width: 30px;
}

header li{
    display: inline-block;
}
header li a{
    position: relative;
    display: inline-block;
    text-decoration: none;
    padding: 15px;
    color: #fff;
    text-shadow: #000 0.1em 0.2em 0.2em ; 
    font-size: 17px;
    /* font-weight: lighter; */
    letter-spacing: 1.7px;
    z-index: 5;
}

header li a::after{
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 0;
    top: 0; 
    left: 0;
    right: 0;
    border-radius: 5px;
    background-color: #061f5e;
    opacity: .4;
    transition: .4s;
}

header li a:hover::after{
    content: ""; 
    width: 100%; 
    height: 48px 
}
header li a:hover{
    color: #f9bf9b;
    text-shadow: transparent 0 0 0;
}

.logo:hover::after{
    width: 0; 
    height: 0;
}

.drop_down ~ div{
    position: absolute;
    display: none;
    background-color: #080607;
    border-radius: 0 0 8px 8px;
}
.drop_down ~ div a{
    position: relative;
    display: block;
    font-size: 14px;
}

li a span{ 
    display: block;
    position: absolute;
    top: 17px;
    right: 0;
    border-top: none;
    border-right: #ebebeb 1.7px solid;
    border-bottom: #ebebeb 1.7px solid;
    border-left: none;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    transition: .2s linear;
}
/* li:hover .drop_down::before{
    top: 22px;
    transform: rotate(-135deg);
}

li:hover .drop_down ~ div{
    display: block;
}  */

.main_section{
    background-image: url("../images/bg.jpg");
    width: 100%;
    height: 75vh; 
    background-size: cover; 
}
.main_section section{
    padding-top: 5em;
    padding-left: 7em;
}
.main_section h1{
    color: #fff;
    font-size: 4em; 
}



.house_type{
    margin-top: 2.3em;
}

.house_type li{
    display: inline-block;    
}
.house_type li a{
    margin-right: .5em;
    padding: 9px 15px;
    text-decoration: none;
    color: #fff; 
    border-top: 1px #c7c6c6 solid;
    border-right: 1px #c7c6c6 solid;
    border-left: 1px #c7c6c6 solid; 
    border-radius: 5px 5px 0 0;
    transition: .3s;
}
.house_type li a:hover{ 
    background-color: #ff5517;
    border:  1px transparent solid;
}

.options{
    position: relative; 
    width: 68%;
    margin-top: .5em;
    padding: .8em;
    border: #636363 1px solid;
    border-radius: 0 5px 5px 5px;  
    transition: .5s;
}
.options::before{
    content: "";
    position: absolute;
    display: block;
    width: 100%; 
    height: 100%;    
    top: 0;
    right: 0; 
    left: 0; 
    background-color: #616161;
    border-radius: 5px;
    opacity: .4; 
}
.options span{
    margin-right: 2.5em;
    color: #fff;   
}

.options select{
    padding: .3em 3.8em .7em .3em;
    background-color: #060608;
    border: 0;
    border-radius: 5px;
    font-size: 17px;
    color: #fff;
    opacity: .4; 
}

.options div{  
    margin-left: .2em;
    display: inline-block;
    border-left: #b5b5b5 1px solid; 
    margin-left: 1.2em;
    padding-left: .7em;
    /* border: 0; */
    color: #4f81ff;
} 

.options .more{
    position: absolute;
    margin-top: .6em; 
}
.options .more a{
    text-decoration: none;
    color: #ffffff;
}
.options .more a:hover{
    color: #ff5517;
}

.options button{
    display: block;
    position: absolute;
    background-color: #ff5517; 
    top: 10px;
    right: 17px;
    border: 0;
    border-radius: 8px;
    font-size: 19px;
    padding: 10px; 
    color: #ebebeb;
    transition: .5s;
}
.options button:hover{
    letter-spacing: 1.3px;
    cursor: pointer;
}

.more_options{
    margin: 3em 0 0 7em; 
}
.more_options a{
    margin-right: .9em;
    padding: .9em 3em .9em 3em;
    color: #ffffff;
    border: #ebebeb 1px solid;
    border-radius: 50px;
    text-decoration: none;
}

.more_options a:hover{
    opacity: .5;
}

.properties{
    background-color: #060608; 
    /* background: linear-gradient(45deg, #000, #061f5e); */
}

.properties section{
    padding: 0 7em 2em 7em;  
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: .9em;
}
.properties h2, h3{ 
    text-align: center;
}
.properties h3{
    padding-top: 1.0em;
    font-size: 1.6em;
    color: #ff5517;
}
.properties h2{
    padding-top: .3em;
    font-size: 3em;
    color: #b5b5b5;
}
.properties h2 span{
    color: #a8ffa8;
}

.properties div{
    display: inline-block;
    margin-top: 2em;
    padding: 2em 3em 2em 3em;
    border: #747474 1px solid;
    border-radius: 12px;
    color: #e0e0e0;
}
.properties div svg{
    display: block;
    margin: auto; 
    margin-bottom: 1.2em;
}
.properties div h5{
    text-align: center;
    font-size: 19px;
}
.properties div span{
    display: block;
    margin-top: 6px;
    text-align: center;
    font-size: 16px;
}

.home_listing{
    margin: auto;
    width: 80%;
    padding-bottom: 2em; 
}


.home_listing .find_home{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(48%, 1fr)); 
    gap: .9em;

    margin: 2em 0 2em 0;
}
.home_listing .find_home h2{
    font-size: 2.2em;
    color: #060608; 


}

.home_listing .find_home div{
    position: relative;
    /* background-color: #4f81ff; */

}

.home_listing .find_home div div{
    position: absolute;
    width: 50%;
    top: 18px;
    right: 7px;
    padding: 5px;
    border-radius: 8px;
    box-shadow: #b9b9b9 0 0 .3em 0;
}

.home_listing .find_home div div button{
    border: 0;
    border-radius: 8px;    
    margin-right: 2px;
    margin-left: 3px;
    padding: 8px;
    color: #222;
}

.home_listing .find_home div div button:hover{
    background-color: #ff5517;
    color: #ffffff;
    cursor: pointer;
}
.home_listing .find_home div div button:hover svg{
    fill: #ffffff
}


.home_listing .homes{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: .9em;
}

.home_listing .homes div{     
    border-radius: 14px 14px 7px 7px;
    background-color: #eaeaea; 
    padding: 0 0 12px 0px;
}
.home_listing .homes div .inner{
    padding-left: 1em;
    margin-bottom: .6em;
}

.home_listing .homes div img{
    display: block;
    margin: auto;
    width: 100%;
    border-radius: 14px;
    margin-bottom: 1.4em;
}
.home_listing .homes div span{font-size: 13px;   padding-right: 1.2em;}

.home_listing .homes .cost{
    position: relative;
}
.home_listing .homes .inner button{
    display: block;
    position: absolute;
    border-radius: 50px;
    border: 0;
    font-size: 12px;
    top: .7px;
    right: 1.5em;
    padding: 8px 13px 8px 13px;
    background-color: #060608;
    color: #e3e3e3;
    transition: .5s;
}


.home_listing .homes .cost span{
    display: inline-block;
    width: 75%;
    padding: 8px 13px 8px 13px;
    background-color: #ffffff;
    border-radius: 50px;
}

.home_listing .homes .inner button:hover{
    background-color: #ff5517;
    cursor: pointer;
}

.our_property_list{
    position: relative; 
    background: linear-gradient(45deg, #000, #061f5e);
    padding: 3em;
}
.our_property_list div{
    position: absolute;
    background-color: #060608;
    padding: 1.3em;
    border-radius: 0 86px 86px 0;
    color: #f5f7ff;
    text-shadow: #000 0 .2em .4em; 
    bottom: 2em;
    left: 10em;
    opacity: .7;
}
.our_property_list div h2{
    font-size: 3em;
}
.our_property_list h1{
    margin-bottom: 1.2em; 
    text-align: center;
    color: #fff;
}
.our_property_list img{
    display: block;
    margin: auto;
    width: 80%;
}

footer{
    background-color: #dfdfdf;
    padding: 4em;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: .9em;
}
footer div a{
    display: block;
    padding: 3px;
    text-decoration: none;
    color: #060608;
}
footer div a:hover{
    color: #032f9f;
    background-color: #d4d4d4;
}

.mobile_menu_icon{
    position: absolute;
    top: 15px;
    right: 8px;
    width: 30px;
    height: 20px; 
    display: none;
}
.mobile_menu_icon span{
    display: block;
    position: absolute;
    margin: auto;
    right: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: .5s;
}

.middle_line{
    bottom: 43%;
}
.bottom_line{
    bottom: 0;
}
/* .top_line{
} */

.top_line2{
    width: 0!important;
}
.middle_line2{
    transform: rotate(-45deg);
}
.bottom_line2{
    top: 0;
    transform: rotate(45deg);
}

@media (max-width: 1250px) {
    .home_listing .find_home div div{
    width: 75%; 
}
}

@media (max-width: 1024px) {    
.main_section section{ 
    padding-top: 1em;
    padding-left: 2em;
}
.main_section section h1{
    font-size: 2.3em;
}
    .options{ 
        width: 90%; 
    }    
}
@media (max-width: 900px) {  
     .options{
        width: 95%;
        display: block;
} 
.options span{
    margin-right: .5em; 
} 
.options select{
    padding: .3em 3.0em .7em .3em;
}
.home_listing .find_home div div{
    width: 95%; 
    top: .6em;
}
}
@media (max-width: 780px) {   
      
.main_section section{ 
    padding-left: .1em;
}
.options span{
    margin-right: .2em; 
}      
.options select{
    padding: .3em 1.0em .7em .3em;
    font-size: 14px;
} 
.more{
    font-size: 12px;
}    
.options button{ 
    right: 7px;
     font-size: 0;
}
}

.drop_down.active span {
      transform: rotate(45deg);
}

@media (max-width: 700px) {
    header{
        position: relative;
        height: 50px;
    }
    .mobile_menu_icon{
        display: block;
    }
    .logo{
        top: -4px;
    }

    nav{
    display: block;
    width: 100%;
    position: absolute;    
    background-color: #060608;
    top: 3em;
    left: -50em; 
    transition: .5s linear;
    z-index: 5;
    }
    
    ul{
        top: 3.4em;
    }
    .drop_down ~ div{
        position: relative;
    }
    ul li{
        display: block;
    }

    .main_section{  
    height: 60%;  
}

.main_section section{
    padding-top: 2em;
    padding-left: 1.2em;
}
.main_section h1{ 
    font-size: 2.5em;  
    text-align: center;
}
.more_options{
    margin: 0;
    padding: 1.5em;  
    /* padding-bottom: 4em; */
    /* background-color: #032f9f; */
}

.more_options a{
    display: block; 
    position: relative;
    text-align: center;
    margin-bottom: .9em;   
    font-size: 14px;
    color: #fff;
}
.more_options a::after{
    content: "";
    display: block; 
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    margin-bottom: .9em; 
    top: 0;
    left: 0;
    right: 0;
    background-color: #616161;
    opacity: .4; 
}

.home_listing .find_home div{
padding: .6em; 
}
.home_listing .find_home div div{
    width: 979%;
    top: -15px;
    right: 0;
    left: 0;
    padding: 5px;    
}

.our_property_list{
    padding: 0;
}
.our_property_list div{ 
    padding: .8em; 
    bottom: .2em;
    left: 0em;
    opacity: .6; 
}
.our_property_list h1{
    font-size: 1.9em;
    padding-top: .8em;
    margin-bottom: .8em;  
    font-weight: 300; 
}

.our_property_list img{ 
    width: 100%;
}

.our_property_list div h2{
    font-size: 2em;
} 

}
 

@media (max-width: 525px) {
    .options{
        width: 90%;
    }

     .options div{
        display: block;
        width: 80%; 
        border: 0;
        margin-top: .6em;
        margin-left: 0;
        padding: 0; 
    }

    .options select{
        margin-bottom: .3em;
        width: 80%;
    }
    .more{
        top: 2em;
        right: 2em;
        font-size: 16px;
        text-align: right;
    }
    .options button{
        top: 85px;
        right: 24px; 
        width: 60px;
    }
    .more_options{
        margin-bottom: 5em;
        height: 90vh; 
    }
    
}

@media (max-width: 500px) {
    
    .main_section{  
    height: 80vh;  
}
    .main_section section{ 
        padding-top: .6em;
    padding-left: .8em;
    }

.main_section h1{ 
    font-size: 2.3em;  
}
}