/* ============================================
   CAREER PAGE STYLES
   ============================================ */

/* HERO */
.page-hero { position: relative; height: 100vh; min-height: 780px; display: flex; align-items: center; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .section-label, .career-intro  .section-label { color: var(--navy); -webkit-text-fill-color: var(--navy); font-size:0.8rem;}
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(5,13,26,0.92) 0%, rgba(5,13,26,0.75) 50%, rgba(5,13,26,0.5) 100%); }
.page-hero-content { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; width: 100%; padding-top: 80px; padding-bottom: 60px; box-sizing: border-box; }
.page-hero-text { max-width: 750px; width: 100%; }
.page-hero .hero-title .line-1, .page-hero .hero-title .line-2, .page-hero .hero-title .line-3 { display: block; font-size: clamp(52px, 8vw, 112px); color: var(--white); opacity: 0; transform: translateX(-60px); animation: slideInLeft 0.7s ease forwards;}
.page-hero .hero-title .line-1 { animation-delay: 0.2s; }
.page-hero .hero-title .line-2 { animation-delay: 0.35s; }
.page-hero .hero-title .line-3 { animation-delay: 0.5s; }
.page-hero .hero-title .line-4 { display: block; font-size: clamp(52px, 8vw, 112px); opacity: 0; transform: translateX(-60px); animation: slideInLeft 0.7s 0.65s ease forwards; }
@keyframes slideInLeft { to { opacity: 1; transform: translateX(0); } }
.page-hero .hero-sub { font-size: 16; color: var(--off-white); line-height: 1.7; width: 100%; max-width: 540px; margin-bottom: 40px; opacity: 0; animation: fadeIn 0.8s 1s ease forwards; }
@keyframes fadeIn { to { opacity: 0.85; } }

/* INTRO SECTION */
.career-intro {
  background: var(--navy);
  padding: 80px 0;
}

.career-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.career-intro-text p {
  font-size: 17px;
  color: var(--off-black);
  line-height: 1.85;
  margin-bottom: 20px;
}

.career-intro-text p:last-child { margin-bottom: 0; }

.career-pillars {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  padding:30px;
  gap: 0;
}

.career-pillar {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.career-pillar:last-child { border-bottom: none; }

.career-pillar:hover .pillar-icon {
  background: rgba(17,87,200,0.25);
  border-color: var(--border-glow);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  background: rgba(17,87,200,0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: all var(--transition);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.pillar-body h4 {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.pillar-body p {
  font-size: 14px;
  color: var(--off-black);
  line-height: 1.6;
}

/* JOBS SECTION */
.jobs-section {
  background: var(--navy);
  padding: 100px 0;
}

.jobs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 48px;
}

.jobs-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border); 
  border: 1px solid var(--border);
  margin-bottom: 64px;
}

.job-card {
  background: var(--white);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: bottom;
}

.job-card:hover {
  background: rgba(17,87,200,0.06);
}

.job-card:hover::before {
  transform: scaleY(1);
}

.job-info { flex: 1; }

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0, 213, 255, 0.202);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 4px 12px;
  margin-bottom: 12px;
}

.job-tag.skilled { color: #757705; background: rgba(232, 185, 75, 0.37); border-color: rgba(232,184,75,0.2); }
.job-tag.safety { color: #2a4f25; background: rgba(125, 242, 110, 0.257); border-color: rgba(61, 107, 54, 0.2); }

.job-title {
  font-family: var(--font-cond);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--black);
  margin-bottom: 8px;
}

.job-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.job-meta-item {
  font-size: 14px;
  color: var(--off-black);
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.job-apply-btn {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 24px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.job-apply-btn.primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  color: var(--white);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.job-apply-btn.primary:hover {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--cyan) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* APPLY SECTION */
.apply-section {
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 64px;
}

.apply-card {
  background: var(--white);
  padding: 48px 40px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.apply-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.apply-card:hover {
  background: rgba(17,87,200,0.07);
}

.apply-card-icon {
  font-size: 44px;
  margin-bottom: 20px;
  display: block;
}

.apply-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--black);
  margin-bottom: 8px;
}

.apply-card p {
  font-size: 14px;
  color: var(--off-black);
  line-height: 1.7;
  margin-bottom: 28px;
  min-height: 48px;
}

.apply-card a.btn {
  display: inline-flex;
}

.apply-card .apply-note {
  font-size: 14px;
  color: var(--black);
  opacity: 0.6;
  margin-top: 12px;
  min-height: auto;
}

/* CTA BAR */
.career-cta-bar {
  background: linear-gradient(135deg, var(--navy-mid) 1%, var(--blue-deep) 55%);;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.career-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.career-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 2px;
  line-height: 0.95;
  margin-bottom: 12px;
}

.career-cta-inner h2 span { color: var(--white); }

.career-cta-inner p {
  font-size: 16px;
  color: var(--white);
  max-width: 480px;
  line-height: 1.7;
}

.career-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .career-intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .apply-grid { grid-template-columns: 1fr; }
  .jobs-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .career-hero {
    height: auto;
    min-height: 100vh;
  }

  .career-hero-content {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .career-hero-text {
    max-width: 100%;
  }

  .career-hero-text .hero-sub {
    max-width: 100%;
    font-size: 16px;
  }

  .career-hero-stat {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .career-stat-badge {
    flex: 1;
    min-width: 120px;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
  }

  .job-actions {
    width: 100%;
  }

  .job-apply-btn {
    flex: 1;
    justify-content: center;
  }

  .career-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .career-cta-btns {
    width: 100%;
    align-items: center;
  }

  .career-cta-inner p { max-width: 100%; }
}

@media (max-width: 480px) {
  .job-meta { flex-direction: column; gap: 8px; }
  .career-hero-stat { gap: 8px; }
}