/* =========================================================
   Vestra Tech — Non-Profit Organizations portal
   Scoped styles for nonprofit.html and shared-project.html
   ========================================================= */

.np-body {
    background: var(--bg-main, #f6f8fb);
    color: var(--text, #0f1b33);
    font-family: 'IBM Plex Sans Arabic', 'Outfit', sans-serif;
    overflow-x: hidden;
}

.np-body *,
.np-body *::before,
.np-body *::after { box-sizing: border-box; }

.np-body a { text-decoration: none; }

/* ---------- Header ---------- */
.np-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 27, 51, 0.08);
}

.np-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
}

.np-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.np-logo img { height: 44px; width: auto; object-fit: contain; }

.np-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.2vw, 30px);
    margin-inline-start: 0;
    flex: 1;
}

.np-header-actions {
    margin-inline-start: auto;
}

.np-nav a {
    color: #33415c;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.np-nav a::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--primary, #0f1b33);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.np-nav a:hover { color: var(--primary, #0f1b33); }
.np-nav a:hover::after { transform: scaleX(1); }

/* Prominent Active Highlight for Nonprofits Page in Main Navigation */
.np-nav a.active {
    color: #ffffff !important;
    background: #0f1b33 !important;
    border: 1px solid #0f1b33 !important;
    border-radius: 9999px;
    padding: 7px 18px !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(15, 27, 51, 0.2) !important;
}
.np-nav a.active::after {
    display: none !important;
}

.np-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.np-lang-btn {
    border: 1px solid #dbe2ea;
    background: #fff;
    color: #0f1b33;
    border-radius: 999px;
    height: 38px;
    min-width: 44px;
    padding: 0 12px;
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s ease;
}

.np-lang-btn:hover { border-color: var(--primary, #0f1b33); color: var(--primary, #0f1b33); }
.np-lang-selector { position: relative; display: inline-flex; }
.np-lang-selector .lang-menu { top: calc(100% + 8px); z-index: 1300; }

.np-modal-lang-selector { position: relative; display: inline-flex; }
.np-modal-lang-selector .lang-menu { top: calc(100% + 8px); inset-inline-end: 0; z-index: 1350; }
.np-modal-lang-btn {
    border: 1.5px solid #dbe2ea;
    background: #f8fafc;
    color: #0f1b33;
    border-radius: 999px;
    height: 38px;
    padding: 0 14px;
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.np-modal-lang-btn:hover {
    border-color: #0f1b33;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 27, 51, 0.1);
}

.np-header-cta { border-radius: 999px; }

/* Prominent Menu Open Button */
.np-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #0f1b33 !important;
    border: 1.5px solid #E7C071 !important;
    color: #E7C071 !important;
    font-size: 19px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 27, 51, 0.22), 0 0 0 1px rgba(231, 192, 113, 0.3);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1300;
}
.np-menu-btn:hover {
    background: #1a2a47 !important;
    border-color: #f3d489 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(231, 192, 113, 0.38);
}
.np-menu-btn:active,
.np-menu-btn[aria-expanded="true"] {
    background: #E7C071 !important;
    color: #0f1b33 !important;
    border-color: #0f1b33 !important;
    transform: scale(0.96);
}

/* ---------- Hero ---------- */
.np-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 15%, rgba(15, 27, 51, 0.20), transparent 45%),
        radial-gradient(circle at 88% 80%, rgba(233, 196, 106, 0.11), transparent 40%),
        linear-gradient(135deg, #0b172b 0%, #0f1b33 52%, #102c33 100%);
    color: #fff;
    padding: 94px 0 100px;
    isolation: isolate;
}

.np-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
    z-index: -1;
}
.np-hero-glow-a {
    width: 420px; height: 420px;
    top: -190px; inset-inline-end: -80px;
    background: radial-gradient(circle, rgba(15, 27, 51,0.24), transparent 68%);
}
.np-hero-glow-b {
    width: 320px; height: 320px;
    bottom: -150px; inset-inline-start: 8%;
    background: radial-gradient(circle, rgba(99,143,102,0.20), transparent 68%);
}

.np-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: clamp(36px, 5vw, 76px);
    align-items: center;
}

