

.cards-section {
    background: #f8f9fa;
}

.section-header {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subheader {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

.custom-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    border: none;
    transition: transform 0.3s ease;
}

.custom-card:hover {
    transform: scale(1.02);
}

.custom-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white !important;
    text-decoration: none;
    z-index: 2;  /* overlay ko image ke upar le aaya */
    display: flex;
    align-items: flex-end;
}

.card-overlay:hover {
    color: #ddd;
}

.card-title {
    font-size: 26px;
    font-weight: 600;
    color: white !important;
    margin: 0;
    line-height: 1.4;
}

/* Large cards height */
.large-card img {
    min-height: 350px;
}

.custom-card img {
    min-height: 250px;
}


 body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}


/* ===== TOP BANNER ===== */
.law-top-banner {
    position: relative;
    /*border-radius: 10px;*/
    overflow: hidden;
    margin-bottom: 20px;
}

.law-top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark overlay for readability */
.law-banner-overlay {
    position: absolute;
    inset: 0;
    /*background: rgba(0, 0, 0, 0.55);*/
    z-index: 1;
}

.law-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 90%;
    z-index: 2;
}

.law-banner-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 15px;
}



/* Responsive */
@media (max-width: 768px) {
    .law-top-banner img {
        height: 280px;
    }

    .law-banner-content h1 {
        font-size: 1.6rem;
    }
}


/* ===== CONTENT HEADINGS ===== */
.law-h2 {
    color: #364d59;
    font-weight: bold;
    margin-top: 35px;
}

.heading-img img {
    width: 100%;
    height: auto;
    margin: 10px 0 20px;
}

.law-h3 {
    font-weight: bold;
    margin-top: 25px;
}

/* ===== LEFT IMAGE SIDEBAR ===== */
.law-image-box img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 20px;
    display: block;
}

/* Law-style bullet list */
.law-points-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.law-points-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.law-points-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 2px;
    color: #364d59;
    font-size: 1rem;
    font-weight: bold;
}

.heading{
    color: #364d59 !important;
    font-weight: 600;
}

a {
    font-weight: 600;
    outline: medium none;
}

b{
    color: #333;
    font-weight: 600;
}


@media (max-width: 1600px) {
    .section-header {
        font-size: 1.9rem;
    }

    .card-title {
        font-size: 24px;
    }

    .large-card img {
        min-height: 320px;
    }

    .custom-card img {
        min-height: 230px;
    }

    .law-banner-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 1200px) {
    .section-header {
        font-size: 1.8rem;
    }

    .section-subheader {
        font-size: 0.95rem;
    }

    .card-title {
        font-size: 22px;
    }

    .law-banner-content h1 {
        font-size: 1.8rem;
    }

    .large-card img {
        min-height: 300px;
    }
}


@media (max-width: 992px) {
    .section-header {
        font-size: 1.6rem;
        text-align: center;
    }

    .section-subheader {
        text-align: center;
    }

    .card-title {
        font-size: 20px;
    }

    .card-overlay {
        padding: 15px;
    }

    .law-banner-content {
        width: 95%;
    }

    .law-banner-content h1 {
        font-size: 1.6rem;
    }

    .large-card img,
    .custom-card img {
        min-height: 260px;
    }
}


@media (max-width: 767px) {
    .section-header {
        font-size: 1.4rem;
    }

    .section-subheader {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .card-title {
        font-size: 18px;
        line-height: 1.3;
    }

    .card-overlay {
        padding: 12px;
    }

    .law-top-banner img {
        height: 260px;
    }

    .law-banner-content h1 {
        font-size: 14px;
    }

    .law-h2 {
        font-size: 1.3rem;
    }

    .law-h3 {
        font-size: 1.1rem;
    }

    .law-points-list li {
        font-size: 15px;
    }

    .large-card img,
    .custom-card img {
        min-height: 220px;
    }
}
