html, body{
    font-family: "Roboto", sans-serif;
    margin: 0;
    overflow: hidden;
}

.top_navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 70px;
    background-color: #fff;
    padding-left: 0;
    padding-bottom: 10px;
    box-shadow: 4px 4px 4px rgba(0,0,0,0.1);
    z-index: 60;
}

.top_navbar a{
    text-decoration: none;
    color: #2F2F2F;
}

.top_navbar ul{
    list-style:none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    left: -20px;
}

.show_on_mobile_icon{
    display: none;
}

.logo span{
    color: #28a745;
}


/*animated text*/
.animated_text{
    font-size: 2rem;
    color: #2e5d3d;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: popUpLoop 4s ease-in-out infinite;
}

@keyframes popUpLoop {
    0% {
      opacity: 0;
      transform: translateY(40px) scale(0.95);
    }
    20% {
      opacity: 1;
      transform: translateY(-5px) scale(1.03);
    }
    40% {
      transform: translateY(0) scale(1);
    }
    80% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
    100% {
      opacity: 0;
      transform: translateY(40px) scale(0.95);
    }
}
/*Loop ends here*/

.top_navbar button{
    font-size: medium;
    color: #fff;
    background-color: #28a745;
    padding: 10px;
    border-radius: 20px;
    outline: none;
    border: none;
    cursor: pointer;
}

.top_navbar button:hover{
    background-color: #218838;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.top_navbar button:active{
    background-color: #000;
}

.search_field{
    border: 1px solid gray;
    outline: none;
    font-size: medium;
    padding: 10px;
    color: #2F2F2F;
    border-radius: 20px;
    width: 30vw;
}

.search_field:focus{
    border: 1px solid #1eb65b;
}
.search_icon{
    color: gainsboro;
    font-size: 20px;
    position: relative;
    left: -25px;
}

.main_wrapper{
    width: 100vw;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}


/*center div*/
.center_div{
    position: relative;
    margin: 0;
    left: 0;
    top: 80px;
    height: calc(100vh - 80px);
    width: 100vw;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    grid-gap: 10px;
    overflow-y: scroll;
    overflow-x: hidden;
}


/*left_div*/
.left_div{
    height: calc(100vh - 80px);
    box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
    background-color: #2F2F2F;
    color: gray;
    position: sticky;
    top: 0px;
}

.left_div ul{
    list-style: none;
    position: relative;
    left: -10px;
    padding-left: 20px;
}

.left_div ul li{
    border-bottom: 1px solid rgba(128, 128, 128, 0.175);
    cursor: pointer;
    padding: 2px 2px 2px 0px;
    width: 100%;
}

.left_div ul li:hover{
    background-color: #1eb65b4e;
    color: #fff;
}

.left_div ul li:active{
    background-color: #1eb65b4e;
    color: #fff;
}


/*right_div*/
.right_div{
    height: calc(100vh - 80px);
    box-shadow: -5px -5px 5px rgba(0,0,0,0.1);
    background-color: aliceblue;
    color: gray;
    position: sticky;
    top: 0px;
}

.right_div ul{
    list-style: none;
    position: relative;
    left: -10px;
    padding-left: 20px;
}

.right_div ul li{
    border-bottom: 1px solid rgba(128, 128, 128, 0.175);
    cursor: pointer;
    padding: 2px 2px 2px 0px;
    width: 100%;
}

.right_div ul li:hover{
    background-color: #1eb65b;
    color: #fff;
}

/*listing_wall*/
.listing_wall{
    padding: 10px;
    height: calc(100vh - 160px);
}

.listing_wall img{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    

}

.list_card{
    padding: 10px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
    border-radius: 30px;
}

.card_head{
    display: flex;
    margin: 0;
    color: #2F2F2F;
}

.card_footer{
    display: flex;
    color: #1eb65b;
    font-weight: light;
    font-size: small;
    margin-right: 0;
    align-items: center;
    justify-content: space-evenly;
}

