/* ==========================================================================
   OZ SPONSOR JOBS - STYLESHEET & DESIGN SYSTEM
   Brand Palette: Deep Blue (#002b49), Accent Red/Orange (#e03c31), Off-White (#f8f9fa)
   ========================================================================== */

:root {
  /* Brand Colors */
  --color-primary: #002b49;
  --color-primary-dark: #001a2e;
  --color-primary-light: #004575;
  --color-primary-subtle: #e8f0f8;
  
  --color-accent: #e03c31;
  --color-accent-hover: #c52e24;
  --color-accent-soft: #fef2f2;
  --color-accent-border: #fecaca;

  /* Neutrals & Backgrounds */
  --color-bg: #f8f9fa;
  --color-surface: #ffffff;
  --color-surface-hover: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-light: #edf2f7;

  /* Typography Colors */
  --color-text: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #64748b;
  --color-text-inverse: #ffffff;

  /* Visa & Status Badges */
  --badge-482-bg: #e0f2fe;
  --badge-482-text: #0369a1;
  --badge-186-bg: #f3e8ff;
  --badge-186-text: #7e22ce;
  --badge-494-bg: #fef3c7;
  --badge-494-text: #b45309;
  --badge-verified-bg: #ecfdf5;
  --badge-verified-text: #047857;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 43, 73, 0.08), 0 4px 6px -4px rgba(0, 43, 73, 0.04);
  --shadow-hover: 0 14px 24px -4px rgba(0, 43, 73, 0.12), 0 6px 10px -4px rgba(0, 43, 73, 0.06);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--color-accent);
}

button, input, select, textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.brand-logo .flag-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-primary), #004d80);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 2px 4px rgba(0, 43, 73, 0.2);
}

.brand-logo .accent-oz {
  color: var(--color-accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.925rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(224, 60, 49, 0.25);
}

.btn-navy {
  background-color: var(--color-primary);
  color: #ffffff !important;
}

.btn-navy:hover {
  background-color: var(--color-primary-light);
  color: #ffffff !important;
}

.btn-outline {
  border-color: var(--color-border);
  background-color: var(--color-surface);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.825rem;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-primary);
}

.mobile-nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 65%, #004575 100%);
  color: var(--color-text-inverse);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at top right, rgba(224, 60, 49, 0.2), transparent 50%),
              radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05), transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

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

.hero-subtitle {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Search & Filter Bar
   ========================================================================== */
.search-container {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
}

.search-form {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.3fr auto;
  gap: 0.75rem;
  align-items: center;
}

.search-input-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
  transition: var(--transition);
}

.search-input-group:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 43, 73, 0.12);
  background-color: #ffffff;
}

.search-input-group svg {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.search-input-group input,
.search-input-group select {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
}

.search-input-group select {
  cursor: pointer;
}

.search-btn {
  height: 100%;
  min-height: 48px;
  padding: 0.65rem 1.75rem;
  font-size: 1rem;
}

.hero-quick-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.quick-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  transition: var(--transition);
  cursor: pointer;
}

.quick-tag:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   AdSense Container Units (Compliant & Responsive)
   ========================================================================== */
.ad-slot-wrapper {
  margin: 2rem 0;
  width: 100%;
  text-align: center;
}

.ad-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.ad-placeholder {
  background-color: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
  box-sizing: border-box;
}

.ad-placeholder.leaderboard {
  min-height: 90px;
  max-width: 970px;
  margin: 0 auto;
}

.ad-placeholder.in-feed {
  min-height: 130px;
  background-color: #ffffff;
  border: 1px dashed #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.ad-placeholder.sidebar {
  min-height: 250px;
}

/* ==========================================================================
   Main Content Layout (Two Columns: Main Feed + Sidebar)
   ========================================================================== */
.main-layout {
  padding: 2.5rem 0 4rem;
}

.layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

/* Feed Header */
.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.feed-title-wrap h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.feed-title-wrap p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.pill-btn {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.pill-btn:hover, .pill-btn.active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* ==========================================================================
   Job Cards
   ========================================================================== */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.job-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.job-card-top {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.company-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 43, 73, 0.1);
}

.job-meta-main {
  flex-grow: 1;
}

.job-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.job-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.job-title a {
  color: var(--color-primary);
}

.job-title a:hover {
  color: var(--color-accent);
}

.company-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--badge-verified-bg);
  color: var(--badge-verified-text);
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid #a7f3d0;
}

.verified-badge svg {
  width: 14px;
  height: 14px;
}

.job-info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.info-pill.badge-482 {
  background-color: var(--badge-482-bg);
  color: var(--badge-482-text);
  border-color: #bae6fd;
  font-weight: 600;
}

