.cat-container .row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

@media only screen and (max-width: 766px) {
    .col-sm-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }   

    .cat-container .cat_div {
        padding: 5px 30px !important;
    }

    .cat-container .category-card h5 {
        font-size: 21px;
    }

    .cat-container .category-card {
        height: 230px !important;
    }
}

@media only screen and (min-width: 767px) and (max-width: 900px) {
    .cat-container .category-card {
        height: 135px !important;
    }
}

@media only screen and (min-width: 767px) {
    .col-lg-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }   
}


.cat-container .cat_div{
    padding: 5px 10px;
    width:100%;
}
/* .cat-container .category-name a{
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.2em;
    font-weight: 700;
    font-family: Poppins, sans-serif;
} */
.cat-container .category-card {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 175px;
    display: flex;
    align-items: flex-end;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    color: white;
    padding: 15px;
}

.cat-container .category-card .category-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;    
    padding: 10px;
    box-sizing: border-box;
}

.cat-container .category-card h5 {
    margin: 0 0 10px 10px;
    padding: 0;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.2em;
    font-weight: 700;
}