/* ============================================================
   Apex Talent Group — Styles
   ============================================================ */

/* ── Variables ── */
:root {
  --primary: #1a56db;
  --primary-dark: #1444b0;
  --primary-light: #e8effd;
  --accent: #f97316;
  --accent-light: #fff3e8;
  --dark: #111827;
  --gray-900: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --success: #059669;
  --danger: #dc2626;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
}

/* Logo in navbar */
.logo-img {
  height: 38px;
  width: auto;
  margin-right: 0.6rem;
  vertical-align: middle;
  display: inline-block;
}
/* ============================================================
   HERO CATEGORY BUTTONS (Below Slider)
   ============================================================ */
.hero-categories {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin: 2.2rem 0 1.2rem 0;
}
.hero-cat-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.hero-cat-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px) scale(1.04);
}
/* ============================================================
   HOME SLIDER
   ============================================================ */
.home-slider {
  width: 100vw;
  max-width: 100vw;
  background: var(--white);
  margin-top: 68px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.slider-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.slider-slide img {
  width: 100vw;
  max-width: 1400px;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 2.5s cubic-bezier(.4,0,.2,1);
}
.slider-slide.active img {
  transform: scale(1.07);
}
.slider-img-wrap {
  position: relative;
  width: 100vw;
  max-width: 1400px;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.slider-gradient {
  position: absolute;
  left: 0; right: 0; bottom: 0; top: 0;
  background: linear-gradient(120deg, rgba(26,86,219,0.18) 0%, rgba(26,86,219,0.38) 60%, rgba(0,0,0,0.32) 100%);
  border-radius: var(--radius-lg);
  z-index: 2;
  pointer-events: none;
}
.slider-caption {
  position: absolute;
  left: 3vw;
  right: 3vw;
  bottom: 1.2rem;
  background: rgba(26,86,219,0.85);
  color: #fff;
  padding: 1.1rem 1.2rem 1.1rem 1.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 420px;
  width: calc(100vw - 6vw - 32px);
  z-index: 3;
  animation: none;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .slider-caption {
    left: 2vw;
    right: 2vw;
    bottom: 0.5rem;
    padding: 0.7rem 0.7rem 0.7rem 0.7rem;
    max-width: 98vw;
    width: calc(100vw - 4vw - 12px);
    font-size: 0.92rem;
  }
  .slider-caption h2 {
    font-size: 1.05rem;
  }
  .slider-caption p {
    font-size: 0.92rem;
  }
.animate-caption {
  animation: fadeInUp 1.1s cubic-bezier(.4,0,.2,1);
}
.animate-caption {
  animation: fadeInUp 1.1s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.slider-caption h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.slider-caption p {
  font-size: 1.05rem;
  font-weight: 400;
  margin: 0;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  color: var(--primary);
  font-size: 2.2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 4;
  box-shadow: var(--shadow);
  transition: background 0.2s, color 0.2s;
}
.slider-btn:hover {
  background: var(--primary);
  color: #fff;
}
.slider-btn-prev { left: 1.5vw; }
.slider-btn-next { right: 1.5vw; }
.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}
.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: background 0.2s;
}
.slider-dots button.active {
  background: var(--primary);
}
@media (max-width: 900px) {
  .slider-wrapper, .slider-slide img {
    height: 220px;
  }
  .slider-caption {
    left: 2vw;
    bottom: 1.2rem;
    padding: 0.8rem 1.2rem 0.8rem 1rem;
    max-width: 320px;
  }
}
@media (max-width: 600px) {
  .slider-wrapper, .slider-slide img {
    height: 140px;
  }
  .slider-caption {
    left: 1vw;
    bottom: 0.5rem;
    padding: 0.5rem 0.7rem 0.5rem 0.7rem;
    max-width: 180px;
    font-size: 0.9rem;
  }
  .slider-btn {
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
  }
}
  --primary: #1a56db;
  --primary-dark: #1444b0;
  --primary-light: #e8effd;
  --accent: #f97316;
  --accent-light: #fff3e8;
  --dark: #111827;
  --gray-900: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --success: #059669;
  --danger: #dc2626;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--gray-50);
  color: var(--dark);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 68px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  font-family: "Inter", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  font-size: 1rem;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta,
.nav-links a.nav-cta {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.55rem 1.4rem;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.5rem;
}

.nav-cta:hover,
.nav-links a.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: var(--white);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: var(--gray-100);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray-700);
  transition: 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 50%, #3b82f6 100%);
  padding: 10rem 5vw 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero h1 {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 300;
}

/* ── Search Bar ── */
.search-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  display: flex;
  align-items: stretch;
  gap: 0;
  box-shadow: var(--shadow-xl);
  max-width: 720px;
  margin: 0 auto;
}

