:root {
  --bg: #0d0f1a;
  --bg2: #141728;
  --bg3: #1c2035;
  --card: #1a1e30;
  --border: #2a2f4a;
  --text: #e8ecf5;
  --muted: #8b92b3;
  --accent: #f5a623;
  --green: #00c896;
  --blue: #4f7ef8;
  --purple: #9b5de5;
  --red: #f94040;
  --pink: #e0399f;
  --orange: #ff7f3e;
  --teal: #00b4d8;
  --glow: rgba(79, 126, 248, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 26, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #4f7ef8, #9b5de5);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.logo-text {
  line-height: 1.1;
}

.logo-en {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}

.logo-hi {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-btn,
.menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: background 0.2s;
}

.search-btn:hover,
.menu-btn:hover {
  background: var(--border);
}

/* Hide hamburger on desktop */
.menu-btn {
  display: none;
}

/* ── MOBILE DRAWER MENU ── */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.drawer-overlay.open {
  display: block;
}

.drawer {
  position: fixed;
  top: 0;
  right: -320px;
  bottom: 0;
  width: 300px;
  z-index: 400;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: background 0.2s;
}

.drawer-close:hover {
  background: var(--red);
  border-color: var(--red);
}

.drawer-nav {
  padding: 12px 12px;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 4px;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.drawer-nav a:hover {
  background: var(--bg3);
  color: var(--blue);
}

.drawer-nav a .dnav-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.drawer-nav a .dnav-badge {
  margin-left: auto;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
}

.drawer-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 20px;
}

.drawer-section-label {
  padding: 10px 20px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.drawer-footer {
  margin-top: auto;
  padding: 20px;
  border-top: 1px solid var(--border);
}

.drawer-footer p {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Search Bar */
.search-bar {
  padding: 12px 20px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  display: none;
}

.search-bar.active {
  display: block;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.search-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 16px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.search-input-wrap input::placeholder {
  color: var(--muted);
}

.search-submit {
  background: var(--blue);
  border: none;
  padding: 10px 18px;
  color: white;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s;
}

.search-submit:hover {
  background: #3a6af0;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 20px 50px;
  text-align: center;
  background: linear-gradient(160deg, #0d0f1a 0%, #141728 50%, #0d1528 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(79, 126, 248, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(79, 126, 248, 0.12);
  border: 1px solid rgba(79, 126, 248, 0.3);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  animation: fadeDown 0.6s ease;
}

.hero h1 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
  animation: fadeDown 0.7s ease;
}

.hero h1 span {
  color: var(--accent);
}

.hero-sub {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 32px;
  animation: fadeDown 0.8s ease;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s ease;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Baloo 2', cursive;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ── BREAKING NEWS ── */
.ticker-wrap {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  height: 44px;
}

.ticker-label {
  background: var(--red);
  color: white;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
  padding-right: 24px;
}

.ticker-track {
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
}

.ticker-inner {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-size: 13px;
  color: var(--muted);
}

.ticker-inner span {
  color: var(--accent);
  font-weight: 600;
}

@keyframes ticker {
  from {
    transform: translateX(100vw);
  }

  to {
    transform: translateX(-100%);
  }
}

.ticker-wrap:hover .ticker-inner {
  animation-play-state: paused;
  cursor: pointer;
}
.ticker-inner a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
/* ── MAIN CONTENT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── CATEGORIES ── */
.section {
  padding: 40px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), transparent);
  border-radius: 2px;
}

.see-all {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.see-all:hover {
  gap: 8px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cat-card {
  border-radius: 16px;
  padding: 22px 12px 18px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: white;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0;
  transition: opacity 0.2s;
}

.cat-card:hover {
  transform: translateY(-4px);
}

.cat-card:hover::before {
  opacity: 1;
}

.cat-card.results {
  background: linear-gradient(135deg, #00b894, #00cba9);
  box-shadow: 0 8px 24px rgba(0, 200, 150, 0.25);
}

.cat-card.latestjob {
  background: linear-gradient(135deg, #4f7ef8, #7b61ff);
  box-shadow: 0 8px 24px rgba(79, 126, 248, 0.25);
}

.cat-card.admitcard {
  background: linear-gradient(135deg, #f5a623, #ff7f3e);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.25);
}

.cat-card.answer {
  background: linear-gradient(135deg, #9b5de5, #c77dff);
  box-shadow: 0 8px 24px rgba(155, 93, 229, 0.25);
}

.cat-card.syllabus {
  background: linear-gradient(135deg, #f94040, #ff6b6b);
  box-shadow: 0 8px 24px rgba(249, 64, 64, 0.25);
}

.cat-card.admission {
  background: linear-gradient(135deg, #e0399f, #ff4da6);
  box-shadow: 0 8px 24px rgba(224, 57, 159, 0.25);
}

.cat-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.cat-name {
  font-family: 'Baloo 2', cursive;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.cat-count {
  font-size: 11px;
  opacity: 0.8;
  margin-top: 4px;
}

/* ── TABS ── */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg3);
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
}

.tab {
  padding: 8px 18px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  background: none;
  color: var(--muted);
}

.tab.active {
  background: var(--blue);
  color: white;
}

/* ── POSTS GRID ── */
.posts-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.post-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 12px;
}

.badge-result {
  background: rgba(0, 200, 150, 0.12);
  color: var(--green);
  border: 1px solid rgba(0, 200, 150, 0.25);
}

.badge-job {
  background: rgba(79, 126, 248, 0.12);
  color: var(--blue);
  border: 1px solid rgba(79, 126, 248, 0.25);
}

.badge-admit {
  background: rgba(245, 166, 35, 0.12);
  color: var(--accent);
  border: 1px solid rgba(245, 166, 35, 0.25);
}

.badge-syllabus {
  background: rgba(249, 64, 64, 0.12);
  color: var(--red);
  border: 1px solid rgba(249, 64, 64, 0.25);
}

.badge-admission {
  background: rgba(224, 57, 159, 0.12);
  color: var(--pink);
  border: 1px solid rgba(224, 57, 159, 0.25);
}

.post-title {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--text);
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.post-org {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-org-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.post-date {
  color: var(--muted);
}

.post-new {
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.4
  }
}

/* ── FEATURED ── */
.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.featured-main {
  background: linear-gradient(135deg, #141728, #1c2035);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.featured-main::before {
  content: '🏛️';
  font-size: 120px;
  opacity: 0.05;
  position: absolute;
  right: -20px;
  bottom: -20px;
  line-height: 1;
}

.featured-tag {
  background: var(--blue);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 16px;
}

.featured-main h2 {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}

.featured-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.detail-row strong {
  color: var(--text);
}

.detail-icon {
  font-size: 16px;
}

.apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.apply-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.featured-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}

.side-card:hover {
  border-color: var(--blue);
}

.side-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.side-info {
  flex: 1;
  min-width: 0;
}

.side-title {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.side-meta {
  font-size: 11px;
  color: var(--muted);
}

/* ── STATE SECTION ── */
.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.state-chip {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
  font-size: 13px;
  font-weight: 600;
}

.state-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(79, 126, 248, 0.06);
}

.state-chip span {
  display: block;
  font-size: 22px;
  margin-bottom: 6px;
}

/* ── EXAM CALENDAR ── */
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
}

.calendar-table th {
  background: var(--bg3);
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--muted);
  text-transform: uppercase;
}

.calendar-table td {
  padding: 14px 16px;
  font-size: 13px;
  border-top: 1px solid var(--border);
}

.calendar-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.exam-name {
  font-weight: 600;
  color: var(--text);
}

.exam-date {
  color: var(--muted);
}

.exam-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

.status-upcoming {
  background: rgba(79, 126, 248, 0.12);
  color: var(--blue);
}

.status-active {
  background: rgba(0, 200, 150, 0.12);
  color: var(--green);
}

.status-closing {
  background: rgba(249, 64, 64, 0.12);
  color: var(--red);
}

.status-result {
  background: rgba(245, 166, 35, 0.12);
  color: var(--accent);
}

/* ── NEWSLETTER ── */
.newsletter {
  background: linear-gradient(135deg, #141728 0%, #1c1435 100%);
  border: 1px solid rgba(155, 93, 229, 0.25);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

.newsletter::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 300px;
  top: -100px;
  right: -100px;
  background: radial-gradient(ellipse, rgba(155, 93, 229, 0.08) 0%, transparent 70%);
}

.newsletter h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.newsletter p {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.nl-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.nl-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.nl-input:focus {
  border-color: var(--purple);
}

.nl-btn {
  background: linear-gradient(135deg, var(--purple), #c77dff);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, opacity 0.2s;
}

.nl-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 50px 20px 24px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-top: 14px;
}

.footer-col h4 {
  font-family: 'Baloo 2', cursive;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s;
}

.social-btn:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

/* ── MOBILE BOTTOM NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(20, 23, 40, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 8px 0 4px;
}

.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
}

.mnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 16px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  transition: color 0.2s;
}

.mnav-item.active {
  color: var(--blue);
}

.mnav-icon {
  font-size: 22px;
}

/* ── ANIMATIONS ── */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }

  .menu-btn {
    display: grid;
  }
}

@media (max-width: 600px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .cat-card {
    padding: 16px 8px 14px;
  }

  .cat-icon {
    font-size: 1.6rem;
  }

  .cat-name {
    font-size: 12px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .states-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mobile-nav {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }

  .hero {
    padding: 40px 16px 36px;
  }

  .hero-stats {
    gap: 20px;
  }

  .nl-form {
    flex-direction: column;
  }

  .newsletter {
    padding: 36px 20px;
  }

  .section {
    padding: 28px 0;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

/* ══════════════════════════════════════
     DETAIL PAGE — unique styles
  ══════════════════════════════════════ */
.page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 0;
    font-size: 12px;
    color: var(--muted);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
}

.breadcrumb a:hover {
    color: var(--blue);
}

.breadcrumb span {
    color: var(--border);
}

.breadcrumb .current {
    color: var(--text);
    font-weight: 500;
}

/* Two-column layout */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    padding-bottom: 50px;
}

/* ── LEFT COLUMN ── */

/* Post Header Card */
.post-header {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.post-header::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(79, 126, 248, 0.08), transparent 70%);
    pointer-events: none;
}

.ph-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.ph-org-logo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--bg3), var(--bg2));
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 28px;
}

.ph-meta {
    flex: 1;
}

.ph-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.ph-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.badge-job {
    background: rgba(79, 126, 248, 0.12);
    color: var(--blue);
    border: 1px solid rgba(79, 126, 248, 0.25);
}

.badge-result {
    background: rgba(0, 200, 150, 0.12);
    color: var(--green);
    border: 1px solid rgba(0, 200, 150, 0.25);
}

.badge-admit {
    background: rgba(245, 166, 35, 0.12);
    color: var(--accent);
    border: 1px solid rgba(245, 166, 35, 0.25);
}

.badge-hot {
    background: rgba(249, 64, 64, 0.12);
    color: var(--red);
    border: 1px solid rgba(249, 64, 64, 0.25);
}

.badge-new {
    background: var(--red);
    color: white;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .5
    }
}

.ph-title {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 6px;
}

.ph-org-name {
    font-size: 13px;
    color: var(--muted);
}

.ph-quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.qs-item {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    text-align: center;
}

.qs-val {
    font-family: 'Baloo 2', cursive;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
}

.qs-key {
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-top: 2px;
}

/* Section blocks */
.detail-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
}

.db-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
    background: var(--bg3);
}

.db-icon {
    font-size: 20px;
}

.db-title {
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    font-size: 1rem;
}

.db-body {
    padding: 22px;
}

/* Info Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--border);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 11px 14px;
    font-size: 14px;
    vertical-align: top;
}

.info-table td:first-child {
    font-weight: 600;
    color: var(--muted);
    width: 38%;
    white-space: nowrap;
    font-size: 13px;
}

.info-table td:last-child {
    color: var(--text);
    font-weight: 500;
}

.info-table .highlight {
    color: var(--accent);
    font-weight: 700;
}

.info-table .danger {
    color: var(--red);
    font-weight: 700;
}

.info-table .success {
    color: var(--green);
    font-weight: 700;
}

/* Date table */
.date-table {
    width: 100%;
    border-collapse: collapse;
}

.date-table thead tr {
    background: var(--bg3);
}

.date-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .5px;
    text-transform: uppercase;
}

