/* ==========================================================================
   SELARAS INDONESIA - MODERN DESIGN SYSTEM & STYLESHEET
   Matching reference UI design: Clean, Warm, Trustworthy & Premium
   ========================================================================== */

:root {
  --primary-orange: #fa5a1e;
  --primary-orange-hover: #e34c11;
  --primary-orange-light: #fff2eb;
  --primary-orange-border: #ffd7c7;
  
  --navy-dark: #0f263e;
  --navy-mid: #173659;
  --navy-light: #204b7b;
  --navy-badge: #eaf1f8;
  
  --bg-cream-page: #faf8f5;
  --bg-cream-card: #f6f1ea;
  --bg-cream-tint: #fcfbfa;
  --bg-white: #ffffff;
  
  --text-main: #182230;
  --text-muted: #5e6d82;
  --text-light: #8e9cae;
  
  --border-card: #ebe5db;
  --border-light: #f0ebe1;
  --border-accent: #fcd9cb;

  --shadow-subtle: 0 4px 14px rgba(15, 38, 62, 0.04);
  --shadow-card: 0 10px 25px rgba(15, 38, 62, 0.06);
  --shadow-hover: 0 18px 38px rgba(15, 38, 62, 0.12);
  --shadow-orange: 0 10px 20px rgba(250, 90, 30, 0.28);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

section[id], footer[id] {
  scroll-margin-top: 84px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-cream-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-normal);
}

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

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

.logo-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.logo-brand:hover img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

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

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

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-orange);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(250, 90, 30, 0.25);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-header-cta:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-orange);
}

.mobile-drawer {
  display: none;
}

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

/* ==========================================================================
   HERO SECTION (Matching File 2 Reference Design)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 520px;
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 56px 0 64px 0;
  border-bottom: 1px solid var(--border-light);
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 36%,
    rgba(255, 255, 255, 0.98) 46%,
    rgba(255, 255, 255, 0.65) 58%,
    rgba(255, 255, 255, 0.15) 72%,
    rgba(255, 255, 255, 0) 84%
  );
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero-content {
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-title {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.5px;
}

.hero-title .text-orange {
  color: var(--primary-orange);
}

.hero-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
}

.desktop-only {
  display: block;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-orange);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(250, 90, 30, 0.32);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-hero-primary:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(250, 90, 30, 0.42);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: var(--navy-dark) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 11.5px 22px;
  border-radius: 10px;
  border: 1.5px solid var(--navy-dark);
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.btn-hero-outline:hover {
  border-color: #25d366;
  color: #128c7e !important;
  background-color: #f7fdf9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.16);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-orange);
  color: #ffffff !important;
  font-size: 15.5px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-orange);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(250, 90, 30, 0.35);
}

.btn-outline-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: var(--navy-dark);
  font-size: 15.5px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  border: 1.5px solid #d2dbe5;
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-outline-wa:hover {
  border-color: #25d366;
  color: #128c7e;
  background-color: #f7fdf9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.15);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 38, 62, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background-color: #fcf1e8;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.trust-text {
  display: flex;
  flex-direction: column;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.25;
}

.hero-floating-badge {
  position: absolute;
  right: 24px;
  top: 40px;
  background: #fdf5ec;
  border: 1.5px solid #f6ded0;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 10px 25px rgba(15, 38, 62, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.38;
  text-align: left;
  z-index: 2;
  pointer-events: none;
  animation: floatSubtle 4s ease-in-out infinite alternate;
}

@keyframes floatSubtle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* ==========================================================================
   SECTION 2: CATEGORY CARDS (Pilih Tenaga Kerja)
   ========================================================================== */
.section-categories {
  padding: 64px 0 72px 0;
  background-color: var(--bg-cream-page);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px auto;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

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

.cat-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-accent);
}

.cat-image-box {
  position: relative;
  height: 168px;
  width: 100%;
  overflow: hidden;
  background-color: #eae5dc;
}

.cat-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
}

.cat-card:hover .cat-image-box img {
  transform: scale(1.06);
}

