.features{
    position: relative;
}
.features img{
    width: 100%;
    padding: 0px;
    margin: 0px;
}
.features img:hover{
    
   box-shadow: 1px 1px 10px rgb(15, 141, 141);
   
}
 .feature-img-text{
    color: red;
    position: absolute;
    bottom: 0%;
    left: 4%;
    background-color: rgba(0, 0, 0, 0.3);
    width: 92%;
    padding: 6px 5px;
    text-align: center;
    color: white;
    font-weight: bolder;
 }
 
.features .card{
    position: relative;
    background-size: 100% 100%;
    background-position: center;
    height: 30vh;
    display: flex;
    transition: 0.5s;
    align-items: center;
    justify-content: center;
    color: rgb(100%, 100%, 100%);
}


.features .card .card-title{
    position: absolute;
    bottom: -5%;
    left: 0%;
    background-color: rgba(0, 0, 0, 0.453);
    width: 100%;
    padding: 10px;
    text-align: center;
    height: auto;
}

.features .card:hover{
    transition: 1s;
    background-size: 110% 110%;
    padding: 0px;
}


a,
a:hover,
a:focus,
a:active {
    text-decoration: none;
    outline: none;
}


.features a,
.features a:active,
.features a:focus {
    color: #333;
    text-decoration: none;
    transition-timing-function: ease-in-out;
    -ms-transition-timing-function: ease-in-out;
    -moz-transition-timing-function: ease-in-out;
    -webkit-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    transition-duration: .2s;
    -ms-transition-duration: .2s;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
}

.features h4 {
    margin-top: 80px;
    margin-bottom: 30px;
}

.features ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px 0px;
    padding: 0px !important;
}

.features ul li {

    transition: 0.7s;
    padding: 10px 15px;
    border: 3px solid rgb(93%, 93%, 93%);
    border-radius: 10px;
    width: 23%;
    margin: 1%;
    text-align: center;

}

.features ul li div {
    transition: 0.7s;
    background-color: rgba(8%, 62%, 62%, 0.7);
    border-radius: 50%;
    padding: 10px;
    height: 100px;
    width: 100px;
    margin: auto;
}

.features ul li img {

    height: 60px;
    width: 60px;

}

.features ul li h4 {
    margin: 10px 0px;
    color: black;
}

.features ul li:hover {
    transition: 0.7s;
    transition-timing-function: ease-in-out;
    border: 3px solid rgba(8%, 62%, 62%, 1);
    background-color: rgba(8%, 62%, 62%, 0.7);
}

.features ul li:hover>div {
    background-color: white;
    border-radius: 20px;
}


.gallery img {
    width: 100%;
    /* height: 240px; */
    background-color: rgba(8%, 62%, 62%, 0.7);
    border-radius: 10px;
    margin: 20px 0px;
    border: 3px solid rgba(8%, 62%, 62%, 0.5);
   box-shadow: 2px 2px 10px rgb(130, 177, 174); 
    cursor: pointer;
}
.gallery img:hover {
   box-shadow: 5px 5px 10px rgb(50,168,122); 
}
.apartmentImages{
    height: 50vh;
    width: 100%;
}

@media only screen and (min-width: 768px) and (max-width: 992px) {

    .features ul{
        justify-content: center;
    }
    .features ul li {

        width: 45%;

    }

}

@media only screen and (min-width: 601px) and (max-width: 768px) {

    .features ul{
        justify-content: center;
    }
    .features ul li {

        width: 45%;

    }

}

@media only screen and (max-width: 600px) {

    .features ul{
        justify-content: center;
    }
    .features ul li {

        width: 100%;

    }

}