.card_body{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.call_button{
    font-size: medium;
    color: #fff;
    background-color: #28a745;
    padding: 10px;
    border-radius: 20px;
    outline: none;
    border: none;
    cursor: pointer;
}

.call_button:hover{
    background-color: #218838;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.call_button:active{
    background-color: #000;
}

/*Post.html*/
.upload_form{
    width: 30vw;
    box-shadow: -5px 20px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
}

.upload_form h3{
    color: #2F2F2F;
}

.upload_form input{
    width: 92%;
    border-radius: 10px;
    outline: none;
    border: 1px solid gray;
    font-size: medium;
    padding: 10px;
}

.upload_form select{
    width: 92%;
    border-radius: 10px;
    outline: none;
    border: 1px solid gray;
    font-size: medium;
    padding: 10px;
}

.upload_form input:focus{
    border: 1px solid #1eb65b
}

/*footer_div*/
.footer_div{
    position: fixed;
    top: calc(100vh - 50px);
    width: 100vw;
    height: 50px;
    background-color: #000;
    border-radius: 30px 30px 0 0;
}
.footer_div p{
    padding: 0;
    font-size: small;
    color: gray;
}

/*modal bg*/
.modal_bg{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: #000000ca;
    z-index: 80;
    display: none; /*toggle with display 'flex'*/
    align-items: center;
    justify-content: center;
}

.categories_modal{
    display: grid;
    width: 80vw;
    height: 80vh;
    background-color: #fff;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 30px; 
    padding: 10px;
    border-radius: 10px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.cat_item{
    padding: 20px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    height: auto;
    cursor: pointer;
}

.cat_item:hover{
    transform: scale(1.1);
    box-shadow: 10px 15px 15px #21883729;
}

.cat_item:active{
    transform: scale(0.9);
    box-shadow: 10px 15px 15px #21883729;
    transition: 100ms;
}

.categories_modal img{
    width: 50px; 
    height: 50px; 
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1eb65b;
}

.categories_modal h3{
    font-size: medium;
}

.close_modal_trigger{
    position: fixed;
    top: 50px;
    left: 88vw;
    z-index: 80;
    padding: 10px 13px;
    border-radius: 50%;
    background-color: #1eb65b;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}

/*testimonials modal*/
.testimonial_modal{
    height: 50vh;
    width: 80vw; 
    border-radius: 10px;
    background-color: transparent;
}


.testimonial_item{
    padding: 20px;
    background-color: aliceblue;
    border-radius: 10px;
    height: 30vh;
}

/*Locations modal*/
.modal_bg_location{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; 
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
}

.locations_modal{
    width: 50vw; 
    height: 80vh;
    background-color: #fff;
    border-radius: 10px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.locations_modal ul{
    list-style: none;
    width: 50%;
}

.locations_modal li{
    list-style: none;
    width: 100%;
    padding: 10px;
}

.parent_list{
width: 20vw;
}

.parent_list li{
    cursor: pointer;
    width: 15vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: aliceblue;
    margin-bottom: 4px;
}   

.parent_list li:hover{
    background-color: #1eb65b61;
}

.parent_list li i{
    color:  gray;
}

.sub_division_list{
    display: none;
}

.sub_division_list li{
    background-color: #fff;
    cursor: pointer;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(128, 128, 128, 0.35);
}

.sub_division_list li:hover{
    background-color: #03f4377c;
}



/*MOBILE RESPONSIVESNESS*/
@media screen and (max-width: 767px){
    .top_navbar i{
        font-size: 1.2rem;
    }

    .search_field{
        font-size: small;
    }

    .hide_on_mobile{
        display: none;
    }

    .show_on_mobile_icon{
        display: block;
    }

    .search_field{
        width: 45vw;
    }

    .center_div{
        display: grid;
        grid-template-columns: 1fr;
    }

    .left_div{
        position:  fixed;
        top: 80px;
        width: 100vw;
        height: 100vh;
        z-index: 70;
        display: none;
        font-size: small;
    }
    .right_div{
        display: none;
    }
    .list_card{
        font-size: small;
        margin-bottom: 20px;
    }

    .card_body p{
        width: 60%;
    }
    .upload_form{
        margin-top: 0;
        width: 90vw;
        position: relative;
        left: -10px;
    }
    .footer_div{
        display: none;
    }
    .categories_modal{
        display: grid;
        width: 90vw;
        height: 80vh;
        background-color: #fff;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 5px; 
        padding: 10px;
        border-radius: 10px;
    }

    .categories_modal h3{
        font-size: small;
    }

    .cat_item{
        height: 18vh;
    }
    .locations_modal{
        width: 90vw; 
        height: 80vh;
        overflow-x: hidden;
        overflow-y: scroll;
    }
    .locations_modal ul{
        list-style: none;
        width: 60%;
    }
    
    .locations_modal li{
        list-style: none;
        width: 100%;
        padding: 10px;
    }
    
    .parent_list{
    width: 20vw;
    }
    
    .parent_list li{
        cursor: pointer;
        width: 25vw;
        margin-bottom: 4px;
    }   
}