
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}
.benefit-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(45, 106, 79, 0.3);
  background-color: var(--light-green-bg);
}
.benefit-icon {
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: 12px;
  transition: var(--transition-bounce);
}
.benefit-card:hover .benefit-icon { 
  transform: scale(1.15) rotate(6deg); 
}
.benefit-title { 
  font-size: 0.875rem; 
  font-weight: 700; 
  color: var(--navy-text); 
  margin-bottom: 4px; 
}
.benefit-desc { 
  font-size: 0.75rem; 
  color: var(--text-muted); 
}
#openPositions {
  margin-top: 70px;
  scroll-margin-top: 90px;
}
.jobs-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  margin-bottom: 60px;
}
.jobs-layout > div { min-width: 0; }

.jobs-list { 
  display: flex; 
  flex-direction: column; 
  gap: 16px; 
}
.jobs-empty {
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
}

.job-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.job-card:hover {
  border-color: var(--primary-green);
  box-shadow: var(--shadow-hover);
}
.job-info { 
  display: flex; 
  align-items: flex-start; 
  gap: 16px; 
  min-width: 0; 
}
.job-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--light-green-bg);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.job-card:hover .job-icon { 
  background-color: var(--primary-green); 
  color: #FFFFFF; 
}
.job-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy-text);
  margin: 0 0 4px;
  transition: color 0.2s ease;
}
.job-card:hover .job-title { 
  color: var(--primary-green); 
}
.job-location { 
  font-size: 0.8125rem; 
  color: var(--text-muted); 
  margin-bottom: 8px; 
}
.job-tags { 
  display: flex; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 8px; 
}
.job-tag {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-light);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-text);
  border: 1px solid var(--border-color);
}

.job-actions { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  flex-shrink: 0; 
}
.job-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  border: 1.5px solid var(--primary-green);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.job-btn:focus-visible { 
  outline: 3px solid rgba(45, 106, 79, 0.35); 
  outline-offset: 2px; 
}
.job-btn-view { 
  background: transparent; 
  color: var(--primary-green); 
}
.job-btn-view:hover { 
  background: var(--light-green-bg); 
}
.job-btn-apply { 
  background: var(--primary-green); 
  color: #FFFFFF; 
}
.job-btn-apply:hover { 
  background: var(--dark-green); 
  border-color: var(--dark-green); 
}

.why-emc-box {
  background: linear-gradient(135deg, var(--bg-light) 0%, #FFFFFF 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
}
.why-emc-title { 
  font-size: 1.25rem; 
  font-weight: 800; 
  color: var(--navy-text); 
  margin-bottom: 16px; 
}
.why-emc-list { 
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
}
.why-emc-item { 
  display: flex; 
  align-items: flex-start; 
  gap: 12px; 
}
.why-emc-icon { 
  color: var(--primary-green); 
  font-size: 1.25rem; 
  flex-shrink: 0; 
}
body.jm-lock { 
  overflow: hidden; 
}
.jm-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 30, 41, 0.6);
}
.jm-overlay.open { 
  display: flex; 
}

.jm-dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  padding: 32px;
  outline: none;
  animation: jmIn 0.2s ease;
}
@keyframes jmIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.jm-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--navy-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.jm-close:hover { 
  background: var(--light-green-bg); 
  color: var(--primary-green); 
}
.jm-head { 
  padding-right: 40px; 
  margin-bottom: 20px; 
}
.jm-title { 
  font-size: 1.5rem; 
  font-weight: 800; 
  color: var(--navy-text); 
  margin: 0 0 6px; 
}
.jm-content h4 { 
  font-size: 0.9375rem; 
  font-weight: 800; 
  color: var(--navy-text); 
  margin: 18px 0 6px; 
}
.jm-content p, .jm-content li { 
  font-size: 0.9rem; 
  line-height: 1.7; 
  color: var(--text-body); 
}
.jm-content ul { 
  padding-left: 20px; 
  margin: 0; 
}

.jm-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.jm-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy-text);
}
.jm-form input, .jm-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-body);
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm, 8px);
  box-sizing: border-box;
}
.jm-form input:focus, .jm-form textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}
.jm-note { 
  font-size: 0.75rem; 
  color: var(--text-muted); 
  margin: 0; 
}
.jm-error { 
  margin-top: 10px; 
  font-size: 0.8125rem; 
  font-weight: 600; 
  color: #B42318; 
}
.jm-success p { 
  font-size: 0.9375rem; 
  color: var(--text-body); 
  line-height: 1.7; 
}

@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .jobs-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .job-card { flex-direction: column; align-items: stretch; }
  .job-actions { width: 100%; }
  .job-btn { flex: 1; text-align: center; }
  .jobs-layout .search-box { width: 100%; }
  .jm-overlay { padding: 0; align-items: flex-end; }
  .jm-dialog { max-width: none; max-height: 92vh; border-radius: 20px 20px 0 0; padding: 24px 20px; }
  .jm-footer .job-btn { flex: 1; }
}

