﻿/* ===============================
   LEGAL PAGE STYLING
================================= */

.legal-section {
    background: #f4f6f9;
    padding: 60px 20px;
}

.legal-box {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    padding: 40px;
    max-width: 1050px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Header */
.legal-header {
    background: #1f3c88;
    color: #fff;
    padding: 18px 25px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* Watermark */
.legal-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 140px;
    font-weight: 900;
    color: rgba(31, 60, 136, 0.05);
    pointer-events: none;
    user-select: none;
}

/* Verification Seal */
.verification-seal {
    position: absolute;
    top: 25px;
    right: 25px;
    border: 3px solid #1f3c88;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    padding-top: 35px;
    color: #1f3c88;
    transform: rotate(-15deg);
}

/* Business Table */
.business-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

    .business-table td {
        padding: 10px;
        border-bottom: 1px solid #eee;
        font-size: 14px;
    }

        .business-table td:first-child {
            font-weight: 600;
            width: 220px;
        }

/* Certificate Layout */
.certificate-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.certificate-card {
    flex: 1 1 200px;
    border: 1px solid #d6d6d6;
    padding: 20px;
    background: #fff;
    transition: 0.3s ease;
}

    .certificate-card:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

.gov-badge {
    background: #1f3c88;
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 10px;
}

.certificate-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.certificate-card .cert-actions a {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #c4161c;
    margin-right: 12px;
}

    .certificate-card .cert-actions a:hover {
        text-decoration: underline;
    }

.legal-footer {
    margin-top: 40px;
    padding-top: 15px;
    border-top: 2px solid #1f3c88;
    font-size: 13px;
    color: #444;
}

/* ===============================
   MOBILE RESPONSIVE FIX
================================= */

@media (max-width: 768px) {

    .legal-box {
        padding: 20px;
    }

    .certificate-grid {
        flex-direction: column;
    }

    .certificate-card {
        width: 100%;
    }

    .business-table td {
        display: block;
        width: 100%;
        border: none;
        padding: 6px 0;
    }

    .business-table tr {
        display: block;
        border-bottom: 1px solid #eee;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .legal-watermark {
        font-size: 60px;
    }

    .verification-seal {
        position: static;
        transform: none;
        margin-bottom: 15px;
    }
}
/* ===== PAGE TITLE (Same Red Gradient Style) ===== */
.seo-content {
    max-width: 95%;
    margin: 10px auto;
    padding: 10px 10px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

    /* Headings */
    .seo-content h1 {
        font-size: 28px;
        color: #1f2937;
        margin-bottom: 15px;
        border-left: 5px solid #2563eb; /* Blue accent */
        padding-left: 12px;
    }

    .seo-content h2 {
        font-size: 22px;
        color: #111827;
        margin-top: 10px;
        margin-bottom: 12px;
    }

    /* Paragraph text */
    .seo-content p {
        font-size: 16px;
        line-height: 1.75;
        color: #374151;
        margin-bottom: 14px;
    }

/* Highlight keywords */
.seo-highlight {
    color: #2563eb;
    font-weight: 600;
}