.date-table td {
    padding: 13px 16px;
    font-size: 13px;
    border-top: 1px solid var(--border);
}

.date-table tr:hover td {
    background: rgba(255, 255, 255, .02);
}

.date-event {
    font-weight: 600;
    color: var(--text);
}

.date-val {
    color: var(--accent);
    font-weight: 600;
}

.date-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

.ds-open {
    background: rgba(0, 200, 150, .12);
    color: var(--green);
}

.ds-soon {
    background: rgba(249, 64, .12);
    color: var(--red);
}

.ds-done {
    background: rgba(139, 146, 179, .12);
    color: var(--muted);
}

.ds-upcoming {
    background: rgba(79, 126, 248, .12);
    color: var(--blue);
}

/* Vacancy table */
.vacancy-table {
    width: 100%;
    border-collapse: collapse;
}

.vacancy-table thead tr {
    background: linear-gradient(90deg, rgba(79, 126, 248, .12), rgba(155, 93, 229, .08));
}

.vacancy-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: .5px;
    text-transform: uppercase;
}

.vacancy-table td {
    padding: 13px 16px;
    font-size: 13px;
    border-top: 1px solid var(--border);
}

.vacancy-table tr:hover td {
    background: rgba(255, 255, 255, .02);
}

.vacancy-table .total-row td {
    background: rgba(79, 126, 248, .06);
    font-weight: 700;
    color: var(--text);
    border-top: 2px solid rgba(79, 126, 248, .3);
}

