/* ==========================================================================
   JOBMEX.IN - OFFICIAL PROFESSIONAL STYLESHEET
   Matches Reference UI Design with High-Contrast Tokens, Dark Mode, Responsive Layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@500;600;700;800&family=Caveat:wght@600;700&display=swap');

:root {
  /* Brand Palette */
  --primary-navy: #0b3974;
  --primary-dark: #082954;
  --primary-blue: #0876d9;
  --primary-orange: #ff7200;
  --orange-hover: #e06300;
  --accent-green: #16a34a;
  --accent-green-bg: #ecfdf5;
  --accent-red: #e11d48;
  --accent-red-bg: #fff1f2;

  /* Neutrals */
  --bg-body: #ffffff;
  --bg-topbar: #edf5fc;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f7fe;
  --border-color: #e2e8f0;
  --border-light: #edf2f7;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --card-shadow: 0 4px 16px rgba(11, 57, 116, 0.06);
  --card-shadow-hover: 0 12px 28px rgba(11, 57, 116, 0.12);

  /* Footer */
  --footer-bg: #0b1a30;
  --footer-text: #94a3b8;
  --footer-heading: #ffffff;
  --footer-border: #1e293b;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --transition-fast: 0.18s ease;
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Variables */
body.dark-mode {
  --bg-body: #090f1d;
  --bg-topbar: #0d172a;
  --bg-alt: #0c1424;
  --bg-card: #111d33;
  --bg-card-hover: #172642;
  --border-color: #1e2e48;
  --border-light: #16243b;
  --text-dark: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  --card-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.5);
  --primary-navy: #38bdf8;
}

body.dark-mode .hero {
  background: linear-gradient(135deg, #0d172a 0%, #090f1d 50%, #151d2f 100%);
}

body.dark-mode .nav-header {
  background: rgba(13, 23, 42, 0.95);
  border-bottom: 1px solid #1e2e48;
}

body.dark-mode .search-bar-container {
  background: #111d33;
  border-color: #243653;
}

body.dark-mode .search-bar-container input {
  background: transparent;
  color: #fff;
}

body.dark-mode .popular-chip {
  background: #172642;
  color: #93c5fd;
  border-color: #243653;
}

body.dark-mode .category-card {
  background: #111d33;
  border-color: #1e2e48;
}

body.dark-mode .feature-banner {
  background: linear-gradient(120deg, #111d33 0%, #0d172a 100%);
  border-color: #1e2e48;
}

body.dark-mode .stat-badge-card {
  background: #111d33;
  border-color: #1e2e48;
}

body.dark-mode .dir-box {
  background: #111d33;
  border-color: #1e2e48;
}

body.dark-mode .subscribe-card {
  background: #0f1c31;
  border-color: #1e2e48;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   1. TOP ANNOUNCEMENT BAR
   ========================================================================== */
.topbar {
  background-color: var(--bg-topbar);
  border-bottom: 1px solid var(--border-color);
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 8px 0;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  color: #0b3974;
}

.topbar-news-link {
  color: #0876d9;
  font-weight: 600;
  text-decoration: none;
}
.topbar-news-link:hover {
  text-decoration: underline;
  color: var(--primary-orange);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-links a {
  color: var(--text-muted);
  font-weight: 500;
}
.topbar-links a:hover {
  color: var(--primary-blue);
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid var(--border-color);
  padding-left: 14px;
}
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.04);
  font-size: 11px;
  transition: all var(--transition-fast);
}
.social-icon-btn:hover {
  background: var(--primary-blue);
  color: #fff;
  transform: translateY(-2px);
}

.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 13px;
  transition: background var(--transition-fast);
}
.theme-toggle-btn:hover {
  background: rgba(8, 118, 217, 0.1);
  color: var(--primary-blue);
}

/* ==========================================================================
   2. MAIN HEADER & NAVBAR
   ========================================================================== */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(11, 57, 116, 0.06);
  transition: all var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
}
.header-logo-img {
  height: 48px;
  width: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-item {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  padding: 8px 6px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-item:hover, .nav-item.active {
  color: var(--primary-orange);
}
.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 6px;
  right: 6px;
  height: 3px;
  background-color: var(--primary-orange);
  border-radius: 3px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow-hover);
  padding: 8px 0;
  min-width: 190px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--primary-blue);
  padding-left: 22px;
}

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

