@media only screen and (max-width: 999px) {
ul.lastest-post-card li {
    flex: 0 0 31%;
    list-style: none;
    text-align: center;
}
ul.lastest-post-card {
    gap: 24px;
}
.home-category-sec {
    gap: 16px;
}
ul.lastest-post-card.lastest-post-card4 li {
    flex: 0 0 19%;
}
li.nav-item {
    position: relative;
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
}
ul.navbar-nav .nav-link {
    font-size: 14px;
    padding: 0 0px !important;
}
li.nav-item > span {
    position: absolute;
    right: 0;
    top: 5px;
    background: #000;
    height: 42px;
    width: 42px;
    line-height: 42px;
    text-align: center;
}
li.nav-item span i{
  color: #fff;
}
nav ul li ul.sub-menu {
    width: 100%;
}
}
@media only screen and (max-width: 767px) {
     ul.lastest-post-card li {
        flex: 0 0 100%;
    }
    ul.lastest-post-card.lastest-post-card2 li {
    flex: 0 0 100%;
}
.home-category-sec figure {
    flex: 0 0 100%;
}
.home-category-sec-box {
    flex: 0 0 100%;
}
.home-category-sec-right {
    flex: 0 0 100%;
    position: relative;
}

    ul.lastest-post-card.lastest-post-card4 li {
        flex: 0 0 48%;
    }
    .inner-page-bnr h1 {
    font-size: 34px;
    height: 100px;
}
.contact__page {
    padding: 20px;
}
.contact__page li {
    margin: 20px 0px;
    list-style: none;
    width: 100%;
    float: left;
}
.inner-page-bg {
    height: auto;
}
}