/* NationScholars Public Website / Exam Portals — v1.0, scoped styles */
:root { --nsp-navy:#08285a; --nsp-deep:#061b3e; --nsp-blue:#0c56b1; --nsp-orange:#ff8a19; --nsp-text:#18263d; --nsp-muted:#5e6e85; --nsp-line:#dfe7f1; --nsp-paper:#f6f9ff; }
html { scroll-behavior:smooth; }
.nsp-hero-test-link { display:inline-flex; align-items:center; justify-content:center; gap:9px; background:#102e62 !important; color:#fff !important; text-decoration:none; box-shadow:0 8px 22px rgba(6,32,80,.16); }
.nsp-hero-test-link:hover { background:#164d98 !important; transform:translateY(-2px); }
header .nav { gap:13px; }
header .nav .registered-btn, header .nav .counselling-nav-btn { padding:12px 17px; border-radius:12px; font-size:14px; animation:none; min-width:unset; }
header .nav .nsp-nav-link { display:inline-flex; align-items:center; gap:7px; padding:10px 15px; border-radius:11px; background:rgba(255,255,255,.12); color:#fff; font-weight:700; border:1px solid rgba(255,255,255,.25); transition:background .2s ease; }
header .nav .nsp-nav-link:hover { background:#fff; color:var(--nsp-navy); }
.nsp-shell { max-width:1210px; margin:0 auto; padding:0 24px; }
.nsp-home-section { position:relative; overflow:hidden; background:linear-gradient(130deg,#f1f6ff 0%,#fff 60%,#fff4e7 100%); padding:76px 0 86px; border-top:1px solid #edf2f9; border-bottom:1px solid #e8eff8; color:var(--nsp-text); }
.nsp-home-section::before { content:""; position:absolute; right:-145px; top:-145px; width:440px; height:440px; background:radial-gradient(circle,rgba(255,138,25,.09),transparent 68%); pointer-events:none; }
.nsp-eyebrow { display:inline-flex; align-items:center; gap:8px; color:#bd5c00; background:#fff0da; border:1px solid #ffe2b6; border-radius:100px; padding:7px 13px; font:700 12px/1.3 'Poppins',sans-serif; letter-spacing:.08em; text-transform:uppercase; }
.nsp-section-head { max-width:850px; margin:0 auto 32px; text-align:center; }
.nsp-section-head h2 { font:800 clamp(28px,3.5vw,46px)/1.16 'Poppins',system-ui,sans-serif; color:var(--nsp-navy); margin:16px 0; letter-spacing:-.035em; }
.nsp-section-head h2 span { color:#e57911; }
.nsp-section-head p { color:var(--nsp-muted); font:400 15px/1.8 'Poppins',sans-serif; margin:0 auto; max-width:710px; }
.nsp-card-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:17px; align-items:stretch; }
.nsp-portal-card { min-width:0; position:relative; display:flex; flex-direction:column; border:1px solid var(--nsp-line); background:#fff; border-radius:20px; padding:23px 21px 22px; box-shadow:0 9px 24px rgba(14,46,92,.055); transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.nsp-portal-card:hover { transform:translateY(-5px); border-color:#a7c8ed; box-shadow:0 20px 38px rgba(14,46,92,.11); }
.nsp-portal-card.nsp-featured { border-color:#b8d4f9; background:linear-gradient(180deg,#fff 0%,#f5faff 100%); box-shadow:0 11px 25px rgba(4,76,160,.09); }
.nsp-card-top { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; margin-bottom:20px; }
.nsp-card-icon { display:flex; justify-content:center; align-items:center; width:52px; height:52px; border-radius:16px; color:#0d58b6; background:#e9f2ff; font:700 28px/1 system-ui,sans-serif; }
.nsp-featured .nsp-card-icon { color:#fff; background:linear-gradient(140deg,#1066c4,#072d71); }
.nsp-status { display:inline-flex; align-items:center; padding:6px 9px; border-radius:30px; white-space:nowrap; font:700 10px/1.1 'Poppins',sans-serif; letter-spacing:.02em; }
.nsp-status-live { color:#086740; background:#dcf8eb; }
.nsp-status-planned { color:#67758b; background:#edf1f6; }
.nsp-card-category { font:700 11px/1.4 'Poppins',sans-serif; color:#e47611; letter-spacing:.08em; text-transform:uppercase; margin:0 0 7px; }
.nsp-portal-card .nsp-card-title { color:var(--nsp-navy); font:800 18px/1.35 'Poppins',sans-serif; letter-spacing:-.02em; margin:0 0 11px; }
.nsp-card-description { color:var(--nsp-muted); font:400 12.5px/1.75 'Poppins',sans-serif; margin:0 0 22px; }
.nsp-card-bottom { margin-top:auto; }
.nsp-open-btn { display:flex; justify-content:center; align-items:center; background:var(--nsp-blue); color:#fff !important; border-radius:11px; padding:12px 13px; font:700 12px/1.4 'Poppins',sans-serif; text-decoration:none; transition:background .2s ease; }
.nsp-open-btn:hover { background:#073979; }
.nsp-soon-btn { display:flex; justify-content:center; align-items:center; background:#f0f3f7; border:1px dashed #d8e1eb; color:#7b889a; border-radius:11px; padding:12px 13px; font:600 12px/1.4 'Poppins',sans-serif; cursor:not-allowed; }
.nsp-home-bottom { display:flex; justify-content:center; align-items:center; gap:13px; flex-wrap:wrap; margin-top:29px; }
.nsp-all-cta { display:inline-flex; gap:9px; align-items:center; justify-content:center; text-decoration:none; border-radius:12px; padding:13px 20px; color:#fff !important; background:#082f68; font:700 13px/1.5 'Poppins',sans-serif; }
.nsp-all-cta:hover { background:#0b4e9d; }
.nsp-trust-caption { font:500 12px/1.5 'Poppins',sans-serif; color:#68788f; }
/* Dedicated mock-tests directory page */
body.ns-exams-page { margin:0; background:#f6f9ff; color:var(--nsp-text); font-family:'Poppins',system-ui,sans-serif; }
.ns-exams-page *, .ns-exams-page *::before, .ns-exams-page *::after { box-sizing:border-box; }
.ns-exams-page a { text-decoration:none; }
.ns-exams-page .nsp-topbar { background:var(--nsp-deep); color:#d7e6fc; text-align:center; padding:9px 16px; font-size:12px; letter-spacing:.02em; }
.ns-exams-page .nsp-topbar strong { color:#ffd8a7; }
.ns-exams-page .nsp-header { background:#fff; border-bottom:1px solid #e5ecf6; position:relative; z-index:10; }
.ns-exams-page .nsp-header-inner { min-height:87px; display:flex; align-items:center; justify-content:space-between; gap:22px; }
.ns-exams-page .nsp-brand { display:flex; align-items:center; gap:11px; min-width:0; }
.ns-exams-page .nsp-brand img { width:200px; max-width:38vw; height:auto; display:block; }
.ns-exams-page .nsp-menu { display:flex; gap:8px; align-items:center; }
.ns-exams-page .nsp-menu a { font-size:13px; font-weight:700; color:#2d415e; padding:10px 13px; border-radius:10px; }
.ns-exams-page .nsp-menu a:hover,.ns-exams-page .nsp-menu a[aria-current="page"] { color:#0755b2; background:#eaf3ff; }
.ns-exams-page .nsp-menu .nsp-menu-cta { color:#fff; background:var(--nsp-blue); padding:12px 17px; }
.ns-exams-page .nsp-menu .nsp-menu-cta:hover { color:#fff; background:#073e83; }
.ns-exams-page .nsp-mobile-menu { display:none; border:1px solid #d9e4f3; background:#f4f8ff; border-radius:10px; padding:9px 12px; color:var(--nsp-navy); font-size:22px; }
.ns-exams-page .nsp-directory-hero { position:relative; background:radial-gradient(circle at 82% 12%,rgba(54,133,227,.24),transparent 40%),linear-gradient(120deg,#061b3c 0%,#0a326c 74%,#0c4a91); color:#fff; overflow:hidden; }
.ns-exams-page .nsp-directory-hero::before { content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.10) 1px,transparent 1px); background-size:24px 24px; mask-image:linear-gradient(90deg,transparent,#000); pointer-events:none; }
.ns-exams-page .nsp-hero-inner { position:relative; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr); gap:55px; align-items:center; min-height:455px; padding-top:70px; padding-bottom:70px; }
.ns-exams-page .nsp-hero-copy .nsp-eyebrow { background:rgba(255,168,51,.14); color:#ffcf8e; border-color:rgba(255,192,99,.24); }
.ns-exams-page .nsp-hero-copy h1 { font-size:clamp(32px,4.5vw,56px); line-height:1.12; letter-spacing:-.045em; margin:19px 0; font-weight:800; max-width:700px; }
.ns-exams-page .nsp-hero-copy h1 em { color:#ffa845; font-style:normal; }
.ns-exams-page .nsp-hero-copy p { color:#c7dbfa; font-size:15px; line-height:1.85; max-width:580px; margin:0 0 23px; }
.ns-exams-page .nsp-hero-actions { display:flex; gap:12px; flex-wrap:wrap; }
.ns-exams-page .nsp-button { display:inline-flex; align-items:center; justify-content:center; border-radius:12px; padding:14px 20px; font-size:13px; font-weight:700; }
.ns-exams-page .nsp-button-primary { color:#112d52; background:#ffab43; }
.ns-exams-page .nsp-button-primary:hover { background:#ffbd68; }
.ns-exams-page .nsp-button-outline { color:#fff; border:1px solid rgba(255,255,255,.42); }
.ns-exams-page .nsp-button-outline:hover { background:rgba(255,255,255,.11); }
.ns-exams-page .nsp-cbt-preview { background:#fff; border:1px solid #b7d0f4; border-radius:18px; overflow:hidden; color:#16355d; box-shadow:0 26px 80px rgba(1,7,28,.34); transform:rotate(1.25deg); }
.ns-exams-page .nsp-browser-bar { display:flex; gap:6px; align-items:center; background:#f1f6fd; padding:11px 14px; border-bottom:1px solid #e2eafa; }
.ns-exams-page .nsp-browser-bar i { width:8px; height:8px; background:#fb8d83; border-radius:50%; }
.ns-exams-page .nsp-browser-bar i:nth-child(2) {background:#ffcc62;}.ns-exams-page .nsp-browser-bar i:nth-child(3){background:#5dd69b;}
.ns-exams-page .nsp-browser-bar small { margin:auto; padding-right:22px; font-size:10px; color:#627792; }
.ns-exams-page .nsp-preview-top { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:16px 17px; background:#0f4f9a; color:#fff; font-weight:700; font-size:12px; }
.ns-exams-page .nsp-timer { background:rgba(255,255,255,.17); border-radius:7px; padding:7px 9px; }
.ns-exams-page .nsp-question { padding:22px 24px 26px; }
.ns-exams-page .nsp-question small { font-weight:700; color:#6e8099; font-size:11px; }
.ns-exams-page .nsp-question h3 { margin:9px 0 14px; font-size:15px; line-height:1.5; color:#1a3150; }
.ns-exams-page .nsp-option { background:#f6f9fe; border:1px solid #e3eaf4; border-radius:8px; padding:9px 11px; margin-top:7px; font-size:12px; display:flex; gap:10px; align-items:center; }
.ns-exams-page .nsp-option span { height:17px; width:17px; display:inline-flex; justify-content:center; align-items:center; border:1px solid #c9d6e5; border-radius:50%; font-size:10px; }
.ns-exams-page .nsp-option.highlight { background:#eaf4ff; border-color:#5f9be5; color:#0757b4; font-weight:700; }
.ns-exams-page .nsp-option.highlight span { background:#0b62bd; color:#fff; border-color:#0b62bd; }
.ns-exams-page .nsp-preview-footer { padding:10px 18px; background:#edf4fb; display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:10px; color:#60758e; }
.ns-exams-page .nsp-preview-footer strong { background:#f8a542; color:#192b4b; padding:7px 10px; border-radius:6px; font-size:10px; }
.ns-exams-page .nsp-directory-section { padding:72px 0 84px; }
.ns-exams-page .nsp-directory-section .nsp-section-head { margin-bottom:30px; }
.ns-exams-page .nsp-value-row { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:36px; }
.ns-exams-page .nsp-value { display:flex; align-items:start; gap:13px; background:#fff; padding:20px; border:1px solid var(--nsp-line); border-radius:15px; }
.ns-exams-page .nsp-value strong { display:block; font-size:13px; color:#123863; margin-bottom:5px; }
.ns-exams-page .nsp-value p { margin:0; font-size:12px; line-height:1.7; color:#63748b; }
.ns-exams-page .nsp-value-icon { display:flex; flex:0 0 38px; align-items:center; justify-content:center; background:#eaf4ff; color:#075ab6; border-radius:11px; width:38px; height:38px; font-size:20px; }
.ns-exams-page .nsp-next { background:#eaf2fe; padding:56px 0; text-align:center; }
.ns-exams-page .nsp-next h2 { color:#082f67; font-size:26px; margin:0 0 12px; }
.ns-exams-page .nsp-next p { color:#526982; font-size:14px; margin:0 auto 22px; max-width:670px; line-height:1.7; }
.ns-exams-page .nsp-footer { padding:22px 0; background:#071d42; color:#b8cde9; }
.ns-exams-page .nsp-footer-inner { display:flex; justify-content:space-between; align-items:center; gap:15px; flex-wrap:wrap; font-size:12px; }
.ns-exams-page .nsp-footer a { color:#fff; margin-left:13px; }
@media (max-width:1080px) {
  .nsp-card-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .ns-exams-page .nsp-hero-inner { gap:26px; }
  header .nav { gap:8px; }
}
@media (max-width:768px) {
  .nsp-home-section { padding:57px 0 63px; }
  .nsp-shell {padding:0 18px;}
  header .nav .nsp-nav-link { width:100%; justify-content:center; }
  .ns-exams-page .nsp-hero-inner {grid-template-columns:1fr; padding-top:53px; padding-bottom:53px; }
  .ns-exams-page .nsp-cbt-preview {max-width:550px; width:100%; margin:0 auto; transform:none;}
  .ns-exams-page .nsp-mobile-menu {display:block;}
  .ns-exams-page .nsp-header-inner { min-height:75px; }
  .ns-exams-page .nsp-menu {display:none; position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:stretch; padding:14px 18px; background:#fff; box-shadow:0 12px 24px rgba(9,38,78,.13);}
  .ns-exams-page .nsp-menu.nsp-nav-open {display:flex;}
  .ns-exams-page .nsp-value-row {grid-template-columns:1fr;}
  .ns-exams-page .nsp-directory-section {padding:60px 0 66px;}
}
@media (max-width:540px) {
  .nsp-card-grid {grid-template-columns:1fr;}
  .nsp-section-head h2 {font-size:29px;}
  .ns-exams-page .nsp-hero-copy h1 {font-size:35px;}
  .ns-exams-page .nsp-brand img {max-width:58vw; width:190px;}
  .ns-exams-page .nsp-hero-actions .nsp-button {width:100%;}
  .nsp-home-bottom { flex-direction:column; }
  .ns-exams-page .nsp-next h2 {font-size:23px;}
  .ns-exams-page .nsp-footer-inner {justify-content:center; text-align:center;}
}
@media (prefers-reduced-motion:reduce) { .nsp-portal-card,.nsp-open-btn,.nsp-hero-test-link {transition:none;} html {scroll-behavior:auto;} }