.posts-count {
    font-family: 'Baloo 2', cursive;
    font-weight: 800;
    color: var(--blue);
    font-size: 1rem;
}

.cat-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    background: var(--bg3);
    color: var(--muted);
    border: 1px solid var(--border);
}

/* Eligibility list */
.elig-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.elig-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--bg3);
    border: 1px solid var(--border);
    font-size: 13px;
    line-height: 1.6;
}

.elig-list li::before {
    content: '✓';
    color: var(--green);
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

.elig-list li strong {
    color: var(--text);
}

.elig-list li span {
    color: var(--muted);
}

/* Exam pattern */
.pattern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pattern-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    border-top: 3px solid transparent;
}

.pattern-card.tier1 {
    border-top-color: var(--blue);
}

.pattern-card.tier2 {
    border-top-color: var(--purple);
}

.pattern-card.tier3 {
    border-top-color: var(--green);
}

.pattern-card.tier4 {
    border-top-color: var(--accent);
}

.pc-title {
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: 12px;
}

.pc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
}

.pc-row:last-child {
    border-bottom: none;
}

.pc-label {
    color: var(--muted);
}

.pc-val {
    font-weight: 600;
    color: var(--text);
}

/* Selection process steps */
.steps-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    display: grid;
    place-items: center;
    font-family: 'Baloo 2', cursive;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    box-shadow: 0 4px 14px rgba(79, 126, 248, 0.3);
}

