/* ==========================================================================
   PEOPLEBRÜCKE RECRUITMENT PARTNERS - COMPONENT STYLES
   Fully Responsive for Mobile (< 640px), Tablet (640-1023px), & Desktop (1024px+)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Header & Primary Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96); /* Crisp luminous glassmorphic white */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-obsidian);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  width: 100%;
  gap: 0.75rem;
}

.brand-logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-obsidian);
  flex-shrink: 0;
  height: 100%;
}

.brand-logo-subtext {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #2563EB;
  text-transform: uppercase;
  margin-top: 5px;
  display: block;
  line-height: 1;
  text-align: center;
  width: 100%;
}

.desktop-nav {
  display: none;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav-list {
  display: flex;
  height: 100%;
  align-items: center;
  white-space: nowrap;
}

.desktop-nav-item {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.desktop-nav-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155; /* Slate 700 - high contrast and readability on white */
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.desktop-nav-link:hover,
.desktop-nav-link.active {
  color: var(--color-brand-blue);
  border-bottom-color: var(--color-brand-blue);
}

.nav-divider {
  width: 1px;
  height: 24px;
  background-color: rgba(15, 23, 42, 0.12);
  margin: 0 0.35rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .header-actions {
    gap: 0.75rem;
  }
}

/* Secondary Explore Button on Light Header */
.header-btn-secondary {
  display: none;
  border-color: #cbd5e1;
  color: #1e293b;
  background: #ffffff;
}

@media (min-width: 768px) {
  .header-btn-secondary {
    display: inline-flex;
  }
}

.header-btn-secondary:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

/* Secondary Button in Form Mode (Pointing back up to Candidate Registry) */
.header-btn-secondary.is-form-mode {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
  font-weight: 600;
}

.header-btn-secondary.is-form-mode:hover {
  background: #dbeafe;
  color: #1e40af;
  border-color: #3b82f6;
}

.header-btn-secondary .toggle-btn-arrow {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.25s ease;
  font-weight: 700;
}

/* Floating Section Toggle Button (Mobile < 768px) */
.floating-jobs-toggle {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 998;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f172a;
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  cursor: pointer;
}

.floating-jobs-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.floating-jobs-toggle.is-form-mode {
  background: #2563eb;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.floating-jobs-toggle.is-form-mode:hover {
  background: #1d4ed8;
  box-shadow: 0 8px 26px rgba(37, 99, 235, 0.5);
  color: #ffffff;
}

@media (min-width: 768px) {
  .floating-jobs-toggle {
    display: none !important;
  }
}

/* Scroll Margins for Smooth Section Navigation */
#sec-join-us,
#sec-openings {
  scroll-margin-top: calc(var(--header-height, 72px) + 16px);
}

/* Primary Header Action Button */
.header-btn-primary {
  padding: 0.5rem 0.9rem;
  font-size: 0.8125rem;
  min-height: 38px;
}

@media (min-width: 640px) {
  .header-btn-primary {
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
    min-height: 42px;
  }
}

.header-search-btn {
  background: none;
  border: none;
  color: #334155;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
  min-width: 40px;
  min-height: 40px;
}

.header-search-btn:hover {
  color: var(--color-brand-blue);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #0f172a; /* Dark hamburger icon for high contrast on light header */
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 310px;
  max-width: 88vw;
  height: 100%;
  background: var(--color-obsidian-dark);
  color: var(--color-white);
  z-index: 1000;
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-xl);
  transition: right var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 8px;
  font-size: 1.35rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-drawer-link {
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-drawer-link:hover {
  color: var(--color-sky);
}

.mobile-drawer-cta {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --- Mobile Drawer Accordion --- */
.drawer-accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.65rem 0;
  min-height: 48px;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.drawer-accordion-trigger:hover {
  color: var(--color-sky);
}

.drawer-acc-icon {
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.7;
}

.drawer-accordion-trigger[aria-expanded="true"] .drawer-acc-icon {
  transform: rotate(180deg);
  opacity: 1;
}

.drawer-accordion-trigger[aria-expanded="true"] {
  color: var(--color-sky);
}

.drawer-accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.28s ease;
  opacity: 0;
}

.drawer-accordion-body.open {
  max-height: 200px;
  opacity: 1;
}

.mobile-drawer-sub-link {
  display: flex;
  align-items: center;
  padding: 0.6rem 0 0.6rem 1rem;
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-sky);
  border-left: 2px solid rgba(96, 165, 250, 0.35);
  margin-left: 0.25rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.mobile-drawer-sub-link:hover {
  color: var(--color-white);
  border-left-color: var(--color-sky);
}

/* --------------------------------------------------------------------------
   2. Main Landing Hero Banner (Left-Aligned Executive Layout)
   -------------------------------------------------------------------------- */
.hero-banner {
  position: relative;
  background-color: var(--color-obsidian-dark);
  background: radial-gradient(100% 85% at 25% 15%, #15233c 0%, #0c1322 55%, var(--color-obsidian-dark) 100%);
  color: var(--color-white);
  padding: 4.5rem 0 4rem 0;
  overflow: hidden;
  text-align: left;
}

@media (min-width: 768px) {
  .hero-banner {
    padding: 6rem 0 5rem 0;
  }
}

@media (min-width: 1024px) {
  .hero-banner {
    padding: 7.5rem 0 6.5rem 0;
  }
}

.hero-ambient-glow {
  position: absolute;
  top: 10%;
  left: 10%;
  width: min(850px, 92vw);
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(29, 99, 255, 0.22) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 72%);
  filter: blur(65px);
  pointer-events: none;
  z-index: 1;
}

.hero-centered-content,
.hero-aligned-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-title,
.hero-title-centered {
  font-size: clamp(2.3rem, 5.8vw, 4.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--color-white);
  margin: 0 0 1.5rem 0;
  max-width: 880px;
  text-align: left;
}

.hero-title .text-highlight-blue,
.hero-title-centered .text-highlight-blue {
  color: var(--color-brand-blue);
  display: inline-block;
  text-shadow: 0 0 35px rgba(29, 99, 255, 0.45);
}

.hero-subtitle,
.hero-subtitle-centered {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(244, 244, 244, 0.88);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 0 2.25rem 0;
  font-weight: 400;
  text-align: left;
}

.hero-cta-group,
.hero-cta-centered {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 420px;
  margin: 0 0 2.5rem 0;
  justify-content: flex-start;
  align-items: flex-start;
}

@media (min-width: 520px) {
  .hero-cta-group,
  .hero-cta-centered {
    flex-direction: row;
    max-width: none;
    width: auto;
    gap: 1.25rem;
  }
}

.hero-cta-group .btn,
.hero-cta-centered .btn {
  padding: 0.65rem 1.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 42px;
  justify-content: center;
}

.hero-trust-badges,
.hero-trust-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 0.5rem;
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.trust-badge-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(80, 189, 255, 0.35);
  color: white;
}

.trust-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  flex-shrink: 0;
}