.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.6rem 1rem;
  position: relative;
}

.search-field:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--gray-200);
}

.search-field label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 0.15rem;
}

.search-field input,
.search-field select {
  border: none;
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  background: transparent;
  padding: 0.2rem 0;
  width: 100%;
}

.search-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5 7L1 3h8z' fill='%236b7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 16px;
}

.search-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.8rem 2rem;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.search-btn:hover {
  background: var(--primary-dark);
}

/* ── Hero Stats ── */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.hero-stat {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}

.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.hero-stat .label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.3rem;
  font-weight: 400;
}

/* ============================================================
   CATEGORY CHIPS BAR
   ============================================================ */
.categories-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.2rem 5vw;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  overflow-x: auto;
}

.categories-bar::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  padding: 0.5rem 1.2rem;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cat-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cat-chip.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.cat-chip .count {
  background: rgba(0, 0, 0, 0.08);
  padding: 0.1rem 0.5rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
}

.cat-chip.active .count {
  background: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   MAIN CONTENT LAYOUT
   ============================================================ */
.main-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
}

/* ============================================================
   SIDEBAR FILTERS
   ============================================================ */
.sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
}

.filter-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.filter-section h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--gray-100);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--gray-700);
  transition: color 0.15s;
}

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

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.filter-option .filter-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 0.1rem 0.5rem;
  border-radius: 50px;
}

.filter-clear {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0 0;
  display: block;
}

.filter-clear:hover {
  text-decoration: underline;
}

/* ============================================================
   JOB LISTINGS
   ============================================================ */
.jobs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.jobs-count {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.jobs-count strong {
  color: var(--dark);
  font-weight: 700;
}

.jobs-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--gray-500);
}

.jobs-sort select {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 0.4rem 0.8rem;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  outline: none;
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.8rem;
  cursor: pointer;
  transition: all 0.2s;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  position: relative;
}

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

.job-card-left {
  min-width: 0;
}

.job-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.job-type-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.badge-permanent {
  background: #d1fae5;
  color: #065f46;
}

.badge-temporary {
  background: #fef3c7;
  color: #92400e;
}

.badge-contract {
  background: #e0e7ff;
  color: #3730a3;
}

.job-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
  transition: color 0.2s;
}

.job-card:hover h3 {
  color: var(--primary);
}

.job-card-details {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.82rem;
  color: var(--gray-500);
  flex-wrap: wrap;
}

.job-card-details span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.job-card-right {
  text-align: right;
  flex-shrink: 0;
}

