/* =========================================================
   NAUKRI MITRA — SHARED LEGAL PAGE STYLES
   Used by: privacypolicy.php, termcondition.php
   One stylesheet, one set of rules — no duplication
   between pages. Matches the site's light blue / white
   brand theme (Plus Jakarta Sans headings, Inter body —
   both already loaded sitewide, not reloaded here).
========================================================= */

.nm-legal-page{
    --brand:#2563eb;
    --brand-dark:#1d4ed8;
    --brand-light:#60a5fa;

    --verified:#0891b2;

    --ink:#0f172a;
    --ink-soft:#475569;
    --muted:#64748b;

    --paper:#f8fafc;
    --paper-blue:#eef4ff;
    --line:#e2e8f0;

    --radius-sm:14px;
    --radius-md:20px;
    --radius-lg:28px;

    --shadow-sm:0 8px 20px rgba(15,23,42,0.05);
    --shadow-md:0 16px 36px rgba(15,23,42,0.08);

    width:100%;
    max-width:100%;
    overflow-x:hidden;
    background:var(--paper);
}

.nm-legal-page *{
    box-sizing:border-box;
}

.nm-legal-page h1,
.nm-legal-page h2,
.nm-legal-page h3{
    font-family:'Plus Jakarta Sans','Inter',sans-serif;
}

.nm-legal-wrap{
    width:100%;
    max-width:920px;
    margin:0 auto;
    padding:0 20px;
}

/* =========================================================
   HERO
========================================================= */

.nm-legal-hero{
    position:relative;
    overflow:hidden;
    padding:80px 0 64px;
    background:
    radial-gradient(circle at 15% 20%,rgba(37,99,235,.14),transparent 40%),
    radial-gradient(circle at 85% 10%,rgba(8,145,178,.10),transparent 38%),
    linear-gradient(to bottom,#ffffff,#eef4ff);
}

.nm-legal-glow{
    position:absolute;
    width:440px;
    height:440px;
    border-radius:50%;
    background:var(--brand-light);
    opacity:.12;
    filter:blur(100px);
    top:-200px;
    right:-160px;
    pointer-events:none;
}

.nm-legal-hero-content{
    position:relative;
    z-index:2;
}

.nm-legal-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#ffffff;
    color:var(--brand-dark);
    padding:9px 18px 9px 14px;
    border-radius:50px;
    border:1px solid #dbeafe;
    box-shadow:var(--shadow-sm);
    font-size:12.5px;
    font-weight:700;
    letter-spacing:.2px;
    margin-bottom:22px;
}

.nm-legal-badge::before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--verified),var(--brand-light));
    flex-shrink:0;
}

.nm-legal-hero h1{
    margin:0 0 18px;
    font-size:52px;
    line-height:1.08;
    font-weight:800;
    color:var(--ink);
    letter-spacing:-1.4px;
}

.nm-legal-hero p{
    max-width:720px;
    margin:0 0 26px;
    color:var(--ink-soft);
    font-size:17px;
    line-height:1.8;
}

.nm-legal-updated{
    display:inline-block;
    background:#ffffff;
    color:var(--brand-dark);
    padding:9px 16px;
    border-radius:12px;
    border:1px solid var(--line);
    font-size:13.5px;
    font-weight:600;
    box-shadow:var(--shadow-sm);
}

/* =========================================================
   CONTENT
========================================================= */

.nm-legal-content{
    padding:56px 0 90px;
}

.nm-legal-card{
    background:#ffffff;
    border:1px solid var(--line);
    border-radius:var(--radius-lg);
    padding:40px 44px;
    box-shadow:var(--shadow-sm);
    margin-bottom:22px;
}

.nm-legal-card:last-of-type{
    margin-bottom:0;
}

.nm-legal-card h2{
    font-size:25px;
    line-height:1.25;
    font-weight:800;
    color:var(--ink);
    margin:0 0 16px;
    letter-spacing:-.3px;
}

.nm-legal-card h3{
    font-size:17px;
    font-weight:700;
    color:var(--brand-dark);
    margin:22px 0 10px;
}

.nm-legal-card h3:first-child{
    margin-top:0;
}

.nm-legal-card p{
    font-size:15.5px;
    color:var(--ink-soft);
    line-height:1.85;
    margin:0 0 14px;
}

.nm-legal-card p:last-child{
    margin-bottom:0;
}

.nm-legal-card ul{
    margin:0 0 14px;
    padding-left:20px;
}

.nm-legal-card ul:last-child{
    margin-bottom:0;
}

.nm-legal-card ul li{
    color:var(--ink-soft);
    font-size:15.5px;
    line-height:1.75;
    margin-bottom:9px;
}

.nm-legal-card ul li:last-child{
    margin-bottom:0;
}

.nm-legal-card strong{
    color:var(--ink);
}

/* =========================================================
   NOTICE CALLOUT
========================================================= */

.nm-legal-notice{
    background:var(--paper-blue);
    border-left:4px solid var(--brand);
    border-radius:var(--radius-sm);
    padding:22px 26px;
    margin-top:8px;
}

.nm-legal-notice p{
    margin:0;
    color:var(--ink);
    font-weight:500;
    font-size:14.5px;
    line-height:1.8;
}

/* =========================================================
   CONTACT
========================================================= */

.nm-legal-contact{
    background:linear-gradient(135deg,var(--brand),var(--brand-dark));
    border-radius:var(--radius-lg);
    padding:40px 44px;
    color:#ffffff;
}

.nm-legal-contact h2{
    color:#ffffff;
    font-size:24px;
    font-weight:800;
    margin:0 0 12px;
}

.nm-legal-contact p{
    color:#dbeafe;
    font-size:15px;
    margin:0 0 6px;
    line-height:1.7;
}

.nm-legal-contact-row{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:baseline;
    margin-top:14px;
}

.nm-legal-contact-row span{
    color:#bfdbfe;
    font-size:13.5px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.4px;
    min-width:110px;
}

.nm-legal-contact a{
    color:#ffffff;
    font-weight:600;
    text-decoration:underline;
    text-underline-offset:3px;
    word-break:break-word;
}

.nm-legal-contact-tag{
    display:inline-block;
    margin-top:20px;
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,.2);
    color:#bfdbfe;
    font-size:13.5px;
    font-weight:600;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:768px){

    .nm-legal-hero{
        padding:56px 0 46px;
    }

    .nm-legal-hero h1{
        font-size:36px;
        letter-spacing:-1px;
    }

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

    .nm-legal-content{
        padding:40px 0 60px;
    }

    .nm-legal-card{
        padding:26px 22px;
        border-radius:var(--radius-md);
    }

    .nm-legal-card h2{
        font-size:21px;
    }

    .nm-legal-contact{
        padding:28px 24px;
    }

    .nm-legal-contact-row{
        flex-direction:column;
        gap:2px;
    }

}

@media (prefers-reduced-motion:reduce){

    .nm-legal-page *{
        transition:none !important;
        animation:none !important;
    }

}