.cat-badge-icon {
  position: absolute;
  bottom: -18px;
  left: 20px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: var(--primary-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(250, 90, 30, 0.35);
  border: 2.5px solid #ffffff;
  z-index: 2;
}

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

.cat-body {
  padding: 26px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.cat-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 18px;
  min-height: 38px;
}

.btn-cat-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--primary-orange);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  width: 100%;
}

.btn-cat-action:hover {
  background-color: var(--primary-orange-hover);
}

.btn-cat-action svg {
  transition: transform var(--transition-fast);
}

.btn-cat-action:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   SECTION 3: CANDIDATE SELECTION CAROUSEL (Pilihan Tenaga Kerja)
   ========================================================================== */
.section-candidates {
  padding: 64px 0 72px 0;
  background-color: var(--bg-cream-page);
}

.candidates-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.link-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-orange);
  font-size: 14.5px;
  font-weight: 700;
  transition: gap var(--transition-fast);
}

.link-see-all:hover {
  gap: 10px;
  color: var(--primary-orange-hover);
}

/* Filter Tabs */
.filter-tabs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.filter-tab-btn {
  background-color: #ffffff;
  color: var(--text-muted);
  border: 1px solid var(--border-card);
  padding: 9px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-tab-btn:hover {
  border-color: var(--primary-orange-border);
  color: var(--primary-orange);
  background-color: var(--primary-orange-light);
}

.filter-tab-btn.active {
  background-color: var(--primary-orange);
  color: #ffffff;
  border-color: var(--primary-orange);
  box-shadow: 0 4px 12px rgba(250, 90, 30, 0.25);
}

/* Filter Header Row (Tabs + Search + Toggle) */
.cand-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cand-search-box {
  position: relative;
  min-width: 260px;
  max-width: 320px;
  width: 100%;
}

.cand-search-box input {
  width: 100%;
  padding: 9px 16px 9px 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
  background-color: #ffffff;
  font-size: 13.5px;
  color: var(--text-main);
  outline: none;
  transition: all var(--transition-fast);
}

.cand-search-box input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px var(--primary-orange-light);
}

.cand-search-box svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

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

.btn-toggle-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-toggle-view:hover,
.btn-toggle-view.active {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  background-color: var(--primary-orange-light);
}

/* Carousel Outer with nav arrows */
.candidate-slider-wrapper {
  position: relative;
  margin: 0 -8px;
}

.candidate-cards-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 12px 4px 24px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  transition: opacity 0.2s ease;
}

.candidate-cards-track .candidate-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 250px;
}

.candidate-cards-track.grid-mode {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  overflow-x: visible;
  padding: 12px 4px 24px 4px;
}

.candidate-cards-track.grid-mode .candidate-card {
  flex: initial;
  min-width: 0;
}

.candidate-cards-track::-webkit-scrollbar {
  display: none;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  color: var(--navy-dark);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.slider-nav-btn:hover {
  background-color: var(--primary-orange);
  color: #ffffff;
  border-color: var(--primary-orange);
}

.slider-nav-btn.prev {
  left: -20px;
}

.slider-nav-btn.next {
  right: -20px;
}

/* Candidate Card */
.candidate-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  min-width: 220px;
}

.candidate-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-accent);
}

.cand-photo-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  background-color: #f1ede6;
  overflow: hidden;
}

.cand-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  transition: transform 0.4s ease;
}

.candidate-card:hover .cand-photo-box img {
  transform: scale(1.05);
}

.cand-badge-ready {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(16, 185, 129, 0.94);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.2px;
}

.cand-info-box {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cand-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.cand-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-dark);
}

.cand-role-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-orange);
  background-color: var(--primary-orange-light);
  border: 1px solid var(--primary-orange-border);
  padding: 2.5px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.cand-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cand-meta .meta-dot {
  color: var(--border-card);
}

.cand-skill-preview {
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 10px;
  background-color: #faf9f6;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.cand-skill-preview strong {
  color: var(--navy-dark);
  font-weight: 700;
}

.cand-stay-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #0369a1;
  background-color: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 4px 9px;
  border-radius: 6px;
  margin-bottom: 14px;
  width: fit-content;
}