.nav-search-btn {
  background: #f1f5f9;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.nav-search-btn:hover {
  background: var(--primary-blue);
  color: #fff;
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  cursor: pointer;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, #f1f7fe 0%, #ffffff 52%, #fbf3eb 100%);
  padding: 50px 0 45px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  color: #0b3974;
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #ff7200, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 580px;
}

/* Big Search Bar */
.search-bar-container {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 10px 30px rgba(11, 57, 116, 0.09);
  margin-bottom: 18px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.search-bar-container:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 0 12px 35px rgba(8, 118, 217, 0.16);
}

.search-icon-inside {
  padding-left: 12px;
  color: #94a3b8;
  font-size: 18px;
}

.search-bar-container input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}
.search-bar-container input::placeholder {
  color: #94a3b8;
}

.btn-search {
  background: var(--primary-orange);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.btn-search:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 114, 0, 0.35);
}

/* Popular Searches */
.popular-searches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}
.popular-label {
  font-weight: 700;
  color: var(--text-dark);
}
.popular-chip {
  background: #edf5fc;
  color: #2b5683;
  border: 1px solid #d4e5f7;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.popular-chip:hover, .popular-chip.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

/* Hero Right: Student & Priority Card */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(11, 57, 116, 0.16);
  border: 4px solid #ffffff;
}
.hero-student-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Priority Card Overlay */
.priority-floating-card {
  position: absolute;
  top: 25px;
  right: -25px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: 0 16px 36px rgba(11, 57, 116, 0.14);
  max-width: 250px;
  z-index: 10;
}
body.dark-mode .priority-floating-card {
  background: rgba(17, 29, 51, 0.95);
  border-color: #243653;
}

.priority-card-title {
  font-size: 17px;
  font-weight: 900;
  color: #0b3974;
  margin-bottom: 12px;
  line-height: 1.2;
}
body.dark-mode .priority-card-title {
  color: #38bdf8;
}

.priority-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.priority-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.priority-script-note {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: #ff7200;
  font-weight: 700;
  line-height: 1.1;
  border-top: 1px dashed #cbd5e1;
  padding-top: 10px;
  position: relative;
}
.priority-script-note::after {
  content: ' ➔';
  font-family: sans-serif;
  font-size: 14px;
}

/* ==========================================================================
   4. QUICK CATEGORIES ROW (10 ITEMS)
   ========================================================================== */
.section-categories {
  padding: 35px 0 20px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 8px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-blue);
  box-shadow: var(--card-shadow-hover);
}

.cat-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform var(--transition-fast);
}
.category-card:hover .cat-icon-wrap {
  transform: scale(1.1);
}