.hero-svg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-card {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(29, 99, 255, 0.35) 100%),
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600" viewBox="0 0 800 600"><rect width="800" height="600" fill="%230f172a"/><g opacity="0.2"><circle cx="400" cy="300" r="280" fill="none" stroke="%231d63ff" stroke-width="2"/><circle cx="400" cy="300" r="180" fill="none" stroke="%2360a5fa" stroke-width="1.5"/><circle cx="400" cy="300" r="80" fill="none" stroke="%231d63ff" stroke-width="1"/></g><path d="M150,450 L300,200 L500,350 L650,150" fill="none" stroke="%231d63ff" stroke-width="3.5" opacity="0.5"/><circle cx="650" cy="150" r="8" fill="%231d63ff"/><circle cx="500" cy="350" r="6" fill="%2360a5fa"/><circle cx="300" cy="200" r="6" fill="%231d63ff"/></svg>');
  background-size: cover;
  background-position: center;
}

.hero-floating-stat {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 5;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(29, 99, 255, 0.4);
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  max-width: 300px;
}

@media (min-width: 640px) {
  .hero-floating-stat {
    right: auto;
    bottom: 2rem;
    left: 2rem;
    padding: 1.25rem 1.5rem;
  }
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-brand-blue);
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--color-cloud);
  margin-top: 6px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   3. Pitch Deck Numbers & Metrics Block (Slide 8)
   -------------------------------------------------------------------------- */
.metrics-section {
  background-color: var(--color-brand-blue);
  color: var(--color-white);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.metric-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .metric-card {
    padding-bottom: 0;
    border-bottom: none;
  }
}

