.villa-type-item {
    flex: 0 0 calc(25% - 20px);
    margin: 10px 10px;
    position: relative;
}
.villa-type-item .img-field {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: block;
}
.villa-type-item .img-field::before {
    content: '';
    background-color: #000;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0px;
    height: 0px;
    z-index: 3;
    transition: all 300ms;
    border-radius: 100%;
}
.villa-type-item:hover .img-field::before {
    top: 0px;
    left: 0px;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    border-radius: 0px;
}
.villa-type-item .img-field img {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transition: all 300ms;
}
.villa-type-item:hover .img-field img {
    transform: scale(1.2);
}

.villa-type-item .img-field .show-all {
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 76px);
    transform: scale(0);
    z-index: 3;
    color: var(--white-color);
    transition: all 300ms;
}
.villa-type-item .img-field .show-all i::before {
    font-size: 22px;
}
.villa-type-item:hover .img-field .show-all {
    transform: scale(1);
}

    .villa-type-item .img-field .villa-counter {
        position: absolute;
        top: 6px;
        left: 6px;
        background-color: #343a40;
        color: var(--white-color);
        z-index: 4;
        padding: 5px;
        font-weight: 500;
        border-radius: 4px;
        font-size: 14px;
        transition: all 300ms;
    }
.villa-type-item:hover .img-field .villa-counter {
    background-color: var(--dark-color-3);
}

.villa-type-item .text-section {
    margin: -30px auto 0px;
    width: calc(100% - 20px);
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 3;
    font-size: 14px;
}
.villa-type-item .text-section > i::before {
    color: var(--info-color-1);
    font-size: 30px;
    margin-right: 10px;
}
.villa-type-item:hover .text-section a {
    background-color: var(--dark-color-3);
    color: var(--white-color);
}
.villa-type-item .text-section a i::before {
    font-size: 16px;
}

@media only screen and (max-width: 1399px) {
    .villa-type-item {
        flex: 0 0 calc(33.33% - 20px);
    }
}
@media only screen and (max-width: 991px) {
    .villa-type-item {
        flex: 0 0 calc(50% - 20px);
    }
}
@media only screen and (max-width: 767px) {
    .villa-type-item {
        flex: 0 0 100%;
        margin: 10px 0px;
    }
    .villa-type-item .img-field img {
        height: 300px;
    }
}
@media only screen and (max-width: 449px) {
    .villa-type-item .img-field img {
        height: 250px;
    }
    .villa-type-item .text-section {
        font-size: 13px;
    }
    .villa-type-item .text-section > i::before {
        font-size: 24px;
        margin-right: 5px;
    }
}