/* ============================================
   ROZGAR INDIA - Main Stylesheet
   Font: Syne (headings) + DM Sans (body)
   Theme: Bold Saffron + Deep Navy
   ============================================ */

:root {
  --primary: #FF6B00;
  --primary-dark: #E05A00;
  --primary-light: #FF8C33;
  --accent: #002E5D;
  --accent-light: #1A4A7A;
  --success: #00A878;
  --warning: #FFB800;
  --danger: #E63946;
  --info: #4CC9F0;

  --bg: #FAFAF8;
  --bg-alt: #F0EDE8;
  --bg-card: #FFFFFF;
  --border: #E8E2DA;
  --text: #1A1410;
  --text-muted: #6B6259;
  --text-light: #9B9189;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);

  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
input, textarea, select, button { font-family: var(--font-body); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--primary);
  color: white; font-family: var(--font-head);
  font-size: 20px; font-weight: 800;
  border-radius: 10px;
  display: grid; place-items: center;
}
.logo-text {
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  color: var(--accent);
}
.logo-text em { color: var(--primary); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px;
  color: var(--text); font-weight: 500; font-size: 14px;
  transition: all 0.2s;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

/* ===== BUTTONS ===== */
.btn-primary {
  padding: 10px 22px; border-radius: 10px;
  background: var(--primary); color: white;
  font-weight: 600; font-size: 14px;
  border: none; cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,107,0,0.3); color: white; }