.metric-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}

.metric-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
}

.metric-desc {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. Sticky Floating Sub-Nav (STRICTLY ONE HORIZONTAL LINE)
   -------------------------------------------------------------------------- */
.sticky-subnav {
  position: sticky;
  top: 0;
  z-index: 45;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-darken-gray);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.sticky-subnav-container {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: var(--sticky-nav-height);
  width: 100%;
}

/* Sticky header logo — only show on desktop where there's room */
.sticky-brand-logo {
  display: none;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-obsidian);
  flex-shrink: 0;
  padding-right: 1rem;
  border-right: 1px solid var(--color-darken-gray);
  margin-right: 0.5rem;
  line-height: 1;
}

@media (min-width: 1024px) {
  .sticky-brand-logo {
    display: flex;
  }
}

.sticky-brand-wordmark {
  font-size: 1.15rem !important;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--color-obsidian-dark) !important;
  line-height: 1;
}

.sticky-brand-wordmark .brand-u {
  color: var(--color-brand-blue);
}

.sticky-brand-subtext {
  font-size: 0.48rem !important;
  letter-spacing: 0.14em;
  color: var(--color-steel) !important;
  margin-top: 2px;
  font-weight: 600;
}

.sticky-subnav-links {
  display: none;
  gap: 0;
  align-items: center;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

.sticky-subnav-links::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .sticky-subnav-links {
    display: flex;
    flex-wrap: nowrap;
  }
}

.sticky-subnav-item {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-obsidian);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.sticky-subnav-item:hover {
  color: var(--color-brand-blue);
  background-color: var(--color-cloud);
}

.sticky-subnav-item.active {
  color: var(--color-brand-blue);
  border-bottom-color: var(--color-brand-blue);
  font-weight: 700;
}

/* Mobile Sticky Dropdown Bar */
.sticky-subnav-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
}

@media (min-width: 1024px) {
  .sticky-subnav-mobile {
    display: none;
  }
}

.sticky-mobile-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-obsidian);
  cursor: pointer;
  padding: 0 0.5rem;
  text-align: left;
  min-height: 48px;
}

.sticky-mobile-top-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  border-left: 1px solid var(--color-darken-gray);
  padding: 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-obsidian);
  cursor: pointer;
  height: 50px;
  min-height: 48px;
}

.sticky-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--color-white);
  border-top: 1px solid var(--color-darken-gray);
  padding: 0.5rem 0;
  max-height: 60vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.sticky-mobile-menu.open {
  display: flex;
}

.sticky-mobile-link {
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-obsidian);
  font-weight: 500;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-cloud-light);
}

.sticky-mobile-link.active,
.sticky-mobile-link:hover {
  color: var(--color-brand-blue);
  background-color: var(--color-cloud);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. The 4 Peoplebrücke Pillars (Slide 9-13)
   -------------------------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.pillar-card {
  background: var(--color-white);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--color-darken-gray);
  border-top: 4px solid var(--color-brand-blue);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  border-radius: var(--radius-sm);
}

@media (min-width: 768px) {
  .pillar-card {
    padding: 2rem 1.5rem;
  }
}

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

.pillar-number {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-brand-blue);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.pillar-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-obsidian);
}

.pillar-headline {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5b. 4 Pillars Competitor Comparison Matrix
   -------------------------------------------------------------------------- */
.diff-comparison-wrap {
  max-width: 1060px;
  margin: 0 auto;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  overflow-x: auto;
}

.diff-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 700px;
}

.diff-table thead tr {
  background: #0f172a;
  color: white;
}

.diff-table th {
  padding: 1.25rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.diff-table th.col-pb {
  background: linear-gradient(135deg, #1d63ff 0%, #2563eb 100%);
  color: white;
}

.diff-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.2s ease;
}

.diff-table tbody tr:last-child {
  border-bottom: none;
}

.diff-table tbody tr:hover {
  background-color: #f8fafc;
}

.diff-table td {
  padding: 1.25rem 1.5rem;
  vertical-align: top;
  font-size: 0.95rem;
  line-height: 1.55;
}

.diff-table td.dimension-cell {
  font-weight: 700;
  color: #0f172a;
  width: 25%;
}

.diff-table td.col-pb-cell {
  background: rgba(37, 99, 235, 0.035);
  border-left: 2px solid rgba(37, 99, 235, 0.2);
  border-right: 2px solid rgba(37, 99, 235, 0.2);
  font-weight: 500;
  color: #0f172a;
  width: 40%;
}

.diff-table td.col-comp-cell {
  color: #64748b;
  width: 35%;
}

.diff-icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  font-weight: 800;
  font-size: 0.8rem;
  margin-right: 0.6rem;
  flex-shrink: 0;
}