.info-pill.badge-186 {
  background-color: var(--badge-186-bg);
  color: var(--badge-186-text);
  border-color: #e9d5ff;
  font-weight: 600;
}

.info-pill.badge-494 {
  background-color: var(--badge-494-bg);
  color: var(--badge-494-text);
  border-color: #fde68a;
  font-weight: 600;
}

.info-pill.badge-salary {
  background-color: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
  font-weight: 600;
}

.job-snippet {
  font-size: 0.925rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.job-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border-light);
  padding-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.posted-date {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
}

.empty-state svg {
  width: 48px;
  height: 48px;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--color-text-muted);
  max-width: 420px;
  margin: 0 auto 1.25rem;
}

/* ==========================================================================
   Sidebar Widgets
   ========================================================================== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.visa-guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.visa-guide-item {
  border-left: 3px solid var(--color-primary);
  padding-left: 0.85rem;
}

.visa-guide-item.subclass-482 { border-color: #0284c7; }
.visa-guide-item.subclass-186 { border-color: #7c3aed; }
.visa-guide-item.subclass-494 { border-color: #d97706; }

.visa-guide-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.2rem;
}

.visa-guide-desc {
  font-size: 0.825rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.alert-box {
  background: linear-gradient(135deg, var(--color-primary-subtle), #f0f7ff);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  font-size: 0.875rem;
  color: var(--color-primary);
}

.alert-box strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.alert-box p {
  margin-bottom: 0.75rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.newsletter-widget input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   Static / Content Pages (About, Contact, Privacy, Terms)
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #ffffff;
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at top right, rgba(224, 60, 49, 0.15), transparent 60%);
  pointer-events: none;
}

.page-header-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  letter-spacing: -0.025em;
}

.page-header p {
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.6;
}

.content-section {
  padding: 3.5rem 0;
}

.content-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-sm);
  max-width: 920px;
  margin: 0 auto;
}

.prose {
  color: var(--color-text);
  line-height: 1.8;
  font-size: 1.025rem;
}

.prose h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2.25rem 0 1rem;
  border-bottom: 2px solid var(--color-border-light);
  padding-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary-light);
  margin: 1.75rem 0 0.65rem;
}

.prose p {
  margin-bottom: 1.25rem;
  color: var(--color-text-secondary);
}

.prose ul, .prose ol {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--color-text-secondary);
}

.prose li {
  margin-bottom: 0.5rem;
}

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

.prose .disclaimer-callout {
  background-color: var(--color-accent-soft);
  border-left: 4px solid var(--color-accent);
  padding: 1.35rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.prose .disclaimer-callout p {
  color: #991b1b;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.6;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: var(--color-primary-subtle);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.stat-card .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Contact Grid & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: var(--color-text);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 43, 73, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--color-primary-subtle), #ffffff);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.contact-info-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.contact-info-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info-list {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 43, 73, 0.2);
}

.contact-info-text strong {
  display: block;
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact-info-text a, .contact-info-text span {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin-top: 0.9rem;
  color: #cbd5e1;
  max-width: 340px;
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-heading {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
}

.legal-disclaimer-note {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 1.25rem;
  line-height: 1.55;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .search-form {
    grid-template-columns: 1fr 1fr;
  }
  .search-btn {
    grid-column: span 2;
  }
  .layout-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  .main-nav.is-open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .search-form {
    grid-template-columns: 1fr;
  }
  .search-btn {
    grid-column: span 1;
  }
  .job-card-top {
    flex-direction: column;
    gap: 0.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .content-card {
    padding: 1.75rem 1.25rem;
  }
  .page-header h1 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   404 & EXPIRED JOB REDIRECT STYLES
   ========================================================================== */
.expired-notice-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-bottom: 2px solid #f59e0b;
  color: #92400e;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 100;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.expired-notice-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.expired-notice-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.expired-notice-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.expired-notice-text {
  line-height: 1.45;
}

.expired-notice-ar {
  display: block;
  font-size: 0.88rem;
  color: #b45309;
  margin-top: 0.2rem;
  direction: rtl;
  font-weight: 500;
}

.expired-notice-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: #92400e;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.expired-notice-close:hover {
  background: rgba(180, 83, 9, 0.15);
}

/* 404 Dedicated View */
.not-found-hero {
  min-height: calc(100vh - var(--header-height) - 250px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem;
  background: radial-gradient(circle at 50% 30%, #f1f5f9 0%, #e2e8f0 100%);
}

.not-found-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  width: 100%;
  padding: 2.75rem 2.25rem;
  text-align: center;
}

.not-found-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  margin-bottom: 1.25rem;
}

.not-found-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.not-found-ar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e03c31;
  margin-bottom: 1rem;
  direction: rtl;
}