.np-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #b9e6c8;
    border-radius: 999px;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.np-hero-title {
    font-size: clamp(2.1rem, 4.3vw, 3.65rem);
    line-height: 1.16;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 0 0 14px;
    color: #fff;
}

.np-hero-title-en {
    margin: 0 0 22px;
    color: #9fd9b5;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.92rem, 1.4vw, 1.08rem);
    letter-spacing: 0.01em;
    font-weight: 500;
}

.np-hero-intro {
    max-width: 680px;
    color: #c5d2df;
    font-size: clamp(1rem, 1.4vw, 1.14rem);
    line-height: 1.9;
    margin: 0 0 30px;
}

.np-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.np-hero-actions .btn { border-radius: 12px; padding: 14px 24px; }

.np-btn-ghost-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.2s ease;
}
.np-btn-ghost-light:hover { background: rgba(255, 255, 255, 0.09); color: #fff; border-color: rgba(255,255,255,0.5); }

.np-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
    color: #aebdcd;
    font-size: 13px;
}
.np-hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.np-hero-points i { color: #4fd184; font-size: 12px; }

.np-hero-panel { display: grid; gap: 14px; }

.np-impact-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto;
    column-gap: 15px;
    align-items: center;
    padding: 19px 21px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(10px);
    transform: translateX(0);
    transition: 0.25s ease;
}
.np-impact-card:hover { transform: translateY(-3px); border-color: rgba(79, 209, 132, 0.4); background: rgba(255,255,255,0.08); }

.np-impact-icon {
    grid-row: 1 / span 2;
    width: 52px; height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(15, 27, 51, 0.18);
    color: #54d98b;
    font-size: 20px;
}
.np-impact-label { color: #91a6ba; font-size: 12.5px; margin-bottom: 3px; }
.np-impact-card strong { color: #fff; font-size: 15.5px; font-weight: 600; }

/* ---------- Sections ---------- */
.np-section { padding: clamp(66px, 8vw, 104px) 0; }
.np-section-soft { background: #eef3ef; border-block: 1px solid #e0e8e2; }

.np-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(36px, 5vw, 58px);
}

.np-kicker {
    display: inline-block;
    color: var(--primary, #0f1b33);
    background: rgba(15, 27, 51, 0.09);
    border: 1px solid rgba(15, 27, 51, 0.16);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.np-section-title {
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    line-height: 1.28;
    letter-spacing: -0.025em;
    color: #0f1b33;
    margin: 0 0 14px;
    font-weight: 700;
}

.np-section-desc {
    color: #5b6678;
    font-size: 1.04rem;
    line-height: 1.85;
    margin: 0;
}

/* ---------- Services intro ---------- */
.np-services-head { max-width: 1100px; }
@media (min-width: 821px) {
    .np-services-head .np-section-title { white-space: nowrap; }
}
.np-services-intro {
    max-width: 780px;
    margin: 0 auto;
}
.np-services-intro-title {
    margin: 0 0 10px;
    font-size: clamp(1.12rem, 1.75vw, 1.38rem);
    line-height: 1.45;
    color: #0f1b33;
    font-weight: 700;
}
.np-services-intro .np-section-desc {
    max-width: 720px;
    margin: 0 auto;
}

/* ---------- Services guidance notes ---------- */
.np-services-notes {
    margin: clamp(38px, 5vw, 60px) 0 0;
    padding: clamp(20px, 2.6vw, 30px);
    background: #f6f8fb;
    border: 1px solid #e2e9ef;
    border-radius: 22px;
}
.np-services-notes .np-request-notes {
    margin: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    text-align: start;
}
.np-services-notes .np-request-notes li {
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5ebf0;
    border-radius: 14px;
}

/* ---------- Service cards ---------- */
.np-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.np-service-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8ee;
    border-radius: 18px;
    padding: 28px 26px 24px;
    display: flex;
    flex-direction: column;
    min-height: 310px;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    overflow: hidden;
}

.np-service-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #0f1b33, #E7C071);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.np-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(15, 27, 51, 0.10);
    border-color: rgba(15, 27, 51, 0.34);
}
.np-service-card:hover::before { opacity: 1; }

.np-service-icon {
    width: 54px; height: 54px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(15, 27, 51,0.14), rgba(15, 27, 51,0.055));
    color: var(--primary, #0f1b33);
    font-size: 22px;
    margin-bottom: 20px;
}

.np-service-card h3 {
    font-size: 1.24rem;
    line-height: 1.4;
    margin: 0 0 10px;
    color: #0f1b33;
    font-weight: 700;
}

.np-service-card p {
    color: #5b6678;
    font-size: 0.94rem;
    line-height: 1.8;
    margin: 0 0 22px;
    flex: 1;
}

.np-service-price {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    padding: 4px 12px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(231, 192, 113, 0.16), rgba(15, 27, 51, 0.05));
    border: 1px solid rgba(231, 192, 113, 0.45);
    border-radius: 999px;
    color: #8c6a1e;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.np-service-price i {
    color: #c99e38;
    font-size: 0.8rem;
}

.np-card-dual-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    width: 100%;
}