.btn-cand-profile {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  color: var(--primary-orange);
  border: 1.5px solid var(--primary-orange-border);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
}

.btn-cand-profile:hover {
  background-color: var(--primary-orange);
  color: #ffffff;
  border-color: var(--primary-orange);
  box-shadow: 0 4px 12px rgba(250, 90, 30, 0.25);
}

.btn-cand-profile svg {
  transition: transform var(--transition-fast);
}

.btn-cand-profile:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   SECTION 4: MENGAPA SELARAS INDONESIA? (Why Choose Us)
   ========================================================================== */
.section-why-us {
  padding: 56px 0 64px 0;
  background-color: var(--bg-cream-page);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.why-feature-card {
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-normal);
  height: 100%;
}

.why-feature-card:hover {
  border-color: var(--primary-orange-border);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 38, 62, 0.08);
}

.why-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: var(--navy-badge);
  color: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 18px;
  transition: all var(--transition-fast);
}

.why-feature-card:hover .why-feature-icon {
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
}

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

.why-feature-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.why-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.35;
  margin: 0 0 8px 0;
}

.why-feature-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   SECTION 5: CARA KERJA (How It Works)
   ========================================================================== */
.section-how-it-works {
  padding: 64px 0 72px 0;
  background-color: var(--bg-cream-page);
}

.steps-flow-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  margin-top: 48px;
}

.step-card {
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  transition: all var(--transition-normal);
}

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

.step-number-tag {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-orange);
  line-height: 1;
}

.step-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--navy-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.step-body {
  display: flex;
  flex-direction: column;
}

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

.step-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.step-connector-arrow {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  z-index: 3;
}

/* ==========================================================================
   SECTION 6: CTA BANNER (Sedang Membutuhkan Tenaga Kerja?)
   ========================================================================== */
.section-cta-banner {
  padding: 0 0 64px 0;
}

.cta-banner-box {
  background-color: #012c5f;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(1, 44, 95, 0.25);
  color: #ffffff;
  position: relative;
  min-height: 200px;
}

.cta-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 58%;
  pointer-events: none;
  z-index: 1;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.cta-content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 44px 34px 380px;
  min-height: 200px;
}

.cta-text-wrapper {
  padding: 24px 0;
}

.cta-heading {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.cta-subtext {
  font-size: 14.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

.cta-action-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.btn-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-orange);
  color: #ffffff !important;
  font-size: 15.5px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px rgba(250, 90, 30, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-cta-wa:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-2px);
}

.cta-action-sub {
  font-size: 12px;
  color: #94a3b8;
}

/* ==========================================================================
   SECTION 7: KONTAK KAMI & LOKASI MESS
   ========================================================================== */
.section-contact-location {
  padding: 68px 0 76px 0;
  background-color: var(--bg-cream-page);
  border-top: 1px solid var(--border-light);
}

.contact-badge-pill {
  display: inline-block;
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
  border: 1px solid var(--primary-orange-border);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.contact-location-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  margin-top: 36px;
  align-items: stretch;
}

.mess-info-card {
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.mess-info-card:hover {
  border-color: var(--primary-orange-border);
  box-shadow: var(--shadow-card);
}

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

.mess-pill-badge {
  background-color: var(--navy-badge);
  color: var(--navy-mid);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mess-status-tag {
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.mess-name-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.mess-company-sub {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 20px;
}

.mess-address-content {
  background-color: var(--bg-cream-tint);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
}

.mess-address-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.mess-address-item svg {
  color: var(--primary-orange);
  margin-top: 3px;
  flex-shrink: 0;
}

.mess-address-item strong {
  display: block;
  font-size: 15px;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.mess-address-item p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.mess-contact-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px 16px;
  background-color: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

.strip-label {
  display: block;
  font-size: 11.5px;
  color: var(--text-light);
  margin-bottom: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.strip-val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-dark);
}

.strip-val-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #16a34a;
  transition: color var(--transition-fast);
}

.strip-val-link:hover {
  color: #15803d;
  text-decoration: underline;
}

.mess-actions-row {
  display: flex;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
}

.btn-maps-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition-fast);
  flex: 1.2;
  min-width: 220px;
  text-align: center;
}

