.services-card-row {
        margin-top: 20px;
        justify-content: center; /* Center cards when there are fewer items */
    }

    /* Center single or few cards */
    .services-card-row .col-lg-4:only-child {
        max-width: 400px; /* Limit width for single card */
        flex: 0 0 auto;
    }

    .services-card-row .col-lg-4:nth-child(-n+2):nth-last-child(-n+2) {
        max-width: 400px; /* Limit width when there are 2 cards */
        flex: 0 0 auto;
    }

    /* Ensure cards don't get too wide on larger screens */
    @media (min-width: 992px) {
        .services-card-row .col-lg-4 {
            max-width: 400px;
            flex: 0 0 auto;
            margin: 0 15px 30px 15px;
        }
    }

    .service-card {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
        transition: box-shadow 0.2s;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 20px;
        min-height: 420px;
        position: relative;
    }

    .service-card-icon {
        display: block;
    }

    .service-card:hover {
        box-shadow: 0 0 2px #00000020, 0 1px 3px rgba(0, 0, 0, .2);
    }

    .service-card-icon {
        width: 100%;
        height: 170px;
        object-fit: cover;
        margin-bottom: 24px;
        border-radius: 16px 16px 0px 0px;
    }

    .service-card-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 16px;
        color:#fff;
        z-index:2;
        text-align:justify;
        line-height:1.5;
    }

    .featured_area .slick-slide{
        /* max-height:400px; */
    }

    .service-card-desc {
        font-size: 14px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 0;
        line-height: 2.3;
        z-index:2;
        text-align:justify;
    }

    .service-overlay{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 16px;
        z-index: 1;
    }

    @media (max-width: 991.98px) {
        .service-card-icon {
            height: 170px;
        }
    }

    @media (max-width: 767.98px) {
        .service-card {
            margin-bottom: 24px;
        }
    }