.diff-icon-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  font-weight: 700;
  font-size: 0.75rem;
  margin-right: 0.6rem;
  flex-shrink: 0;
}

/* Responsive Mobile Card View for 4 Pillars Competitor Comparison Matrix */
@media (max-width: 768px) {
  .diff-comparison-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    overflow-x: visible;
  }

  .diff-table {
    min-width: 100%;
    display: block;
  }

  .diff-table thead {
    display: none;
  }

  .diff-table tbody {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }

  .diff-table tbody tr {
    display: block;
    background: #ffffff;
    border: 1px solid var(--color-border-subtle);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  }

  .diff-table td {
    display: block;
    width: 100% !important;
    padding: 1.25rem 1.15rem;
  }

  .diff-table td.dimension-cell {
    background: #0f172a;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.95rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .diff-table td.col-pb-cell {
    background: rgba(37, 99, 235, 0.05);
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
  }

  .diff-table td.col-pb-cell::before {
    content: "★ PEOPLEBRÜCKE ADVANTAGE";
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #2563eb;
    margin-bottom: 0.5rem;
  }

  .diff-table td.col-comp-cell {
    background: #f8fafc;
    position: relative;
  }

  .diff-table td.col-comp-cell::before {
    content: "✕ COMMODITY / VOLUME AGENCIES";
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
  }
}

/* 4 Pillars Card Layout */
.pillar-item-card {
  background: white;
  border-radius: 8px;
  border: 1px solid var(--color-border-subtle);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  border-left: 6px solid var(--color-brand-blue);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.pillar-numeral {
  font-family: var(--font-brand);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-brand-blue);
  line-height: 1;
}

@media (max-width: 768px) {
  .pillar-item-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    gap: 1rem;
    border-left-width: 5px;
  }
  .pillar-numeral {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.08);
    margin-bottom: 0.25rem;
  }
}

/* --- Responsive Form Row Utilities --- */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.form-row-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.form-row-custom-2col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

@media (max-width: 640px) {
  .form-row-2col,
  .form-row-3col,
  .form-row-custom-2col {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
  }

  /* Touch-friendly inputs and iOS auto-zoom prevention across all forms */
  .modal-body input,
  .modal-body select,
  .modal-body textarea,
  #home-contact-form input,
  #home-contact-form select,
  #home-contact-form textarea,
  #form-general-registry input,
  #form-general-registry select,
  #form-general-registry textarea,
  #form-manpower-proposal input,
  #form-manpower-proposal select,
  #form-manpower-proposal textarea,
  .jobs-filter-bar input,
  .jobs-filter-bar select {
    font-size: 16px !important;
    min-height: 44px;
  }
}

/* --- Responsive Job Board Filter Bar --- */
.jobs-filter-bar {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border-subtle);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 1rem;
  align-items: flex-end;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.jobs-filter-actions {
  padding-top: 0;
}

.jobs-filter-actions .btn {
  height: 44px;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.jobs-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .jobs-filter-bar {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.25rem;
  }

  .jobs-filter-actions .btn {
    width: 100%;
  }

  .jobs-status-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* --- Refined Executive Job Card Layout --- */
.job-card-refined {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid var(--color-brand-blue);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.job-card-refined:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 0.85rem;
}

.job-card-header-left {
  flex: 1;
}

.job-card-header-right {
  flex-shrink: 0;
  display: none;
}

@media (min-width: 768px) {
  .job-card-header-right {
    display: block;
  }
}

.job-badge-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.job-badge-sector {
  background: rgba(29, 99, 255, 0.08);
  color: var(--color-brand-blue);
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.job-badge-type {
  background: #f1f5f9;
  color: #334155;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
}

.job-badge-ref {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
}

.job-card-title {
  font-size: 1.35rem;
  color: #0f172a;
  margin-bottom: 0.65rem;
  font-weight: 700;
  line-height: 1.3;
}

.job-meta-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #475569;
}

.job-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.job-meta-item.highlight {
  font-weight: 600;
  color: var(--color-brand-blue);
}

.job-card-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0.85rem 0;
}

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  gap: 1rem;
  flex-wrap: wrap;
}

