.industries-listing {
    position: relative;
}

.industries-listing a.perma-link {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.industries-listing .card {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    height: 500px;
}
.industries-listing .card::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #00000061;
    left: 0;
    top: 0;
    border-radius: 28px;
}

.industries-listing .card img {
    width: 100%;
    border-radius: 28px;
    height: 100%;
    object-fit: cover;
    object-position: center;
        object-position: 22%;
}

.industries-listing .card .card-content {
   background: #0168B1;
    background:linear-gradient(173deg, rgb(1 104 177 / 56%) 50%, rgb(155 203 80 / 17%) 100%);
    padding: 16px 24px;
    text-align: left;
    position: absolute;
    bottom: 0;
    z-index: 99;
    /* min-height: 240px;
    max-height: 300px; */
    display: flex;
    flex-direction: column;
    width: 100%;
}
/* industry detail page */
.industry-detail-page-sec .industry-detail-img img{
    width: 100%;
    height: 380px;
    min-height: 380px;
    max-height: 380px;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}
.industry-detail-content ul li{
    line-height: 32px;
}

.industry-detail-case-study .card.home-banner-card{
    margin-bottom: 0 !important;
    border-radius: 20px !important;
}

.industries-listing .row > .col-lg-3:first-child .main-img{
        object-position: center;
}
.industries-listing .row > .col-lg-3:nth-child(2) .main-img{
          object-position: 37%;
}


/* end */

@media (max-width: 1200px) {
    .industries-listing .card .card-content {
        min-height: 320px;
        max-height: 360px;
    }
}

@media (max-width: 992px) {
    .industries-listing .card .card-content {
        min-height: 220px;
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .industries-listing .card .card-content {
        min-height: auto;
        max-height: fit-content;
    }
    .industry-detail-content{
        margin-top: 32px;
    }
    .industry-detail-case-study .card.home-banner-card {
 
    border-radius: 10px !important;
}
}