@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-hover: rgba(255, 255, 255, 0.95);
  --border-glass: rgba(160, 32, 54, 0.08);
  --border-glass-glow: rgba(160, 32, 54, 0.25);
  
  --primary: #A02036; /* Mexican Red */
  --primary-glow: rgba(160, 32, 54, 0.12);
  --secondary: #f4a700; /* Amber Gold */
  --accent-grad: linear-gradient(135deg, #A02036 0%, #c42d47 100%);
  --accent-grad-hover: linear-gradient(135deg, #801829 0%, #A02036 100%);
  
  --text-primary: #0f172a; /* Slate 900 */
  --text-secondary: #334155; /* Slate 700 */
  --text-muted: #64748b; /* Slate 500 */
  
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(160, 32, 54, 0.04), 0 2px 6px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 40px rgba(160, 32, 54, 0.07), 0 10px 15px rgba(0, 0, 0, 0.02);
  --shadow-glow: 0 0 25px rgba(160, 32, 54, 0.1);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

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

/* --- REUSABLE UTILITIES --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.glass-panel:hover {
  border-color: var(--border-glass-glow);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* --- BUTTON SYSTEM --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent-grad);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background: var(--accent-grad-hover);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.15);
  transform: translateY(-2px);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(13, 148, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

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

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

/* --- HEADER & NAVIGATION --- */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-icon {
  background: var(--accent-grad);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.4);
}

nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-grad);
  transition: var(--transition-normal);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Dropdown Navigation */
.nav-links li {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  border: 1px solid rgba(160, 32, 54, 0.08);
  border-radius: 12px;
  padding: 12px 0;
  min-width: 260px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  z-index: 1002;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition-fast);
}

.dropdown-menu a:hover {
  background-color: var(--bg-secondary);
  color: var(--primary);
  padding-left: 24px;
}

.dropdown-menu a::after {
  display: none !important; /* No underbar for dropdown items */
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    background: transparent;
    border: none;
    padding-left: 20px;
    display: block;
    margin-top: 5px;
    min-width: auto;
  }
  .dropdown-menu a {
    padding: 8px 0;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  position: absolute;
  transition: var(--transition-normal);
}

.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 11px; }
.mobile-toggle span:nth-child(3) { top: 22px; }

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 11px;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 80% 20%, rgba(160, 32, 54, 0.07) 0%, transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(244, 167, 0, 0.04) 0%, transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: slideUp 0.8s ease-out;
}

.badge-corporate {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.2);
  color: #14b8a6;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulseGlow 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
}

.stat-item h3 {
  font-size: 2.25rem;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Hero Interactive Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease-out 0.2s both;
}

.interactive-mesh {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 60%);
}

.mesh-globe {
  position: absolute;
  width: 85%;
  height: 85%;
  border-radius: 50%;
  border: 1px dashed var(--border-glass-glow);
  top: 7.5%;
  left: 7.5%;
  animation: float 6s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.floating-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-glow);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.floating-card.c1 { top: 10%; left: -5%; }
.floating-card.c2 { bottom: 20%; right: -5%; }
.floating-card.c3 { bottom: 5%; left: 15%; }

.fc-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-grad);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.fc-text h4 {
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

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

/* --- GEOGRAPHIC HUB SECTION --- */
section {
  padding: 100px 0;
  position: relative;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.geo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.geo-card {
  position: relative;
  overflow: hidden;
  padding: 3rem;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border-glass);
}

.geo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-grad);
}

.geo-country-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.geo-flag-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border-glass);
}

.geo-flag {
  font-size: 1.5rem;
}

.geo-flag-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.geo-hubs {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.geo-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.geo-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.98rem;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
}

.compliance-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.compliance-icon {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 0.1rem;
}

.compliance-info h4 {
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.compliance-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- STAFFING SOLUTIONS (SERVICES) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(13, 148, 136, 0.2);
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.service-card:hover .service-link {
  color: var(--secondary);
}

/* --- DYNAMIC JOB BOARD --- */
.job-board-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.job-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
}

.filter-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2);
}