.job-tags-list {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.job-tag-pill {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
}

.mobile-apply-btn {
  display: block;
  width: 100%;
}

@media (min-width: 768px) {
  .mobile-apply-btn {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. Outsourced Manpower Solutions (New Section)
   -------------------------------------------------------------------------- */
.manpower-section {
  background: linear-gradient(135deg, var(--color-obsidian-dark) 0%, #1e293b 100%);
  color: var(--color-white);
}

.manpower-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .manpower-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .manpower-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.manpower-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

@media (min-width: 768px) {
  .manpower-card {
    padding: 1.75rem 1.5rem;
  }
}

.manpower-card:hover {
  background: rgba(29, 99, 255, 0.12);
  border-color: var(--color-brand-blue);
  transform: translateY(-3px);
}

.manpower-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-blue);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.manpower-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.65rem;
}

.manpower-card p {
  font-size: 0.875rem;
  color: rgba(244, 244, 244, 0.8);
  line-height: 1.6;
}

.manpower-cta-group {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 640px) {
  .manpower-cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    width: auto;
  }
}

.manpower-cta-group .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .manpower-cta-group .btn {
    width: auto;
  }
}

/* --------------------------------------------------------------------------
   7. Two-Column Media & Mission Cards
   -------------------------------------------------------------------------- */
.two-column-media {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .two-column-media {
    flex-direction: row-reverse;
    gap: 3.5rem;
    align-items: center;
  }
}

.two-column-media .media-col {
  width: 100%;
  flex: 1;
}

.two-column-media .text-col {
  width: 100%;
  flex: 1;
}

.mission-problem-card {
  background: var(--color-obsidian-dark);
  color: white;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-brand-blue);
}

@media (min-width: 768px) {
  .mission-problem-card {
    padding: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   8. Section 2: Career Paths & Sectors Grid with Filter
   -------------------------------------------------------------------------- */
.filter-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .filter-toolbar {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
  }
}

.filter-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-obsidian);
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
}

@media (min-width: 640px) {
  .custom-select-wrapper {
    width: auto;
    min-width: 260px;
  }
}

.custom-select {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-brand-blue);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  appearance: none;
  cursor: pointer;
  min-height: 44px;
}

.custom-select:focus {
  border-color: var(--color-brand-blue);
  outline: none;
}

.custom-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-brand-blue);
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 1.25rem;
  }
}

.career-discipline-card {
  background: var(--color-white);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--color-brand-blue);
  border-left: 1px solid var(--color-darken-gray);
  border-right: 1px solid var(--color-darken-gray);
  border-bottom: 1px solid var(--color-darken-gray);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.career-discipline-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-sky);
}

.career-discipline-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-obsidian);
}

.career-discipline-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* --------------------------------------------------------------------------
   9. Section 3: Live UAE Job Board & Search Engine
   -------------------------------------------------------------------------- */
.job-board-container {
  background-color: var(--color-white);
  border: 1px solid var(--color-darken-gray);
  box-shadow: var(--shadow-md);
  padding: 1.25rem 1rem;
  margin-top: 1.5rem;
  border-radius: var(--radius-sm);
}

@media (min-width: 768px) {
  .job-board-container {
    padding: 2rem;
  }
}

.job-search-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .job-search-bar {
    grid-template-columns: 2fr 1.2fr 1.2fr auto;
    margin-bottom: 1.75rem;
  }
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-group svg {
  position: absolute;
  left: 14px;
  color: var(--color-text-muted);
}

.search-input-group input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid var(--color-border-subtle);
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  min-height: 44px;
}

.search-input-group input:focus {
  border-color: var(--color-brand-blue);
  outline: none;
}

.job-select-filter {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border-subtle);
  font-size: 0.9375rem;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  min-height: 44px;
}

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

.job-card {
  border: 1px solid var(--color-darken-gray);
  padding: 1.25rem 1rem;
  background: var(--color-white);
  transition: all var(--transition-base);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  border-radius: var(--radius-sm);
}