.not-found-desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.job-slug-pill {
  display: inline-block;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-light);
  word-break: break-word;
  margin: 0.25rem 0;
}

.redirect-box {
  background: var(--color-primary-subtle);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.redirect-timer {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.redirect-timer span {
  color: var(--color-accent);
  font-size: 1.3rem;
  font-weight: 800;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: #cbd5e1;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 0.75rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e03c31, #f59e0b);
  width: 0%;
  transition: width 0.05s linear;
}

.not-found-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Cookie Consent Banner (AdSense & GDPR Compliance)
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  color: var(--color-text);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  border-top: 2px solid var(--color-primary);
  padding: 1rem 1.5rem;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.cookie-consent-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent-content {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 860px;
}

.cookie-consent-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.cookie-consent-text {
  font-size: 0.885rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.cookie-consent-text strong {
  color: var(--color-primary);
}

.cookie-consent-text a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-accept:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

.btn-cookie-decline {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-decline:hover {
  background: var(--color-bg);
  color: var(--color-text);
  border-color: #cbd5e1;
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  .cookie-consent-actions {
    justify-content: flex-end;
  }
  .cookie-consent-actions button {
    flex: 1;
    text-align: center;
  }
}

/* ==========================================================================
   Programmatic E-E-A-T Components: TSMIT & Visa Comparison Table
   ========================================================================== */
.tsmit-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-left: 4px solid #10b981;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0 1.75rem;
  box-shadow: var(--shadow-sm);
}

.tsmit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.tsmit-badge-pass {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tsmit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-border);
}

.tsmit-col span.label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  font-weight: 600;
}

.tsmit-col span.value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0.2rem;
}

.visa-comparison-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.visa-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.885rem;
  text-align: left;
}

.visa-comparison-table th {
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.visa-comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text);
  line-height: 1.5;
}

.visa-comparison-table tr:last-child td {
  border-bottom: none;
}

.visa-comparison-table tr:hover td {
  background: var(--color-surface-hover);
}

/* ==========================================================================
   AI-Optimized FAQ & Knowledge Hub (AEO / GEO Engine)
   ========================================================================== */
.faq-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.faq-search-wrap {
  position: relative;
  margin-bottom: 2rem;
}

.faq-search-input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3rem;
  font-size: 1.05rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-subtle);
}

.faq-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-text-muted);
  pointer-events: none;
}

.faq-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.faq-tab-btn {
  background: #f8fafc;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.faq-tab-btn:hover {
  background: #e2e8f0;
  color: var(--color-text);
}

.faq-tab-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15);
}

.faq-module {
  margin-bottom: 3.5rem;
}

.faq-module-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border-light);
}

.faq-module-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0;
}

.faq-module-badge {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  gap: 1rem;
  transition: color var(--transition-fast);
}

.faq-question-btn:hover {
  color: var(--color-primary);
}

.faq-icon-arrow {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  color: var(--color-text-muted);
}

.faq-item.open .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer-panel {
  display: none;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.965rem;
  line-height: 1.7;
  color: var(--color-text);
  border-top: 1px solid var(--color-border-light);
}

.faq-item.open .faq-answer-panel {
  display: block;
}

/* BLUF Box (Bottom Line Up Front for AI Overviews) */
.bluf-box {
  background: #f0fdf4;
  border-left: 4px solid #10b981;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.25rem;
  margin: 1.15rem 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #064e3b;
}

.bluf-box strong.bluf-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #047857;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.775rem;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
}

/* Legal Authority Badge */
.legal-authority-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  font-weight: 600;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
}

.faq-answer-panel ul, .faq-answer-panel ol {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}

.faq-answer-panel li {
  margin-bottom: 0.4rem;
}

/* ========================================================
   Fast-Track PageRank Channeling & Fresh Jobs Injection Grid
   ======================================================== */
.pagerank-injection-box {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg, 12px);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06);
}

.pr-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.pr-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #bfdbfe;
}

.pr-live-dot {
  width: 8px;
  height: 8px;
  background-color: #2563eb;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

.pr-counter-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0369a1;
  background: #e0f2fe;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.pr-box-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.25rem 0 0.5rem 0;
}

.pr-box-desc {
  font-size: 0.875rem;
  color: #475569;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.pagerank-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

.pagerank-job-item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease-in-out;
  position: relative;
}

.pagerank-job-item:hover {
  transform: translateY(-2px);
  border-color: #3b82f6;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.12);
}

.pr-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.pr-badge-482 {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.pr-badge-186 {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.pr-badge-494 {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.pr-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pr-meta {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.pr-cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: #2563eb;
  margin-top: auto;
}