.search-box {
  position: relative;
  min-width: 280px;
  flex-grow: 0.3;
}

.search-box input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  border-radius: 9999px;
  color: var(--text-primary);
  outline: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.07);
}

.search-box .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  min-height: 350px;
}

.job-card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.job-card.hidden {
  display: none !important;
}

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

.job-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.job-tag.full-time {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.job-tag.contract {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.job-meta-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.job-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.job-company {
  font-size: 0.88rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.job-details {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.job-details li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-details li i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.25rem;
}

.job-salary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.job-salary span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.job-card-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.no-jobs-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.no-jobs-msg i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

/* --- STAFFING CALCULATOR --- */
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

.calc-panel {
  padding: 3rem;
}

.calc-group {
  margin-bottom: 2.25rem;
}

.calc-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.calc-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.calc-option-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 1rem 0.75rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-fast);
}

.calc-option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.calc-option-btn.active {
  background: rgba(160, 32, 54, 0.08);
  border-color: var(--primary);
  color: var(--text-primary);
  box-shadow: 0 0 15px rgba(160, 32, 54, 0.1);
}

.range-slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.range-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.range-slider-header span.val-glow {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
}

.slider-input {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-tertiary);
  outline: none;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-grad);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(160, 32, 54, 0.3);
  transition: var(--transition-fast);
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Calculator Output Panel */
.calc-result-panel {
  padding: 3rem;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(160, 32, 54, 0.04) 100%);
  border: 1px solid var(--border-glass-glow);
  border-radius: 20px;
  text-align: center;
  position: sticky;
  top: 120px;
}

.calc-result-header {
  margin-bottom: 2.5rem;
}

.calc-result-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-est-cost {
  font-size: 3.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin: 0.5rem 0;
  color: var(--text-primary);
}

.calc-est-timeline {
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 600;
}

.calc-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.calc-metric-item h4 {
  font-size: 1.35rem;
  color: var(--text-primary);
}

.calc-metric-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.calc-result-panel .btn {
  width: 100%;
}

/* --- MULTI-STEP EMPLOYER FORM --- */
section#inquiry {
  position: relative;
  overflow: hidden;
}

/* Floating High-Tech Glowing Orbs behind the form container */
section#inquiry::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 32, 54, 0.06) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: float 12s ease-in-out infinite;
}

section#inquiry::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 167, 0, 0.04) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: float 15s ease-in-out infinite reverse;
}

.employer-form-wrapper {
  max-width: 850px;
  margin: 0 auto;
  padding: 4rem;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(160, 32, 54, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(160, 32, 54, 0.04), 0 0 40px rgba(0, 0, 0, 0.02);
  transition: var(--transition-slow);
}

.employer-form-wrapper:hover {
  border-color: rgba(160, 32, 54, 0.2);
  box-shadow: 0 30px 60px rgba(160, 32, 54, 0.08), 0 0 50px rgba(160, 32, 54, 0.04);
}

.form-steps-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 4.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-steps-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--bg-tertiary);
  z-index: 1;
  transform: translateY(-50%);
  border-radius: 9999px;
}

.form-steps-line-progress {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-grad);
  z-index: 2;
  transform: translateY(-50%);
  transition: var(--transition-normal);
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(160, 32, 54, 0.3);
}

.step-indicator-bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  z-index: 3;
  transition: var(--transition-normal);
  color: var(--text-muted);
  position: relative;
  cursor: default;
}

.step-indicator-bubble span {
  position: absolute;
  bottom: -28px;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: var(--transition-normal);
}

.step-indicator-bubble.active {
  border-color: var(--primary);
  background: var(--bg-primary);
  color: var(--primary);
  box-shadow: 0 0 25px rgba(160, 32, 54, 0.25);
  transform: scale(1.08);
}

.step-indicator-bubble.active span {
  color: var(--text-primary);
  font-weight: 700;
}

.step-indicator-bubble.completed {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 15px rgba(13, 148, 136, 0.3);
}

.step-indicator-bubble.completed span {
  color: var(--secondary);
}

