.scheme-list {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    overflow: hidden;
    height: 100%;
}

.scheme-list:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
    border-color: #ddd;
}

/* --- Image Section (unchanged) --- */
.scheme-list .hb-img {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    position: relative;
}

.scheme-list .hb-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.scheme-list .hb-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.scheme-list:hover .hb-img img {
    transform: scale(1.05);
}

/* --- Content Section --- */
.scheme-list .hb-content {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* --- Title --- */
.scheme-list h6 {
    font-family: var(--fontDemi, 'Montserrat SemiBold', sans-serif);
    font-size: 1.1rem;
    color: var(--lhfDefault, #222);
    margin-bottom: 8px;
    line-height: 1.4;
    text-align: left;
}

/* --- Description --- */
.scheme-list .service-desc {
    font-size: 0.94rem;
    color: #555;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Know More Link --- */
.scheme-list .know-more {
    display: inline-block;
    color: var(--lhfBlue, #007bff);
    font-family: var(--fontDemi, 'Montserrat SemiBold', sans-serif);
    text-decoration: none;
    position: relative;
    font-size: 1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    margin-top: 24px;
    margin-left: 0px;
    line-height: 1.3;
    text-align: left; /* ensures left alignment */
    left: 0rem !important;
}

.scheme-list .know-more::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lhfBlue, #007bff);
    transition: width 0.3s ease;
}

.scheme-list .know-more:hover {
    color: var(--lhfDefault, #000);
}

.scheme-list .know-more:hover::after {
    width: 100%;
}
/* Responsive styles */
@media (max-width: 1199px) {
    .scheme-list .hb-img img {
        height: 150px;
    }
}

@media (max-width: 991px) {
    .scheme-list {
        margin-bottom: 20px;
    }
    
    .scheme-list .hb-content {
        padding: 14px;
    }
    
    .scheme-list h6 {
        font-size: 1rem;
    }
    
    .scheme-list .service-desc {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

@media (max-width: 767px) {
    .scheme-list .hb-img img {
        height: 140px;
    }
}

@media (max-width: 575px) {
    .scheme-list {
        margin-bottom: 15px;
    }
    
    .scheme-list .hb-img img {
        height: 180px;
    }
}

/* Grid spacing */
.corporate-scheme .row {
    margin: 0 -12px;
}

.corporate-scheme [class^="col-"] {
    padding: 0 12px;
}

/* Improved container padding for mobile */
@media (max-width: 575px) {
    .corporate-scheme .lhf-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}