/**
 * Nipun Schools — solution / Google Ads landing pages (/software, /software/<slug>).
 * Brand colours follow the logo: navy #0d3a72, orange #f7901e, green #2e9d3f, sky #1f86d1.
 */
:root {
    --ns-navy: #0d3a72;
    --ns-navy-2: #1663b0;
    --ns-orange: #f7901e;
    --ns-orange-2: #fdb92d;
    --ns-green: #2e9d3f;
    --ns-sky: #1f86d1;
    --ns-ink: #0f172a;
    --ns-muted: #556070;
    --ns-line: #e3e8ef;
    --ns-soft: #f5f8fc;
}

.ns-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.ns-section { padding: clamp(44px, 6vw, 80px) 0; }
.ns-section--soft { background: var(--ns-soft); }
.ns-h2 { font-family: 'Nunito', var(--hp-font-sans, system-ui, sans-serif); font-weight: 900; font-size: clamp(1.6rem, 2.4vw + .6rem, 2.3rem); color: var(--ns-navy); margin: 0 0 26px; line-height: 1.15; }
.ns-grid { display: grid; gap: 20px; }
.ns-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Buttons */
.ns-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.1; }
.ns-btn--primary { background: linear-gradient(135deg, var(--ns-orange-2), var(--ns-orange)); color: #fff; box-shadow: 0 8px 20px -8px rgba(247, 144, 30, .7); }
.ns-btn--primary:hover { filter: brightness(1.05); }
.ns-btn--ghost { background: #fff; color: var(--ns-navy); border-color: var(--ns-line); }
.ns-btn--wa { background: #25d366; color: #fff; }
.ns-btn--block { width: 100%; }

/* Hero */
.ns-hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(31, 134, 209, .14), transparent 60%), linear-gradient(180deg, #eef4fb 0%, #fff 100%); padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 64px); }
.ns-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ns-crumbs { font-size: .85rem; color: var(--ns-muted); margin-bottom: 14px; }
.ns-crumbs a { color: var(--ns-sky); text-decoration: none; }
.ns-kicker { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ns-orange); margin: 0 0 12px; }
.ns-hero h1 { font-family: 'Nunito', var(--hp-font-sans, system-ui, sans-serif); font-weight: 900; font-size: clamp(2rem, 3.3vw + .7rem, 3.1rem); line-height: 1.08; color: var(--ns-navy); margin: 0 0 16px; letter-spacing: -.01em; }
.ns-lead { font-size: 1.12rem; line-height: 1.65; color: var(--ns-muted); margin: 0 0 18px; max-width: 620px; }
.ns-ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.ns-ticks li { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--ns-ink); }
.ns-ticks i { color: var(--ns-green); }
.ns-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ns-trust li { font-size: .82rem; font-weight: 700; color: var(--ns-navy); background: #fff; border: 1px solid var(--ns-line); border-radius: 999px; padding: 6px 12px; display: inline-flex; gap: 6px; align-items: center; }
.ns-trust i { color: var(--ns-orange); }

/* Demo form card */
.ns-form-card { background: #fff; border-radius: 20px; padding: clamp(18px, 2.4vw, 28px); box-shadow: 0 24px 60px -24px rgba(13, 58, 114, .35); border: 1px solid var(--ns-line); scroll-margin-top: 110px; }
.ns-form-title { font-family: 'Nunito', var(--hp-font-sans, system-ui, sans-serif); font-weight: 900; color: var(--ns-navy); font-size: 1.5rem; margin: 0 0 4px; }
.ns-form-sub { color: var(--ns-muted); margin: 0 0 16px; font-size: .95rem; }
.ns-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.ns-field { display: grid; gap: 5px; font-size: .85rem; font-weight: 700; color: var(--ns-ink); }
.ns-field b { color: #d14343; }
.ns-field--wide { grid-column: 1 / -1; }
.ns-field input, .ns-field select, .ns-field textarea { width: 100%; box-sizing: border-box; border: 1.5px solid var(--ns-line); border-radius: 10px; padding: 11px 12px; font: inherit; font-weight: 500; color: var(--ns-ink); background: #fbfcfe; }
.ns-field input:focus, .ns-field select:focus, .ns-field textarea:focus { outline: none; border-color: var(--ns-sky); box-shadow: 0 0 0 3px rgba(31, 134, 209, .15); background: #fff; }
.ns-form .demo-form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ns-form-privacy { font-size: .8rem; color: var(--ns-muted); margin: 10px 0 0; text-align: center; }
.ns-form-privacy a { color: var(--ns-sky); }
.ns-form .demo-note { margin: 8px 0 0; font-size: .9rem; text-align: center; }
.ns-form .demo-note.is-error { color: #c53030; }
.ns-form .demo-note.is-success { color: var(--ns-green); }
.ns-form-alt { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--ns-line); }
.ns-form-alt a { display: inline-flex; gap: 6px; align-items: center; color: var(--ns-navy); font-weight: 700; text-decoration: none; font-size: .92rem; }
.ns-form-alt .fa-whatsapp { color: #25d366; }

/* Pains / features */
.ns-pain { background: #fff; border-radius: 16px; padding: 22px; border: 1px solid var(--ns-line); }
.ns-pain i { color: var(--ns-orange); font-size: 1.2rem; }
.ns-pain h3, .ns-feature h3 { margin: 10px 0 6px; font-size: 1.1rem; color: var(--ns-navy); }
.ns-pain p, .ns-feature p { margin: 0; color: var(--ns-muted); line-height: 1.6; }
.ns-feature { padding: 22px; border-radius: 16px; border: 1px solid var(--ns-line); background: #fff; transition: box-shadow .2s, transform .2s; }
.ns-feature:hover { box-shadow: 0 14px 34px -18px rgba(13, 58, 114, .4); transform: translateY(-2px); }
.ns-feature-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 1.15rem; background: linear-gradient(135deg, var(--ns-sky), var(--ns-navy)); }
.ns-grid .ns-feature:nth-child(3n+2) .ns-feature-icon { background: linear-gradient(135deg, var(--ns-orange-2), var(--ns-orange)); }
.ns-grid .ns-feature:nth-child(3n) .ns-feature-icon { background: linear-gradient(135deg, #8cc63f, var(--ns-green)); }

/* Screens */
.ns-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.ns-shot { margin: 0; }
.ns-shot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--ns-line); box-shadow: 0 18px 40px -22px rgba(13, 58, 114, .45); display: block; }
.ns-shot figcaption { margin-top: 10px; color: var(--ns-muted); font-size: .92rem; text-align: center; }
.ns-mock { position: relative; background: #fff; border-radius: 14px; border: 1px solid var(--ns-line); box-shadow: 0 18px 40px -22px rgba(13, 58, 114, .45); overflow: hidden; min-height: 220px; }
.ns-mock-tag { position: absolute; top: 8px; right: 10px; z-index: 2; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(13, 58, 114, .08); color: var(--ns-navy); padding: 3px 8px; border-radius: 999px; font-weight: 800; }
.ns-mock-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef2f7; border-bottom: 1px solid var(--ns-line); font-size: .78rem; color: var(--ns-muted); font-weight: 700; }
.ns-mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4dbe5; display: inline-block; }
.ns-mock-bar span { margin-left: 8px; }
.ns-mock-body { display: grid; grid-template-columns: 110px 1fr; min-height: 190px; }
.ns-mock-body aside { background: var(--ns-navy); color: #c9d7ea; display: grid; align-content: start; gap: 4px; padding: 12px 10px; font-size: .72rem; }
.ns-mock-body aside b { color: #fff; margin-bottom: 6px; }
.ns-mock-body aside span { padding: 5px 7px; border-radius: 6px; }
.ns-mock-body aside span.on { background: rgba(255, 255, 255, .16); color: #fff; }
.ns-mock table { width: 100%; border-collapse: collapse; font-size: .78rem; align-self: start; }
.ns-mock th, .ns-mock td { padding: 8px 10px; border-bottom: 1px solid #eef2f6; text-align: left; white-space: nowrap; }
.ns-mock th { color: var(--ns-muted); font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; }
.ns-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-weight: 800; font-size: .7rem; }
.ns-pill--ok { background: #e7f6ec; color: #1f7a35; }
.ns-pill--warn { background: #fff4e3; color: #b25e00; }
.ns-pill--bad { background: #fde8e8; color: #b42318; }
.ns-mock--phone { max-width: 300px; margin-inline: auto; border-radius: 28px; padding: 18px 14px; background: #0f2a4f; }
.ns-mock--phone .ns-mock-tag { background: rgba(255, 255, 255, .15); color: #fff; }
.ns-chat { display: grid; gap: 8px; padding-top: 18px; }
.ns-bubble { margin: 0; background: #fff; border-radius: 12px 12px 12px 4px; padding: 9px 11px; font-size: .78rem; line-height: 1.45; color: var(--ns-ink); max-width: 90%; }
.ns-bubble--me { justify-self: end; background: #dcf8c6; border-radius: 12px 12px 4px 12px; }
.ns-app { background: #fff; border-radius: 18px; padding: 14px; margin-top: 16px; }
.ns-app-top { font-weight: 800; color: var(--ns-navy); margin-bottom: 10px; font-size: .9rem; }
.ns-app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ns-app-grid span { background: var(--ns-soft); border-radius: 12px; padding: 10px; font-size: .74rem; color: var(--ns-muted); display: grid; gap: 3px; }
.ns-app-grid i { color: var(--ns-sky); }
.ns-app-grid b { color: var(--ns-navy); font-size: .9rem; }
.ns-map { position: relative; }
.ns-map svg { display: block; width: 100%; height: auto; }
.ns-map-card { position: absolute; left: 12px; bottom: 12px; background: #fff; border-radius: 10px; padding: 8px 12px; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); display: grid; font-size: .78rem; color: var(--ns-muted); }
.ns-map-card b { color: var(--ns-navy); }

/* Steps */
.ns-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.ns-steps li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--ns-line); border-radius: 16px; padding: 18px; }
.ns-step-n { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; background: var(--ns-navy); }
.ns-steps h3 { margin: 4px 0 4px; font-size: 1.05rem; color: var(--ns-navy); }
.ns-steps p { margin: 0; color: var(--ns-muted); line-height: 1.55; }

/* Long-form sections */
.ns-prose { max-width: 820px; }
.ns-prose h2 { font-family: 'Nunito', var(--hp-font-sans, system-ui, sans-serif); font-weight: 900; color: var(--ns-navy); font-size: 1.55rem; margin: 1.6em 0 .5em; }
.ns-prose h2:first-child { margin-top: 0; }
.ns-prose p, .ns-prose li { color: var(--ns-ink); line-height: 1.75; font-size: 1.03rem; }
.ns-prose a { color: var(--ns-sky); }

/* FAQ */
.ns-faq-wrap { max-width: 860px; }
.ns-faq { border: 1px solid var(--ns-line); border-radius: 12px; background: #fff; margin-bottom: 10px; }
.ns-faq summary { cursor: pointer; list-style: none; padding: 15px 46px 15px 18px; font-weight: 800; color: var(--ns-navy); position: relative; }
.ns-faq summary::-webkit-details-marker { display: none; }
.ns-faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 1.4rem; color: var(--ns-orange); }
.ns-faq[open] summary::after { content: "\2212"; }
.ns-faq p { margin: 0; padding: 0 18px 16px; color: var(--ns-muted); line-height: 1.65; }

/* CTA band */
.ns-cta { background: linear-gradient(135deg, var(--ns-navy) 0%, #0a2a57 60%, #12407f 100%); color: #fff; padding: clamp(36px, 5vw, 56px) 0; }
.ns-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.ns-cta h2 { font-family: 'Nunito', var(--hp-font-sans, system-ui, sans-serif); font-weight: 900; margin: 0 0 6px; font-size: clamp(1.5rem, 2vw + .6rem, 2rem); color: #fff; }
.ns-cta p { margin: 0; color: #c9d7ea; }
.ns-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Related / hub cards */
.ns-related { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 14px; border: 1px solid var(--ns-line); background: #fff; text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.ns-related:hover { border-color: var(--ns-sky); box-shadow: 0 10px 28px -18px rgba(13, 58, 114, .5); }
.ns-related i { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 11px; display: grid; place-items: center; background: #eef4fb; color: var(--ns-navy); }
.ns-related span { display: grid; gap: 2px; }
.ns-related b { color: var(--ns-navy); }
.ns-related small { color: var(--ns-muted); font-size: .86rem; }
.ns-related--big { padding: 22px; }
.ns-hub-more { margin-top: 26px; color: var(--ns-muted); }
.ns-hub-more a { color: var(--ns-sky); }

/* Sticky mobile action bar */
.ns-sticky { display: none; }

@media (max-width: 960px) {
    .ns-hero-grid { grid-template-columns: 1fr; }
    .ns-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .ns-grid--3 { grid-template-columns: 1fr; }
    .ns-form-grid { grid-template-columns: 1fr; }
    .ns-mock-body { grid-template-columns: 1fr; }
    .ns-mock-body aside { display: none; }
    .ns-sticky { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); box-shadow: 0 -6px 18px rgba(13, 58, 114, .12); }
    .ns-sticky .ns-btn--primary { flex: 1; }
    .ns-sticky .ns-btn { padding: 12px 16px; }
    body:has(.ns-sticky) .hp-floating-actions { display: none; }
    body:has(.ns-sticky) { padding-bottom: 72px; }
}

/* Keep older global form styles out of the demo card */
.ns-form-card .ns-form { border: 0; padding: 0; margin: 0; background: none; box-shadow: none; }
.ns-form-card .ns-field > span { text-transform: none; letter-spacing: 0; color: var(--ns-ink); font-size: .85rem; font-weight: 700; }
.ns-form-card .ns-field input, .ns-form-card .ns-field select, .ns-form-card .ns-field textarea { font-size: .95rem; min-height: 44px; }

/* Floating WhatsApp/Call buttons: icon only (labels were clipped on inner pages) */
.hp-floating-actions .hp-fab-label { display: none !important; }

/* Illustration variants: documents, cards, phone screens */
.ns-mock--doc { padding: 26px 20px 18px; background: #fffdf8; }
.ns-mock--doc table { width: 100%; border-collapse: collapse; font-size: .78rem; margin-top: 10px; }
.ns-mock--doc th, .ns-mock--doc td { border: 1px solid #e6e1d6; padding: 6px 8px; text-align: left; }
.ns-mock--doc th { background: #f3efe5; color: var(--ns-navy); }
.ns-doc-head { display: grid; gap: 2px; border-bottom: 2px solid var(--ns-navy); padding-bottom: 8px; }
.ns-doc-head b { color: var(--ns-navy); font-size: .95rem; }
.ns-doc-head span { color: var(--ns-muted); font-size: .78rem; }
.ns-doc-sign { display: flex; justify-content: space-between; margin-top: 18px; font-size: .72rem; color: var(--ns-muted); }
.ns-doc-sign span { border-top: 1px solid #c9c3b6; padding-top: 4px; min-width: 90px; text-align: center; }
.ns-ticket { display: flex; gap: 14px; align-items: center; margin: 12px 0 4px; }
.ns-ticket div { display: grid; gap: 2px; font-size: .8rem; color: var(--ns-muted); }
.ns-ticket b { color: var(--ns-navy); font-size: .95rem; }
.ns-photo { width: 56px; height: 66px; border-radius: 8px; background: linear-gradient(180deg, #dbe5f2 0 55%, #b9c9de 55%); position: relative; flex: 0 0 auto; }
.ns-photo::before { content: ""; position: absolute; left: 50%; top: 12px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: #9fb3cc; }
.ns-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-top: 14px; }
.ns-kpis span { background: #fff; border: 1px solid var(--ns-line); border-radius: 10px; padding: 8px 10px; display: grid; font-size: .72rem; color: var(--ns-muted); }
.ns-kpis b { color: var(--ns-navy); font-size: .92rem; }
.ns-mock--cert { background: #fffaf0; }
.ns-cert { border: 3px double #c9a24a; padding: 16px; text-align: center; }
.ns-cert b { color: var(--ns-navy); letter-spacing: .12em; }
.ns-cert p { font-size: .8rem; line-height: 1.6; color: var(--ns-ink); margin: 10px 0 0; }
.ns-mock--id { display: grid; place-items: center; background: #eef4fb; }
.ns-idcard { width: 170px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px -12px rgba(13, 58, 114, .5); display: grid; justify-items: center; gap: 4px; padding-bottom: 12px; font-size: .75rem; color: var(--ns-muted); }
.ns-idcard-top { width: 100%; background: var(--ns-navy); color: #fff; text-align: center; font-weight: 800; font-size: .72rem; padding: 8px 6px; margin-bottom: 8px; }
.ns-idcard b { color: var(--ns-navy); }
.ns-idcard-qr { width: 46px; height: 46px; margin-top: 4px; background: repeating-linear-gradient(90deg, #0d3a72 0 4px, #fff 4px 7px), repeating-linear-gradient(0deg, #0d3a72 0 4px, transparent 4px 7px); background-blend-mode: multiply; border-radius: 4px; }
.ns-dot { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: .62rem; font-weight: 900; }
.ns-dot--ok { background: #e7f6ec; color: #1f7a35; }
.ns-dot--bad { background: #fde8e8; color: #b42318; }
.ns-paylist { display: grid; gap: 6px; margin-bottom: 10px; }
.ns-paylist span { display: flex; justify-content: space-between; background: var(--ns-soft); border-radius: 10px; padding: 9px 10px; font-size: .78rem; color: var(--ns-muted); }
.ns-paylist b { color: var(--ns-navy); }
.ns-paybtn { background: linear-gradient(135deg, var(--ns-orange-2), var(--ns-orange)); color: #fff; text-align: center; font-weight: 800; border-radius: 10px; padding: 10px; font-size: .85rem; }
.ns-paybtn--navy { background: var(--ns-navy); }
.ns-app-note { display: block; text-align: center; color: var(--ns-muted); font-size: .7rem; margin-top: 6px; }
.ns-app .ns-map-svg { width: 100%; height: auto; border-radius: 10px; display: block; }