.form-step {
  display: none;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-step.active {
  display: block;
}

.form-step-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.form-step-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 0.98rem;
  border-left: 2px solid var(--primary);
  padding-left: 0.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
  letter-spacing: 0.01em;
  transition: var(--transition-fast);
}

.form-group:focus-within label {
  color: var(--secondary);
  letter-spacing: 0.03em;
}

.form-control {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 0.95rem 1.35rem;
  border-radius: 12px;
  color: var(--text-primary);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

.form-control:hover {
  background: #ffffff;
  border-color: rgba(160, 32, 54, 0.3);
}

.form-control:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 15px rgba(160, 32, 54, 0.12);
}

/* Custom styled caret for select elements */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.1rem;
  padding-right: 3rem;
  cursor: pointer;
}

select.form-control:focus {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2306b6d4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Validation Visual Error Glow */
.form-control.invalid {
  border-color: var(--error) !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.35) !important;
  background: rgba(239, 68, 68, 0.02);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.form-navigation .btn {
  padding: 0.85rem 2.25rem;
}

/* Form success message */
.form-success-box {
  text-align: center;
  padding: 5rem 2rem;
}

.form-success-icon {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 2px solid var(--success);
  color: var(--success);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  margin-bottom: 2.25rem;
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.3);
  animation: float 4s ease-in-out infinite;
}

.form-success-box h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.form-success-box p {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.7;
}


/* --- TESTIMONIALS SLIDER --- */
.testimonials-slider-wrapper {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.testimonial-card {
  padding: 3.5rem;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 2rem;
  left: 2.5rem;
  font-size: 4rem;
  color: rgba(160, 32, 54, 0.06);
  font-family: serif;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 2.25rem;
  position: relative;
  z-index: 2;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--border-glass-glow);
}

.author-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.slider-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--primary);
  color: var(--text-primary);
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  cursor: pointer;
  transition: var(--transition-normal);
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* --- FOOTER --- */
footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px;
  position: relative;
}

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

.footer-logo-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.social-link:hover {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

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

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-info-item i {
  color: var(--primary);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* --- JOB APPLICATION MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 12, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 580px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass-glow);
  border-radius: 20px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex-grow: 1;
}

.modal-job-details {
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
  margin-bottom: 1.5rem;
}

.modal-job-title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.modal-job-meta {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 500;
}

/* Modal Form Custom File Input */
.file-upload-wrapper {
  position: relative;
  width: 100%;
}

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

.file-upload-design {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-glass);
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.file-upload-design i {
  font-size: 1.75rem;
  color: var(--primary);
}

.file-upload-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.file-upload-input:hover + .file-upload-design {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.04);
}

/* Modal Footer */
.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  background: var(--bg-tertiary);
}

.modal-success-screen {
  text-align: center;
  padding: 3rem 1.5rem;
}

.modal-success-icon {
  width: 70px;
  height: 70px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  animation: float 4s ease-in-out infinite;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-stats {
    margin-bottom: 0;
  }
  
  .geo-grid {
    grid-template-columns: 1fr;
  }
  
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .calc-result-panel {
    position: static;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
  }
  
  .mobile-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 2rem;
    gap: 2.5rem;
    transition: var(--transition-normal);
    z-index: 999;
    border-top: 1px solid var(--border-glass);
    overflow-y: auto;
  }
  
  nav.active {
    left: 0;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }
  
  .nav-links a {
    font-size: 1.15rem;
    padding: 0.75rem 0;
  }
  
  .nav-actions {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
  }
  
  .nav-actions .btn {
    width: 100%;
  }
  
  .hero {
    padding-top: 140px;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  
  .job-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group {
    justify-content: center;
  }
  
  .search-box {
    width: 100%;
  }
  
  .calc-options {
    grid-template-columns: 1fr;
  }
  
  .calc-panel {
    padding: 1.75rem;
  }
  
  .calc-result-panel {
    padding: 2rem 1.5rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .form-steps-indicator {
    margin-bottom: 2.5rem;
  }
  
  .step-indicator-bubble span {
    display: none;
  }
  
  .testimonial-card {
    padding: 2rem 1.25rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* --- KEY SERVICES (OVERFLOW CARD LAYOUT) --- */
.key-services-container {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, #7d1527 100%);
  border-radius: 24px;
  padding: 60px 40px 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 100px;
  box-shadow: 0 20px 40px rgba(160, 32, 54, 0.15);
}

.key-service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.key-service-img-wrapper {
  position: relative;
  width: 100%;
  margin-top: -120px; /* Pulls the image up over the container */
  margin-bottom: 2rem;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1.15;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 4px solid #ffffff;
  transition: var(--transition-normal);
}

.key-service-img-wrapper:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}

.key-service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.key-service-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: auto;
}

@media (max-width: 992px) {
  .key-services-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 40px;
    padding: 40px 20px;
  }
  .key-service-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .key-service-img-wrapper {
    margin-top: 0 !important;
    margin-bottom: 1.5rem;
    max-width: 100%;
    border-radius: 12px;
    border: none;
  }
  .key-service-title {
    font-size: 1.15rem;
    margin-top: 0.5rem;
  }
}

