
:root{
  --navy:#082f65;
  --navy2:#0c4c88;
  --ink:#1d3148;
  --muted:#607388;
  --line:#dbe5ef;
  --soft:#f5f8fc;
  --gold:#d6a05c;
  --green:#16875d;
  --red:#b84d4d;
}
*{box-sizing:border-box}
body{background:#f5f8fc;color:var(--ink)}
.exam-page{max-width:1280px;margin:0 auto;padding:24px 22px 56px}

/* 8 premium tabs */
.portal-top .neet-main-tabs{
  max-width:1280px;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));
  gap:8px;padding:11px 18px 13px;overflow:visible;background:#fff
}
.portal-top .neet-main-tabs a{
  min-width:0;min-height:58px;padding:9px 8px 10px;border:1px solid var(--line);
  border-radius:11px;background:linear-gradient(180deg,#fff,#f7fafe);
  box-shadow:0 3px 10px rgba(18,61,105,.035);display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:4px;text-align:center;color:#405a75;
  transition:.18s ease
}
.portal-top .neet-main-tabs a small{font-size:9px;line-height:1;font-weight:900;letter-spacing:.12em;color:#8da0b3}
.portal-top .neet-main-tabs a span{font-size:12px;line-height:1.18;font-weight:900;letter-spacing:.015em}
.portal-top .neet-main-tabs a:hover{transform:translateY(-2px);border-color:#bcd1e5;background:#f2f7fc;box-shadow:0 8px 18px rgba(18,61,105,.09);color:#123f72}
.portal-top .neet-main-tabs a.active{position:relative;background:linear-gradient(145deg,var(--navy),var(--navy2));border-color:#0a4178;color:#fff;box-shadow:0 9px 22px rgba(8,47,101,.19)}
.portal-top .neet-main-tabs a.active:after{content:"";position:absolute;left:18%;right:18%;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:var(--gold)}
.portal-top .neet-main-tabs a.active small{color:#d9e9f6}

/* hero */
.exam-hero{display:grid;grid-template-columns:1.35fr .85fr;gap:28px;align-items:stretch;background:linear-gradient(130deg,#062957,#0c4c88);border-radius:18px;padding:44px 46px;color:#fff;box-shadow:0 18px 45px rgba(8,47,101,.16);overflow:hidden;position:relative}
.exam-hero:after{content:"";position:absolute;width:300px;height:300px;border:1px solid rgba(255,255,255,.11);border-radius:50%;right:-70px;top:-150px;box-shadow:0 0 0 40px rgba(255,255,255,.025),0 0 0 80px rgba(255,255,255,.02)}
.eyebrow{font-size:12px;font-weight:900;letter-spacing:.14em;color:#d8e8f7}
.exam-hero h1{font-size:48px;line-height:1.1;margin:12px 0 18px}
.exam-hero h1 em{font-style:normal;color:#f1c27a}
.exam-hero p{font-size:17px;line-height:1.78;color:#e3edf7;max-width:760px;margin:0}
.hero-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:25px}
.btn{display:inline-flex;min-height:45px;align-items:center;padding:0 18px;border-radius:8px;text-decoration:none;font-size:12px;font-weight:900}
.btn.primary{background:#fff;color:#0b3c77}
.official-pill{font-size:11.5px;color:#d5e4f3;border:1px solid rgba(255,255,255,.25);padding:10px 13px;border-radius:999px}
.hero-scoreboard{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:relative;z-index:1}
.hero-scoreboard div{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:22px 18px;display:flex;flex-direction:column;justify-content:center}
.hero-scoreboard b{font-size:38px;line-height:1}
.hero-scoreboard span{font-size:12px;color:#dbe8f4;margin-top:7px;line-height:1.4}

/* jump */
.page-jump{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:16px 0 0}
.page-jump span{font-size:10px;font-weight:900;letter-spacing:.12em;color:#8294a8;margin-right:4px}
.page-jump a{font-size:12px;color:#315a83;text-decoration:none;padding:7px 10px;border-radius:7px;background:#f4f7fb}

/* sections */
.exam-section{background:#fff;border:1px solid var(--line);border-radius:16px;margin-top:18px;padding:34px;box-shadow:0 6px 20px rgba(27,65,105,.035)}
.section-kicker,.mini-label{display:block;font-size:11px;font-weight:900;letter-spacing:.12em;color:#6e8499;margin-bottom:8px}
.section-kicker.light{color:#d8e7f5}
.section-heading{display:flex;justify-content:space-between;gap:25px;align-items:flex-start;margin-bottom:24px}
.section-heading.compact{margin-bottom:22px}
.section-heading h2,.exam-section h2{font-size:30px;line-height:1.18;margin:0 0 8px;color:#123b68}
.section-heading p,.exam-section>p{font-size:15px;line-height:1.7;color:var(--muted);margin:0}
.section-no{font-size:34px;font-weight:900;color:#0b4c89;display:flex;gap:4px;align-items:flex-end}
.section-no span{font-size:10px;letter-spacing:.1em;margin-bottom:4px}

/* overview */
.overview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.overview-grid article{border:1px solid var(--line);border-radius:12px;padding:20px;background:linear-gradient(180deg,#fff,#f8fbfe)}
.overview-grid span{font-size:10px;font-weight:900;letter-spacing:.12em;color:#8092a6}
.overview-grid b{display:block;font-size:22px;color:#103c70;margin:8px 0}
.overview-grid p{font-size:13px;line-height:1.6;color:#62778c;margin:0}

.pattern-poster-card{display:grid;grid-template-columns:1fr 240px;gap:28px;align-items:center;background:#eef5fc;border:1px solid #d9e7f4;border-radius:14px;padding:24px;margin-top:18px}
.poster-copy h3{font-size:25px;color:#113b6c;margin:7px 0 8px}
.poster-copy p{font-size:14px;line-height:1.7;color:#586f86;max-width:690px}
.poster-copy a{font-size:12px;font-weight:900;color:#0b4d8c;text-decoration:none}
.poster-open{border:0;background:#fff;border-radius:10px;padding:8px;box-shadow:0 8px 20px rgba(12,54,98,.12);cursor:pointer}
.poster-open img{display:block;width:100%;height:220px;object-fit:cover;object-position:top;border-radius:7px}

/* subjects */
.subject-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.subject-card{border:1px solid var(--line);border-radius:14px;padding:22px;position:relative;overflow:hidden}
.subject-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#4776a4}
.subject-card.chemistry:before{background:#c9872f}.subject-card.biology:before{background:#258265}
.subject-head{display:flex;align-items:center;gap:12px}
.subject-head>span{width:40px;height:40px;border-radius:50%;background:#eaf2fb;display:grid;place-items:center;font-size:14px;font-weight:900;color:#0a4b87}
.chemistry .subject-head>span{background:#fff3e4;color:#a45f12}.biology .subject-head>span{background:#eaf7f1;color:#166a50}
.subject-head small{display:block;font-size:10px;letter-spacing:.1em;color:#8092a5;font-weight:900}
.subject-head b{font-size:17px;color:#263f59}
.subject-stat{display:flex;align-items:baseline;gap:8px;margin:20px 0 10px}.subject-stat strong{font-size:38px;color:#123b68}.subject-stat span{font-size:12px;color:#70849a}
.share-line{height:7px;background:#edf2f7;border-radius:999px;overflow:hidden}.share-line i{display:block;height:100%;background:#1c619e;border-radius:999px}.chemistry .share-line i{background:#c9872f}.biology .share-line i{background:#258265}
.subject-card p{font-size:13px;line-height:1.65;color:#61768c;margin:12px 0 0}
.paper-formula{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;background:#f5f8fc;border:1px dashed #cbd9e6;border-radius:12px;padding:17px;margin-top:18px}
.paper-formula span{font-size:13px;color:#566d85}.paper-formula b{font-size:22px;color:#123b68}.paper-formula i{font-style:normal;color:#91a1b1;font-weight:900}.paper-formula .total{color:#0c4b86}

/* marking */
.split-section{display:grid;grid-template-columns:1.05fr .95fr;padding:0;overflow:hidden}
.marking-panel{background:linear-gradient(140deg,#082f65,#0d4a83);padding:34px;color:#fff}
.marking-panel h2{color:#fff}.marking-panel>p{color:#dbe8f4}
.mark-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}
.mark-grid div{border-radius:12px;padding:18px;text-align:center;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16)}
.mark-grid span{display:block;font-size:9px;letter-spacing:.1em;font-weight:900;color:#cddced}
.mark-grid b{display:block;font-size:34px;margin:7px 0}.mark-grid small{font-size:11px;color:#d7e3ef}
.mark-grid .correct b{color:#8ae1b8}.mark-grid .wrong b{color:#ffaaaa}
.formula-box{margin-top:15px;background:#fff;border-radius:10px;color:#173a60;padding:15px 17px;display:flex;justify-content:space-between;gap:14px;align-items:center}
.formula-box span{font-size:11px;color:#71869b}.formula-box strong{font-size:17px}
.special-rules{padding:34px}
.special-rules h3{font-size:24px;color:#123b68;margin:6px 0 15px}
.rule-list{display:grid;gap:10px}.rule-list article{border:1px solid var(--line);border-radius:10px;padding:15px 16px}.rule-list b{font-size:14px;color:#1d405f}.rule-list p{font-size:12.5px;line-height:1.62;color:#657b90;margin:6px 0 0}

/* mode */
.mode-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:20px}
.omr-visual{background:#f6f9fc;border:1px solid var(--line);border-radius:14px;padding:26px}
.omr-head{display:flex;justify-content:space-between;gap:10px;color:#284965}.omr-head span{font-weight:900}.omr-head small{font-size:11px;color:#72869a}
.bubble-row{display:flex;gap:14px;margin:27px 0}.bubble-row i{font-style:normal;width:48px;height:48px;border:2px solid #9eb0c1;border-radius:50%;display:grid;place-items:center;font-weight:900;color:#657a90}.bubble-row i.selected{background:#0b4d89;color:#fff;border-color:#0b4d89;box-shadow:0 0 0 5px #dceaf7}
.omr-visual p{font-size:12px;color:#6f8397;margin:0}
.mode-points{display:grid;gap:10px}.mode-points article{border:1px solid var(--line);border-radius:11px;padding:16px 18px}.mode-points b{font-size:15px;color:#173f68}.mode-points p{font-size:13px;line-height:1.65;color:#64798f;margin:6px 0 0}

/* strategy */
.strategy-section{background:linear-gradient(135deg,#092d60,#113f75);color:#fff}
.on-dark h2{color:#fff}.on-dark p{color:#dbe8f4}
.strategy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.strategy-grid article{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:12px;padding:20px}
.strategy-grid span{font-size:9px;letter-spacing:.1em;font-weight:900;color:#cbdced}.strategy-grid b{display:block;font-size:17px;margin:8px 0;color:#fff}.strategy-grid p{font-size:13px;line-height:1.65;color:#d5e3f0;margin:0}
.time-example{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:15px}
.time-example div{background:#fff;border-radius:10px;padding:15px;color:#183b61}.time-example span{display:block;font-size:8px;letter-spacing:.08em;color:#8998a8;font-weight:900}.time-example b{display:block;font-size:13px;margin:5px 0}.time-example strong{font-size:20px;color:#0c4c88}.time-example .buffer{background:#fff7ea}
.guidance-note{font-size:11.5px!important;color:#cddceb!important;margin-top:12px!important}

/* calculator */
.calculator-card{display:grid;grid-template-columns:1.2fr .8fr;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.calc-inputs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:24px;background:#f7f9fc}
.calc-inputs label{font-size:12px;font-weight:800;color:#486077}.calc-inputs input{width:100%;margin-top:7px;border:1px solid #c9d6e3;border-radius:8px;padding:12px;font-size:18px;font-weight:800;color:#113d6d;background:#fff}
.calc-result{background:linear-gradient(140deg,#0a356c,#0d4b86);color:#fff;padding:24px;display:flex;flex-wrap:wrap;align-content:center;align-items:baseline;gap:7px}.calc-result span{width:100%;font-size:10px;letter-spacing:.12em;font-weight:900;color:#d2e0ef}.calc-result strong{font-size:54px;line-height:1}.calc-result small{font-size:15px;color:#dbe7f2}.calc-result p{width:100%;font-size:12px;line-height:1.5;color:#dce8f3;margin:8px 0 0}
.calc-warning{margin-top:10px;border-radius:8px;background:#eef5fb;color:#45647f;padding:10px 12px;font-size:12px}.calc-warning.error{background:#fff0f0;color:#a94444}

/* faq */
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.faq-grid details{border:1px solid var(--line);border-radius:10px;background:#fbfdff;padding:0 16px}.faq-grid summary{cursor:pointer;padding:15px 0;font-size:14px;font-weight:850;color:#1c456d}.faq-grid p{font-size:13px;line-height:1.65;color:#64798e;margin:0 0 16px}

/* official + next */
.official-reference{display:flex;justify-content:space-between;gap:25px;align-items:center;background:#fff;border:1px solid #d6e3ef;border-radius:16px;padding:26px 30px;margin-top:18px}
.official-reference span{font-size:10px;letter-spacing:.12em;font-weight:900;color:#7a8fa4}.official-reference h2{font-size:24px;color:#123b68;margin:7px 0}.official-reference p{font-size:13px;line-height:1.65;color:#64798f;max-width:850px;margin:0}.official-reference a{white-space:nowrap;background:#0a437e;color:#fff;text-decoration:none;padding:12px 15px;border-radius:8px;font-size:11px;font-weight:900}
.next-guide{background:linear-gradient(135deg,#0b356e,#103f78);color:#fff;border-radius:16px;padding:30px;margin-top:18px}.next-guide>span{font-size:10px;letter-spacing:.12em;color:#d2e1ef;font-weight:900}.next-guide h2{font-size:28px;margin:8px 0;color:#fff}.next-guide>p{font-size:13px;line-height:1.6;color:#d7e5f1}.next-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.next-links a{background:#fff;color:#143d66;text-decoration:none;border-radius:10px;padding:16px}.next-links b{display:block;font-size:13px}.next-links small{display:block;font-size:11px;color:#6d8297;margin-top:5px}
.footer-note{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:24px 4px 4px}.footer-note strong{font-size:14px;color:#274d73}.footer-note p{font-size:12px;color:#778b9f;margin:4px 0}.footer-note a{font-size:11px;font-weight:900;color:#0b4c89;text-decoration:none}

/* poster modal */
.poster-modal{position:fixed;inset:0;background:rgba(3,17,35,.88);display:none;align-items:center;justify-content:center;padding:22px;z-index:1000}
.poster-modal.open{display:flex}.poster-modal img{max-width:min(720px,90vw);max-height:90vh;object-fit:contain;border-radius:10px;box-shadow:0 20px 70px rgba(0,0,0,.35)}
.poster-modal button{position:fixed;right:24px;top:18px;width:44px;height:44px;border:0;border-radius:50%;font-size:30px;line-height:1;background:#fff;color:#173753;cursor:pointer}

@media(max-width:1100px){
  .portal-top .neet-main-tabs{grid-template-columns:repeat(4,1fr)}
  .exam-hero{grid-template-columns:1fr}.hero-scoreboard{grid-template-columns:repeat(4,1fr)}
  .overview-grid{grid-template-columns:1fr 1fr}.time-example{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .exam-page{padding:14px 12px 42px}
  .portal-top .neet-main-tabs{display:flex;overflow-x:auto;gap:8px;padding:9px 12px 11px}
  .portal-top .neet-main-tabs a{min-width:145px;min-height:54px}
  .exam-hero{padding:30px 22px}.exam-hero h1{font-size:36px}.exam-hero p{font-size:15px}
  .hero-scoreboard{grid-template-columns:1fr 1fr}.hero-scoreboard b{font-size:31px}
  .exam-section{padding:24px 18px}.section-heading h2,.exam-section h2{font-size:25px}
  .overview-grid,.subject-grid,.strategy-grid,.faq-grid{grid-template-columns:1fr}
  .pattern-poster-card{grid-template-columns:1fr}.poster-open img{height:300px;object-fit:contain}
  .split-section{grid-template-columns:1fr}.marking-panel,.special-rules{padding:24px 18px}
  .mark-grid{grid-template-columns:1fr 1fr 1fr}.mark-grid b{font-size:28px}
  .mode-layout{grid-template-columns:1fr}.time-example{grid-template-columns:1fr 1fr}
  .calculator-card{grid-template-columns:1fr}.calc-inputs{grid-template-columns:1fr}
  .official-reference{align-items:flex-start;flex-direction:column}.official-reference a{white-space:normal}
  .next-links{grid-template-columns:1fr}
}


/* =========================================================
   NEET KNOWLEDGE CENTRE FOOTER VISIBILITY FIX
   ========================================================= */
.footer-note{
  background:linear-gradient(135deg,#092f63,#0d467f) !important;
  border-radius:14px !important;
  padding:22px 24px !important;
  margin-top:18px !important;
  box-shadow:0 8px 22px rgba(8,47,101,.12) !important;
}
.footer-note strong{
  color:#ffffff !important;
  font-size:16px !important;
  font-weight:900 !important;
  letter-spacing:.01em !important;
  opacity:1 !important;
}
.footer-note p{
  color:#e4edf7 !important;
  font-size:13px !important;
  font-weight:700 !important;
  line-height:1.55 !important;
  margin:6px 0 0 !important;
  opacity:1 !important;
}
.footer-note a{
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,.38) !important;
  background:rgba(255,255,255,.10) !important;
  padding:10px 14px !important;
  border-radius:8px !important;
  font-size:11px !important;
  font-weight:900 !important;
  text-decoration:none !important;
}
.footer-note a:hover{
  background:#ffffff !important;
  color:#0b447d !important;
}


/* =========================================================
   NEET SCORE CALCULATOR VISIBILITY FIX
   ========================================================= */
.calc-result{
  color:#ffffff !important;
}
.calc-result span{
  color:#ffffff !important;
  opacity:1 !important;
  font-weight:900 !important;
}
.calc-result strong,
#scoreResult{
  color:#ffffff !important;
  opacity:1 !important;
  font-weight:900 !important;
  text-shadow:0 1px 1px rgba(0,0,0,.08) !important;
}
.calc-result small{
  color:#eef5fb !important;
  opacity:1 !important;
  font-weight:800 !important;
}
.calc-result p,
#calcMessage{
  color:#f1f6fb !important;
  opacity:1 !important;
  font-weight:700 !important;
}


/* =========================================================
   NEET KNOWLEDGE CENTRE V1 — FINAL CONSISTENCY LOCK
   ========================================================= */
.portal-titlebar strong{
  font-weight:900 !important;
  opacity:1 !important;
}
.portal-titlebar span{
  opacity:1 !important;
}
.portal-top .neet-main-tabs a span{
  font-weight:900 !important;
  opacity:1 !important;
}
.portal-top .neet-main-tabs a.active span{
  color:#ffffff !important;
}
.main-site-link{
  font-weight:900 !important;
}
.footer-note strong{
  color:#ffffff !important;
  font-weight:900 !important;
  opacity:1 !important;
}
.footer-note p{
  opacity:1 !important;
}
.footer-note a{
  font-weight:900 !important;
  opacity:1 !important;
}

