/* ==============================================================================
   buildbridg Careers - Professional White Theme Design System
   Corporate Palette: Pure White (#FFFFFF), Deep Navy Blue (#0B1B3D), Construction Orange (#FF6B00)
   Typography: 'Plus Jakarta Sans', system-ui, sans-serif
   ============================================================================== */

:root {
  /* White Theme Base */
  --bg-page: #FFFFFF;
  --bg-slate: #F8FAFC;
  --bg-surface: #F1F5F9;
  --white: #FFFFFF;

  /* Primary Deep Navy Corporate Accents */
  --navy-darkest: #060D1F;
  --navy-dark: #0B1B3D;
  --navy-main: #0F275A;
  --navy-surface: #142C62;
  --navy-card: #11234E;
  --navy-border: #1E3A8A;

  /* Construction Safety Orange Accent */
  --orange-primary: #FF6B00;
  --orange-hover: #E65A00;
  --orange-light: #FFF7ED;
  --orange-border: #FED7AA;
  --orange-glow: rgba(255, 107, 0, 0.22);
  --orange-gradient: linear-gradient(135deg, #FF7B00 0%, #E65100 100%);

  /* Neutrals & Borders */
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-dark: #94A3B8;
  --text-primary: #0B1B3D;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Status Colors */
  --success: #059669;
  --success-bg: #ECFDF5;
  --warning: #D97706;
  --warning-bg: #FEF3C7;
  --info: #0284C7;
  --info-bg: #E0F2FE;
  --danger: #DC2626;
  --danger-bg: #FEF2F2;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(11, 27, 61, 0.05);
  --shadow-sm: 0 2px 8px rgba(11, 27, 61, 0.06);
  --shadow-md: 0 6px 18px rgba(11, 27, 61, 0.08);
  --shadow-lg: 0 14px 34px rgba(11, 27, 61, 0.1);
  --shadow-xl: 0 24px 50px rgba(11, 27, 61, 0.14);
  --shadow-orange: 0 8px 24px rgba(255, 107, 0, 0.32);

  /* Transitions & Border Radius */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Announcement Bar (Top Verification Banner - White/Slate Theme)
   -------------------------------------------------------------------------- */
.announcement-bar {
  background-color: #F8FAFC;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.announcement-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-pill-orange {
  display: inline-flex;
  align-items: center;
  background-color: var(--orange-light);
  color: #C2410C;
  border: 1px solid var(--orange-border);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.announcement-text strong {
  color: var(--navy-dark);
}

.text-highlight {
  color: #C2410C;
  font-weight: 600;
}

.announcement-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-nav-link {
  color: var(--navy-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: var(--transition);
}

.top-nav-link:hover {
  color: var(--orange-primary);
}

.divider {
  color: var(--border-medium);
}

.icon-inline {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   Navigation Bar (Pure White Corporate Header)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  box-shadow: 0 2px 12px rgba(11, 27, 61, 0.06);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFFFF 100%);
  border: 1.5px solid var(--orange-border);
  border-radius: 10px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.15);
}

.logo-symbol svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--orange-primary);
  letter-spacing: 0.14em;
}

.brand-subtitle span {
  color: var(--text-muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 8px 0;
}

.nav-item:hover {
  color: var(--orange-primary);
}

.nav-item.active {
  color: var(--navy-dark);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--orange-primary);
  border-radius: 2px;
}

.nav-badge {
  background-color: var(--orange-primary);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background-color: var(--navy-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange-gradient);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF8C1A 0%, #F55A00 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 107, 0, 0.42);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--navy-dark);
  border: 1.5px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--bg-surface);
  border-color: var(--navy-dark);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.8125rem;
}

.icon-btn {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

.btn-primary:hover .icon-btn {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Hero Section (Crisp White Theme)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  color: var(--text-primary);
  padding: 60px 0 85px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-backdrop-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 107, 0, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(15, 39, 90, 0.04) 0%, transparent 50%),
    linear-gradient(#E2E8F0 1px, transparent 1px),
    linear-gradient(90deg, #E2E8F0 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  pointer-events: none;
  opacity: 0.55;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--orange-light);
  border: 1px solid var(--orange-border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #C2410C;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--orange-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(255, 107, 0, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
  }
}

.hero-headline {
  font-size: 3.35rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--navy-dark);
}

