:root {
  --brand: #1e3a8a;
  --brand-600: #1d4ed8;
  --brand-50: #eef2ff;
  --accent: #f97316;
  --accent-50: #fff7ed;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --success: #16a34a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
  --bs-primary: var(--brand-600);
  --bs-primary-rgb: 29, 78, 216;
  --bs-link-color: var(--brand-600);
  --bs-link-color-rgb: 29, 78, 216;
}

html { font-size: 15px; scroll-behavior: smooth; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
  font-family: "Poppins", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { text-decoration: none; }
h1, h2, h3, h4, h5 { font-weight: 600; letter-spacing: -.01em; }
.text-muted { color: var(--muted) !important; }
.lang-hi { font-family: "Noto Sans Devanagari", sans-serif; }

/* Buttons */
.btn-primary { --bs-btn-bg: var(--brand-600); --bs-btn-border-color: var(--brand-600); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-active-bg: var(--brand); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 500; }
.btn-accent:hover, .btn-accent:focus { background: #ea580c; border-color: #ea580c; color: #fff; }
.btn { border-radius: 10px; }

/* Announcement + navbar */
.announcement { background: linear-gradient(90deg, var(--accent), #fb923c); color: #fff; font-size: .875rem; }
.announcement a { color: #fff; text-decoration: underline; }
.site-nav { background: #fff; border-bottom: 1px solid var(--line); }
.site-nav .navbar-brand { font-weight: 700; color: var(--brand); display: flex; align-items: center; gap: .5rem; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-size: 1.05rem; }
.site-nav .nav-link { color: var(--ink); font-weight: 500; font-size: .95rem; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--brand-600); }
.mega-menu { min-width: 280px; border-radius: var(--radius); border-color: var(--line); box-shadow: var(--shadow); }
.mega-menu .dropdown-item { border-radius: 8px; padding: .45rem .75rem; }
.mega-menu .dropdown-item i { color: var(--brand-600); width: 1.4rem; display: inline-block; }

/* Hero */
.hero { background: radial-gradient(1200px 400px at 10% -10%, #dbeafe 0, transparent 60%), radial-gradient(900px 400px at 100% 0, #ffedd5 0, transparent 55%), #fff; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.2; }
.hero h1 .hl { color: var(--brand-600); }
.hero-search { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .4rem; box-shadow: var(--shadow); }
.hero-search input { border: 0; box-shadow: none !important; }
.hero-chip { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: .25rem .75rem; font-size: .8rem; color: var(--ink); background: #fff; margin: .2rem .15rem; }
.hero-chip:hover { border-color: var(--brand-600); color: var(--brand-600); }
.stat { text-align: center; }
.stat .num { font-size: 1.6rem; font-weight: 700; color: var(--brand); }
.stat .lbl { font-size: .8rem; color: var(--muted); }

/* Sections and cards */
.section { padding: 2.5rem 0; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.25rem; }
.section-title h2 { font-size: 1.35rem; margin: 0; }
.section-title a { font-size: .9rem; white-space: nowrap; }
.card-x { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.tile { display: flex; gap: .85rem; align-items: center; padding: 1rem; height: 100%; color: var(--ink); transition: transform .15s, border-color .15s; }
.tile:hover { transform: translateY(-2px); border-color: var(--brand-600); color: var(--ink); }
.tile-icon { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--brand-50); color: var(--brand-600); }
.tile-icon.accent { background: var(--accent-50); color: var(--accent); }
.tile .t-name { font-weight: 600; line-height: 1.25; }
.tile .t-sub { font-size: .8rem; color: var(--muted); }

.exam-card { padding: 1rem; height: 100%; display: flex; flex-direction: column; color: var(--ink); transition: transform .15s, border-color .15s; }
.exam-card:hover { transform: translateY(-2px); border-color: var(--brand-600); color: var(--ink); }
.exam-card .e-name { font-weight: 600; }
.exam-card .e-body { font-size: .8rem; color: var(--muted); }
.badge-soft { background: var(--brand-50); color: var(--brand-600); font-weight: 500; }
.badge-state { background: var(--accent-50); color: #c2410c; font-weight: 500; }
.badge-premium { background: linear-gradient(90deg, #f59e0b, #f97316); color: #fff; font-weight: 500; }
.badge-free { background: #dcfce7; color: var(--success); font-weight: 500; }

/* Resource card */
.res-card { padding: 1rem; height: 100%; display: flex; flex-direction: column; gap: .5rem; color: var(--ink); }
.res-card:hover { border-color: var(--brand-600); color: var(--ink); }
.res-card .r-title { font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.res-card .r-meta { font-size: .78rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .75rem; }
.price { font-weight: 700; color: var(--ink); }
.mrp { text-decoration: line-through; color: var(--muted); font-size: .85em; margin-left: .25rem; }

/* Job lists (SarkariResult-style boxes) */
.job-box { overflow: hidden; }
.job-box-head { padding: .7rem 1rem; color: #fff; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.job-box-head a { color: #fff; font-size: .8rem; font-weight: 500; }
.job-box-head.t1 { background: #b91c1c; } .job-box-head.t2 { background: #7c3aed; } .job-box-head.t3 { background: #047857; }
.job-box-head.t4 { background: #b45309; } .job-box-head.t5 { background: #0369a1; } .job-box-head.t6 { background: #be185d; }
.job-list { list-style: none; margin: 0; padding: 0; }
.job-list li { border-bottom: 1px dashed var(--line); }
.job-list li:last-child { border-bottom: 0; }
.job-list a { display: block; padding: .6rem 1rem; color: var(--ink); font-size: .9rem; }
.job-list a:hover { background: var(--bg); color: var(--brand-600); }
.job-list .new { color: #dc2626; font-size: .7rem; font-weight: 700; margin-left: .35rem; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* Exam hub */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 1.5rem 0 0; }
.page-head h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
.hub-tabs { overflow-x: auto; flex-wrap: nowrap; border-bottom: 0; scrollbar-width: none; }
.hub-tabs::-webkit-scrollbar { display: none; }
.hub-tabs .nav-link { white-space: nowrap; color: var(--muted); border: 0; border-bottom: 3px solid transparent; font-weight: 500; padding: .75rem 1rem; }
.hub-tabs .nav-link.active, .hub-tabs .nav-link:hover { color: var(--brand-600); border-bottom-color: var(--brand-600); background: none; }
.prose { line-height: 1.75; }
.prose h2 { font-size: 1.25rem; margin-top: 1.5rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.25rem; }
.prose table { width: 100%; margin: 1rem 0; }
.prose th { background: var(--brand-50); }
.prose ul { padding-left: 1.25rem; }
.syllabus-stage { border-left: 4px solid var(--brand-600); padding-left: 1rem; margin-bottom: 1.5rem; }
.syllabus-block h3 { font-size: 1rem; font-weight: 600; margin-bottom: .35rem; }
.syllabus-block ul { margin-bottom: 1rem; }

/* Job detail */
.job-table th { width: 40%; background: var(--bg); font-weight: 500; }
.job-section-title { background: var(--brand); color: #fff; padding: .55rem 1rem; border-radius: 10px 10px 0 0; font-weight: 600; margin: 0; font-size: 1rem; }

/* Pricing */
.plan-card { padding: 1.5rem; height: 100%; display: flex; flex-direction: column; position: relative; }
.plan-card.recommended { border: 2px solid var(--accent); }
.plan-card .ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .75rem; padding: .2rem .8rem; border-radius: 999px; font-weight: 600; }
.plan-card .amount { font-size: 2rem; font-weight: 700; }
.plan-card ul { list-style: none; padding: 0; margin: 1rem 0; flex: 1; }
.plan-card li { padding: .3rem 0; }
.plan-card li::before { content: "\F26E"; font-family: "bootstrap-icons"; color: var(--success); margin-right: .5rem; }

/* Breadcrumb */
.crumbs { font-size: .82rem; }
.crumbs .breadcrumb { margin: 0; }
.crumbs a { color: var(--muted); }

/* Footer */
.site-footer { background: #0b1736; color: #cbd5e1; font-size: .9rem; }
.site-footer h6 { color: #fff; font-weight: 600; margin-bottom: .9rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .2rem 0; }
.site-footer .social a { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.08); margin-right: .4rem; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }

/* Misc */
.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.empty-state i { font-size: 2.5rem; display: block; margin-bottom: .5rem; color: #cbd5e1; }
.sticky-side { position: sticky; top: 1rem; }
.form-control, .form-select { border-radius: 10px; }
.filter-bar .form-select { font-size: .9rem; }
.btn:focus-visible, a:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }

/* ASP.NET Identity default pages (login, register, manage) */
.identity-wrap { max-width: 520px; }
.identity-wrap:has(.nav-pills) { max-width: 960px; }
.identity-wrap h1 { font-size: 1.6rem; }
.identity-wrap h2, .identity-wrap h3 { font-size: 1.05rem; color: var(--muted); font-weight: 500; }
.identity-wrap hr { opacity: .1; }
.identity-wrap .row > .col-lg-4:not(.col-lg-offset-2), .identity-wrap .row > .col-lg-6 { flex: 0 0 100%; max-width: 100%; }
/* Hide the "Use another service to log in" column; no external providers are configured. */
.identity-wrap .row > .col-lg-4.col-lg-offset-2 { display: none; }
.identity-wrap .btn-primary { padding: .65rem; }

/* ---- Sales & conversion components ---- */
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .85rem; color: var(--muted); }
.trust-row i { color: var(--success); margin-right: .3rem; }
.offer-card { border: 2px solid var(--accent); position: relative; overflow: hidden; }
.offer-card .tag { position: absolute; top: 14px; right: -34px; transform: rotate(45deg); background: var(--accent); color: #fff; font-size: .7rem; font-weight: 600; padding: .2rem 2.4rem; }
.offer-price { font-size: 2.2rem; font-weight: 700; line-height: 1; }
.badge-off { background: #dcfce7; color: #15803d; font-weight: 600; }
.badge-best { background: #fef3c7; color: #b45309; font-weight: 600; }
.badge-sample { background: var(--brand-50); color: var(--brand-600); font-weight: 500; }
.feature { padding: 1.25rem; height: 100%; }
.feature .tile-icon { margin-bottom: .75rem; }
.feature h3 { font-size: 1rem; margin-bottom: .35rem; }
.feature p { font-size: .88rem; color: var(--muted); margin: 0; }
.inside-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; }
@media (max-width: 575px) { .inside-list { columns: 1; } }
.inside-list li { padding: .3rem 0 .3rem 1.6rem; position: relative; break-inside: avoid; }
.inside-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; color: var(--success); position: absolute; left: 0; top: .3rem; }
.buy-box .price-now { font-size: 2.2rem; font-weight: 700; line-height: 1; }
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(15,23,42,.08); padding: .6rem 1rem; }
@media (min-width: 992px) { .buy-bar { display: none; } }
body.has-buy-bar { padding-bottom: 72px; }
@media (min-width: 992px) { body.has-buy-bar { padding-bottom: 0; } }
.updates-meta { font-size: .85rem; color: var(--muted); }
.updates-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); display: inline-block; margin-right: .35rem; animation: blink 1.6s infinite; }
.job-box-head.t7 { background: #4338ca; } .job-box-head.t8 { background: #0f766e; } .job-box-head.t9 { background: #9333ea; } .job-box-head.t10 { background: #475569; }
.tg-cta { background: linear-gradient(135deg, #0ea5e9, #2563eb); color: #fff; border: 0; }
.tg-cta .btn { background: #fff; color: #0369a1; font-weight: 600; }
.faq .accordion-button { font-weight: 500; }
.faq .accordion-button:not(.collapsed) { background: var(--brand-50); color: var(--brand); box-shadow: none; }
.section-sub { color: var(--muted); margin-top: -.75rem; margin-bottom: 1.25rem; font-size: .95rem; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-weight: 700; flex: 0 0 40px; }
.site-nav .nav-link, .site-nav .btn { white-space: nowrap; }
.site-nav .nav-link { padding-left: .55rem !important; padding-right: .55rem !important; }
@media (min-width: 1200px) { .nav-search { width: 210px; } }
.lang-toggle { font-family: "Noto Sans Devanagari", "Poppins", sans-serif; min-width: 64px; }

/* Login / register: split screen with brand panel */
.auth-page { padding: 2.5rem 1rem 3.5rem; background: radial-gradient(900px 380px at 0% 0%, #dbeafe 0, transparent 60%), radial-gradient(700px 320px at 100% 100%, #ffedd5 0, transparent 60%), var(--bg); }
.auth-shell { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 40px rgba(15, 23, 42, .10); overflow: hidden; }
@media (min-width: 992px) { .auth-shell { grid-template-columns: 1.05fr 1fr; } }
.auth-shell-sm { max-width: 460px; grid-template-columns: 1fr !important; }

.auth-brand { position: relative; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 2.5rem; color: #fff; background: radial-gradient(520px 260px at 110% -10%, rgba(249, 115, 22, .45) 0, transparent 60%), linear-gradient(155deg, #1d4ed8 0%, #1e3a8a 55%, #172554 100%); }
.auth-brand::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; }
.auth-brand > * { position: relative; z-index: 1; }
.auth-logo { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-weight: 700; font-size: 1.2rem; }
.auth-logo .brand-mark { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); }
.auth-logo:hover { color: #fff; }
.auth-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: .8rem; }
.auth-pitch h2 { margin: 1rem 0 1.5rem; font-size: 1.85rem; line-height: 1.25; font-weight: 700; color: #fff; }
.auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.auth-points li { display: flex; gap: .75rem; align-items: flex-start; color: rgba(255, 255, 255, .9); font-size: .95rem; }
.auth-points i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, .14); color: #fdba74; }
.auth-trust { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: rgba(255, 255, 255, .75); }

.auth-form { padding: 2rem 1.5rem; }
@media (min-width: 576px) { .auth-form { padding: 2.75rem 3rem; } }
.auth-form h1 { font-size: 1.65rem; font-weight: 700; margin-bottom: .35rem; }
.auth-sub { color: var(--muted); margin-bottom: 1.6rem; }
.auth-form .form-label { font-weight: 500; font-size: .9rem; margin-bottom: .35rem; }

.btn-social { display: flex; align-items: center; justify-content: center; gap: .65rem; padding: .7rem 1rem; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.btn-social:hover { background: #f8fafc; border-color: #cbd5e1; color: var(--ink); }
.auth-divider { display: flex; align-items: center; gap: .75rem; margin: 1.4rem 0; color: var(--muted); font-size: .82rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.auth-field { position: relative; }
.auth-field > i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.auth-field .form-control { padding: .7rem .9rem .7rem 2.6rem; border-radius: 10px; border-color: var(--line); background: #fff; }
.auth-field .form-control:focus { border-color: var(--brand-600); box-shadow: 0 0 0 .2rem rgba(29, 78, 216, .15); }
.auth-field:has(.auth-eye) .form-control { padding-right: 2.8rem; }
.auth-eye { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); padding: .35rem .55rem; border-radius: 8px; }
.auth-eye:hover { color: var(--ink); background: var(--bg); }

.auth-submit { padding: .75rem; font-weight: 600; font-size: 1rem; border-radius: 10px; }
.auth-alert:not(.validation-summary-valid) { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 10px; padding: .65rem .85rem; margin-bottom: 1rem; font-size: .9rem; }
.auth-alert ul { margin: 0; padding-left: 1rem; }
.auth-alert.validation-summary-valid { display: none; }
.auth-switch { margin: 1.5rem 0 0; text-align: center; color: var(--muted); font-size: .92rem; }
.auth-switch a { font-weight: 600; }
.auth-terms { margin: .9rem 0 0; text-align: center; color: var(--muted); font-size: .8rem; }
.auth-icon-bad { width: 56px; height: 56px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; background: #fef2f2; color: #dc2626; font-size: 1.6rem; }
