/* ============================================
   SarkariResult Modern Redesign — style.css
   ============================================ */

/* ── Variables ─────────────────────────────── */
:root {
  --gold:       #d4a017;
  --gold-light: #f0c040;
  --gold-dark:  #a07810;
  --red:        #c0392b;
  --red-light:  #e74c3c;
  --navy:       #0f1923;
  --navy-mid:   #1a2535;
  --navy-light: #243447;
  --surface:    #ffffff;
  --surface2:   #f7f9fc;
  --border:     #e8ecf2;
  --text:       #1a2535;
  --text-muted: #6b7c93;
  --accent:     #1e3a5f;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  24px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow:     0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.18);

  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 15px;
  max-width: 100vw;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--surface2);
  line-height: 1.55;
  max-width: 100vw;
  overflow-x: hidden;
}
img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-light); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Focus Visible (Web Interface Guidelines) ── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,.2);
}

/* ── Skip Link (Accessibility) ─────────────── */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  z-index: 10000; padding: 12px 24px;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 14px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ── Reduced Motion (Animation Guidelines) ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Typography Utilities ──────────────────── */
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}
[id] {
  scroll-margin-top: 100px;
}

/* ── Content Handling ──────────────────────── */
p, li, td, th, dd, dt, blockquote {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ── Container ──────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ═══════════════════════════════════════════
   PRELOADER
═══════════════════════════════════════════ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo { text-align: center; }
.preloader-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 20px;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-size: 30px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 40px rgba(212,160,23,.4);
  animation: preloaderPulse 1.2s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 40px rgba(212,160,23,.4); }
  50%      { transform: scale(1.06); box-shadow: 0 0 60px rgba(212,160,23,.7); }
}
.preloader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,.15); border-radius: 99px;
  overflow: hidden; margin: 0 auto;
}
.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  animation: preloaderLoad 1.5s ease-in-out infinite;
}
@keyframes preloaderLoad {
  0%   { width: 0%; }
  60%  { width: 80%; }
  100% { width: 100%; }
}

/* ═══════════════════════════════════════════
   ANNOUNCEMENT BAR
═══════════════════════════════════════════ */
.announce-bar {
  background: linear-gradient(90deg, var(--navy) 0%, #1e3150 100%);
  border-bottom: 2px solid var(--gold-dark);
  overflow: hidden;
  transition: height .4s ease, padding .4s ease;
}
.announce-inner {
  display: flex; align-items: center;
  padding: 7px 20px; gap: 12px;
  max-width: 1140px; margin: 0 auto;
}
.announce-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red-light);
  flex-shrink: 0;
  animation: dotBlink 1s step-start infinite;
}
@keyframes dotBlink { 0%,100%{opacity:1} 50%{opacity:0} }
.announce-scroll {
  flex: 1; overflow: hidden; height: 20px; position: relative;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}
.announce-scroll span {
  display: inline-block; white-space: nowrap;
  color: rgba(255,255,255,.85); font-size: 12.5px;
  animation: scrollTicker 28s linear infinite;
}
.announce-scroll span:nth-child(2) { animation-delay: -14s; }
@keyframes scrollTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.announce-close {
  color: rgba(255,255,255,.5); font-size: 13px; flex-shrink: 0;
  padding: 3px 6px; border-radius: 4px;
  transition: all var(--transition);
}
.announce-close:hover { color: #fff; background: rgba(255,255,255,.1); }

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold-dark);
  position: sticky; top: 0; z-index: 900;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  transition: padding var(--transition), box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 6px 30px rgba(0,0,0,.5); }
.header-inner {
  display: flex; align-items: center;
  gap: 20px; padding: 12px 0;
}

/* Logo */
.logo-link { text-decoration: none; flex-shrink: 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-emblem {
  position: relative; width: 54px; height: 54px; flex-shrink: 0;
}
.logo-text-sr {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 900; color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 12px; z-index: 1;
  box-shadow: 0 4px 14px rgba(212,160,23,.35);
}
.logo-ring {
  position: absolute; inset: -4px;
  border-radius: 16px;
  border: 2px solid rgba(212,160,23,.4);
  animation: ringRotate 8s linear infinite;
}
@keyframes ringRotate {
  from { transform: rotate(0deg); border-color: rgba(212,160,23,.4); }
  50%  { border-color: rgba(212,160,23,.9); }
  to   { transform: rotate(360deg); border-color: rgba(212,160,23,.4); }
}
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: #fff; line-height: 1;
}

.logo-sub {
  font-size: 11px; color: rgba(255,255,255,.5);
  margin-top: 3px; letter-spacing: .3px;
}