.step-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.3;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    min-width: 20px;
    max-width: 40px;
}

/* Description prose */
.detail-prose {
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
    font-family: 'Noto Sans Devanagari', sans-serif;
}

.detail-prose p {
    margin-bottom: 12px;
}

.detail-prose strong {
    color: var(--text);
}

/* Tags */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.tag:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(79, 126, 248, .06);
}

/* ── RIGHT SIDEBAR ── */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, #141728, #1c1435);
    border: 1px solid rgba(155, 93, 229, .3);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    position: sticky;
    top: 84px;
}

.cta-deadline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(249, 64, 64, .12);
    border: 1px solid rgba(249, 64, 64, .25);
    color: var(--red);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cta-card p {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 18px;
    line-height: 1.6;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    transition: opacity .2s, transform .2s;
}

.cta-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.cta-primary {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
}

.cta-secondary {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
}

.cta-outline {
    background: transparent;
    border: 1px solid var(--green);
    color: var(--green);
}

.cta-divider {
    height: 1px;
    background: var(--border);
    margin: 14px 0;
}

.cta-timer {
    text-align: center;
}

.cta-timer p {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 8px;
}

.timer-boxes {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.timer-box {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 10px;
    min-width: 44px;
    text-align: center;
}

.timer-num {
    font-family: 'Baloo 2', cursive;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    display: block;
}

.timer-label {
    font-size: 10px;
    color: var(--muted);
}

/* Sidebar info card */
.sb-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.sb-card-header {
    padding: 14px 18px;
    background: var(--bg3);
    border-bottom: 1px solid var(--border);
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sb-card-body {
    padding: 16px 18px;
}

.sb-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
}

.sb-row:last-child {
    border-bottom: none;
}

.sb-key {
    color: var(--muted);
}

.sb-val {
    font-weight: 600;
    color: var(--text);
    text-align: right;
    max-width: 55%;
}

/* Related posts */
.related-post {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: opacity .2s;
}

.related-post:last-child {
    border-bottom: none;
}

.related-post:hover {
    opacity: .8;
}

.rp-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.rp-info {
    flex: 1;
}

.rp-title {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 4px;
}

.rp-meta {
    font-size: 11px;
    color: var(--muted);
}

/* Share bar */
.share-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.share-btn {
    flex: 1;
    min-width: 80px;
    padding: 10px 8px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: opacity .2s;
}

.share-btn:hover {
    opacity: .85;
}

.sb-wa {
    background: #25d366;
    color: white;
}

.sb-tg {
    background: #0088cc;
    color: white;
}

.sb-tw {
    background: #1da1f2;
    color: white;
}

.sb-copy {
    background: var(--bg3);
    color: var(--muted);
    border: 1px solid var(--border);
    flex: 0 0 auto;
}

/* Responsive */
@media(max-width:900px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: grid;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .cta-card {
        position: static;
    }

    .ph-quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .pattern-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sidebar {
        order: -1;
    }
}

@media(max-width:600px) {
    .mobile-nav {
        display: block;
    }

    body {
        padding-bottom: 80px;
    }

    .ph-top {
        flex-direction: column;
    }

    .ph-quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-wrap {
        gap: 0;
    }

    .step-connector {
        min-width: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .info-table td:first-child {
        width: 45%;
        font-size: 12px;
    }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}