.btn-primary-lg {
  padding: 14px 32px; border-radius: 12px;
  background: var(--primary); color: white;
  font-weight: 700; font-size: 16px;
  border: none; cursor: pointer;
  transition: all 0.2s; display: inline-block;
}
.btn-primary-lg:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,0,0.35); color: white; }
.btn-outline {
  padding: 9px 20px; border-radius: 10px;
  border: 2px solid var(--primary); color: var(--primary);
  font-weight: 600; font-size: 14px;
  background: transparent; cursor: pointer;
  transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { background: var(--primary); color: white; }
.btn-outline-sm {
  padding: 7px 16px; border-radius: 8px;
  border: 1.5px solid var(--border); color: var(--text-muted);
  font-size: 13px; font-weight: 500;
  background: transparent; cursor: pointer;
  transition: all 0.2s; display: inline-block;
  white-space: nowrap;
}
.btn-outline-sm:hover { border-color: var(--primary); color: var(--primary); }

/* ===== FLASH MESSAGES ===== */
.flash-banner {
  padding: 14px 24px; font-weight: 500; font-size: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.flash-success { background: #DCFCE7; color: #166534; border-bottom: 1px solid #86EFAC; }
.flash-error { background: #FEE2E2; color: #991B1B; border-bottom: 1px solid #FCA5A5; }
.flash-warning { background: #FEF3C7; color: #92400E; border-bottom: 1px solid #FCD34D; }
.flash-info { background: #DBEAFE; color: #1E40AF; border-bottom: 1px solid #93C5FD; }
.flash-banner button { background: none; border: none; font-size: 16px; cursor: pointer; opacity: 0.6; }

/* ===== HERO ===== */
.hero {
  background: var(--accent);
  color: white; padding: 100px 24px 60px;
  position: relative; overflow: hidden;
  text-align: center;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,0,0.2); border: 1px solid rgba(255,107,0,0.4);
  border-radius: 100px; padding: 6px 16px; font-size: 13px; font-weight: 600;
  margin-bottom: 24px; color: #FFB266;
}
.hero-title {
  font-family: var(--font-head); font-size: clamp(36px, 6vw, 64px);
  font-weight: 800; line-height: 1.1; margin-bottom: 16px;
}
.hero-title em { color: var(--primary-light); font-style: normal; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px; }

.search-box {
  background: white; border-radius: 16px;
  padding: 8px; box-shadow: var(--shadow-lg);
  max-width: 700px; margin: 0 auto 20px;
}
.search-fields { display: flex; align-items: center; gap: 4px; }
.sf-group {
  display: flex; align-items: center; gap: 10px;
  flex: 1; padding: 10px 16px;
}
.sf-icon { font-size: 18px; }
.sf-group input {
  border: none; outline: none; font-size: 15px;
  background: transparent; color: var(--text);
  width: 100%;
}
.sf-group input::placeholder { color: var(--text-light); }
.sf-divider { width: 1px; height: 32px; background: var(--border); }
.btn-search {
  padding: 12px 28px; border-radius: 10px;
  background: var(--primary); color: white;
  border: none; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.btn-search:hover { background: var(--primary-dark); }

.search-quick { padding: 12px 16px 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search-quick span { font-size: 13px; color: var(--text-muted); }
.search-quick a {
  font-size: 13px; color: var(--accent); background: var(--bg-alt);
  padding: 4px 12px; border-radius: 100px; font-weight: 500;
  transition: all 0.2s;
}
.search-quick a:hover { background: var(--primary); color: white; }

.hero-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
  max-width: 800px; margin: 48px auto 0;
  position: relative;
}
.stat-card {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 20px 32px;
  backdrop-filter: blur(4px);
}
.stat-num { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--primary-light); }
.stat-card span:last-child { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ===== SECTION HEADER ===== */
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 40px;
}
.section-head h2 { font-family: var(--font-head); font-size: 30px; font-weight: 700; }
.section-head h2 em { color: var(--primary); font-style: normal; }
.link-more { color: var(--primary); font-weight: 600; font-size: 14px; }
.link-more:hover { text-decoration: underline; }
.section-cta { text-align: center; margin-top: 48px; }

/* ===== CATEGORIES ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.category-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 24px 16px; border-radius: var(--radius);
  background: var(--bg-card); border: 1.5px solid var(--border);
  color: var(--text); font-weight: 600; font-size: 13px;
  text-align: center; transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}
.category-card:hover {
  border-color: var(--primary); color: var(--primary);
  transform: translateY(-4px); box-shadow: var(--shadow);
}
.cat-icon { font-size: 28px; }
.cat-name { font-size: 12px; font-weight: 600; line-height: 1.3; }

/* ===== JOB CARDS (Grid) ===== */
.jobs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.job-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: all 0.25s; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
}
.job-card.featured { border-color: var(--primary); }
.job-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.job-card-top { display: flex; align-items: flex-start; gap: 14px; position: relative; }
.company-logo {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--bg-alt); border: 1.5px solid var(--border);
  display: grid; place-items: center; overflow: hidden; flex-shrink: 0;
}
.company-logo img { width: 100%; height: 100%; object-fit: cover; }
.company-logo span { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--accent); }
.job-title { font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.job-title a { color: var(--text); }
.job-title a:hover { color: var(--primary); }
.company-name { font-size: 13px; color: var(--text-muted); }
.job-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.job-meta span { font-size: 12px; color: var(--text-muted); background: var(--bg-alt); padding: 4px 10px; border-radius: 100px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; position: absolute; right: 0; top: 0; }
.badge.urgent { background: #FEE2E2; color: #991B1B; }
.btn-apply {
  display: block; text-align: center; padding: 11px;
  background: var(--accent); color: white; border-radius: 10px;
  font-weight: 600; font-size: 14px; transition: all 0.2s;
  border: none; cursor: pointer;
}
.btn-apply:hover { background: var(--primary); color: white; }

/* ===== JOB LIST ROWS ===== */
.jobs-list { display: flex; flex-direction: column; gap: 12px; }
.job-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  transition: all 0.2s;
}
.job-row:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.jrow-logo {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--bg-alt); border: 1.5px solid var(--border);
  display: grid; place-items: center; overflow: hidden; flex-shrink: 0;
}
.jrow-logo img { width: 100%; height: 100%; object-fit: cover; }
.jrow-logo span { font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--accent); }
.jrow-info { flex: 1; min-width: 0; }
.jrow-title { font-weight: 600; font-size: 15px; color: var(--text); display: block; }
.jrow-title:hover { color: var(--primary); }
.jrow-company { font-size: 12px; color: var(--text-muted); }
.jrow-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.jrow-meta span { font-size: 12px; color: var(--text-muted); }

/* ===== RECRUITER CTA ===== */
.recruiter-cta { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%); color: white; }
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta-left h2 { font-family: var(--font-head); font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-left h2 em { color: var(--primary-light); font-style: normal; }
.cta-left p { color: rgba(255,255,255,0.75); margin-bottom: 24px; font-size: 16px; }
.cta-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.cta-features li { font-size: 15px; color: rgba(255,255,255,0.85); }

.plans-preview { display: flex; flex-direction: column; gap: 16px; }
.plan-mini {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.plan-mini.featured { background: var(--primary); border-color: var(--primary); }
.plan-badge {
  position: absolute; top: -10px; right: 16px;
  background: var(--warning); color: #333;
  font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 100px;
}
.plan-name { font-weight: 700; font-size: 15px; }
.plan-price { font-family: var(--font-head); font-size: 20px; font-weight: 800; }
.plan-price small { font-size: 12px; font-weight: 400; opacity: 0.7; }
.plan-jobs { font-size: 13px; opacity: 0.8; }

/* ===== FORMS ===== */
.form-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px; max-width: 500px;
  margin: 60px auto; box-shadow: var(--shadow);
}
.form-title { font-family: var(--font-head); font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.form-subtitle { color: var(--text-muted); margin-bottom: 32px; font-size: 14px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 11px 16px; border-radius: 10px;
  border: 1.5px solid var(--border); background: var(--bg);
  font-size: 15px; color: var(--text); transition: border-color 0.2s;
  outline: none;
}
.form-control:focus { border-color: var(--primary); }
.form-control.error { border-color: var(--danger); }
.form-error { font-size: 12px; color: var(--danger); margin-top: 5px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.form-check input { margin-top: 3px; accent-color: var(--primary); }
.form-check-label { font-size: 14px; color: var(--text-muted); }
.form-submit { width: 100%; padding: 14px; border-radius: 12px; background: var(--primary); color: white; border: none; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.2s; margin-top: 8px; }
.form-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 68px); }
.sidebar {
  background: var(--accent); color: white;
  padding: 32px 0; position: sticky; top: 68px;
  height: calc(100vh - 68px); overflow-y: auto;
}
.sidebar-logo { padding: 0 24px 32px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; }
.sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 2px; padding: 0 12px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 10px;
  color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 500;
  transition: all 0.2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(255,255,255,0.1); color: white;
}
.sidebar-nav a.active { background: var(--primary); }
.sidebar-nav .nav-icon { width: 20px; font-size: 16px; }
.sidebar-section { padding: 16px 24px 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); }