.headline-gradient {
  background: linear-gradient(135deg, #FF6B00 0%, #EA580C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-subtext strong {
  color: var(--navy-dark);
}

/* Hero Stats Row (White Card) */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-trust-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.icon-shield {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero Visual Composition */
.hero-visual {
  position: relative;
}

.visual-card-wrapper {
  position: relative;
  width: 100%;
}

.main-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--border-light);
  background-color: var(--white);
  height: 480px;
}

.hero-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-card-wrapper:hover .hero-img-main {
  transform: scale(1.02);
}

.floating-badge {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  backdrop-filter: blur(12px);
  color: var(--navy-dark);
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.top-right-badge {
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-right-badge strong {
  display: block;
  font-size: 0.875rem;
  color: var(--navy-dark);
}

.top-right-badge span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.badge-icon {
  width: 34px;
  height: 34px;
  background: var(--orange-light);
  border: 1px solid var(--orange-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-primary);
}

.badge-icon svg {
  width: 18px;
  height: 18px;
}

.bottom-left-badge {
  bottom: 24px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 4px solid var(--orange-primary);
}

.engineer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--orange-primary);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.2);
}

.engineer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.badge-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.badge-time {
  font-size: 0.7rem;
  color: #C2410C;
  font-weight: 700;
  margin-top: 2px;
}

/* Secondary Inset Visual Frame */
.secondary-image-frame {
  position: absolute;
  width: 190px;
  height: 140px;
  bottom: -25px;
  right: -20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 4;
}

.hero-img-secondary {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.secondary-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 27, 61, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
}

.secondary-tag {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Partner Domain Ribbon (White/Slate)
   -------------------------------------------------------------------------- */
.partner-ribbon {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
}

.ribbon-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ribbon-label {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ribbon-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sector-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-slate);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.sector-pill:hover {
  background-color: var(--white);
  border-color: var(--orange-primary);
  color: var(--navy-dark);
}

.pill-dot {
  width: 6px;
  height: 6px;
  background-color: var(--orange-primary);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Section Common Styles
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: 48px;
}

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

.section-kicker {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--orange-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Featured Job Opportunities Section
   -------------------------------------------------------------------------- */
.jobs-section {
  padding: 90px 0;
  background-color: var(--bg-slate);
}

.job-filter-bar {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background-color: var(--white);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--orange-primary);
}

.filter-btn.active {
  background: var(--navy-dark);
  color: var(--white);
}

.job-count-indicator {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.job-count-indicator strong {
  color: var(--navy-dark);
}

/* Job Cards Grid */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}

.job-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--navy-dark);
  transition: var(--transition);
}

.job-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: var(--shadow-lg);
}

.job-card:hover::before {
  background: var(--orange-gradient);
}

.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.job-dept {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.job-urgency-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background-color: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.job-urgency-badge.urgent {
  background-color: #FEE2E2;
  color: #DC2626;
  border-color: #FECACA;
}

.job-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

.job-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
}

.spec-pill svg {
  width: 14px;
  height: 14px;
  color: var(--orange-primary);
}

.job-short-desc {
  font-size: 0.90625rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.job-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.skill-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: #F8FAFC;
  color: var(--navy-dark);
  border: 1px solid var(--border-light);
}

.job-card-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.job-salary-block {
  display: flex;
  flex-direction: column;
}