@media (min-width: 768px) {
  .job-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.5rem;
  }
}

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

.job-card.featured {
  border-left: 4px solid var(--color-brand-blue);
  background: linear-gradient(to right, rgba(29, 99, 255, 0.03), transparent);
}

.job-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

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

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.job-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-dark);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.job-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.job-card-actions {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  align-items: stretch;
  width: 100%;
}

@media (min-width: 768px) {
  .job-card-actions {
    flex-direction: column;
    min-width: 140px;
    width: auto;
  }
}

.job-card-actions .btn-apply-job {
  flex: 1;
}

@media (min-width: 768px) {
  .job-card-actions .btn-apply-job {
    flex: none;
    width: 100%;
  }
}

.btn-bookmark {
  background: none;
  border: 1px solid var(--color-border-subtle);
  padding: 0.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
}

.btn-bookmark:hover,
.btn-bookmark.saved {
  color: var(--color-brand-blue);
  border-color: var(--color-brand-blue);
  background-color: var(--color-brand-blue-light);
}

/* --------------------------------------------------------------------------
   10. Benefits & Standards (8-Card Grid)
   -------------------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3.5rem;
  }
}

.benefit-card {
  display: flex;
  flex-direction: column;
}

.benefit-icon-wrapper {
  width: 52px;
  height: 52px;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-blue);
}

.benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.benefit-card p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. Location Finder
   -------------------------------------------------------------------------- */
.location-finder-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

@media (min-width: 1024px) {
  .location-finder-layout {
    flex-direction: row;
    gap: 3.5rem;
  }
}

.location-accordion-col {
  flex: 1;
}

.location-detail-col {
  flex: 1;
}

.location-accordion-item {
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--color-darken-gray);
  margin-bottom: 0.5rem;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
}

.location-accordion-item:hover,
.location-accordion-item.active {
  background-color: var(--color-white);
  border-color: var(--color-brand-blue);
}

.location-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.15rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-obsidian);
  cursor: pointer;
  min-height: 48px;
}

.location-detail-card {
  background: var(--color-white);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--color-darken-gray);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-sm);
}

@media (min-width: 768px) {
  .location-detail-card {
    padding: 2rem;
  }
}

.location-info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--color-obsidian);
}

.location-info-row svg {
  color: var(--color-brand-blue);
  flex-shrink: 0;
  margin-top: 4px;
}

/* Contact Cards Grid */
.contact-cards-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .contact-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background: var(--color-cloud);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-brand-blue);
}

@media (min-width: 768px) {
  .contact-card {
    padding: 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-obsidian-dark);
  color: var(--color-cloud);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@media (min-width: 640px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
  }
}

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

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

.footer-links-list a {
  color: rgba(244, 244, 244, 0.75);
  font-size: 0.875rem;
  display: inline-block;
  padding: 2px 0;
  min-height: 28px;
}

.footer-links-list a:hover {
  color: var(--color-sky);
}

.social-icons-list,
.footer-social-links {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.social-icon-btn,
.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 244, 244, 0.85);
  transition: all var(--transition-fast, 0.2s ease);
  text-decoration: none;
  flex-shrink: 0;
}

.social-icon-btn:hover,
.footer-social-icon:hover {
  background: var(--color-brand-blue, #0056B3);
  border-color: var(--color-brand-blue, #0056B3);
  color: var(--color-white, #ffffff);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.35);
}

.footer-social-icon svg,
.social-icon-btn svg {
  width: 17px;
  height: 17px;
  display: block;
}

.footer-bottom,
.footer-bottom-bar {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(244, 244, 244, 0.6);
}

@media (min-width: 768px) {
  .footer-bottom,
  .footer-bottom-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --- Responsive Contact & Commercial Form Layouts --- */
.contact-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form-card {
  background: var(--color-cloud);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border-subtle);
}

.contact-offices-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.manpower-form-card {
  padding: 3rem;
}

@media (max-width: 960px) {
  .contact-grid-2col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }
  .manpower-form-card {
    padding: 2rem 1.25rem !important;
  }
}

@media (max-width: 640px) {
  .contact-form-card {
    padding: 1.25rem 1rem !important;
  }
  .manpower-form-card {
    padding: 1.25rem 1rem !important;
  }
  .join-registry-card {
    padding: 1.25rem 1rem !important;
  }
}

/* --------------------------------------------------------------------------
   13. Modals, Steps & Collapsible Guidelines
   -------------------------------------------------------------------------- */
.modal-step {
  display: none;
}
.modal-step.active {
  display: block;
  animation: fadeInStep 0.25s ease forwards;
}

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

.jd-view-container {
  padding: 0.25rem 0;
}

.jd-top-action-bar {
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.jd-bottom-action-bar {
  margin-top: 1.25rem;
  padding-top: 0.5rem;
}

.btn-proceed-to-form {
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 86, 179, 0.22);
  transition: all var(--transition-fast, 0.2s ease);
}

.btn-proceed-to-form:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 86, 179, 0.32);
}