/* Individual Category Theme Colors */
.cat-blue { background: #e0f2fe; color: #0284c7; }
.cat-orange { background: #ffedd5; color: #ea580c; }
.cat-green { background: #dcfce7; color: #16a34a; }
.cat-purple { background: #f3e8ff; color: #9333ea; }
.cat-pink { background: #ffe4e6; color: #e11d48; }
.cat-cyan { background: #cffafe; color: #0891b2; }
.cat-amber { background: #fef3c7; color: #d97706; }
.cat-teal { background: #ccfbf1; color: #0d9488; }
.cat-red { background: #fee2e2; color: #dc2626; }
.cat-indigo { background: #e0e7ff; color: #4f46e5; }

.cat-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #0b3974;
  line-height: 1.3;
}
body.dark-mode .cat-name {
  color: #e2e8f0;
}

/* ==========================================================================
   5. THREE-COLUMN MAIN JOBS & UPDATES SECTION
   ========================================================================== */
.section-main-jobs {
  padding: 30px 0 45px;
}

.jobs-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.85fr;
  gap: 20px;
}

.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.panel-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
}

.panel-title {
  font-size: 17.5px;
  font-weight: 800;
  color: #0b3974;
  margin: 0;
}
body.dark-mode .panel-title {
  color: #38bdf8;
}

.panel-view-all {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.panel-view-all:hover {
  color: var(--primary-orange);
  text-decoration: underline;
}

.panel-body {
  padding: 6px 0;
  display: flex;
  flex-direction: column;
}

/* Single Job Row Card */
.job-item {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-fast);
  cursor: pointer;
}
.job-item:last-child {
  border-bottom: none;
}
.job-item:hover {
  background-color: var(--bg-card-hover);
}

.job-logo-thumb {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px;
}

.job-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.job-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.job-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}

.badge-new {
  background: var(--accent-red);
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.job-org-name {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.job-qual-loc {
  font-size: 11.5px;
  color: var(--text-light);
}

.job-last-date {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--accent-red);
}

.btn-apply-now {
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.btn-apply-now:hover {
  background: #0265c0;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(8, 118, 217, 0.3);
}

/* Updates Column */
.updates-list {
  display: flex;
  flex-direction: column;
}

.update-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-fast);
  cursor: pointer;
}
.update-row:last-child {
  border-bottom: none;
}
.update-row:hover {
  background-color: var(--bg-card-hover);
}

.update-date-badge {
  background: #dcfce7;
  color: #166534;
  border-radius: var(--radius-md);
  padding: 6px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  border: 1px solid #bbf7d0;
}
body.dark-mode .update-date-badge {
  background: #064e3b;
  color: #a7f3d0;
  border-color: #047857;
}

.update-day {
  font-size: 15px;
  font-weight: 900;
}
.update-month {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.update-text {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}

/* Newsletter Subscription Card */
.subscribe-card {
  margin-top: 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--card-shadow);
}

.subscribe-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #0b3974;
  margin-bottom: 10px;
}
body.dark-mode .subscribe-title {
  color: #93c5fd;
}

.subscribe-form {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.subscribe-input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  outline: none;
  background: #ffffff;
  color: var(--text-dark);
}
.subscribe-input:focus {
  border-color: var(--primary-blue);
}

.btn-subscribe {
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-fast);
}
.btn-subscribe:hover {
  background: #0265c0;
}

.subscribe-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   6. CALLOUT FEATURE BANNER
   ========================================================================== */
.section-feature-banner {
  padding: 20px 0 35px;
}

.feature-banner {
  background: linear-gradient(110deg, #e8f4ff 0%, #ffffff 50%, #eff7fe 100%);
  border: 1.5px solid #d4e7f8;
  border-radius: var(--radius-xl);
  padding: 30px 35px;
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 25px;
  align-items: center;
  box-shadow: 0 10px 28px rgba(11, 57, 116, 0.08);
}

.feature-banner-col1 h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0b3974;
  line-height: 1.2;
  margin-bottom: 10px;
}
body.dark-mode .feature-banner-col1 h2 {
  color: #38bdf8;
}

.feature-banner-col1 p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 320px;
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-orange);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.btn-explore:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 114, 0, 0.35);
}

.feature-banner-photo-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  border: 3px solid #ffffff;
}
.feature-banner-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.feature-banner-col3 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0b3974;
}
body.dark-mode .feature-checklist li {
  color: #93c5fd;
}
.feature-checklist-icon {
  font-size: 16px;
}

.quote-box {
  background: rgba(255, 255, 255, 0.85);
  border-left: 3px solid var(--primary-orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 10px 14px;
  font-size: 13.5px;
  font-style: italic;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
body.dark-mode .quote-box {
  background: rgba(17, 29, 51, 0.85);
  color: #cbd5e1;
}

/* ==========================================================================
   7. FOUR-COLUMN DIRECTORY CATEGORIES
   ========================================================================== */
.section-directory {
  padding: 25px 0 35px;
}

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

.dir-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--card-shadow);
}

.dir-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #0b3974;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}
body.dark-mode .dir-title {
  color: #38bdf8;
}

.dir-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dir-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0876d9;
  transition: all var(--transition-fast);
}
.dir-links a:hover {
  color: var(--primary-orange);
  transform: translateX(4px);
}
.dir-links a::before {
  content: '•';
  color: var(--primary-orange);
  font-weight: 900;
}

/* ==========================================================================
   8. STATS & TRUST BADGES BAR
   ========================================================================== */
.section-stats-trust {
  padding: 10px 0 35px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.stat-badge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-fast);
}
.stat-badge-card:hover {
  transform: translateY(-3px);
}

