/* ==========================================================================
   JOBTAL - Modern Enterprise Healthcare Career Portal
   Color Palette strictly preserved:
   --navy: #0b1d40, --navy-dark: #081735, --blue: #1767d8, --cyan: #159ef1,
   --violet: #6b4dff, --teal: #20c7d7, --mint: #087d72, --mint-bg: #e3f9f5,
   --ink: #122344, --muted: #5d6c85, --line: #e2e8f5, --bg: #f6f9fe
   ========================================================================== */

:root {
  --navy: #0b1d40;
  --navy-dark: #081735;
  --navy-light: #162e5c;
  --blue: #1767d8;
  --blue-hover: #1254b5;
  --cyan: #159ef1;
  --cyan-light: #e6f6ff;
  --violet: #6b4dff;
  --teal: #20c7d7;
  --mint: #087d72;
  --mint-bg: #e3f9f5;
  --ink: #122344;
  --ink-secondary: #354764;
  --muted: #5d6c85;
  --muted-light: #8b99b0;
  --line: #e2e8f5;
  --line-strong: #cad7eb;
  --card-bg: #ffffff;
  --bg: #f6f9fe;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(11, 29, 64, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 29, 64, 0.06), 0 2px 6px rgba(11, 29, 64, 0.04);
  --shadow-lg: 0 18px 40px rgba(11, 29, 64, 0.09), 0 4px 12px rgba(11, 29, 64, 0.05);
  --shadow-glow: 0 12px 28px rgba(23, 103, 216, 0.25);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Dark Mode Theme Overrides
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
  --navy: #091730;
  --navy-dark: #050e1f;
  --navy-light: #112548;
  --blue: #2974ea;
  --blue-hover: #458bf7;
  --cyan: #22c6f4;
  --cyan-light: #0d2847;
  --violet: #8567ff;
  --teal: #2bd7e7;
  --mint: #15cba3;
  --mint-bg: #063730;
  --ink: #f1f5fd;
  --ink-secondary: #d1ddf0;
  --muted: #92a4bd;
  --muted-light: #64748b;
  --line: #1a2c4e;
  --line-strong: #28406c;
  --card-bg: #0b1a36;
  --bg: #061122;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

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

/* --------------------------------------------------------------------------
   Top Bar
   -------------------------------------------------------------------------- */
.topbar {
  background-color: var(--navy-dark);
  color: #c9d8f5;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-left b {
  color: var(--cyan);
  font-weight: 700;
}

.topbar-tagline {
  letter-spacing: 0.5px;
}

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

.topbar-link {
  color: #d8e5ff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.topbar-link:hover {
  color: var(--cyan);
}

/* --------------------------------------------------------------------------
   Language Selector & Theme Toggle Controls
   -------------------------------------------------------------------------- */
.control-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 5px 12px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.control-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--cyan);
}

.lang-select {
  background: transparent;
  color: #ffffff;
  border: 0;
  outline: 0;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.lang-select option {
  background: var(--navy-dark);
  color: #ffffff;
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 5px 12px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--cyan);
}

/* Hide intrusive Google Translate default frame bars */
.goog-te-banner-frame.skiptranslate, .goog-te-banner-frame {
  display: none !important;
}
body {
  top: 0px !important;
}
#google_translate_element {
  display: none;
}
.goog-logo-link {
  display: none !important;
}
.goog-te-gadget {
  height: 0px !important;
  overflow: hidden !important;
}

/* --------------------------------------------------------------------------
   Main Navigation Header
   -------------------------------------------------------------------------- */
header.site-header {
  background-color: var(--navy);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-theme="dark"] header.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand-logo {
  display: inline-block;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 0.95;
  color: #ffffff;
}

.brand-logo .job {
  color: #ffffff;
}