/* Search */
.header-search {
  flex: 1; position: relative; max-width: 460px;
}
.search-input {
  width: 100%; padding: 10px 46px 10px 18px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 99px; color: #fff;
  font-family: 'Inter', sans-serif; font-size: 13.5px;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(10px);
}
.search-input::placeholder { color: rgba(255,255,255,.4); }
.search-input:focus-visible {
  background: rgba(255,255,255,.14);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,.18);
  outline: none;
}
.search-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.search-btn svg { width: 15px; height: 15px; }
.search-btn:hover { background: var(--gold-light); transform: translateY(-50%) scale(1.08); }
.search-suggestions {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; z-index: 9999;
  display: none; animation: fadeDown .2s ease;
}
.search-suggestions.show { display: block; }
@keyframes fadeDown { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
.suggestion-title {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .8px;
  padding: 4px 8px 8px; border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.suggestion-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text);
  transition: background var(--transition);
}
.suggestion-item::before { content: "🔍"; font-size: 12px; }
.suggestion-item:hover { background: var(--surface2); color: var(--red); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-left: auto; }
.btn-notif {
  position: relative; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); color: #fff;
}
.btn-notif svg { width: 18px; height: 18px; }
.btn-notif:hover { background: rgba(255,255,255,.16); border-color: var(--gold); color: var(--gold); }
.notif-dot {
  position: absolute; top: 4px; right: 4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red-light); border: 2px solid var(--navy);
  animation: dotBlink 2s step-start infinite;
}
.btn-telegram {
  background: linear-gradient(135deg, #0088cc, #006aaa);
  color: #fff; padding: 8px 16px; border-radius: 99px;
  font-size: 12.5px; font-weight: 600;
  transition: all var(--transition); white-space: nowrap;
  box-shadow: 0 3px 12px rgba(0,136,204,.3);
}
.btn-telegram:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,136,204,.4); color: #fff; }
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; padding: 8px; border-radius: 8px;
  background: rgba(255,255,255,.08);
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   MAIN NAVIGATION
═══════════════════════════════════════════ */
.main-nav {
  background: #162030;
  border-bottom: 2px solid rgba(212,160,23,.3);
  position: sticky; top: 79px; z-index: 800;
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
}
.nav-list {
  display: flex; align-items: stretch; gap: 0;
}
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 13px 16px;
  color: rgba(255,255,255,.82);
  font-size: 13px; font-weight: 500;
  white-space: nowrap; position: relative;
  transition: all var(--transition);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--transition);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--gold); }


/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #0a1520 0%, #0f1f33 40%, #1a1530 100%);
  position: relative; overflow: hidden;
  padding: 24px 0;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(212,160,23,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 60%, rgba(192,57,43,.07) 0%, transparent 70%);
}
.hero-particle {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  border-radius: 50%;
  background: rgba(212,160,23,.55);
  animation: particleFloat var(--d) var(--del) ease-in-out infinite alternate;
}
@keyframes particleFloat {
  from { transform: translateY(0) scale(1); opacity: .55; }
  to   { transform: translateY(-24px) scale(1.4); opacity: .9; }
}
.hero-content {
  position: relative; z-index: 2; max-width: 760px;
  margin: 0 auto; text-align: center; padding-bottom: 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,160,23,.12);
  border: 1px solid rgba(212,160,23,.35);
  color: var(--gold-light);
  font-size: 12.5px; font-weight: 600;
  padding: 6px 16px; border-radius: 99px;
  margin-bottom: 22px; letter-spacing: .3px;
  animation: fadeInDown .8s ease both;
}
@keyframes fadeInDown { from{opacity:0;transform:translateY(-18px)} to{opacity:1;transform:translateY(0)} }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 900; color: #fff;
  line-height: 1.15; margin-bottom: 10px;
  animation: fadeInUp .9s .1s ease both;
}
@keyframes fadeInUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
.hero-highlight {
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.hero-highlight::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  border-radius: 2px;
  animation: underlineExpand 1.2s .6s ease both;
}
@keyframes underlineExpand { from{transform:scaleX(0)} to{transform:scaleX(1)} }
.hero-sub {
  color: rgba(255,255,255,.65); font-size: 13.5px; line-height: 1.5;
  margin-bottom: 0; animation: fadeInUp 1s .2s ease both;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-search-bar {
  display: flex; gap: 0; border-radius: 99px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  border: 2px solid rgba(212,160,23,.3);
  max-width: 540px; margin: 0 auto 24px;
  animation: fadeInUp 1s .3s ease both;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.hero-search-bar:focus-within {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(212,160,23,.2);
}
.hero-search-input {
  flex: 1; padding: 16px 22px;
  background: rgba(255,255,255,.1); color: #fff;
  font-size: 14px; border: none;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(10px);
}
.hero-search-input::placeholder { color: rgba(255,255,255,.45); }
.hero-search-btn {
  padding: 0 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy); font-weight: 700; font-size: 14px;
  transition: all var(--transition); white-space: nowrap;
}
.hero-search-btn:hover { filter: brightness(1.1); }
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  animation: fadeInUp 1s .4s ease both;
}
.hero-tag {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.75); font-size: 12.5px;
  padding: 5px 14px; border-radius: 99px;
  transition: all var(--transition);
}
.hero-tag:hover {
  background: rgba(212,160,23,.2);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Stats Strip */
.hero-stats {
  background: rgba(0,0,0,.35);
  border-top: 1px solid rgba(212,160,23,.18);
  backdrop-filter: blur(10px);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  padding: 0;
}
.stat-item {
  padding: 22px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
  position: relative; overflow: hidden;
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(212,160,23,.06); }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.stat-label {
  color: rgba(255,255,255,.55); font-size: 12px;
  margin-top: 5px; letter-spacing: .3px;
}

/* ═══════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════ */
.section-head {
  text-align: center; margin-bottom: 34px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700; color: var(--text);
  margin-bottom: 12px;
}
.section-line {
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  border-radius: 2px; margin: 0 auto;
}

/* ═══════════════════════════════════════════
   CATEGORIES
═══════════════════════════════════════════ */
.categories { padding: 72px 0; background: var(--surface); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  background: var(--surface);
  transition: all var(--transition);
  position: relative; overflow: hidden;
  display: block; text-decoration: none;
  cursor: pointer;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--clr), var(--clr2));
  opacity: 0; transition: opacity var(--transition);
  border-radius: inherit;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card:hover::before { opacity: 1; }