/* ==========================================
   SUBPAGE & ALTERNATING COLUMNS SYSTEM
   ========================================== */

/* Subpage Banner */
.subpage-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #7d1525 100%);
  padding: 100px 0 80px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  margin-top: 80px; /* Account for sticky header height */
}

.subpage-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(244, 167, 0, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.subpage-banner h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  animation: fadeInUp 0.8s ease forwards;
}

.subpage-banner .subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

/* Subpage Content Alternating Rows */
.subpage-content {
  padding: 20px 0;
}

.alternating-row {
  padding: 80px 0;
  border-bottom: 1px solid #f1f5f9;
}

.alternating-row:last-child {
  border-bottom: none;
}

.alternating-row:nth-child(even) {
  background-color: var(--bg-secondary);
}

.alternating-grid {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.alternating-row:nth-child(even) .alternating-grid {
  flex-direction: row-reverse;
}

.row-image {
  flex: 1.1;
  position: relative;
}

.row-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-normal);
}

.row-image img:hover {
  transform: translateY(-5px);
}

.row-text {
  flex: 1.2;
}

.row-text h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.row-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.row-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

/* Support two column list layout if the list has many items */
.row-text ul.two-col-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
}

.row-text li {
  position: relative;
  padding-left: 28px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
}

.row-text li::before {
  content: '\f058'; /* FontAwesome check-circle */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--primary);
  font-size: 1.15rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .alternating-grid {
    gap: 3rem;
  }
  .row-text h2 {
    font-size: 1.85rem;
  }
}

@media (max-width: 768px) {
  .subpage-banner {
    padding: 70px 0 50px;
    margin-top: 70px;
  }
  .subpage-banner h1 {
    font-size: 2.25rem;
  }
  .subpage-banner .subtitle {
    font-size: 1rem;
    padding: 0 15px;
  }
  .alternating-grid {
    flex-direction: column !important;
    gap: 2.5rem;
  }
  .row-image, .row-text {
    width: 100%;
  }
  .row-image img {
    max-height: 300px;
  }
  .row-text ul.two-col-list {
    grid-template-columns: 1fr;
  }
  .alternating-row {
    padding: 50px 0;
  }
}

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

/* ==========================================
   INTERACTIVE JOB BOARD & MODAL STYLES
   ========================================== */

/* Job Filter Bar */
.job-filter-wrapper {
  background: #ffffff;
  border: 1px solid rgba(160, 32, 54, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  margin-bottom: 2.5rem;
}

.job-filter-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr auto auto;
  gap: 1rem;
  align-items: flex-end;
}

.job-filter-grid .form-group {
  margin-bottom: 0;
}

.job-filter-grid label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.btn-reset {
  background: var(--bg-tertiary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-secondary);
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-reset:hover {
  background: var(--primary-glow);
  color: var(--primary);
  border-color: rgba(160, 32, 54, 0.15);
}

/* Job Listings Grid */
.job-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.job-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
  min-height: 320px;
}

.job-card:hover {
  border-color: rgba(160, 32, 54, 0.15);
  box-shadow: 0 10px 25px rgba(160, 32, 54, 0.03);
  transform: translateY(-2px);
}