.jd-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.jd-meta-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  background: var(--color-cloud);
  color: var(--color-obsidian);
  border: 1px solid var(--color-border-subtle);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.jd-content-body {
  font-size: 0.92rem;
  color: var(--color-text-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 0.5rem;
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: 1.25rem;
}

.jd-content-body h4 {
  font-size: 1rem;
  color: var(--color-obsidian);
  margin: 1.25rem 0 0.5rem 0;
}

.jd-content-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.jd-content-body li {
  margin-bottom: 0.35rem;
  color: var(--color-text-muted);
}

/* Collapsible Accordion Box */
.collapsible-box {
  background: var(--color-cloud);
  border: 1px solid var(--color-border-subtle);
  border-radius: 6px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.collapsible-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--color-obsidian);
  cursor: pointer;
  text-align: left;
}

.collapsible-trigger:hover {
  background: rgba(0,0,0,0.02);
}

.collapsible-icon {
  transition: transform 0.2s ease;
  font-size: 0.8rem;
}

.collapsible-box.open .collapsible-icon {
  transform: rotate(180deg);
}

.collapsible-content {
  display: none;
  padding: 0.75rem 1rem 1rem 1rem;
  border-top: 1px solid var(--color-border-subtle);
  font-size: 0.825rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.collapsible-box.open .collapsible-content {
  display: block;
}

/* Practices Grid (3-in-a-row on desktop, mobile horizontal swipe) */
.practices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .practices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .practices-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding-bottom: 1.25rem !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin;
  }
  .practices-grid::-webkit-scrollbar {
    height: 4px;
  }
  .practices-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }
  .practices-grid > div {
    flex: 0 0 86% !important;
    max-width: 330px !important;
    scroll-snap-align: center !important;
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--color-white);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0);
}

.modal-header {
  padding: 1.25rem 1.25rem;
  border-bottom: 1px solid var(--color-darken-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .modal-header {
    padding: 1.5rem 2rem;
  }
}

.modal-body {
  padding: 1.25rem 1.25rem;
}

@media (min-width: 768px) {
  .modal-body {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .modal-backdrop {
    padding: 0.5rem !important;
    align-items: flex-end !important;
  }

  .modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 94vh !important;
    margin: 0 auto !important;
    border-radius: 14px 14px 0 0 !important;
    box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.25) !important;
  }

  .modal-header {
    padding: 0.85rem 1rem !important;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 10;
  }

  .modal-header .pre-heading {
    font-size: 0.68rem !important;
    letter-spacing: 0.08em;
  }

  #apply-mandate-title {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
  }

  .modal-close-btn {
    min-width: 40px !important;
    min-height: 40px !important;
    font-size: 1.35rem !important;
  }

  .modal-body {
    padding: 0.85rem 0.85rem 1.75rem 0.85rem !important;
  }

  /* Critical Mobile Optimization: Seamless scroll without secondary inner trap */
  .jd-top-action-bar {
    margin-bottom: 0.75rem !important;
    padding-bottom: 0.65rem !important;
  }

  .btn-proceed-to-form {
    font-size: 0.9rem !important;
    padding: 0.8rem 1rem !important;
    min-height: 48px !important;
  }

  .jd-meta-pills {
    gap: 0.35rem !important;
    margin-bottom: 0.85rem !important;
  }

  .jd-meta-pill {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.5rem !important;
  }

  .jd-content-body {
    max-height: none !important;
    overflow-y: visible !important;
    padding-right: 0 !important;
    font-size: 0.875rem !important;
    line-height: 1.65 !important;
    margin-bottom: 1rem !important;
  }

  .jd-content-body h4,
  .jd-content-body h3 {
    font-size: 0.95rem !important;
    margin-top: 1rem !important;
  }

  .jd-bottom-action-bar {
    margin-top: 1rem !important;
    padding-top: 0.75rem !important;
  }

  /* Step 2 Form Navigation & Inputs on Mobile */
  #btn-back-to-jd {
    width: 100% !important;
    justify-content: center !important;
    min-height: 42px !important;
    font-size: 0.82rem !important;
    padding: 0.5rem 1rem !important;
  }

  .form-row-2col,
  .form-row-3col,
  .form-row-custom-2col {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  .modal-body input,
  .modal-body select,
  .modal-body textarea {
    font-size: 16px !important; /* Prevents iOS auto-zoom */
    min-height: 46px !important;
    padding: 0.65rem 0.75rem !important;
  }

  .resume-dropzone-container .dropzone {
    padding: 1.25rem 0.75rem !important;
  }

  #btn-submit-application {
    min-height: 50px !important;
    font-size: 1rem !important;
    width: 100% !important;
  }
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-muted);
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--color-obsidian);
}

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

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

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .form-row-2col {
    grid-template-columns: 1fr 1fr;
  }
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border-subtle);
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  min-height: 44px;
}