.job-salary {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.job-posted {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.job-apply-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.55rem 1.4rem;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.job-apply-btn:hover {
  background: var(--primary-dark);
}

/* Loading / Empty */
.jobs-loading,
.jobs-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
}

.jobs-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

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

/* ============================================================
   INDUSTRY CARDS
   ============================================================ */
.industries-section {
  background: var(--white);
  padding: 5rem 5vw;
  border-top: 1px solid var(--gray-200);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.industry-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.industry-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.industry-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.industry-card:hover::after {
  transform: scaleX(1);
}

.industry-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}

.industry-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.industry-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.industry-card .view-jobs {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.industry-card:hover .view-jobs {
  gap: 0.6rem;
}

/* ============================================================
   HOW IT WORKS / PROCESS
   ============================================================ */
.process-section {
  background: var(--dark);
  padding: 5rem 5vw;
  color: var(--white);
}

.process-section .section-header h2 {
  color: var(--white);
}

.process-section .section-header p {
  color: rgba(255, 255, 255, 0.5);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 1.2rem;
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--gray-50);
  padding: 5rem 5vw;
  border-top: 1px solid var(--gray-200);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: box-shadow 0.2s;
}

.testi-card:hover {
  box-shadow: var(--shadow-md);
}

.testi-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testi-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid var(--gray-100);
  padding-top: 1rem;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testi-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

.testi-role {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.1rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #1e3a8a, #1a56db);
  padding: 4rem 5vw;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOR EMPLOYERS SECTION
   ============================================================ */
.employer-section {
  background: var(--gray-50);
  padding: 5rem 5vw;
  border-top: 1px solid var(--gray-200);
}

.employer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.employer-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.employer-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.employer-feature .step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  font-size: 1rem;
}

.employer-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.employer-feature p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.employer-cta {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.employer-cta h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.employer-cta p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.employer-cta .cta-btn-white {
  background: var(--primary);
  color: var(--white);
  display: inline-block;
  margin-bottom: 1rem;
}

.employer-cta .cta-btn-white:hover {
  background: var(--primary-dark);
}

.employer-phone {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
}

.employer-phone a {
  color: var(--primary);
  text-decoration: none;
}

.employer-phone a:hover {
  text-decoration: underline;
}

/* 4-column industry grid */
.industry-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Select styling in forms */
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  color: var(--dark);
  background: var(--white);
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.cta-btn-white {
  background: var(--white);
  color: var(--primary);
  border: none;
  padding: 0.8rem 2rem;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.cta-btn-white:hover {
  background: #f0f4ff;
  transform: translateY(-1px);
}

.cta-btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 0.75rem 2rem;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.cta-btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 5vw 2rem;
}

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

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand .logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 0.95rem;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.modal-header .modal-subtitle {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.modal-close {
  background: var(--gray-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--dark);
}

.modal-body {
  padding: 2rem;
}

/* Job detail modal */
.job-detail-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.detail-item label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  display: block;
  margin-bottom: 0.2rem;
}

.detail-item span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark);
}

.job-detail-desc {
  margin-bottom: 1.5rem;
}

.job-detail-desc h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.job-detail-desc p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.job-detail-desc ul {
  list-style: none;
  margin-top: 0.5rem;
}

.job-detail-desc ul li {
  font-size: 0.88rem;
  color: var(--gray-600);
  padding: 0.35rem 0 0.35rem 1.3rem;
  position: relative;
}

.job-detail-desc ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.modal-actions {
  display: flex;
  gap: 0.8rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.modal-actions .btn-apply {
  flex: 1;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.8rem;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}

.modal-actions .btn-apply:hover {
  background: var(--primary-dark);
}

/* ============================================================
   FORMS (Application / Enquiry)
   ============================================================ */
.apply-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.apply-form .full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-msg {
  grid-column: 1 / -1;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  display: none;
  text-align: center;
}

.form-msg.success {
  display: block;
  background: #d1fae5;
  color: #065f46;
}

.form-msg.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
}

.submit-btn {
  grid-column: 1 / -1;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.85rem;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover {
  background: var(--primary-dark);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .industry-grid {
    grid-template-columns: 1fr 1fr;
  }
  .industry-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .employer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 4vw;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 0.75rem 2rem;
    width: 100%;
    border-radius: 0;
  }
  .nav-links a.nav-cta {
    margin: 0.5rem 1.5rem;
    width: auto;
    text-align: center;
    justify-content: center;
  }
  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 8rem 4vw 3rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .search-container {
    flex-direction: column;
  }
  .search-field::after {
    display: none;
  }
  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .hero-stat .num {
    font-size: 1.4rem;
  }

  .categories-bar {
    padding: 1rem 4vw;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }
  .industry-grid-4 {
    grid-template-columns: 1fr;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }

  .job-card {
    grid-template-columns: 1fr;
  }
  .job-card-right {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .modal {
    margin: 1rem;
  }
  .apply-form {
    grid-template-columns: 1fr;
  }
  .job-detail-info {
    grid-template-columns: 1fr;
  }
}
