.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: 1.1rem;
    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: 40px;
}

.law-top-banner img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.law-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 90%;
}

.law-banner-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

.law-banner-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 28px;
    background: #0056b3;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

/* ===== CONTENT HEADINGS ===== */
.law-h2 {
    color: #0056b3;
    font-weight: bold;
    margin-top: 35px;
}

.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: 1rem;
    line-height: 1.6;
    color: #333;
}

.law-points-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 2px;
    color: #0056b3;
    font-size: 1rem;
    font-weight: bold;
}

.heading{
    color: #0056b3 !important;
    font-weight: 600;
}

a, button {
    color: #0056b3 !important;
    font-weight: 500 !important;
    outline: medium none;
}

a:hover{
    color: #333 !important;
}


p,b{
    color: #333 !important;
}