.form-control:focus {
  border-color: var(--color-brand-blue);
  outline: none;
}

.dropzone {
  border: 2px dashed var(--color-border-subtle);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  background-color: var(--color-cloud-light);
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
}

@media (min-width: 640px) {
  .dropzone {
    padding: 2rem;
  }
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--color-brand-blue);
  background-color: var(--color-brand-blue-light);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: 16px;
  max-width: 400px;
  margin-left: auto;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

@media (min-width: 768px) {
  .toast-container {
    left: auto;
    bottom: 24px;
    right: 24px;
  }
}

.toast {
  background: var(--color-obsidian-dark);
  color: var(--color-white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--color-brand-blue);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s ease;
  pointer-events: auto;
}

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

@media (min-width: 768px) {
  @keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }
}

/* Floating Placeholder Toolbar */
.placeholder-toolbar {
  position: fixed;
  bottom: 12px;
  left: 12px;
  z-index: 900;
  background: var(--color-obsidian-dark);
  color: var(--color-white);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-brand-blue);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .placeholder-toolbar {
    bottom: 20px;
    left: 20px;
    padding: 10px 16px;
    font-size: 0.8125rem;
    gap: 12px;
  }
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

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

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #475569;
  transition: .3s;
  border-radius: 20px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--color-brand-blue);
}

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

/* ==========================================================================
   Candidate Application Dropzone & Alert Feedback UX
   ========================================================================== */

.application-alert {
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: fadeInDown 0.3s ease;
}

.application-alert-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

.application-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.application-alert h4 {
  margin: 0 0 0.35rem 0;
  font-size: 1rem;
  font-weight: 700;
}

.application-alert p {
  margin: 0 0 0.75rem 0;
}

.application-alert .btn-alert-reset {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.application-alert .btn-alert-reset:hover {
  background: #bbf7d0;
}

.resume-dropzone {
  border: 2px dashed rgba(29, 99, 255, 0.4);
  border-radius: 8px;
  background: #f8fafc;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.resume-dropzone:hover,
.resume-dropzone:focus-visible {
  border-color: var(--color-brand-blue);
  background: #eff6ff;
  outline: none;
}

.resume-dropzone.dropzone-dragover {
  border-color: #1d63ff;
  background: #dbeafe;
  box-shadow: 0 0 0 4px rgba(29, 99, 255, 0.15);
  transform: scale(1.01);
}

.dropzone-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--color-brand-blue);
}

.dropzone-text {
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 0.25rem;
}

.dropzone-subtext {
  font-size: 0.75rem;
  color: #64748b;
}

.dropzone-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.preview-file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  overflow: hidden;
}

.preview-icon {
  font-size: 1.35rem;
  color: var(--color-brand-blue);
}

.preview-filename {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-filesize {
  font-size: 0.75rem;
  color: #64748b;
}

.btn-remove-file {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-remove-file:hover {
  color: #ef4444;
  background: #fee2e2;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