[data-theme="dark"] .job-card,
[data-theme="dark"] .jm-dialog,
[data-theme="dark"] .jm-form input,
[data-theme="dark"] .jm-form textarea { background: #16232d; }

.job-modal-inner { 
  padding: 40px; 
}
.jd-tags { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 8px; 
  margin-bottom: 12px; 
}
.jd-tag-dept { 
  background: var(--light-green-bg); 
  color: var(--primary-green); 
  font-weight: 700; 
}
.jd-title { 
  font-size: 1.875rem; 
  font-weight: 800; 
  color: var(--navy-text); 
  margin: 0 0 8px; 
  line-height: 1.25; 
}
.jd-meta { 
  font-size: 0.9375rem; 
  color: var(--text-muted); 
  margin-bottom: 20px; 
}
.jd-desc { 
  font-size: 1rem; 
  line-height: 1.7; 
  color: var(--text-body); 
  margin: 0 0 28px; 
  max-width: 70ch; }
.jd-cols { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 28px; 
  margin-bottom: 36px; 
}
.jd-block h4 {
  font-size: 1rem; font-weight: 800; color: var(--navy-text);
  margin: 0 0 12px; padding-bottom: 10px;
  border-bottom: 2px solid var(--light-green-bg);
}
.jd-block ul { 
  margin: 0; 
  padding: 0; 
  list-style: none; 
}
.jd-block li {
  position: relative; 
  padding-left: 22px; 
  margin-bottom: 10px;
  font-size: 0.9375rem; 
  line-height: 1.6; 
  color: var(--text-body);
}
.jd-block li::before {
  content: ""; 
  position: absolute; 
  left: 0; 
  top: 0.55em;
  width: 8px; 
  height: 8px; 
  border-radius: 50%;
  background: var(--primary-green);
}

.apply-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.apply-head {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 28px;
  background: var(--dark-green);
  color: #FFFFFF;
}
.apply-head-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}
.apply-head h3 { 
  margin: 0 0 2px; 
  font-size: 1.1875rem; 
  font-weight: 800; 
  color: #FFFFFF; 
}
.apply-head p { 
  margin: 0; 
  font-size: 0.8125rem; 
  color: rgba(255, 255, 255, 0.75); 
}
.apply-form { 
  padding: 28px; 
  display: flex; 
  flex-direction: column; 
  gap: 18px; 
}
.apply-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 18px; 
}
.apply-field { 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
}
.apply-field > span { 
  font-size: 0.8125rem; 
  font-weight: 700; 
  color: var(--navy-text); 
}
.apply-field > span b { 
  color: #B42318; 
  font-weight: 700; 
}
.apply-field input,
.apply-field textarea {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px;
  font-family: inherit; font-size: 0.9375rem; color: var(--text-body);
  background: var(--bg-light);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.apply-field textarea { 
  resize: vertical; 
  min-height: 110px; 
  line-height: 1.6; 
}
.apply-field input::placeholder,
.apply-field textarea::placeholder { 
  color: var(--text-muted); 
  opacity: 0.8; 
}
.apply-field input:hover,
.apply-field textarea:hover { 
  border-color: rgba(45, 106, 79, 0.45); 
}
.apply-field input:focus,
.apply-field textarea:focus {
  outline: none; background: #FFFFFF;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.14);
}

.apply-actions { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
  flex-wrap: wrap; 
}
.apply-submit {
  padding: 13px 28px;
  font-family: inherit; font-size: 0.9375rem; font-weight: 800;
  color: #FFFFFF; background: var(--primary-green);
  border: 0; border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.apply-submit:hover { 
  background: var(--dark-green); 
  box-shadow: 0 6px 16px rgba(45, 106, 79, 0.3); 
}
.apply-submit:focus-visible { 
  outline: 3px solid rgba(45, 106, 79, 0.35); 
  outline-offset: 2px; 
}
.apply-submit:disabled { 
  opacity: 0.65; 
  cursor: not-allowed; 
  box-shadow: none; 
}
.apply-note { 
  font-size: 0.75rem; 
  color: var(--text-muted); 
}
.apply-msg { 
  padding: 12px 14px; 
  border-radius: 10px; 
  font-size: 0.875rem; 
  font-weight: 600; 
  line-height: 1.5; 
}
.apply-msg.ok  { 
  background: var(--light-green-bg); 
  color: var(--primary-green); 
}
.apply-msg.err { 
  background: #FEF3F2; 
  color: #B42318; }
@media (max-width: 700px) {
  .job-modal-inner { padding: 24px 18px; }
  .jd-title { font-size: 1.5rem; }
  .jd-cols, .apply-row { grid-template-columns: 1fr; }
  .apply-head, .apply-form { padding: 20px 18px; }
  .apply-submit { width: 100%; }
}