.btn-maps-primary:hover {
  background-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 38, 62, 0.2);
  color: #ffffff;
}

.btn-maps-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25d366;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition-fast);
  flex: 1;
  min-width: 180px;
  text-align: center;
}

.btn-maps-wa:hover {
  background-color: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  color: #ffffff;
}

.mess-map-card {
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.mess-map-frame-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
}

.mess-map-iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.map-overlay-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.map-overlay-pin {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-dark);
}

.map-overlay-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-orange);
}

.map-overlay-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 48px 0 28px 0;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 440px;
}

.footer-brand-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-title-main {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy-dark);
  letter-spacing: 0.5px;
  margin: 0;
}

.footer-title-sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-orange);
  margin: 2px 0 4px 0;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav-links li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.footer-nav-links li a:hover {
  color: var(--primary-orange);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-circle {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background-color: var(--navy-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-circle:hover {
  background-color: var(--primary-orange);
  transform: translateY(-2px);
}

.footer-mid-info {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.footer-keywords {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.footer-contact-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-contact-item {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

.footer-contact-item strong {
  color: var(--navy-dark);
}

.footer-contact-item a {
  color: #16a34a;
  font-weight: 700;
}

.footer-contact-item a:hover {
  text-decoration: underline;
}

.footer-contact-sep {
  color: var(--text-light);
  font-size: 12px;
}

.footer-bottom-copy {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-light);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: #ffffff;
  padding: 12px 20px 12px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition-normal);
  cursor: pointer;
  animation: pulseGreen 2.5s infinite;
}

.floating-whatsapp-widget:hover {
  transform: scale(1.05) translateY(-2px);
  background-color: #20bd5a;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   MODAL DIALOGS (Candidate Profile & Consultation Inquiry)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 38, 62, 0.65);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(10px);
  transition: transform var(--transition-normal);
  position: relative;
}

.modal-overlay.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  background-color: #ffffff;
  z-index: 5;
}

.modal-header-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-dark);
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  transition: background-color var(--transition-fast);
}

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

.modal-body {
  padding: 24px;
}

/* Candidate Detail specific */
.cand-modal-top {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-light);
}

.cand-modal-img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-subtle);
  border: 2px solid var(--border-light);
  flex-shrink: 0;
}

.cand-modal-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cand-modal-code {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background-color: var(--navy-badge);
  color: var(--navy-mid);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.cand-modal-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-dark);
}

.cand-modal-role {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary-orange);
}

.cand-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background-color: var(--bg-cream-card);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.info-point {
  display: flex;
  flex-direction: column;
}

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

.info-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
}

.section-subhead-modal {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 18px 0 10px 0;
}

.skills-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.skill-tag {
  background-color: #f1f5f9;
  color: var(--navy-dark);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cert-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-main);
}

.cert-item svg {
  color: #10b981;
  flex-shrink: 0;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Consultation Form Styles */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--text-main);
  background-color: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px var(--primary-orange-light);
}

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

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Base Scroll & Form Setup */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

section[id] {
  scroll-margin-top: 84px;
}