.dashboard-content { padding: 40px; background: var(--bg); overflow-y: auto; }
.page-title { font-family: var(--font-head); font-size: 26px; font-weight: 800; margin-bottom: 32px; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 36px; }
.stat-box {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden;
}
.stat-box-num { font-family: var(--font-head); font-size: 32px; font-weight: 800; color: var(--accent); }
.stat-box-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.stat-box-icon { position: absolute; right: 20px; top: 20px; font-size: 28px; opacity: 0.1; }

/* ===== TABLES ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1.5px solid var(--border); }
.data-table { width: 100%; border-collapse: collapse; background: var(--bg-card); font-size: 14px; }
.data-table th { background: var(--bg-alt); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; padding: 14px 20px; color: var(--text-muted); border-bottom: 1.5px solid var(--border); text-align: left; }
.data-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-alt); }

/* ===== BADGES / STATUS ===== */
.status-badge {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.status-active { background: #DCFCE7; color: #166534; }
.status-pending { background: #FEF3C7; color: #92400E; }
.status-rejected { background: #FEE2E2; color: #991B1B; }
.status-expired { background: #F3F4F6; color: #6B7280; }
.status-closed { background: #EDE9FE; color: #4C1D95; }

/* ===== VERIFIED BADGE ===== */
.verified-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: #DBEAFE; color: #1E40AF;
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 100px;
}
.verified-badge::before { content: "✓"; }

/* ===== PAYMENT/QR ===== */
.payment-box {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  text-align: center; max-width: 460px; margin: 0 auto;
}
.qr-code-wrap {
  width: 220px; height: 220px; margin: 24px auto;
  border: 2px dashed var(--primary); border-radius: 16px;
  display: grid; place-items: center; overflow: hidden;
}
.qr-code-wrap img { width: 100%; height: 100%; object-fit: contain; }
.payment-steps { text-align: left; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.payment-step { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary); color: white;
  font-weight: 700; font-size: 12px; display: grid; place-items: center; flex-shrink: 0;
}

/* ===== FILTERS (Job Search) ===== */
.search-page { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 40px 24px; max-width: 1200px; margin: 0 auto; }
.filter-panel { position: sticky; top: 90px; align-self: start; }
.filter-card { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.filter-title { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.filter-group { margin-bottom: 24px; }
.filter-group-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 12px; }
.filter-options { display: flex; flex-direction: column; gap: 8px; }
.filter-option { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.filter-option input { accent-color: var(--primary); }

/* ===== JOB DETAIL PAGE ===== */
.job-detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 40px 24px; }
.job-detail-main {}
.job-detail-sidebar {}
.job-header { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px; }
.job-header-top { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.job-header-logo { width: 72px; height: 72px; border-radius: 16px; background: var(--bg-alt); border: 1.5px solid var(--border); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.job-main-title { font-family: var(--font-head); font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.job-tag { font-size: 13px; background: var(--bg-alt); padding: 6px 14px; border-radius: 100px; color: var(--text-muted); }
.content-section { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.content-section h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.content-section p, .content-section li { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.content-section ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

.apply-card { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; text-align: center; }
.apply-deadline { font-size: 13px; color: var(--text-muted); margin-top: 12px; }

/* ===== ALERTS ===== */
.alert { padding: 14px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.alert-success { background: #DCFCE7; color: #166534; border: 1px solid #86EFAC; }
.alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
.alert-warning { background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D; }
.alert-info { background: #DBEAFE; color: #1E40AF; border: 1px solid #93C5FD; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  display: grid; place-items: center; z-index: 2000;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 40px;
  max-width: 520px; width: 90%; box-shadow: var(--shadow-lg);
  transform: scale(0.95); transition: transform 0.2s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 20px; cursor: pointer; }

/* ===== FOOTER ===== */
.footer { background: var(--accent); color: white; padding: 60px 24px 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 12px; max-width: 260px; }
.footer-links h4 { font-family: var(--font-head); font-size: 14px; font-weight: 700; margin-bottom: 16px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 14px; }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.4); text-align: center; }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-btn {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1.5px solid var(--border); background: var(--bg-card);
  color: var(--text); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; display: grid; place-items: center;
}
.page-btn:hover, .page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dashboard-layout { grid-template-columns: 220px 1fr; }
  .cta-split { grid-template-columns: 1fr; }
  .job-detail-layout { grid-template-columns: 1fr; }
  .search-page { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .search-fields { flex-direction: column; }
  .sf-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 60px 20px 40px; }
  .hero-stats { gap: 12px; }
  .stat-card { padding: 14px 20px; }
  .jobs-grid { grid-template-columns: 1fr; }
  .job-row { flex-wrap: wrap; }
  .section { padding: 48px 0; }
}
