
/* =========================================
   NOORAN LEGAL PAGES
========================================= */

.legal-page {
    --legal-primary: #005260;
    --legal-green: #2caf95;
    --legal-blue: #3f7fc4;
    --legal-text: #40545a;
    --legal-muted: #71858a;
    --legal-bg: #f5f9f8;

    direction: rtl;
    background: #fff;
    color: var(--legal-text);
    font-family: 'Cairo', sans-serif;
    padding-bottom: 80px;
    overflow: hidden;
}

.legal-hero {
    position: relative;
    background: linear-gradient(135deg, #005260 0%, #08766e 65%, #2caf95 100%);
    padding: 85px 20px 95px;
    text-align: center;
    overflow: hidden;
}

.legal-hero::before,
.legal-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    pointer-events: none;
}

.legal-hero::before {
    width: 350px;
    height: 350px;
    top: -210px;
    right: -90px;
}

.legal-hero::after {
    width: 280px;
    height: 280px;
    bottom: -190px;
    left: -70px;
}

.legal-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: auto;
}

.legal-label {
    display: inline-block;
    color: #d9fff5;
    border: 1px solid rgba(255,255,255,.35);
    padding: 7px 20px;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 18px;
}

.legal-hero h1 {
    color: #fff;
    font-size: clamp(28px, 4vw, 43px);
    font-weight: 800;
    margin: 0 0 15px;
}

.legal-hero p {
    color: rgba(255,255,255,.85);
    font-size: 16px;
    line-height: 2;
    margin: 0;
}

.legal-container {
    width: min(100% - 40px, 950px);
    margin: -35px auto 0;
    position: relative;
    z-index: 3;
}

.legal-intro {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 8px 35px rgba(0, 60, 65, .07);
    border-right: 4px solid var(--legal-green);
    line-height: 2.1;
    font-size: 15px;
    margin-bottom: 30px;
}

.legal-intro strong {
    color: var(--legal-primary);
}

.legal-section {
    padding: 25px 0;
    border-bottom: 1px solid #e9f0ef;
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--legal-primary);
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.8;
}

.legal-section h2::before {
    content: "";
    display: block;
    width: 5px;
    min-width: 5px;
    height: 25px;
    background: var(--legal-green);
    border-radius: 5px;
}

.legal-section p,
.legal-section li {
    color: var(--legal-text);
    font-size: 14.5px;
    line-height: 2.2;
}

.legal-section p {
    margin: 0 0 10px;
}

.legal-section ul {
    padding-right: 22px;
    margin: 10px 0;
}

.legal-section li {
    padding-right: 5px;
    margin-bottom: 5px;
}

.legal-section li::marker {
    color: var(--legal-green);
}

.legal-contact {
    margin-top: 30px;
    padding: 25px 30px;
    background: var(--legal-bg);
    border-radius: 14px;
    text-align: center;
}

.legal-contact h2 {
    color: var(--legal-primary);
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 10px;
}

.legal-contact p {
    font-size: 14px;
    line-height: 2;
    margin: 0;
}

.legal-updated {
    text-align: center;
    font-size: 12px;
    color: var(--legal-muted);
    margin-top: 25px;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 65px 18px 80px;
    }

    .legal-hero p {
        font-size: 14px;
    }

    .legal-container {
        width: calc(100% - 28px);
    }

    .legal-intro {
        padding: 22px 19px;
        font-size: 14px;
    }

    .legal-section {
        padding: 21px 0;
    }

    .legal-section h2 {
        font-size: 17px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 13.5px;
    }

    .legal-contact {
        padding: 22px 16px;
    }
}

@media (max-width: 400px) {
    .legal-hero h1 {
        font-size: 26px;
    }

    .legal-label {
        font-size: 12px;
    }
}