.candidates-filter-form {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr auto;
  gap: 16px;
  align-items: flex-end;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TABLET LANDSCAPE & SMALL LAPTOPS (<= 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .hero-section {
    padding: 44px 0 52px 0;
  }

  .hero-bg-overlay {
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.98) 46%,
      rgba(255, 255, 255, 0.82) 72%,
      rgba(255, 255, 255, 0.45) 100%
    );
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-floating-badge {
    display: none;
  }

  .hero-buttons {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-trust-row {
    flex-wrap: wrap;
    gap: 20px;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .candidate-cards-track .candidate-card {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 230px;
  }

  .slider-nav-btn.prev {
    left: -12px;
  }

  .slider-nav-btn.next {
    right: -12px;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .steps-flow-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .step-connector-arrow {
    display: none;
  }

  .cta-content-wrapper {
    padding: 28px 28px 28px 300px;
    gap: 20px;
  }

  .cta-heading {
    font-size: 24px;
  }

  .contact-location-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .mess-info-card {
    padding: 24px 20px;
  }

  .footer-top-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
  }

  .candidates-filter-form {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

/* --------------------------------------------------------------------------
   2. TABLET PORTRAIT & LARGE SMARTPHONES (<= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 72px;
  }

  section[id] {
    scroll-margin-top: 72px;
  }

  .container {
    padding: 0 16px;
  }

  /* Header & Navigation */
  .nav-inner {
    height: 72px;
  }

  .logo-brand img {
    height: 40px;
  }

  .nav-menu {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--navy-dark);
    cursor: pointer;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
  }

  .mobile-drawer {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 16px 36px rgba(15, 38, 62, 0.16);
    padding: 20px 16px 24px 16px;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
    transform: translateY(-115%);
    transition: transform var(--transition-normal);
  }

  .mobile-drawer.open {
    transform: translateY(0);
  }

  .mobile-drawer .nav-link {
    font-size: 15.5px;
    font-weight: 600;
    padding: 11px 14px;
    border-radius: 8px;
    color: var(--navy-dark);
    border-bottom: 1px solid var(--bg-cream-card);
    transition: all var(--transition-fast);
  }

  .mobile-drawer .nav-link:hover,
  .mobile-drawer .nav-link.active {
    color: var(--primary-orange);
    background-color: var(--primary-orange-light);
  }

  .mobile-drawer .nav-link.active::after {
    display: none;
  }

  /* General Section Typography */
  section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 24px;
    text-align: center;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  /* Hero Section */
  .hero-section {
    padding: 36px 0 44px 0;
    min-height: auto;
  }

  .hero-bg-img {
    object-position: 68% 10%;
    opacity: 0.95;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.40) 0%,
        rgba(255, 255, 255, 0.65) 42%,
        rgba(255, 255, 255, 0.94) 75%,
        #ffffff 100%
      ),
      linear-gradient(
        90deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0.96) 28%,
        rgba(255, 255, 255, 0.75) 55%,
        rgba(255, 255, 255, 0.15) 85%,
        rgba(255, 255, 255, 0.05) 100%
      );
  }

  .hero-content {
    max-width: 100%;
    position: relative;
    z-index: 2;
  }

  .hero-title {
    font-size: 30px;
    line-height: 1.22;
    text-shadow: 0 1px 16px rgba(255, 255, 255, 0.92);
  }

  .hero-description {
    font-size: 14.5px;
    margin-bottom: 20px;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.92);
  }

  .desktop-only {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 15px;
  }

  /* Hero Trust Card (Clean, Elevated, Non-Scattered) */
  .hero-trust-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 24px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(15, 38, 62, 0.06);
    border-top: 1px solid var(--border-card);
    position: relative;
    z-index: 2;
  }

  .trust-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 14px;
    padding: 10px 0;
    width: 100%;
  }

  .trust-item:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
  }

  .trust-icon-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background-color: #fff4ed;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    flex-shrink: 0;
  }

  .trust-icon-box svg {
    width: 19px;
    height: 19px;
    stroke: var(--primary-orange);
  }

  .trust-text {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 5px;
    row-gap: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.35;
    text-align: left;
    margin: 0;
    flex: 1;
  }

  .trust-text span {
    display: inline;
  }

  /* Categories Grid */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .cat-image-box {
    height: 150px;
  }

  .cat-body {
    padding: 14px;
  }

  .cat-title {
    font-size: 17px;
  }

  .cat-subtitle {
    font-size: 12px;
    min-height: 34px;
    margin-bottom: 12px;
  }

  /* Candidate Section & Carousel */
  .candidates-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }

  .cand-filter-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 20px;
  }

  .filter-tabs-row {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin-bottom: 0;
    scrollbar-width: none;
  }

  .filter-tabs-row::-webkit-scrollbar {
    display: none;
  }

  .filter-tab-btn {
    padding: 8px 18px;
    font-size: 13px;
  }

  .cand-view-actions {
    width: 100%;
    display: flex;
    gap: 10px;
  }

  .cand-search-box {
    min-width: 0;
    flex: 1;
    max-width: 100%;
  }

  .candidate-slider-wrapper {
    margin: 0 -16px;
  }

  .candidate-cards-track {
    padding: 10px 16px 20px 16px;
    scroll-padding: 0 16px;
    scroll-snap-type: x mandatory;
    gap: 14px;
  }

  .candidate-cards-track .candidate-card {
    flex: 0 0 220px;
    min-width: 220px;
    scroll-snap-align: start;
  }

  .slider-nav-btn {
    display: none;
  }

  .candidate-cards-track.grid-mode {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 10px 16px 20px 16px;
  }

  .candidate-cards-track.grid-mode .candidate-card {
    flex: initial;
    min-width: 0;
  }

  .cand-info-box {
    padding: 13px;
  }

  .cand-name {
    font-size: 15px;
  }

  .cand-role-pill {
    font-size: 10.5px;
    padding: 2px 7px;
  }

  .cand-meta {
    font-size: 12px;
  }

  .cand-skill-preview {
    font-size: 12px;
  }

  /* Why Us Grid */
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-feature-card {
    padding: 16px;
    gap: 14px;
  }

  .why-feature-title {
    font-size: 16px;
  }

  .why-feature-desc {
    font-size: 13.5px;
  }

  /* Cara Kerja */
  .steps-flow-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step-card {
    padding: 20px 16px;
  }

  .step-number-tag {
    font-size: 12px;
  }

  /* CTA Banner */
  .cta-banner-box {
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
  }

  .cta-bg-layer {
    position: relative;
    width: 100%;
    height: 190px;
  }

  .cta-content-wrapper {
    padding: 22px 18px 26px 18px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
    min-height: auto;
  }

  .cta-heading {
    font-size: 21px;
  }

  .cta-subtext {
    font-size: 14px;
    max-width: 100%;
  }

  .cta-action-wrapper {
    align-items: center;
    width: 100%;
    gap: 8px;
  }

  .btn-cta-wa {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 13px 20px;
  }

  /* Kontak & Lokasi Mess */
  .contact-location-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mess-info-card {
    padding: 22px 16px;
  }

  .mess-actions-row {
    flex-direction: column;
    gap: 10px;
  }

  .btn-maps-primary,
  .btn-maps-wa {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 12px 16px;
  }

  .mess-map-card {
    height: 290px;
    min-height: 290px;
    border-radius: var(--radius-md);
  }

  /* Footer */
  .main-footer {
    padding: 44px 0 28px 0;
  }

  .footer-top-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer-brand-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer-brand-logo img {
    height: 42px;
    margin: 0 auto;
  }

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

  .footer-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
  }

  .footer-nav-links li span {
    display: none;
  }

  .footer-mid-info {
    margin-top: 22px;
    padding-top: 18px;
    text-align: center;
  }

  .footer-keywords {
    font-size: 11.5px;
  }

  .footer-contact-details {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
  }

  .footer-contact-sep {
    display: none;
  }

  .footer-contact-item {
    font-size: 13px;
    text-align: center;
  }

  .footer-bottom-copy {
    margin-top: 18px;
    padding-top: 14px;
    font-size: 12px;
  }

  /* Floating WhatsApp */
  .floating-whatsapp-widget {
    bottom: 20px;
    right: 16px;
    padding: 11px 18px;
    font-size: 13.5px;
    gap: 8px;
    z-index: 998;
  }

  /* Modals */
  .modal-overlay {
    padding: 12px;
  }

  .modal-dialog {
    max-width: 100%;
    border-radius: var(--radius-md);
    max-height: 94vh;
  }

  .modal-header {
    padding: 16px 18px;
  }

  .modal-header-title {
    font-size: 17px;
  }

  .modal-body {
    padding: 18px 16px;
  }

  .modal-footer {
    padding: 14px 16px;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .modal-footer .btn-primary,
  .modal-footer .btn-outline-wa,
  .modal-footer button,
  .modal-footer a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .cand-modal-top {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .cand-modal-img {
    margin: 0 auto;
    width: 110px;
    height: 110px;
  }

  .cand-modal-main {
    align-items: center;
    text-align: center;
  }

  .cand-modal-name {
    font-size: 20px;
  }

  .cand-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .skills-badge-list {
    justify-content: center;
  }

  /* iOS Safari Auto-Zoom Fix: Minimum 16px on inputs/selects */
  input.form-control,
  select.form-control,
  textarea.form-control {
    font-size: 16px !important;
  }

  /* Candidate Catalog Page (/cari-tenaga) */
  .candidates-filter-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .candidates-filter-form > div:last-child {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .candidates-filter-form .btn-primary,
  .candidates-filter-form .btn-outline-wa {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   3. STANDARD SMARTPHONES (<= 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  html {
    scroll-padding-top: 68px;
  }

  section[id] {
    scroll-margin-top: 68px;
  }

  .container {
    padding: 0 14px;
  }

  .nav-inner {
    height: 68px;
  }

  .logo-brand img {
    height: 36px;
  }

  .mobile-drawer {
    top: 68px;
    max-height: calc(100vh - 68px);
  }

  .hero-section {
    padding: 30px 0 38px 0;
  }

  .hero-bg-img {
    object-position: 68% 8%;
    opacity: 0.95;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.65) 38%,
        rgba(255, 255, 255, 0.95) 70%,
        #ffffff 100%
      ),
      linear-gradient(
        90deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0.97) 25%,
        rgba(255, 255, 255, 0.72) 52%,
        rgba(255, 255, 255, 0.12) 85%,
        rgba(255, 255, 255, 0.04) 100%
      );
  }

  .hero-title {
    font-size: 26px;
    line-height: 1.25;
    text-shadow: 0 1px 16px rgba(255, 255, 255, 0.95);
  }

  .hero-description {
    font-size: 13.5px;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.95);
  }

  .hero-trust-row {
    margin-top: 20px;
    padding: 6px 14px;
    border-radius: 12px;
  }

  .trust-item {
    gap: 12px;
    padding: 9px 0;
  }

  .trust-icon-box {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

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

  .trust-text {
    font-size: 13px;
  }

  .section-title {
    font-size: 23px;
  }

  .section-subtitle {
    font-size: 13.5px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cat-image-box {
    height: 170px;
  }

  .candidate-slider-wrapper {
    margin: 0 -14px;
  }

  .candidate-cards-track {
    padding: 10px 14px 20px 14px;
    scroll-padding: 0 14px;
    gap: 12px;
  }

  .candidate-cards-track .candidate-card {
    flex: 0 0 205px;
    min-width: 205px;
  }

  .candidate-cards-track.grid-mode {
    grid-template-columns: 1fr;
    padding: 10px 14px 20px 14px;
  }

  .cand-photo-box {
    aspect-ratio: 1 / 1.12;
  }

  .mess-map-card {
    height: 250px;
    min-height: 250px;
  }

  .mess-name-title {
    font-size: 19px;
  }

  .mess-address-item {
    font-size: 13px;
  }

  .cta-bg-layer {
    height: 160px;
  }

  .cta-heading {
    font-size: 19px;
  }

  .toast-notice {
    width: calc(100% - 32px);
    font-size: 13px;
    padding: 12px 18px;
  }

  .floating-whatsapp-widget {
    bottom: 16px;
    right: 14px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .floating-whatsapp-widget svg {
    width: 20px;
    height: 20px;
  }
}

/* --------------------------------------------------------------------------
   4. COMPACT SMARTPHONES (<= 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .hero-title {
    font-size: 23px;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    font-size: 14px;
    padding: 12px 16px;
  }

  .candidate-cards-track .candidate-card {
    flex: 0 0 190px;
    min-width: 190px;
  }

  .filter-tab-btn {
    padding: 7px 14px;
    font-size: 12.5px;
  }

  .cta-heading {
    font-size: 18px;
  }

  .btn-cta-wa {
    font-size: 14px;
    padding: 11px 16px;
  }
}