.stat-icon {
  font-size: 26px;
  margin-bottom: 4px;
}

.stat-number {
  font-size: 21px;
  font-weight: 900;
  color: var(--primary-orange);
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   9. PROFESSIONAL FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 50px 0 20px;
  margin-top: 40px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--footer-border);
}

.footer-col-brand p {
  font-size: 12.5px;
  line-height: 1.6;
  margin: 14px 0 18px;
  color: #94a3b8;
}

.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 13px;
  transition: all var(--transition-fast);
}
.footer-socials a:hover {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 15px;
  font-weight: 800;
  color: var(--footer-heading);
  margin-bottom: 16px;
  letter-spacing: 0.2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  font-size: 12.5px;
  color: #94a3b8;
  transition: all var(--transition-fast);
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12.5px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cbd5e1;
}
.footer-contact-list strong {
  color: #ffffff;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}
.footer-bottom-links a {
  color: #94a3b8;
}
.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   10. INTERACTIVE MODAL (JOB DETAILS & APPLY)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}
.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title {
  font-size: 19px;
  font-weight: 800;
  color: #0b3974;
}
body.dark-mode .modal-title {
  color: #38bdf8;
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-meta-table {
  width: 100%;
  border-collapse: collapse;
}
.modal-meta-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
}
.modal-meta-table td:first-child {
  font-weight: 700;
  color: var(--text-muted);
  width: 40%;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Toast / Alert */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-smooth);
}
.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVENESS (MOBILE / TABLET)
   ========================================================================== */