.cat-card:hover .cat-name,
.cat-card:hover .cat-count { color: #fff; }
.cat-card:hover .cat-arrow { color: rgba(255,255,255,.8); opacity: 1; }
.cat-icon {
  font-size: 32px; margin-bottom: 12px;
  position: relative; z-index: 1;
  transition: transform var(--transition);
}
.cat-card:hover .cat-icon { transform: scale(1.15) rotate(-5deg); }
.cat-name {
  font-weight: 700; font-size: 14px; color: var(--text);
  position: relative; z-index: 1; margin-bottom: 4px;
  transition: color var(--transition);
}
.cat-count {
  font-size: 12px; color: var(--text-muted);
  position: relative; z-index: 1;
  transition: color var(--transition);
}
.cat-arrow {
  position: absolute; top: 14px; right: 16px;
  font-size: 16px; color: var(--text-muted);
  opacity: 0; transition: all var(--transition);
}

/* ═══════════════════════════════════════════
   MAIN TABS SECTION
═══════════════════════════════════════════ */
.main-tabs-section { padding: 48px 0 72px; background: var(--surface2); }

/* Tab Bar */
.tab-bar {
  display: flex; gap: 4px; flex-wrap: wrap;
  justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 6px;
  margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.tab-btn {
  padding: 10px 22px; border-radius: var(--radius);
  font-size: 13.5px; font-weight: 600; color: var(--text-muted);
  transition: all var(--transition); white-space: nowrap;
}
.tab-btn:hover { color: var(--text); background: var(--surface2); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #fff; box-shadow: 0 4px 14px rgba(15,25,35,.25);
}

/* Tab Pane */
.tab-pane { display: none; animation: fadeInUp .35s ease; }
.tab-pane.active { display: block; }

/* Filters */
.pane-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}
.filter-btn {
  padding: 6px 16px; border-radius: 99px;
  font-size: 12.5px; font-weight: 600;
  border: 1.5px solid var(--border); color: var(--text-muted);
  background: var(--surface); transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active {
  background: var(--navy); color: #fff;
  border-color: var(--navy);
  box-shadow: 0 3px 10px rgba(15,25,35,.2);
}

/* Job Cards */
.job-cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.job-cards-grid > * {
  min-width: 0;
}
.job-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,160,23,.3);
}
.job-card-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 70%, var(--navy) 30%) 100%);
  background: var(--navy-light);
  border-bottom: 2px solid var(--accent, var(--gold-dark));
  position: relative; overflow: hidden;
}
.job-card-header::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent, #1e3a5f), transparent);
  opacity: .6;
}
.job-org {
  font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.8);
  position: relative; z-index: 1; line-height: 1.3;
}
.badge-new, .badge-hot {
  font-size: 9.5px; font-weight: 700; padding: 3px 9px;
  border-radius: 99px; position: relative; z-index: 1;
  white-space: nowrap; flex-shrink: 0;
}
.badge-new {
  background: rgba(46,204,113,.2); color: #2ecc71;
  border: 1px solid rgba(46,204,113,.3);
  animation: badgePulseGreen 2s ease-in-out infinite;
}
.badge-hot {
  background: rgba(231,76,60,.2); color: #e74c3c;
  border: 1px solid rgba(231,76,60,.3);
  animation: badgePulseRed 1.5s ease-in-out infinite;
}
@keyframes badgePulseGreen {
  0%,100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
  50%      { box-shadow: 0 0 0 4px rgba(46,204,113,.15); }
}
@keyframes badgePulseRed {
  0%,100% { box-shadow: 0 0 0 0 rgba(231,76,60,0); }
  50%      { box-shadow: 0 0 0 4px rgba(231,76,60,.15); }
}
.job-card-body { padding: 16px; flex: 1; }
.job-title {
  font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 10px;
}
.job-title a { color: var(--text); }
.job-title a:hover { color: var(--red); }
.job-details {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.job-details span {
  font-size: 11.5px; color: var(--text-muted); font-weight: 500;
  background: var(--surface2); padding: 3px 10px; border-radius: 99px;
  border: 1px solid var(--border);
}
.job-dates { display: flex; gap: 12px; }
.date-item { display: flex; flex-direction: column; gap: 2px; }
.date-label { font-size: 10.5px; color: var(--text-muted); font-weight: 500; }
.date-val {
  font-size: 12.5px; font-weight: 700; color: var(--text);
  white-space: nowrap;
}
.date-val.hot { color: var(--red-light); }
.job-card-footer {
  padding: 12px 16px; border-top: 1px solid var(--border);
  display: flex; gap: 10px;
}
.job-btn {
  flex: 1; text-align: center;
  padding: 9px 14px; border-radius: var(--radius-sm);
  font-size: 12.5px; font-weight: 700;
  transition: all var(--transition);
}
.job-btn.primary {
  background: linear-gradient(135deg, var(--red), var(--red-light));
  color: #fff; box-shadow: 0 3px 10px rgba(192,57,43,.25);
}
.job-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(192,57,43,.35); color: #fff; }
.job-btn.outline {
  border: 1.5px solid var(--border); color: var(--text-muted);
  background: transparent;
}
.job-btn.outline:hover { border-color: var(--navy); color: var(--navy); background: var(--surface2); }

/* Result List */
.result-list { display: flex; flex-direction: column; gap: 0; }
.result-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-top: none; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.result-row:first-child { border-top: 1px solid var(--border); border-radius: var(--radius) var(--radius) 0 0; }
.result-row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.result-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--border);
  transition: background var(--transition);
}
.result-row.new::before { background: #2ecc71; }
.result-row:hover { background: var(--surface2); }
.result-row:hover::before { background: var(--gold); }
.result-info {
  display: flex; align-items: flex-start; gap: 12px;
  flex: 1; min-width: 0;
}
.r-badge {
  flex-shrink: 0; font-size: 9.5px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px; white-space: nowrap;
}
.new-badge   { background: rgba(46,204,113,.12); color: #1e8449; border: 1px solid rgba(46,204,113,.25); }
.admit-badge { background: rgba(52,152,219,.12); color: #1a6fa8; border: 1px solid rgba(52,152,219,.25); }
.key-badge   { background: rgba(155,89,182,.12); color: #7d3c98; border: 1px solid rgba(155,89,182,.25); }
.syl-badge   { background: rgba(243,156,18,.12); color: #a04000; border: 1px solid rgba(243,156,18,.25); }
.r-title { font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.r-title a { color: var(--text); }
.r-title a:hover { color: var(--red); }
.r-meta { font-size: 11.5px; color: var(--text-muted); margin-top: 3px; }
.r-btn {
  flex-shrink: 0; padding: 7px 16px;
  background: var(--surface2); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  transition: all var(--transition); white-space: nowrap;
}
.r-btn:hover {
  background: var(--navy); border-color: var(--navy);
  color: #fff; box-shadow: 0 3px 10px rgba(15,25,35,.2);
}

/* View All Row */
.view-all-row { margin-top: 28px; text-align: center; }
.view-all-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #fff; border-radius: 99px;
  font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 16px rgba(15,25,35,.25);
  transition: all var(--transition);
}
.view-all-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15,25,35,.35);
  color: var(--gold-light);
}

/* ═══════════════════════════════════════════
   EXAM CALENDAR
═══════════════════════════════════════════ */
.exam-calendar {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0d1e30 100%);
  position: relative; overflow: hidden;
}
.exam-calendar::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(212,160,23,.06) 0%, transparent 70%);
}
.exam-calendar .section-title { color: #fff; }
.calendar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; position: relative; z-index: 1;
}
.calendar-grid > * {
  min-width: 0;
}
.cal-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 20px; display: flex; gap: 16px;
  align-items: flex-start;
  backdrop-filter: blur(10px);
  transition: all var(--transition); position: relative;
  overflow: hidden;
}
.cal-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(212,160,23,.08), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.cal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,160,23,.35);
  box-shadow: 0 8px 28px rgba(0,0,0,.3);
}
.cal-card:hover::before { opacity: 1; }
.cal-date {
  flex-shrink: 0; text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  padding: 10px 14px; width: 60px;
  position: relative; z-index: 1;
}
.cal-day {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 900; color: var(--navy); line-height: 1;
}
.cal-month {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--navy-mid); text-transform: uppercase; letter-spacing: .5px;
}
.cal-info { flex: 1; position: relative; z-index: 1; }
.cal-exam { font-weight: 700; color: #fff; font-size: 13.5px; margin-bottom: 4px; }
.cal-org { font-size: 11.5px; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.cal-link {
  font-size: 12px; font-weight: 600; color: var(--gold);
  padding: 4px 12px; border: 1px solid rgba(212,160,23,.3);
  border-radius: 99px; transition: all var(--transition);
}
.cal-link:hover { background: rgba(212,160,23,.15); color: var(--gold-light); }
.cal-status {
  position: absolute; top: 14px; right: 14px;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 99px;
  letter-spacing: .5px;
}
.cal-status.live {
  background: rgba(46,204,113,.15); color: #2ecc71;
  border: 1px solid rgba(46,204,113,.3);
  animation: badgePulseGreen 2s infinite;
}
.cal-status.upcoming {
  background: rgba(243,156,18,.1); color: #f39c12;
  border: 1px solid rgba(243,156,18,.25);
}

/* ═══════════════════════════════════════════
   STATE JOBS
═══════════════════════════════════════════ */
.state-section { padding: 72px 0; background: var(--surface); }
.state-grid-modern {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.state-grid-modern > * {
  min-width: 0;
}
.state-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 20px 16px;
  background: var(--surface2); border: 1.5px solid var(--border);
  border-radius: var(--radius); text-align: center;
  transition: all var(--transition);
}
.state-card:hover {
  background: var(--navy); border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.state-flag { font-size: 22px; }
.state-name {
  font-size: 13px; font-weight: 700; color: var(--text);
  transition: color var(--transition);
}
.state-jobs {
  font-size: 11px; color: var(--text-muted);
  transition: color var(--transition);
  background: var(--surface); padding: 2px 10px; border-radius: 99px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.state-card:hover .state-name  { color: #fff; }
.state-card:hover .state-jobs  { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.7); }

/* ═══════════════════════════════════════════
   ALERT / NEWSLETTER
═══════════════════════════════════════════ */
.alert-section { padding: 72px 0; background: var(--surface2); }
.alert-box {
  background: linear-gradient(135deg, var(--navy), #1a2d42);
  border-radius: var(--radius-xl); padding: 44px 48px;
  display: flex; align-items: center; gap: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212,160,23,.2);
  position: relative; overflow: hidden;
}
.alert-box::before {
  content: ''; position: absolute;
  top: -60px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,.12) 0%, transparent 70%);
}
.alert-icon { font-size: 52px; flex-shrink: 0; animation: bellShake 3s ease-in-out infinite; }
@keyframes bellShake {
  0%,100%,50% { transform: rotate(0deg); }
  10%,30%    { transform: rotate(-12deg); }
  20%,40%    { transform: rotate(12deg); }
}
.alert-text { flex: 1; }
.alert-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.alert-text p { color: rgba(255,255,255,.6); font-size: 14px; }
.alert-form { display: flex; gap: 10px; flex-shrink: 0; }
.alert-input {
  width: 260px; padding: 13px 20px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 99px; color: #fff; font-size: 13.5px;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.alert-input::placeholder { color: rgba(255,255,255,.4); }
.alert-input:focus-visible {
  border-color: var(--gold); background: rgba(255,255,255,.15);
  box-shadow: 0 0 0 3px rgba(212,160,23,.18);
  outline: none;
}
.alert-btn {
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy); font-weight: 700; font-size: 14px;
  border-radius: 99px; transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(212,160,23,.3);
  white-space: nowrap;
}
.alert-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,160,23,.4); }
.alert-btn.success { background: linear-gradient(135deg, #2ecc71, #27ae60); color: #fff; }

/* ═══════════════════════════════════════════
   SEO CONTENT SECTION
═══════════════════════════════════════════ */
.seo-content-section {
  padding: 44px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.seo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}
.seo-main-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.35;
  border-left: 4px solid var(--gold);
  padding-left: 14px;
}
.seo-text-block {
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.seo-text-block strong {
  color: var(--navy);
  font-weight: 700;
}
.seo-sub-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.seo-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.seo-faq-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.seo-faq-q {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.seo-faq-a {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .seo-card { padding: 24px 20px; }
  .seo-main-title { font-size: 20px; }
  .seo-sub-title { font-size: 16.5px; }
  .seo-faq-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer { background: var(--navy); }
.footer-top { padding: 56px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 36px;
}
.footer-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.footer-logo-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy); font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; color: #fff;
}
.footer-logo-sub { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 2px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.65; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.fsocial {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.fsocial:hover {
  background: var(--sc, #c0392b); border-color: var(--sc, #c0392b);
  color: #fff; transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.footer-col-title {
  font-size: 13px; font-weight: 700; color: var(--gold-light);
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-transform: uppercase; letter-spacing: .6px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.app-dl-btn {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 10px 16px;
  color: #fff; transition: all var(--transition);
}
.app-dl-btn:hover { background: rgba(255,255,255,.16); border-color: var(--gold); color: var(--gold-light); }
.app-dl-btn span { font-size: 24px; }
.app-dl-btn div { font-size: 13px; font-weight: 600; line-height: 1.3; }
.app-dl-btn div small { font-size: 10.5px; font-weight: 400; opacity: .6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0 10px;
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 10px;
}
.footer-bottom-inner p { font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 12.5px; color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--gold-light); }
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,.25); line-height: 1.6; }

/* ═══════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 30px; right: 24px; z-index: 9999;
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--gold-light); font-size: 18px; font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  border: 1.5px solid rgba(212,160,23,.3);
  opacity: 0; transform: translateY(20px);
  transition: all var(--transition);
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy); transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(212,160,23,.35);
}

/* ═══════════════════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 90px; right: 24px; z-index: 9998;
  display: flex; align-items: center; gap: 12px;
  background: var(--navy);
  border: 1px solid rgba(212,160,23,.3);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: 0 10px 36px rgba(0,0,0,.35);
  max-width: 340px;
  transform: translateX(110%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .5s cubic-bezier(.4,0,.2,1), visibility .5s cubic-bezier(.4,0,.2,1);
}
.toast.show {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.toast-icon { font-size: 22px; flex-shrink: 0; }
.toast-content { flex: 1; }
.toast-content strong { display: block; color: #fff; font-size: 13px; margin-bottom: 2px; }
.toast-content span { color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.4; }
.toast-close {
  color: rgba(255,255,255,.4); font-size: 14px;
  flex-shrink: 0; padding: 3px; border-radius: 4px;
  transition: color var(--transition);
}
.toast-close:hover { color: #fff; }

/* ═══════════════════════════════════════════
   SCROLL REVEAL UTILITY
═══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Error Pages Utilities */
.btn-error-home:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(212,160,23,0.5) !important;
  filter: brightness(1.1);
}
.btn-error-home:active {
  transform: translateY(0) !important;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Full Overhaul
═══════════════════════════════════════════ */

/* ── 1280px: Wide tablets / small laptops ── */
@media (max-width: 1280px) {
  .container { padding: 0 24px; }
  .job-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .calendar-grid  { grid-template-columns: repeat(2, 1fr); }
}

/* ── 1024px: Tablets landscape ─────────── */
@media (max-width: 1024px) {
  .cat-grid        { grid-template-columns: repeat(4, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 28px; }
  .state-grid-modern { grid-template-columns: repeat(4, 1fr); }
  .header-search   { max-width: 320px; }
  .logo-sub        { display: none; }
}

/* ── 900px: Tablets portrait ────────────── */
@media (max-width: 900px) {
  .cat-grid        { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .calendar-grid   { grid-template-columns: repeat(2, 1fr); }
  .state-grid-modern { grid-template-columns: repeat(3, 1fr); }
  .alert-box       { flex-direction: column; text-align: center; padding: 36px 28px; gap: 24px; }
  .alert-icon      { font-size: 40px; }
  .alert-form      { width: 100%; justify-content: center; }
  .alert-input     { flex: 1; min-width: 0; max-width: 340px; }
  .drop-grid       { grid-template-columns: repeat(2, 1fr); }
  .hero-title      { font-size: clamp(28px, 5vw, 48px); }
  .hero-search-bar { max-width: 100%; }
  .tab-bar         { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; scrollbar-width: none; gap: 2px; }
  .tab-bar::-webkit-scrollbar { display: none; }
  .tab-btn         { flex-shrink: 0; padding: 9px 16px; font-size: 13px; }
  .pane-filters    { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; scrollbar-width: none; }
  .pane-filters::-webkit-scrollbar { display: none; }
  .filter-btn      { flex-shrink: 0; }
}

/* ── 768px: Large phones / small tablets ── */
@media (max-width: 768px) {
  /* Header */
  .hamburger    { display: flex; }
  .header-search { display: none; }
  .btn-telegram  { display: none; }
  .logo-name     { font-size: 18px; }

  /* Mobile nav */
  .nav-list {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-mid);
    border-top: 2px solid var(--gold-dark);
    box-shadow: 0 12px 36px rgba(0,0,0,.45);
    max-height: 75vh; overflow-y: auto;
    z-index: 9000;
  }
  .nav-list.open { display: flex; animation: slideDown .25s ease; }
  @keyframes slideDown { from{opacity:0;transform:translateY(-10px)} to{opacity:1;transform:translateY(0)} }
  .nav-link { padding: 9px 16px; border-bottom: 1px solid rgba(255,255,255,.06); width: 100%; font-size: 12.5px; }
  .nav-link::after { display: none; }

  .main-nav      { top: 0; position: relative; }

  /* Hero */
  .hero          { padding: 24px 0; }
  .hero-content  { padding-bottom: 40px; }
  .hero-title    { font-size: clamp(26px, 7vw, 40px); }
  .hero-sub      { font-size: 14px; }
  .hero-search-bar { border-radius: 12px; flex-direction: row; }
  .hero-search-input { padding: 14px 16px; font-size: 13.5px; }
  .hero-search-btn   { padding: 0 20px; font-size: 13px; border-radius: 0 10px 10px 0; }
  .hero-tags     { gap: 6px; }
  .hero-tag      { font-size: 11.5px; padding: 4px 12px; }

  /* Grids */
  .cat-grid        { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .job-cards-grid  { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .calendar-grid   { grid-template-columns: 1fr; gap: 12px; }
  .state-grid-modern { grid-template-columns: repeat(3, 1fr); gap: 10px; }

  /* Sections padding */
  .categories, .main-tabs-section, .exam-calendar,
  .state-section, .alert-section { padding: 48px 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 12px; }

  /* Job card */
  .job-card-header { padding: 10px 14px; }
  .job-org    { font-size: 11px; }
  .job-title  { font-size: 13.5px; }

  /* Result rows */
  .result-row { padding: 12px 14px; }
  .r-title    { font-size: 13px; }

  /* Back to top + toast */
  .back-to-top { bottom: 24px; right: 16px; width: 40px; height: 40px; font-size: 16px; }
  .toast       { right: 12px; left: 12px; max-width: none; }

  /* Announce bar */
  .announce-inner { padding: 6px 14px; }
  .announce-scroll span { font-size: 11.5px; }

  /* Hide highlights on mobile/tablets */
  .highlights-section { display: none; }
}

/* ── 600px: Most phones (landscape) ──────── */
@media (max-width: 600px) {
  .container { padding: 0 16px; }

  /* Header */
  .header-inner  { padding: 10px 0; gap: 10px; }
  .logo-emblem   { width: 44px; height: 44px; }
  .logo-text-sr  { font-size: 16px; border-radius: 10px; }
  .logo-name     { font-size: 16px; }
  .btn-notif     { width: 36px; height: 36px; }

  /* Hero */
  .hero          { padding: 38px 0 0; }
  .hero-badge    { font-size: 11px; padding: 5px 12px; margin-bottom: 16px; }
  .hero-title    { font-size: clamp(22px, 7vw, 34px); margin-bottom: 12px; }
  .hero-sub      { font-size: 13.5px; margin-bottom: 24px; }
  .hero-search-bar { flex-direction: column; border-radius: 16px; overflow: hidden; }
  .hero-search-input { padding: 14px 18px; text-align: center; }
  .hero-search-btn   { padding: 13px 0; border-radius: 0 0 14px 14px; width: 100%; text-align: center; font-size: 14px; }
  .hero-tags     { justify-content: center; gap: 6px; }

  /* Grids */
  .cat-grid        { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .job-cards-grid  { grid-template-columns: 1fr; }
  .state-grid-modern { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cal-card        { flex-direction: column; gap: 12px; }
  .cal-date        { width: calc(100% - 80px); display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; }
  .cal-day         { font-size: 22px; }
  .cal-status      { top: 10px; right: 10px; z-index: 2; }

  /* Sections */
  .categories, .main-tabs-section, .exam-calendar,
  .state-section, .alert-section { padding: 36px 0; }
  .section-head  { margin-bottom: 24px; }
  .section-title { font-size: 22px; }

  /* Tabs */
  .tab-bar   { padding: 4px; border-radius: 10px; }
  .tab-btn   { padding: 8px 14px; font-size: 12.5px; border-radius: 8px; }

  /* Job card */
  .job-details { gap: 6px; }
  .job-dates   { flex-direction: column; gap: 8px; }
  .job-card-footer { flex-direction: column; gap: 8px; }
  .job-btn     { padding: 10px; }

  /* Result rows */
  .result-row  { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 14px; }
  .r-btn       { width: 100%; text-align: center; padding: 9px; }
  .result-info { gap: 8px; }

  /* Alert / Newsletter */
  .alert-box   { padding: 28px 20px; border-radius: 16px; }
  .alert-text h2 { font-size: 20px; }
  .alert-form  { flex-direction: column; gap: 10px; }
  .alert-input { width: 100%; border-radius: 99px; }
  .alert-btn   { width: 100%; text-align: center; border-radius: 99px; }

  /* State cards */
  .state-card  { padding: 14px 10px; }
  .state-flag  { font-size: 18px; }
  .state-name  { font-size: 12px; }
  .state-jobs  { font-size: 10.5px; }

  /* Cat card */
  .cat-card    { padding: 20px 12px; }
  .cat-icon    { font-size: 26px; }
  .cat-name    { font-size: 13px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-top  { padding: 40px 0 28px; }
  .footer-col-title { font-size: 12px; }
  .footer-links a   { font-size: 12.5px; }
  .footer-desc { font-size: 12.5px; }
  .footer-disclaimer { font-size: 10.5px; }
  .app-dl-btn  { padding: 8px 12px; }

  /* Search suggestions */
  .search-suggestions { left: -50px; right: -10px; }
  .suggestion-item    { font-size: 12.5px; }
}

/* ── 480px: Small phones ─────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 14px; }


  /* Hero */
  .hero-title { font-size: clamp(20px, 6.5vw, 28px); line-height: 1.2; }
  .hero-badge { display: none; }

  /* Cat grid: 2 col stays */
  .cat-grid  { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-card  { padding: 16px 8px; }
  .cat-icon  { font-size: 24px; margin-bottom: 8px; }
  .cat-name  { font-size: 12px; }
  .cat-count { font-size: 11px; }

  /* State 2-col */
  .state-grid-modern { grid-template-columns: repeat(2, 1fr); }

  /* Filter pills scroll */
  .pane-filters { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 6px; }
  .pane-filters::-webkit-scrollbar { display: none; }
  .filter-btn   { flex-shrink: 0; font-size: 12px; padding: 5px 12px; }

  /* Job card */
  .job-org    { font-size: 10.5px; }
  .badge-new,
  .badge-hot  { font-size: 8.5px; padding: 2px 7px; }
  .job-title  { font-size: 13px; }
  .job-details span { font-size: 11px; padding: 2px 8px; }
  .date-label { font-size: 10px; }
  .date-val   { font-size: 12px; }
  .job-btn    { font-size: 12px; }

  /* Result list */
  .r-badge    { font-size: 8.5px; padding: 2px 7px; }
  .r-title    { font-size: 12.5px; }
  .r-meta     { font-size: 11px; }

  /* Calendar */
  .cal-exam { font-size: 13px; }
  .cal-org  { font-size: 11px; }

  /* Nav */
  .main-nav   { top: 0; position: relative; }

  /* Back to top */
  .back-to-top { width: 38px; height: 38px; font-size: 15px; border-radius: 10px; }
  .toast       { padding: 12px 14px; gap: 10px; }
  .toast-icon  { font-size: 18px; }
  .toast-content strong { font-size: 12.5px; }
  .toast-content span   { font-size: 11.5px; }

  /* View all */
  .view-all-link { font-size: 13px; padding: 10px 24px; }
}

/* ── 360px: Very small phones ────────────── */
@media (max-width: 360px) {
  .logo-name { font-size: 14px; }
  .logo-emblem { width: 38px; height: 38px; }
  .logo-text-sr { font-size: 14px; }
  .hero-title   { font-size: 20px; }
  .hero-search-input { font-size: 12.5px; }
  .cat-grid { gap: 6px; }
  .cat-card { padding: 14px 6px; }
  .cat-icon { font-size: 20px; }
  .state-grid-modern { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .tab-btn  { padding: 7px 12px; font-size: 12px; }
  .section-title { font-size: 20px; }
}

/* ═══════════════════════════════════════════
   HIGHLIGHTS SECTION (COMPACT MINIMAL REDESIGN)
   ═══════════════════════════════════════════ */
.highlights-section {
  padding: 18px 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 2px solid rgba(212, 160, 23, 0.45);
  border-bottom: 2px solid rgba(212, 160, 23, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(212, 160, 23, 0.12);
  position: relative;
  z-index: 5;
}

.highlights-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
}
.hl-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent-clr), var(--accent-clr-dark));
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(var(--accent-rgb), 0.25);
}
.hl-pill:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.45), 0 0 12px rgba(var(--accent-rgb), 0.3);
  border-color: rgba(255, 255, 255, 0.4);
  filter: brightness(1.15);
}
.hl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
  flex-shrink: 0;
  animation: hlDotPulse 1.2s ease-in-out infinite alternate;
}
@keyframes hlDotPulse {
  0% { transform: scale(0.85); opacity: 0.75; box-shadow: 0 0 2px #ffffff; }
  100% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 8px #ffffff; }
}
.hl-text {
  white-space: nowrap;
}
.hl-text small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-left: 6px;
  background: rgba(0, 0, 0, 0.22);
  padding: 1.5px 6px;
  border-radius: 4px;
}

/* Accent Colors */
.hl-red {
  --accent-clr: #ff4757;
  --accent-clr-dark: #d63031;
  --accent-rgb: 255, 71, 87;
}
.hl-orange {
  --accent-clr: #ffa502;
  --accent-clr-dark: #e17055;
  --accent-rgb: 255, 165, 2;
}
.hl-pink {
  --accent-clr: #ff6b81;
  --accent-clr-dark: #e84393;
  --accent-rgb: 255, 107, 129;
}
.hl-blue {
  --accent-clr: #1e90ff;
  --accent-clr-dark: #0984e3;
  --accent-rgb: 30, 144, 255;
}
.hl-olive {
  --accent-clr: #2ed573;
  --accent-clr-dark: #20bf6b;
  --accent-rgb: 46, 213, 115;
}
.hl-lightblue {
  --accent-clr: #00d2d3;
  --accent-clr-dark: #00a8ff;
  --accent-rgb: 0, 210, 211;
}
.hl-brown {
  --accent-clr: #ff7f50;
  --accent-clr-dark: #d35400;
  --accent-rgb: 255, 127, 80;
}
.hl-green {
  --accent-clr: #2ecc71;
  --accent-clr-dark: #27ae60;
  --accent-rgb: 46, 204, 113;
}


/* Responsive spacing */
@media (max-width: 576px) {
  .highlights-section {
    padding: 12px 0;
  }
  .highlights-pills {
    gap: 6px 8px;
  }
  .hl-pill {
    padding: 6px 12px;
    font-size: 11.5px;
  }
  .hl-text small {
    font-size: 10.5px;
  }
}

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Mobile Responsive Overrides: Convert Job Card Tiles to Compact List Rows */
@media (max-width: 768px) {
  .job-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .job-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid #8b2513;
    border-radius: 4px;
    padding: 6px 10px 6px 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: none;
    gap: 4px;
    position: relative;
    transform: none !important;
  }
  .job-card::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #8b2513;
    border-radius: 50%;
  }
  .job-card:hover {
    transform: none !important;
    box-shadow: none !important;
    background: var(--surface2) !important;
  }
  .job-card-header { display: none; }
  .job-card-body { padding: 0; flex: 1; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
  .job-title { font-size: 11.5px; font-weight: 700; margin: 0; line-height: 1.4; display: inline; }
  .job-title a { color: var(--navy); }
  .job-details { display: none; }
  .job-dates { display: inline-flex; align-items: center; gap: 4px; padding: 0; margin-left: 4px; }
  .date-item:nth-child(2) { display: none; }
  .date-item { flex-direction: row !important; gap: 4px !important; align-items: center; font-size: 11.5px; color: var(--text-muted); }
  .date-label { display: none; }
  .date-val { font-size: 11.5px !important; font-weight: 600 !important; color: var(--text) !important; white-space: normal !important; }
  .date-val::before { content: '– Last Date: '; color: var(--text-muted); font-weight: 400; }
  .job-card-footer { display: none; }

  /* Convert Result Rows to Compact List Rows */
  .result-list {
    gap: 4px;
  }
  .result-row {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid #8b2513 !important;
    border-radius: 4px !important;
    padding: 6px 10px 6px 18px !important;
    display: flex;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-shadow: none;
    gap: 4px;
    position: relative;
    overflow: visible;
  }
  .result-row::before {
    content: '' !important;
    position: absolute !important;
    left: 8px !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 4px !important;
    height: 4px !important;
    background: #8b2513 !important;
    border-radius: 50% !important;
  }
  .result-info {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
  }
  .r-badge {
    display: none !important;
  }
  .r-title {
    font-size: 11.5px !important;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    display: inline;
  }
  .r-title a {
    color: var(--navy);
  }
  .r-meta {
    display: none !important;
  }
  .r-btn {
    display: none !important;
  }

  /* Prevent main-nav relative offset overlap with hero title */
  .main-nav {
    top: 0 !important;
    position: relative !important;
  }
  .hero {
    padding: 12px 0 8px !important;
  }
  .hero-content {
    padding-bottom: 12px !important;
  }
  .hero-title {
    margin-bottom: 6px !important;
  }
  .hero-sub {
    margin-bottom: 16px !important;
  }
}