.salary-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.salary-value {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.job-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-card-outline {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--navy-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-card-outline:hover {
  background-color: var(--bg-surface);
  border-color: var(--navy-dark);
}

.btn-card-apply {
  background: var(--orange-gradient);
  color: var(--white);
  border: none;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-card-apply:hover {
  background: linear-gradient(135deg, #FF8C1A 0%, #F55A00 100%);
  transform: translateY(-1px);
}

/* Qualification Matrix Table Card (White Theme) */
.matrix-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

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

.matrix-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.matrix-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.90625rem;
}

.matrix-table th {
  background-color: var(--bg-surface);
  color: var(--navy-dark);
  font-weight: 800;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border-medium);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.matrix-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.matrix-table tr:hover td {
  background-color: #F8FAFC;
}

.qual-badge {
  display: inline-block;
  background-color: #EFF6FF;
  color: #1D4ED8;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8125rem;
  border: 1px solid #BFDBFE;
}

.btn-table-apply {
  background: transparent;
  color: var(--orange-primary);
  border: 1px solid rgba(255, 107, 0, 0.4);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-table-apply:hover {
  background: var(--orange-primary);
  color: var(--white);
  border-color: var(--orange-primary);
}

/* --------------------------------------------------------------------------
   Why Choose Us Section (White Theme)
   -------------------------------------------------------------------------- */
.why-us-section {
  padding: 90px 0;
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.feature-card:hover {
  background-color: var(--white);
  border-color: rgba(15, 39, 90, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card.highlight-card {
  background: linear-gradient(160deg, #FFF9F5 0%, #FFFFFF 100%);
  border-color: rgba(255, 107, 0, 0.35);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(15, 39, 90, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-icon-orange {
  background: rgba(255, 107, 0, 0.15);
  color: var(--orange-primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.feature-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-footer {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy-main);
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.text-orange {
  color: var(--orange-primary) !important;
}

/* --------------------------------------------------------------------------
   Recruitment Process Section (Clean White/Slate Theme)
   -------------------------------------------------------------------------- */
.process-section {
  padding: 90px 0;
  background-color: var(--bg-slate);
  color: var(--text-primary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.process-section .section-title {
  color: var(--navy-dark);
}

.process-section .section-desc {
  color: var(--text-muted);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 40px;
}

.process-step {
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange-primary);
  margin-bottom: -15px;
  margin-left: 10px;
  z-index: 1;
  letter-spacing: -0.04em;
  opacity: 0.85;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.step-card:hover {
  background: var(--white);
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-card h4 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.step-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background-color: var(--orange-light);
  color: #C2410C;
  border: 1px solid var(--orange-border);
}

/* --------------------------------------------------------------------------
   Application Section (Form & Sidebar - Crisp White Theme)
   -------------------------------------------------------------------------- */
.application-section {
  padding: 90px 0;
  background-color: var(--bg-slate);
}

.application-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 40px;
  align-items: start;
}

/* Agency Identity Sidebar */
.agency-identity-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.agency-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--navy-dark);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.agency-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

.agency-desc {
  font-size: 0.90625rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.agency-specs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.agency-specs-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.spec-icon {
  width: 18px;
  height: 18px;
  color: var(--orange-primary);
  flex-shrink: 0;
}

.privacy-box {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 4px solid var(--navy-dark);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 24px;
}

.privacy-box-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--navy-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.icon-lock {
  width: 16px;
  height: 16px;
  color: var(--navy-dark);
}

.privacy-box-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.mini-testimonial {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.06) 0%, rgba(15, 39, 90, 0.04) 100%);
  border: 1px dashed var(--orange-border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.quote-text {
  font-size: 0.84rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.quote-author strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--navy-dark);
}

.quote-author span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Application Form Card (Pure White) */
.form-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-card-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.form-card-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.form-card-sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.site-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 18px;
}

.col-half {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.required {
  color: var(--danger);
}

.field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 10px 16px 10px 42px;
  background-color: var(--white);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 4px var(--orange-glow);
}

.form-control::placeholder {
  color: var(--text-light);
}

select.form-control {
  appearance: none;
  cursor: pointer;
  background-color: var(--white);
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

/* Resume Drag & Drop Zone */
.file-dropzone {
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  background-color: #F8FAFC;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.file-dropzone:hover,
.file-dropzone.dragover {
  border-color: var(--orange-primary);
  background-color: rgba(255, 107, 0, 0.04);
}

.file-input-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone-icon {
  width: 48px;
  height: 48px;
  background-color: var(--orange-light);
  color: var(--orange-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.dropzone-icon svg {
  width: 24px;
  height: 24px;
}

.dropzone-text {
  font-size: 0.9375rem;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.browse-link {
  color: var(--orange-primary);
  font-weight: 700;
  text-decoration: underline;
}

.dropzone-hints {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Selected File Card in Dropzone */
.selected-file-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.file-type-icon {
  width: 40px;
  height: 40px;
  background-color: #EFF6FF;
  color: #1D4ED8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-type-icon svg {
  width: 22px;
  height: 22px;
}

.file-details {
  flex-grow: 1;
  padding: 0 16px;
}

.file-name {
  font-size: 0.90625rem;
  font-weight: 700;
  color: var(--navy-dark);
  word-break: break-all;
}

.file-meta {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
}

.btn-remove-file {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition);
}

.btn-remove-file:hover {
  background-color: #FEE2E2;
  color: var(--danger);
}

.btn-remove-file svg {
  width: 20px;
  height: 20px;
}

/* Checkbox Style */
.checkbox-group {
  margin-top: 4px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.checkbox-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-medium);
  border-radius: 5px;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition);
}

.custom-checkbox input[type="checkbox"]:checked+.checkbox-box {
  background-color: var(--orange-primary);
  border-color: var(--orange-primary);
}

.custom-checkbox input[type="checkbox"]:checked+.checkbox-box::after {
  content: '✓';
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.checkbox-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.link-modal {
  color: var(--navy-dark);
  font-weight: 700;
  text-decoration: underline;
}

.link-modal:hover {
  color: var(--orange-primary);
}

.form-footer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-footer-badge svg {
  width: 14px;
  height: 14px;
  color: var(--success);
}

/* Form Alert Box */
.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.form-alert.alert-error {
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
}

.form-alert.alert-success {
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.spinner-small {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Contact Section (White Theme)
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 90px 0;
  background-color: var(--white);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.contact-card {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.contact-card:hover {
  background-color: var(--white);
  border-color: rgba(15, 39, 90, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(15, 39, 90, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  margin-bottom: 16px;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.contact-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.contact-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy-main);
  background-color: var(--bg-surface);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
  border: 1px solid var(--border-medium);
}

/* --------------------------------------------------------------------------
   Footer (Grounded Deep Corporate Navy)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--navy-darkest);
  color: #CBD5E1;
  padding: 80px 0 0;
  border-top: 1px solid var(--border-light);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-brand {
  padding-right: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #94A3B8;
  margin-bottom: 22px;
}

.footer-accreditation {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.accred-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFA04D;
  padding: 3px 8px;
  border-radius: 4px;
}

.footer-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--orange-primary);
  padding-left: 4px;
}

.footer-bottom {
  padding: 24px 0;
  font-size: 0.8125rem;
  color: #64748B;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-links a {
  color: #94A3B8;
}

.footer-legal-links a:hover {
  color: var(--white);
}

.sep {
  color: #475569;
}

/* --------------------------------------------------------------------------
   Modals
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 13, 31, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 65px rgba(11, 27, 61, 0.2);
  border: 1px solid var(--border-light);
  max-width: 580px;
  width: 100%;
  padding: 36px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-card-lg {
  max-width: 780px;
}

.modal-card-xl {
  max-width: 1100px;
}

@keyframes modalScale {
  from {
    transform: scale(0.94);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.btn-modal-close {
  background: var(--bg-surface);
  border: none;
  font-size: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.btn-modal-close:hover {
  background-color: var(--border-medium);
  color: var(--navy-dark);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.25;
  margin-top: 4px;
}

.modal-subtitle {
  font-size: 0.90625rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.modal-success-icon {
  width: 68px;
  height: 68px;
  background: #ECFDF5;
  color: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 4px solid #D1FAE5;
}

.modal-success-icon svg {
  width: 36px;
  height: 36px;
}

/* Reference Code Box */
.tracking-id-box {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(15, 39, 90, 0.03) 100%);
  border: 1.5px dashed var(--orange-primary);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  margin-bottom: 24px;
}

.tracking-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: 0.08em;
}

.tracking-code {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--orange-primary);
  font-family: monospace;
  letter-spacing: 0.06em;
  margin: 6px 0;
}

.tracking-copy-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Candidate Summary Card */
.summary-details-card {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

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

.summary-val {
  color: var(--navy-dark);
  text-align: right;
  font-weight: 700;
}

.status-chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.status-review {
  background-color: #FEF3C7;
  color: #B45309;
}

.status-shortlist {
  background-color: #EFF6FF;
  color: #1D4ED8;
}

.status-interview {
  background-color: #F3E8FF;
  color: #7E22CE;
}

.status-selected {
  background-color: #ECFDF5;
  color: #065F46;
}

/* Next Steps Box */
.next-steps-card {
  background-color: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.next-steps-card h5 {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.next-steps-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 0;
}

.next-steps-card li {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Job Details Modal Body */
.job-modal-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.job-modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.job-detail-block h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.job-detail-block p {
  font-size: 0.90625rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.job-detail-block ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.job-detail-block li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.tags-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-compensation-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.comp-col {
  display: flex;
  flex-direction: column;
}

.comp-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.comp-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.comp-sub {
  font-size: 0.8125rem;
  color: var(--success);
  font-weight: 700;
}

.modal-footer-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

/* --------------------------------------------------------------------------
   Track Status Modal & Result Box
   -------------------------------------------------------------------------- */
.track-search-form {
  margin-bottom: 24px;
}

.track-input-group {
  display: flex;
  gap: 10px;
}

.track-result-container {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.track-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.track-status-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 20px 0;
  text-align: center;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #E2E8F0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 6px;
  z-index: 2;
}

.stepper-step.completed .step-indicator {
  background-color: var(--success);
  color: var(--white);
}

.stepper-step.active .step-indicator {
  background-color: var(--orange-primary);
  color: var(--white);
  box-shadow: 0 0 0 4px var(--orange-glow);
}

.stepper-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Recruiter / Admin Dashboard Modal (White Theme)
   -------------------------------------------------------------------------- */
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.admin-search-box {
  flex-grow: 1;
  max-width: 380px;
}

.admin-search-box input {
  padding-left: 16px;
}

.admin-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-table-wrapper {
  max-height: 520px;
  overflow-y: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.84rem;
}

.admin-table th {
  background-color: var(--navy-dark);
  color: var(--white);
  padding: 12px 14px;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 10;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background-color: #F8FAFC;
}

.admin-table .candidate-name {
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 0.90625rem;
}

.admin-table .resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: #EFF6FF;
  color: #1D4ED8;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  border: 1px solid #BFDBFE;
}

.admin-table .resume-btn:hover {
  background-color: #DBEAFE;
}

/* Prose for Policies */
.modal-prose {
  font-size: 0.90625rem;
  line-height: 1.65;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-prose h4 {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-top: 10px;
}

.modal-prose ul {
  list-style: disc;
  padding-left: 20px;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-headline {
    font-size: 2.85rem;
  }

  .main-image-frame {
    height: 380px;
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-headline {
    font-size: 2.25rem;
  }

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

  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

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

  .secondary-image-frame {
    display: none;
  }

  .matrix-card {
    padding: 20px;
  }
}


/* ==========================================================================
   BuildBridge Careers - Geolocation & Client Device Telemetry Styles
   Support for buildbridg.duckdns.org domain & Consent-driven permissions
   ========================================================================== */

/* Location Status Badge in Header Announcement Bar */
.location-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #F8FAFC;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.location-badge-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.location-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #94A3B8;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.location-pulse-dot.active {
  background-color: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: pulseDot 2s infinite;
}

.location-pulse-dot.declined {
  background-color: #F59E0B;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Location Detected Hint in Application Form */
.location-detected-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  animation: fadeIn 0.3s ease;
}

.btn-link-xs {
  background: none;
  border: none;
  color: var(--orange-primary);
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  margin-left: auto;
}

/* Floating User Consent Banner (GDPR / Privacy Compliant) */
.consent-banner-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 500px;
  width: calc(100% - 48px);
  z-index: 99999;
  animation: slideUpFade 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpFade {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.consent-card {
  background-color: var(--white);
  border: 2px solid var(--navy-dark);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 45px rgba(6, 13, 31, 0.3), 0 0 0 1px rgba(255, 107, 0, 0.2);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.consent-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange-primary), #2563EB);
}

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

.consent-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.domain-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  background: #F1F5F9;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  font-family: monospace;
}

.btn-consent-close {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.2s;
}

.btn-consent-close:hover {
  color: var(--navy-dark);
}

.consent-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.consent-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.consent-grid-reasons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  background: #F8FAFC;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
}

.consent-reason-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  line-height: 1.35;
}

.consent-reason-item .reason-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.consent-reason-item strong {
  display: block;
  color: var(--navy-dark);
  font-size: 0.82rem;
}

.consent-reason-item p {
  color: var(--text-secondary);
  margin: 2px 0 0 0;
  font-size: 0.76rem;
}

.consent-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.consent-buttons {
  display: flex;
  gap: 10px;
}

.btn-consent-allow {
  flex: 1.4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  padding: 10px 14px;
}

.btn-consent-decline {
  flex: 1;
  font-size: 0.84rem;
  padding: 10px 12px;
}

.consent-terms-note {
  font-size: 0.72rem;
  color: #64748B;
  text-align: center;
  line-height: 1.4;
}

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

/* Admin Tabs Navigation */
.admin-tab-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 20px;
  padding-bottom: 0;
}

.admin-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  margin-bottom: -2px;
}

.admin-tab-btn:hover {
  color: var(--navy-dark);
}

.admin-tab-btn.active {
  color: var(--orange-primary);
  border-bottom-color: var(--orange-primary);
}

/* Telemetry Summary Stats Grid */
.telemetry-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.telemetry-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.telemetry-stat-card .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}

.telemetry-stat-card .stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.telemetry-stat-card .stat-subtext {
  font-size: 0.74rem;
  color: #64748B;
}

.text-green { color: #10B981; }
.text-blue { color: #2563EB; }
.text-purple { color: #7C3AED; }

/* Telemetry Table Badges */
.badge-pill-green {
  background-color: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-block;
}

.badge-pill-gray {
  background-color: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-block;
}

.coord-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: monospace;
  font-size: 0.74rem;
  color: var(--orange-primary);
  text-decoration: underline;
  margin-top: 3px;
}

.device-badge-tag {
  display: inline-block;
  background: #E0E7FF;
  color: #3730A3;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-right: 4px;
}

.ip-domain-cell {
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--navy-dark);
}

.ip-domain-cell .domain-subtext {
  font-size: 0.72rem;
  color: #64748B;
  display: block;
}

@media (max-width: 768px) {
  .consent-banner-wrapper {
    bottom: 12px;
    right: 12px;
    width: calc(100% - 24px);
  }
  .telemetry-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .consent-buttons {
    flex-direction: column;
  }
}


/* ==========================================================================
   Admin Dashboard Authentication & Master Telemetry Toggle Styles
   ========================================================================== */

/* Admin Portal Header Layout */
.admin-portal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Master Telemetry Switch Pill in Header */
.master-switch-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.master-switch-pill.active {
  background: #ECFDF5;
  border-color: #6EE7B7;
}

.master-switch-pill.paused {
  background: #FFF1F2;
  border-color: #FECDD3;
}

.pill-labels {
  display: flex;
  flex-direction: column;
}

.pill-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill-state {
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
  line-height: 1;
}

.master-switch-pill.paused .pill-state {
  color: #E11D48;
}

/* Toggle Switch Control */
.toggle-slider-label {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  cursor: pointer;
  margin: 0;
}

.toggle-slider-label input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E1;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
}

.toggle-track:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-slider-label input:checked + .toggle-track {
  background-color: #10B981;
}

.toggle-slider-label input:checked + .toggle-track:before {
  transform: translateX(18px);
}

/* Admin User Badge & Logout Button */
.admin-user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.admin-user-badge .user-name {
  color: var(--navy-dark);
}

.btn-logout-link {
  background: none;
  border: none;
  color: #DC2626;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn-logout-link:hover {
  background: #FEE2E2;
}

/* Modal Card SM (for Admin Login) */
.modal-card-sm {
  max-width: 440px;
  width: 100%;
}

.login-brand-header {
  margin-bottom: 8px;
}

.btn-block {
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 12px;
}

/* Tab 3: System & Tracking Controls Grid */
.controls-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.control-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.control-card-highlight {
  border: 2px solid #CBD5E1;
  background: #FFFFFF;
}

.control-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.control-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #EFF6FF;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.control-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.control-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* Control Switch Row */
.control-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.status-indicator-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.status-indicator-badge.badge-active {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.status-indicator-badge.badge-paused {
  background: #FFF1F2;
  color: #BE123C;
  border: 1px solid #FECDD3;
}

.status-explanation {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

/* Large Toggle Switch for Controls Tab */
.large-toggle-switch {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 32px;
  cursor: pointer;
  margin: 0;
}

.large-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.large-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E1;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
}

.large-toggle-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.large-toggle-switch input:checked + .large-toggle-slider {
  background-color: #10B981;
}

.large-toggle-switch input:checked + .large-toggle-slider:before {
  transform: translateX(26px);
}

.control-notice-box {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: #1E40AF;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.control-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.system-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.spec-tile {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.spec-label {
  display: block;
  font-size: 0.72rem;
  color: #64748B;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.spec-val {
  font-size: 0.85rem;
  color: var(--navy-dark);
}

@media (max-width: 900px) {
  .system-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