@media (max-width: 1100px) {
  .categories-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .jobs-layout-grid {
    grid-template-columns: 1fr 1fr;
  }
  .jobs-layout-grid > .panel-card:last-child {
    grid-column: span 2;
  }
  .feature-banner {
    grid-template-columns: 1fr 1fr;
  }
  .feature-banner-col3 {
    grid-column: span 2;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .topbar-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 38px;
  }
  .hero-visual {
    order: -1;
  }
  .priority-floating-card {
    position: static;
    margin-top: 15px;
    max-width: 100%;
  }
  .jobs-layout-grid {
    grid-template-columns: 1fr;
  }
  .jobs-layout-grid > .panel-card:last-child {
    grid-column: auto;
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-banner {
    grid-template-columns: 1fr;
  }
  .feature-banner-col3 {
    grid-column: auto;
  }
  .directory-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 32px;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .directory-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SUBPAGE STYLES & SHARED UTILITIES
   ========================================================================== */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.head { height: 78px; display: flex; align-items: center; gap: 25px; }
.top { background-color: var(--bg-topbar); border-bottom: 1px solid var(--border-color); font-size: 12.5px; color: var(--text-muted); padding: 8px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; }
.top a { color: var(--primary-blue); font-weight: 600; }
header { background: var(--bg-card); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 999; box-shadow: 0 4px 20px rgba(11, 57, 116, 0.06); }
.logo { height: 48px; width: auto; }
.nav { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: 13.5px; font-weight: 700; }
.nav a { color: var(--text-dark); padding: 6px 4px; }
.nav a:hover, .nav .active { color: var(--primary-orange); }
.menu { display: none; border: 0; background: none; font-size: 25px; cursor: pointer; color: var(--text-dark); }
.pagehero { background: linear-gradient(135deg, #f1f7fe 0%, #ffffff 50%, #fbf3eb 100%); padding: 50px 0 40px; border-bottom: 1px solid var(--border-color); }
body.dark-mode .pagehero { background: linear-gradient(135deg, #0d172a 0%, #090f1d 50%, #151d2f 100%); }
.eyebrow { color: var(--primary-blue); font-size: 12px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.pagehero h1 { color: #0b3974; font-family: Outfit, sans-serif; font-size: 40px; font-weight: 900; margin: 6px 0 10px; }
body.dark-mode .pagehero h1 { color: #38bdf8; }
.pagehero p { max-width: 820px; color: var(--text-muted); font-size: 16px; }
.content { display: grid; grid-template-columns: 1fr 300px; gap: 30px; padding: 40px 0; }
.article-main h2 { color: #0b3974; font-family: Outfit, sans-serif; font-size: 24px; font-weight: 800; margin: 30px 0 14px; }
body.dark-mode .article-main h2 { color: #38bdf8; }
.article-main p, .article-main li { color: var(--text-dark); font-size: 14.5px; line-height: 1.7; margin-bottom: 12px; }
.article-main ul { padding-left: 24px; margin-bottom: 20px; }
.side { height: max-content; border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px; background: var(--bg-card); position: sticky; top: 100px; box-shadow: var(--card-shadow); }
.side h3 { color: #0b3974; font-size: 17px; font-weight: 800; margin: 18px 0 10px; border-bottom: 1px solid var(--border-light); padding-bottom: 6px; }
body.dark-mode .side h3 { color: #38bdf8; }
.side h3:first-child { margin-top: 0; }
.side a { display: block; color: var(--primary-blue); font-size: 13px; font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--border-light); transition: all var(--transition-fast); }
.side a:hover { color: var(--primary-orange); padding-left: 6px; }
.table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; background: var(--bg-card); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border-color); }
.table th, .table td { border: 1px solid var(--border-color); padding: 12px 14px; font-size: 13.5px; }
.table th { background: #edf5fc; color: #0b3974; font-weight: 800; text-align: left; }
body.dark-mode .table th { background: #172642; color: #93c5fd; }
.notice { border-left: 4px solid var(--primary-orange); background: #fff8ef; color: #9a3412; padding: 16px 20px; border-radius: var(--radius-sm); margin: 20px 0; font-size: 14px; }
body.dark-mode .notice { background: #2b1809; color: #fed7aa; }
.foot { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 35px; }
.foot .logo { height: 44px; width: auto; }
.foot h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.foot a { display: block; font-size: 12.5px; color: #94a3b8; padding: 4px 0; }
.foot a:hover { color: #fff; }
.copyright { border-top: 1px solid #1e293b; margin-top: 25px; padding-top: 16px; font-size: 12px; color: #64748b; text-align: center; }
@media (max-width: 820px) {
  .head .nav { display: none; }
  .menu { display: block; margin-left: auto; }
  .content { grid-template-columns: 1fr; }
  .side { position: static; }
  .foot { grid-template-columns: 1fr; }
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#222;background:#fff;line-height:1.55}.wrap{width:min(1120px,calc(100% - 32px));margin:auto}.topbar{background:#8f1f16;color:#fff;font-size:14px}.topbar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:20px}.toplinks{display:flex;gap:9px}.topbar a{color:#fff;text-decoration:none}.header{background:#fff;border-bottom:1px solid #ddd;position:sticky;top:0;z-index:20;box-shadow:0 2px 10px #0000000b}.header-inner{min-height:74px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:#252525;white-space:nowrap}.brand-mark{width:43px;height:43px;border-radius:9px;background:#a6261c;color:#fff;display:grid;place-items:center;font-size:27px;font-weight:900}.brand b{font-size:25px;letter-spacing:1px}.brand small{font-size:18px;color:#a6261c;font-weight:800}.header nav{display:flex;align-items:center;gap:2px;flex:1;justify-content:flex-end}.header nav a{padding:11px 9px;color:#333;text-decoration:none;font-size:14px;font-weight:600;border-radius:5px}.header nav a:hover,.header nav a.active{background:#a6261c;color:#fff}.menu-btn{display:none;border:0;background:#a6261c;color:#fff;font-size:23px;padding:8px 11px;border-radius:5px}.hero{background:linear-gradient(135deg,#f7eee9,#fff);padding:52px 0 45px;border-bottom:1px solid #eadbd5}.crumb{font-size:12px;color:#9a251b;font-weight:800;letter-spacing:.6px;margin-bottom:10px}.hero h1{font-size:42px;line-height:1.15;margin:0 0 13px}.hero h1 span{color:#a6261c}.hero p{max-width:820px;margin:0 0 24px;color:#555;font-size:17px}.search{display:flex;max-width:760px;background:#fff;border:1px solid #ccc;border-radius:8px;padding:5px;box-shadow:0 7px 25px #0000000c}.search input{flex:1;border:0;outline:0;padding:14px;font-size:16px}.search button{border:0;background:#a6261c;color:#fff;font-weight:800;border-radius:6px;padding:0 24px;cursor:pointer}.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.chips button{border:1px solid #d6c1bb;background:#fff;color:#7e241c;border-radius:20px;padding:7px 14px;cursor:pointer;font-weight:700}.chips button:hover,.chips button.selected{background:#a6261c;color:#fff}.notice{margin-top:22px;background:#fff6d9;border:1px solid #e9d38b;padding:14px 17px;border-radius:6px;font-size:14px}.section{padding:42px 0}.section-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px}.kicker{font-size:12px;color:#a6261c;font-weight:900;letter-spacing:1px}.section-title h2,.company h2{font-size:28px;margin:4px 0 0}.date{font-size:13px;color:#777}.directory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.box{border:1px solid #bd3b31;background:#fff;min-height:390px;position:relative;padding-bottom:54px;box-shadow:0 3px 12px #00000007}.box h3{margin:0;background:#a6261c;color:#fff;text-align:center;font-size:22px;padding:12px 10px;line-height:1.2}.box ul{margin:14px 18px 0;padding-left:19px}.box li{margin:0 0 10px;padding-left:2px}.box a{color:#0645d8;text-decoration:underline}.box li a{font-size:15px}.viewall{position:absolute;right:12px;bottom:12px;background:#575861;color:#fff!important;text-decoration:none!important;padding:8px 15px;border-radius:22px;font-size:13px;font-weight:800}.no-results{padding:30px;text-align:center;border:1px dashed #bbb;color:#666}.company{border-top:1px solid #eee}.company-grid{background:#f4f7fb;border:1px solid #d8e0ec;padding:30px;display:grid;grid-template-columns:1.2fr .8fr;gap:35px}.company p{color:#555}.company-points{display:grid;gap:13px}.company-points>div{display:flex;gap:13px;background:#fff;border:1px solid #e0e4ea;padding:14px;border-radius:6px}.company-points b{color:#a6261c;font-size:20px}.faq details{border-bottom:1px solid #ddd;padding:15px 0}.faq summary{cursor:pointer;font-weight:800}.faq p{color:#555}.safety{padding-bottom:48px}.safety>div{background:#f9eeee;border:1px solid #e0bbb7;border-left:5px solid #a6261c;padding:16px 18px;display:flex;gap:15px}.safety strong{white-space:nowrap;color:#8f1f16}.footer-brand{display:inline-flex;margin-bottom:10px}.footer-brand .brand-mark{background:#fff;color:#a6261c}.footer-brand span:last-child{color:#fff}.footer-brand small{color:#f3b2ab}.footer-brand b{color:#fff}footer{background:#24262b;color:#ddd;padding-top:40px}.footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:35px;padding-bottom:35px}.footer-grid p{color:#b9bcc3;font-size:14px}.footer-grid h4{color:#fff;margin:4px 0 12px}.footer-grid a{display:block;color:#d1d4da;text-decoration:none;font-size:14px;margin:7px 0}.footer-grid a:hover{color:#fff;text-decoration:underline}.muted{color:#999!important}.copyright{border-top:1px solid #3a3d43;padding:16px 0;color:#aeb1b7;font-size:13px}.hidden{display:none!important}@media(max-width:1000px){.header nav a{font-size:12px;padding:9px 6px}.directory-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:2fr 1fr 1fr}.footer-grid>div:last-child{display:none}}@media(max-width:760px){.topbar-inner{padding:7px 0;align-items:flex-start}.toplinks{display:none}.header-inner{min-height:64px}.menu-btn{display:block;margin-left:auto}.header nav{display:none;position:absolute;left:0;right:0;top:64px;background:#fff;border-bottom:1px solid #ddd;box-shadow:0 10px 20px #0002;flex-direction:column;align-items:stretch;padding:8px 16px}.header nav.open{display:flex}.header nav a{font-size:15px}.hero{padding:38px 0}.hero h1{font-size:34px}.search{display:block;background:transparent;border:0;box-shadow:none;padding:0}.search input,.search button{width:100%;min-height:48px}.search button{margin-top:8px}.section-title{display:block}.date{display:block;margin-top:6px}.directory-grid{grid-template-columns:1fr}.box{min-height:auto}.company-grid{grid-template-columns:1fr;padding:22px}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:last-child{display:block}.safety>div{display:block}.safety strong{display:block;margin-bottom:6px}}