.job-card-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.job-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.job-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.job-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.job-tag.perm {
  background-color: rgba(160, 32, 54, 0.08);
  color: var(--primary);
}

.job-tag.temp {
  background-color: rgba(244, 167, 0, 0.12);
  color: #c48300;
}

.job-meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

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

.job-meta-item i {
  color: var(--primary);
  font-size: 0.95rem;
}

.job-card-action {
  margin-left: 0;
  width: 100%;
}

/* Empty State */
.job-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-secondary);
  border-radius: 16px;
  border: 1px dashed rgba(0, 0, 0, 0.08);
}

.job-empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.job-empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.job-empty-state p {
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
}

/* Modal Overlay & Card */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(160, 32, 54, 0.08);
  width: 100%;
  max-width: 580px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transform: translateY(30px);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary) 0%, #7d1525 100%);
  padding: 1.75rem 2rem;
  color: #ffffff;
  position: relative;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.modal-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-top: 4px;
  margin-bottom: 0;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-body {
  padding: 2rem;
}

.file-upload-drag {
  border: 2px dashed rgba(160, 32, 54, 0.15);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  text-align: center;
  background: var(--bg-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-bottom: 1.5rem;
}

.file-upload-drag:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
}

.file-upload-drag i {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.file-upload-drag p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.file-upload-drag span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .job-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .job-filter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .job-filter-grid .form-group.keywords {
    grid-column: span 2;
  }
  .job-filter-grid .filter-actions {
    display: flex;
    gap: 10px;
    grid-column: span 2;
  }
  .job-filter-grid .filter-actions button, 
  .job-filter-grid .filter-actions a {
    flex: 1;
    height: 46px;
  }
}

@media (max-width: 768px) {
  .job-list-grid {
    grid-template-columns: 1fr;
  }
  .job-card {
    min-height: auto;
  }
  .job-filter-grid {
    grid-template-columns: 1fr;
  }
  .job-filter-grid .form-group.keywords {
    grid-column: span 1;
  }
  .job-filter-grid .filter-actions {
    grid-column: span 1;
  }
}

/* --- LOCATION SWITCHER DROPDOWN SYSTEM --- */
.location-dropdown {
  position: relative;
}

.location-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.location-toggle:hover {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
  border-color: rgba(160, 32, 54, 0.15);
}

header.scrolled .location-toggle {
  background: var(--bg-secondary);
}

.location-menu {
  min-width: 140px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(10px);
}

.dropdown:hover .location-menu {
  transform: translateX(-50%) translateY(0) !important;
}

.location-menu li a {
  padding: 10px 16px !important;
  font-size: 0.88rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  border-radius: 6px;
  margin: 0 4px;
}

.location-menu li a:hover {
  color: var(--primary) !important;
  background-color: var(--bg-secondary) !important;
  padding-left: 20px !important;
}

/* Hide Elements Based on Location Context */
body.location-sg [data-loc-hide="sg"] {
  display: none !important;
}
body.location-my [data-loc-hide="my"] {
  display: none !important;
}

/* Adjustments on Mobile Nav */
@media (max-width: 768px) {
  .location-dropdown {
    width: 100%;
  }
  .location-toggle {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem;
  }
  .location-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    display: none;
    margin-top: 5px;
    min-width: auto !important;
  }
  .location-dropdown.active .location-menu,
  .location-dropdown:hover .location-menu {
    display: block !important;
  }
}

.footer-contact-desks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (max-width: 768px) {
  .footer-contact-desks {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- SIMPLIFIED CONSULTATION FORM OVERRIDES --- */
#employer-consultation-form .form-step-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

#employer-consultation-form .form-step-subtitle {
  border-left: none;
  padding-left: 0;
  text-align: center;
  margin-bottom: 2rem;
}

#employer-consultation-form .form-navigation {
  justify-content: center;
  margin-top: 2rem;
  border-top: none;
  padding-top: 0;
}

#employer-consultation-form #form-submit-btn {
  width: 100%;
  max-width: 300px;
}

#inquiry .employer-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem;
}