.np-service-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary, #0f1b33);
    border: 1px solid var(--primary, #0f1b33);
    color: #fff;
    padding: 10px 14px;
    border-radius: 11px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(15, 27, 51, 0.14);
}
.np-service-btn:hover {
    background: #1c2e52;
    border-color: #E7C071;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(15, 27, 51, 0.22);
    color: #fff;
}

.np-service-wa-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    border: 1px solid #20b858;
    color: #fff;
    padding: 10px 14px;
    border-radius: 11px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.18);
}
.np-service-wa-btn:hover {
    background: #1eb956;
    border-color: #1a9e4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
    color: #fff;
}
@media (max-width: 640px) {
    .np-card-dual-actions {
        flex-direction: column;
        gap: 8px;
    }
    .np-card-dual-actions .np-service-btn,
    .np-card-dual-actions .np-service-wa-btn {
        width: 100%;
    }
}

.np-service-skeleton {
    height: 310px;
    border-radius: 18px;
    border: 1px solid #e6ecf1;
    background: linear-gradient(100deg, #f1f4f7 20%, #f8fafb 40%, #f1f4f7 60%);
    background-size: 220% 100%;
    animation: np-shimmer 1.3s linear infinite;
}
@keyframes np-shimmer { to { background-position: -220% 0; } }

.np-load-error {
    margin: 22px auto 0;
    max-width: 680px;
    text-align: center;
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #fecdca;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.7;
}

/* ---------- Process ---------- */
.np-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    counter-reset: step;
}
.np-process-step {
    background: #fff;
    border: 1px solid #e0e8e2;
    border-radius: 16px;
    padding: 28px 26px;
    position: relative;
}
.np-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: #0f1b33;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 18px;
}
.np-process-step:nth-child(2) .np-step-num { background: var(--primary, #0f1b33); }
.np-process-step:nth-child(3) .np-step-num { background: #33415c; }
.np-process-step h3 { margin: 0 0 9px; font-size: 1.14rem; color: #0f1b33; }
.np-process-step p { margin: 0; color: #5b6678; font-size: 0.94rem; line-height: 1.8; }

/* ---------- Request section ---------- */
.np-request-section { background: #f6f8fb; }
.np-request-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(32px, 5vw, 70px);
    align-items: center;
}
.np-request-copy .np-section-title,
.np-request-copy .np-section-desc { text-align: start; }
.np-request-copy .np-section-desc { max-width: 620px; }

.np-request-notes {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 13px;
}
.np-request-notes li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #4a586d;
    font-size: 14px;
    line-height: 1.7;
}
.np-request-notes i {
    color: var(--primary, #0f1b33);
    background: rgba(15, 27, 51, 0.1);
    width: 26px; height: 26px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    font-size: 12px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.np-request-card {
    background: #fff;
    border: 1px solid #e2e8ee;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 18px 48px rgba(15, 27, 51, 0.07);
}
.np-request-card-icon {
    width: 54px; height: 54px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: rgba(15, 27, 51, 0.1);
    color: var(--primary, #0f1b33);
    font-size: 22px;
    margin-bottom: 18px;
}
.np-request-card h3 { margin: 0 0 8px; font-size: 1.28rem; color: #0f1b33; }
.np-request-card p { margin: 0 0 22px; color: #5b6678; font-size: 0.94rem; line-height: 1.8; }
.np-btn-block { width: 100%; justify-content: center; border-radius: 11px; }

/* ---------- Footer ---------- */
.np-footer {
    background: #0b172b;
    color: #9fb0c2;
    padding: 44px 0;
}
.np-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.np-footer-brand { display: flex; align-items: center; gap: 22px; }
.np-footer-brand img { height: 38px; width: auto; }
.np-footer-brand p { margin: 0; font-size: 13px; color: #8fa2b7; max-width: 250px; }
.np-footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.np-footer-links a { color: #bac8d6; font-size: 13.5px; font-weight: 500; }
.np-footer-links a:hover { color: #54d98b; }
.np-footer-copy { font-size: 12.5px; color: #72869b; }

/* ---------- Modal / form ---------- */
.np-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    padding: 24px;
    overflow: hidden;
}
.np-modal.is-open { display: flex; align-items: flex-start; justify-content: center; }
.np-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 15, 29, 0.62);
    backdrop-filter: blur(3px);
}
.np-modal-card {
    position: relative;
    z-index: 1;
    width: min(940px, 100%);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    margin: auto;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #879db2 #e9eef3;
    scrollbar-gutter: stable;
    animation: np-modal-in 0.24s ease;
}
.np-modal-card::-webkit-scrollbar { width: 12px; }
.np-modal-card::-webkit-scrollbar-track { background: #e9eef3; }
.np-modal-card::-webkit-scrollbar-thumb {
    background: #879db2;
    border: 3px solid #e9eef3;
    border-radius: 999px;
}
.np-modal-card::-webkit-scrollbar-thumb:hover { background: #6c859b; }
@keyframes np-modal-in { from { opacity: 0; transform: translateY(16px) scale(0.99); } to { opacity: 1; transform: none; } }

.np-modal-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 26px 30px 22px;
    border-bottom: 1px solid #edf1f4;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(180deg, #fbfdfc, #fff);
}
.np-modal-eyebrow {
    display: inline-block;
    color: var(--primary, #0f1b33);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}
.np-modal-head h2 { margin: 0 0 5px; color: #0f1b33; font-size: 1.45rem; line-height: 1.35; }
.np-modal-head p { margin: 0; color: #6b7788; font-size: 13.5px; line-height: 1.7; }
.np-modal-close {
    width: 40px; height: 40px;
    flex: 0 0 auto;
    border: 1px solid #e2e8ee;
    border-radius: 11px;
    background: #fff;
    color: #4a586d;
    font-size: 17px;
    cursor: pointer;
    transition: 0.2s ease;
}
.np-modal-close:hover { background: #fef3f2; border-color: #fecdca; color: #b42318; }
.np-modal-head-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.np-form-lang-btn {
    border: 1px solid #dbe2ea; background: #f7fafc; color: #0f1b33;
    border-radius: 999px; min-height: 36px; padding: 0 13px;
    font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
    white-space: nowrap; transition: 0.2s ease;
}
.np-form-lang-btn:hover { border-color: var(--primary, #0f1b33); color: var(--primary, #0f1b33); }
.np-form-lang-btn[hidden] { display: none !important; }

.np-form { padding: 26px 30px 30px; }
.np-form fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.np-form legend {
    font-size: 14px;
    font-weight: 700;
    color: #0f1b33;
    padding: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.np-form legend::before {
    content: '';
    width: 4px; height: 17px;
    border-radius: 4px;
    background: var(--primary, #0f1b33);
    display: inline-block;
}

.np-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}
.np-field { display: flex; flex-direction: column; min-width: 0; }
.np-field-full { grid-column: 1 / -1; }

.np-field label {
    font-size: 13px;
    font-weight: 600;
    color: #344256;
    margin-bottom: 7px;
    line-height: 1.5;
}
.np-field label em { color: #d92d20; font-style: normal; }

.np-input {
    width: 100%;
    border: 1px solid #d8e0e8;
    border-radius: 10px;
    background: #fff;
    color: #0f1b33;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    padding: 11px 13px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    min-height: 44px;
}
.np-input::placeholder { color: #9aa7b6; }
.np-input:focus {
    outline: none;
    border-color: var(--primary, #0f1b33);
    box-shadow: 0 0 0 3px rgba(15, 27, 51, 0.13);
}
.np-input[aria-invalid="true"] { border-color: #d92d20; box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.09); }
textarea.np-input { resize: vertical; min-height: 100px; }
select.np-input { cursor: pointer; }

.np-hint { color: #7f8b9b; font-size: 12px; line-height: 1.65; margin-top: 5px; }
.np-field-error { color: #b42318; font-size: 12px; line-height: 1.5; margin-top: 5px; min-height: 0; }
.np-field-error:not(:empty) { min-height: 18px; }

.np-check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.np-check-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #dde4eb;
    border-radius: 9px;
    padding: 8px 11px;
    font-size: 13px;
    color: #435166;
    background: #fbfcfd;
    cursor: pointer;
    transition: 0.18s ease;
}
.np-check-option:hover { border-color: rgba(15, 27, 51,0.45); }
.np-check-option input { accent-color: var(--primary, #0f1b33); }
.np-check-option.checked { border-color: rgba(15, 27, 51,0.55); background: rgba(15, 27, 51,0.06); color: #0f1b33; }

.np-file-drop {
    border: 1.5px dashed #cbd6e0;
    border-radius: 13px;
    background: #fbfcfd;
    padding: 24px 18px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    transition: 0.2s ease;
}
.np-file-drop:hover { border-color: var(--primary, #0f1b33); background: rgba(15, 27, 51,0.03); }
.np-file-drop > i { font-size: 24px; color: var(--primary, #0f1b33); }
.np-file-title { font-weight: 600; font-size: 14px; color: #253349; }
.np-file-hint { font-size: 12px; color: #7f8b9b; line-height: 1.7; max-width: 540px; }
.np-file-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.np-file-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.np-file-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #e3e9ef;
    border-radius: 9px;
    padding: 8px 11px;
    background: #fbfcfd;
    font-size: 12.5px;
    color: #435166;
}
.np-file-list li i { color: var(--primary, #0f1b33); }
.np-file-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-file-list li small { margin-inline-start: auto; color: #8895a5; flex: 0 0 auto; }

.np-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #4a586d;
    font-size: 13px;
    line-height: 1.7;
    margin: 2px 0 22px;
    cursor: pointer;
}
.np-consent input { margin-top: 3px; accent-color: var(--primary, #0f1b33); flex: 0 0 auto; }

.np-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #edf1f4;
}
.np-form-actions .btn { border-radius: 10px; }
.np-form-actions .btn[disabled] { opacity: 0.62; cursor: wait; }

.np-form-alert {
    border: 1px solid #fecdca;
    background: #fef3f2;
    color: #b42318;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.np-form.is-submitting { pointer-events: none; opacity: 0.72; }

/* ---------- Success ---------- */
.np-success-card {
    position: relative;
    z-index: 1;
    width: min(480px, 100%);
    margin: auto;
    background: #fff;
    border-radius: 22px;
    padding: 38px 34px 32px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    animation: np-modal-in 0.24s ease;
}
.np-success-icon {
    width: 74px; height: 74px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(15, 27, 51, 0.11);
    color: var(--primary, #0f1b33);
    font-size: 34px;
}
.np-success-card h2 { margin: 0 0 10px; font-size: 1.4rem; color: #0f1b33; }
.np-success-card > p { margin: 0 0 22px; color: #5b6678; font-size: 14px; line-height: 1.8; }

.np-reference-box {
    border: 1px dashed rgba(15, 27, 51, 0.45);
    background: rgba(15, 27, 51, 0.055);
    border-radius: 13px;
    padding: 14px;
    margin-bottom: 18px;
    display: grid;
    gap: 4px;
}
.np-reference-box span { font-size: 12px; color: #4a586d; font-weight: 600; }
.np-reference-box strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: #0f1b33;
    word-break: break-all;
}
.np-success-note { color: #6b7788 !important; font-size: 12.5px !important; margin-bottom: 20px !important; min-height: 18px; }

/* ---------- Shared project page ---------- */
.np-share-page { min-height: 100vh; display: flex; flex-direction: column; background: #eef3f6; }
.np-share-main { flex: 1; display: grid; place-items: center; padding: 40px 18px; }
.np-share-shell { width: min(880px, 100%); }
.np-share-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}
.np-share-brand-link { display: inline-flex; align-items: center; }
.np-share-brand-link img { height: 40px; width: auto; object-fit: contain; }
.np-sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.np-progress-detail { display: block; margin-top: 6px; color: #7a8798; font-size: 11.5px; font-weight: 500; }
.np-share-empty { color: #7a8798; font-size: 13.5px; line-height: 1.8; text-align: center; padding: 16px 0; }
.np-share-brand { text-align: center; margin-bottom: 22px; }
.np-share-brand img { height: 42px; width: auto; }
.np-share-card {
    background: #fff;
    border: 1px solid #dfe7ee;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(15, 27, 51, 0.09);
    overflow: hidden;
}
.np-share-gate { padding: 38px 34px 34px; text-align: center; }
.np-share-lock {
    width: 66px; height: 66px;
    margin: 0 auto 18px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(15, 27, 51,0.10);
    color: var(--primary, #0f1b33);
    font-size: 27px;
}
.np-share-gate h1 { margin: 0 0 8px; font-size: 1.5rem; color: #0f1b33; }
.np-share-gate p { margin: 0 auto 24px; color: #5b6678; font-size: 14px; line-height: 1.8; max-width: 460px; }
.np-share-pin-form { max-width: 340px; margin: 0 auto; display: grid; gap: 12px; }
.np-share-pin-form input {
    text-align: center;
    font-size: 1.4rem;
    letter-spacing: 0.35em;
    font-family: 'Outfit', monospace;
    padding: 12px 14px;
}
.np-share-error {
    border: 1px solid #fecdca;
    background: #fef3f2;
    color: #b42318;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.6;
}
.np-share-project { padding: 30px 34px 36px; }
.np-share-project-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf1f4;
    margin-bottom: 24px;
}
.np-share-project-head h1 { margin: 0 0 6px; font-size: 1.55rem; color: #0f1b33; line-height: 1.35; }
.np-share-project-head p { margin: 0; color: #7a8798; font-size: 12.5px; }
.np-share-lock-btn {
    border: 1px solid #dfe7ee;
    background: #fff;
    color: #526174;
    border-radius: 9px;
    padding: 8px 13px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    flex: 0 0 auto;
}
.np-share-lock-btn:hover { border-color: #b9c5d2; color: #0f1b33; }

.np-share-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.np-share-meta {
    border: 1px solid #e5ebf1;
    border-radius: 12px;
    padding: 14px 16px;
    background: #fbfcfd;
}
.np-share-meta span { display: block; color: #7a8798; font-size: 11.5px; font-weight: 600; margin-bottom: 5px; }
.np-share-meta strong { color: #0f1b33; font-size: 14px; line-height: 1.5; }
.np-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(15, 27, 51,0.1);
    color: #0f1b33;
}
.np-status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.np-progress-track { height: 7px; border-radius: 999px; background: #e8edf2; overflow: hidden; margin-top: 8px; }
.np-progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0f1b33, #E7C071); }

.np-share-block { margin-top: 24px; }
.np-share-block h2 { margin: 0 0 10px; font-size: 1.02rem; color: #0f1b33; }
.np-share-block p { margin: 0; color: #4f5d70; font-size: 14px; line-height: 1.9; white-space: pre-wrap; }

.np-share-milestones { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.np-share-milestones li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border: 1px solid #e5ebf1;
    border-radius: 11px;
    padding: 11px 13px;
    background: #fbfcfd;
}
.np-milestone-dot {
    width: 23px; height: 23px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eef2f6;
    color: #8b98a8;
    font-size: 10px;
    flex: 0 0 auto;
    margin-top: 1px;
}
.np-milestone-done .np-milestone-dot { background: rgba(15, 27, 51,0.14); color: #0f1b33; }
.np-milestone-late .np-milestone-dot { background: #fef3f2; color: #b42318; }
.np-share-milestones strong { display: block; font-size: 13.5px; color: #253349; margin-bottom: 2px; }
.np-share-milestones small { color: #7d8a9b; font-size: 11.5px; line-height: 1.5; }

.np-share-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.np-share-files a {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e5ebf1;
    border-radius: 10px;
    padding: 10px 13px;
    color: #344256;
    font-size: 13px;
    background: #fbfcfd;
    transition: 0.2s ease;
}
.np-share-files a:hover { border-color: rgba(15, 27, 51,0.4); color: #0f1b33; }
.np-share-files i { color: var(--primary, #0f1b33); }
.np-share-files small { margin-inline-start: auto; color: #8895a5; }

.np-share-loading { text-align: center; padding: 50px 20px; color: #7a8798; font-size: 14px; }
.np-spinner {
    width: 34px; height: 34px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 3px solid #dbe4ec;
    border-top-color: var(--primary, #0f1b33);
    animation: np-spin 0.8s linear infinite;
}
@keyframes np-spin { to { transform: rotate(360deg); } }

.np-share-footer { text-align: center; color: #8492a3; font-size: 12px; padding: 20px; }

/* ---------- RTL / LTR helpers ---------- */
[dir="rtl"] .np-arrow { transform: scaleX(-1); }
[dir="ltr"] .np-service-btn i { transform: scaleX(-1); }
[dir="ltr"] .np-service-btn:hover i { transform: translateX(3px); }
[dir="rtl"] .np-form-actions { justify-content: flex-start; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
    .np-nav { gap: 18px; }
    .np-nav a { font-size: 14px; }
    .np-hero-inner { grid-template-columns: 1fr; }
    .np-hero-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .np-impact-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .np-impact-icon { grid-row: auto; margin-bottom: 8px; }
    .np-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .np-request-inner { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .np-nav {
        position: absolute;
        top: calc(100% + 1px);
        inset-inline: 0;
        background: #fff;
        border-bottom: 1px solid #e2e8ee;
        box-shadow: 0 18px 30px rgba(15,27,51,0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 24px 16px;
        display: none;
    }
    .np-nav.is-open { display: flex; }
    .np-nav a { padding: 12px 0; border-bottom: 1px solid #f0f3f6; }
    .np-nav a::after { display: none; }
    .np-nav a:last-child { border-bottom: 0; }
    .np-nav a.active {
        background: rgba(231, 192, 113, 0.22) !important;
        color: #0f1b33 !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        border: 1px solid rgba(231, 192, 113, 0.5) !important;
        border-inline-start: 4px solid #E7C071 !important;
        padding: 12px 16px !important;
        margin: 4px 0 !important;
        box-shadow: none !important;
    }
    .np-menu-btn { display: inline-flex !important; }
    .np-header-cta { display: none; }
    .np-process-grid { grid-template-columns: 1fr; }
    .np-services-notes .np-request-notes { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}

@media (max-width: 620px) {
    .np-header-inner { min-height: 68px; gap: 14px; }
    .np-hero { padding: 64px 0 72px; }
    .np-hero-panel { grid-template-columns: 1fr; }
    .np-hero-points { flex-direction: column; gap: 10px; }
    .np-services-grid { grid-template-columns: 1fr; }
    .np-service-card { min-height: 0; }
    .np-form-grid { grid-template-columns: 1fr; }
    .np-modal { padding: 10px; }
    .np-modal-card { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; }
    .np-modal-head, .np-form { padding-inline: 18px; }
    .np-modal-head { padding-top: 20px; padding-bottom: 16px; border-radius: 16px 16px 0 0; }
    .np-services-notes { padding: 16px; border-radius: 16px; }
    .np-services-notes .np-request-notes li { padding: 12px 14px; }
    .np-form-actions { flex-direction: column-reverse; }
    .np-form-actions .btn { width: 100%; }
    .np-request-card { padding: 24px; }
    .np-footer-inner { flex-direction: column; align-items: flex-start; }
    .np-share-project { padding: 22px 18px 28px; }
    .np-share-project-head { flex-direction: column; }
    .np-share-grid { grid-template-columns: 1fr; }
    .np-share-gate { padding: 30px 20px 28px; }
}