.brand-logo .tal {
  color: var(--cyan);
  background: linear-gradient(115deg, #22c6f4, #159ef1 60%, #0758bd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-logo small {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2.6px;
  color: #d0e1ff;
  margin-top: 4px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: #dbe7ff;
  font-size: 14.5px;
  font-weight: 600;
  padding: 6px 4px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-badge {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 12px;
  background: rgba(32, 199, 215, 0.18);
  color: var(--cyan);
  margin-left: 4px;
  font-weight: 700;
}

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(105deg, var(--blue), var(--cyan));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(23, 103, 216, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(105deg, #1355b8, #118ad3);
  box-shadow: 0 10px 24px rgba(23, 103, 216, 0.36);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-primary {
  background: var(--card-bg);
  border-color: var(--line-strong);
  color: var(--blue);
}

.btn-outline-primary:hover {
  border-color: var(--blue);
  background: rgba(23, 103, 216, 0.08);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 15%, rgba(21, 158, 241, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 10% 85%, rgba(107, 77, 255, 0.08) 0%, transparent 40%),
              linear-gradient(180deg, #f9fbff 0%, #ffffff 60%, #f4f8fe 100%);
  padding: 60px 5% 75px;
  border-bottom: 1px solid var(--line);
}

[data-theme="dark"] .hero-section {
  background: radial-gradient(circle at 85% 15%, rgba(34, 198, 244, 0.14) 0%, transparent 45%),
              radial-gradient(circle at 10% 85%, rgba(132, 103, 255, 0.1) 0%, transparent 40%),
              linear-gradient(180deg, #091730 0%, #061122 100%);
}

.hero-grid {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  background: var(--mint-bg);
  color: var(--mint);
  border: 1px solid rgba(8, 125, 114, 0.2);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-pill .dot {
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(8, 125, 114, 0.2);
}

.hero-title {
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin: 0 0 20px;
}

.hero-title .tagline-highlight {
  display: block;
  font-style: normal;
  background: linear-gradient(100deg, var(--blue), var(--cyan) 50%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 580px;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.hero-meta-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
}

.meta-num span {
  color: var(--cyan);
}

.meta-label {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   Hero Visual / Talent Match Console
   -------------------------------------------------------------------------- */
.hero-visual-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(23, 103, 216, 0.12);
  color: var(--blue);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mint);
}
.live-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(8, 125, 114, 0.4); }
  70% { box-shadow: 0 0 0 7px rgba(8, 125, 114, 0); }
  100% { box-shadow: 0 0 0 0 rgba(8, 125, 114, 0); }
}

.match-profile-card {
  background: linear-gradient(135deg, rgba(23, 103, 216, 0.08), rgba(21, 158, 241, 0.04));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.candidate-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #ffffff;
  font-size: 22px;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(23, 103, 216, 0.25);
  flex-shrink: 0;
}

.candidate-info {
  flex-grow: 1;
}

.candidate-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}

.candidate-role {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.match-score {
  text-align: right;
  flex-shrink: 0;
}

.score-badge {
  background: var(--mint);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 20px;
  display: inline-block;
}

.score-label {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
}

.hospital-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hospital-match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hospital-match-row:hover {
  border-color: var(--blue);
  transform: translateX(4px);
}

.hosp-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hosp-icon {
  width: 34px;
  height: 34px;
  background: rgba(23, 103, 216, 0.1);
  color: var(--ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
}

.hosp-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.hosp-location {
  font-size: 11.5px;
  color: var(--muted);
}

.hosp-salary {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  text-align: right;
}

.visual-footer-pills {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mini-stat {
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.mini-stat strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Search Console
   -------------------------------------------------------------------------- */
.search-console-wrapper {
  max-width: 1240px;
  margin: -40px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 20;
}

.search-console {
  background: var(--card-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(125, 155, 205, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.search-field:focus-within {
  border-color: var(--blue);
  background: var(--card-bg);
  box-shadow: 0 0 0 3px rgba(23, 103, 216, 0.18);
}

.field-icon {
  font-size: 17px;
  color: var(--muted);
  flex-shrink: 0;
}

.search-field input, .search-field select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}

.search-field select {
  cursor: pointer;
}

.search-field select option {
  background: var(--card-bg);
  color: var(--ink);
}

.quick-tags-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.quick-tags-strip b {
  color: var(--ink);
  font-size: 12.5px;
}

.quick-tag {
  background: var(--card-bg);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.quick-tag:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(23, 103, 216, 0.1);
}

/* --------------------------------------------------------------------------
   Sections General
   -------------------------------------------------------------------------- */
.section {
  max-width: 1340px;
  margin: 0 auto;
  padding: 70px 5%;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 35px;
  gap: 20px;
}

.section-head-text h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -1.2px;
  margin: 0 0 8px;
  line-height: 1.15;
}

.section-head-text p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Speciality Cards Grid
   -------------------------------------------------------------------------- */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.dept-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dept-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
}

.dept-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 14px;
  background: rgba(23, 103, 216, 0.12);
  color: var(--blue);
  transition: var(--transition);
}

.dept-card:nth-child(2) .dept-icon-box { background: rgba(107, 77, 255, 0.14); color: var(--violet); }
.dept-card:nth-child(3) .dept-icon-box { background: rgba(8, 125, 114, 0.14); color: var(--mint); }
.dept-card:nth-child(4) .dept-icon-box { background: rgba(217, 119, 24, 0.14); color: #d97718; }
.dept-card:nth-child(5) .dept-icon-box { background: rgba(214, 46, 130, 0.14); color: #d62e82; }

.dept-card:hover .dept-icon-box {
  transform: scale(1.08);
}

.dept-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 5px;
}

.dept-card span {
  font-size: 12.5px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Jobs Grid & Cards
   -------------------------------------------------------------------------- */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.job-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.job-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

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

.job-org-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(23, 103, 216, 0.12);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
}

.save-btn {
  background: rgba(125, 155, 205, 0.1);
  border: 0;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
  font-size: 17px;
}

.save-btn:hover {
  background: rgba(220, 38, 38, 0.15);
  color: #dc2626;
}

.save-btn.active {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.18);
}

.job-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.25;
}

.job-org-name {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
}

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

.pill-badge {
  font-size: 11.5px;
  font-weight: 750;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(23, 103, 216, 0.12);
  color: var(--blue);
}

.pill-badge.green {
  background: var(--mint-bg);
  color: var(--mint);
}

.pill-badge.purple {
  background: rgba(107, 77, 255, 0.15);
  color: var(--violet);
}

.job-details-meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.job-details-meta strong {
  color: var(--ink-secondary);
}

.job-card-bottom {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.salary-amount {
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
}

.salary-sub {
  font-size: 11px;
  color: var(--muted-light);
}

/* --------------------------------------------------------------------------
   Overseas Banner
   -------------------------------------------------------------------------- */
.overseas-banner {
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 50%, #153e80 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px 45px;
  margin: 20px 5% 50px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.overseas-text h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 900;
  margin: 0 0 12px;
  letter-spacing: -1px;
}

.overseas-text p {
  color: #c8d9f5;
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.overseas-destinations {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dest-chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   How It Works
   -------------------------------------------------------------------------- */
.how-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.step-card {
  padding: 26px 20px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--line);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.step-number {
  display: inline-block;
  background: rgba(23, 103, 216, 0.12);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
}

.step-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Employer CTA
   -------------------------------------------------------------------------- */
.employer-cta-wrapper {
  padding: 40px 5% 70px;
  max-width: 1340px;
  margin: 0 auto;
}

.employer-cta {
  background: linear-gradient(110deg, var(--navy-dark) 0%, var(--blue) 55%, var(--cyan) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 44px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-lg);
}

.employer-cta h2 {
  font-size: clamp(26px, 2.7vw, 36px);
  font-weight: 900;
  letter-spacing: -1px;
  margin: 0 0 10px;
}

.employer-cta p {
  font-size: 16px;
  color: #dce7ff;
  margin: 0;
  max-width: 620px;
  line-height: 1.55;
}

.employer-cta .btn {
  background: #ffffff;
  color: var(--blue);
  font-size: 15px;
  padding: 15px 26px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.employer-cta .btn:hover {
  background: #f4f8fe;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer.site-footer {
  background: var(--navy-dark);
  color: #d0def7;
  padding: 60px 5% 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: 0.3px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: #b5c8ea;
  font-size: 13.5px;
}

.footer-col ul li a:hover {
  color: var(--cyan);
  padding-left: 3px;
}

.footer-brand-block p {
  color: #a8bcdb;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 14px 0 0;
  max-width: 320px;
}

.footer-bottom {
  max-width: 1340px;
  margin: 25px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #8fa7cf;
  flex-wrap: wrap;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   Modal & Dialogs
   -------------------------------------------------------------------------- */
.modalbg {
  position: fixed;
  inset: 0;
  background: rgba(5, 14, 31, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}

.modalbg.show {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  width: min(540px, 100%);
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--line);
}

.modalhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.modalhead h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 850;
  color: var(--ink);
}

.close {
  border: 0;
  background: rgba(125, 155, 205, 0.14);
  color: var(--ink);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.close:hover {
  background: rgba(125, 155, 205, 0.25);
}

.modal p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.form-group-item {
  margin-bottom: 16px;
}

.form-group-item label {
  display: block;
  font-size: 13px;
  font-weight: 750;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group-item input, .form-group-item select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  background: rgba(125, 155, 205, 0.08);
  transition: var(--transition);
}

.form-group-item input:focus, .form-group-item select:focus {
  outline: 0;
  border-color: var(--blue);
  background: var(--card-bg);
  box-shadow: 0 0 0 3px rgba(23, 103, 216, 0.18);
}

.modal-submit-btn {
  width: 100%;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Toast Notifications
   -------------------------------------------------------------------------- */
.toast {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  background: var(--navy-dark);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  max-width: 90%;
}

.toast.show {
  display: block;
  animation: slideUp 0.25s ease-out;
}

@keyframes slideUp {
  from { transform: translate(-50%, 15px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* Mobile Sticky Bottom Bar */
.mobile-action-bar {
  display: none;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .search-console { grid-template-columns: 1fr 1fr; }
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .stepper-grid { grid-template-columns: repeat(2, 1fr); }
  .overseas-banner { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar { flex-direction: column; gap: 8px; align-items: flex-start; padding: 10px 18px; }
  .topbar-right { width: 100%; justify-content: space-between; }
  header.site-header { padding: 12px 18px; }
  .brand-logo { font-size: 26px; }
  .header-nav { display: none; }
  .hero-section { padding: 40px 18px 55px; }
  .hero-title { font-size: 36px; }
  .hero-desc { font-size: 16px; }
  .search-console-wrapper { margin-top: -20px; padding: 0 16px; }
  .search-console { grid-template-columns: 1fr; padding: 12px; }
  .section { padding: 45px 18px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .jobs-grid { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .stepper-grid { grid-template-columns: 1fr; }
  .employer-cta { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .footer-top-grid { grid-template-columns: 1fr; }
  .mobile-action-bar {
    display: block;
    position: fixed;
    bottom: 12px;
    left: 14px;
    right: 14px;
    z-index: 99;
  }
  .mobile-action-bar .btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(23, 103, 216, 0.4);
  }
  footer.site-footer { padding-bottom: 80px; }
}
