/* ==========================================================================
   BESTEC MARINE ENGINEERING - CAREERS PORTAL STYLESHEET
   Inspired by Landspect SG Modern Corporate Architecture
   ========================================================================== */

/* Careers Hero Section */
.career-hero {
  padding: 30px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #edf4fc 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

body.dark-mode .career-hero {
  background: linear-gradient(135deg, #071224 0%, #0c1c38 100%);
  border-bottom: 1px solid rgba(0, 168, 255, 0.15);
}

.career-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 100, 161, 0.1);
  border: 1px solid rgba(28, 100, 161, 0.3);
  color: #1c64a1;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
}

body.dark-mode .career-hero-badge {
  background: rgba(0, 168, 255, 0.15);
  border-color: rgba(0, 168, 255, 0.35);
  color: #38bdf8;
}

.career-hero-title {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  color: #092a4b;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

body.dark-mode .career-hero-title {
  color: #ffffff;
}

.career-hero-title span {
  color: #0077cc;
  background: linear-gradient(135deg, #0077cc 0%, #00a8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.career-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.career-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

body.dark-mode .career-bullets li {
  color: #94a3b8;
}

.career-bullet-dot {
  width: 8px;
  height: 8px;
  background: #0077cc;
  transform: rotate(45deg);
  margin-top: 8px;
  flex-shrink: 0;
  border-radius: 1px;
}

body.dark-mode .career-bullet-dot {
  background: #00a8ff;
  box-shadow: 0 0 8px rgba(0, 168, 255, 0.6);
}

.career-hero-image-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(9, 42, 75, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

body.dark-mode .career-hero-image-wrap {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 168, 255, 0.2);
}

.career-hero-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.career-hero-image-wrap:hover .career-hero-image {
  transform: scale(1.04);
}

.career-hero-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(9, 42, 75, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.career-hero-badge-overlay i {
  color: #38bdf8;
  font-size: 18px;
}

/* Open Positions Section (Landspect SG Style) */
.career-positions-section {
  padding: 60px 0 75px 0;
  background: #ffffff;
}

body.dark-mode .career-positions-section {
  background: #08101f;
}

.positions-header-left {
  max-width: 680px;
}

.positions-subtitle {
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

body.dark-mode .positions-subtitle {
  color: #38bdf8;
}

.positions-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #092a4b;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

body.dark-mode .positions-title {
  color: #ffffff;
}

/* Talent Network Card (Right Header Side like Landspect) */
.talent-network-card {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .talent-network-card {
  background: linear-gradient(135deg, #0f1d38 0%, #13274e 100%);
  border-color: rgba(0, 168, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.talent-network-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 168, 255, 0.18);
}

.talent-network-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #2563eb;
  margin-bottom: 4px;
  display: block;
}

body.dark-mode .talent-network-tag {
  color: #38bdf8;
}

.talent-network-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

body.dark-mode .talent-network-title {
  color: #f8fafc;
}

.talent-network-desc {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.55;
  margin: 0;
}

body.dark-mode .talent-network-desc {
  color: #94a3b8;
}

.btn-talent-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0077cc;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 3px 12px rgba(0, 119, 204, 0.3);
}

.btn-talent-submit:hover {
  background: #0099ff;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(0, 153, 255, 0.45);
}

/* Job Cards List (Landspect SG Inspired) */
.job-cards-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 36px;
}

.job-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

body.dark-mode .job-card {
  background: #0c1830;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
}

.job-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 168, 255, 0.4);
  box-shadow: 0 12px 35px rgba(0, 168, 255, 0.12);
}

.job-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.job-badge-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0369a1;
  background: #e0f2fe;
  padding: 4px 12px;
  border-radius: 30px;
}

body.dark-mode .job-badge-category {
  background: rgba(0, 168, 255, 0.15);
  color: #38bdf8;
}

.job-badge-type {
  font-size: 11px;
  font-weight: 600;
  color: #15803d;
  background: #dcfce7;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

body.dark-mode .job-badge-type {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.job-title {
  font-size: 20px;
  font-weight: 800;
  color: #092a4b;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

body.dark-mode .job-title {
  color: #ffffff;
}

.job-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
}

body.dark-mode .job-desc {
  color: #94a3b8;
}

.job-requirements-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #334155;
  margin-bottom: 8px;
  display: block;
}

body.dark-mode .job-requirements-title {
  color: #cbd5e1;
}

.job-req-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.job-req-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
}

body.dark-mode .job-req-list li {
  color: #cbd5e1;
}

.job-req-list li i {
  color: #0077cc;
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}

body.dark-mode .job-req-list li i {
  color: #00a8ff;
}

.job-meta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

body.dark-mode .job-meta-footer {
  border-color: rgba(255, 255, 255, 0.08);
}

.job-meta-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

body.dark-mode .job-tag {
  background: #081122;
  border-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.job-tag i {
  color: #0077cc;
  font-size: 12px;
}

body.dark-mode .job-tag i {
  color: #00a8ff;
}

.job-action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-apply-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0077cc;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 3px 12px rgba(0, 119, 204, 0.3);
}

.btn-apply-email:hover {
  background: #0099ff;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(0, 153, 255, 0.45);
}

.btn-apply-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

.btn-apply-wa:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

/* 4-Step Application & Onboarding Process */
.career-process-section {
  padding: 60px 0 75px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

body.dark-mode .career-process-section {
  background: #060e1d;
  border-color: rgba(255, 255, 255, 0.08);
}

.process-header {
  text-align: center;
  margin-bottom: 44px;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
}

body.dark-mode .process-step-card {
  background: #0d1b38;
  border-color: rgba(255, 255, 255, 0.08);
}

.process-step-card:hover {
  transform: translateY(-3px);
  border-color: #00a8ff;
  box-shadow: 0 10px 25px rgba(0, 168, 255, 0.15);
}

.process-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0077cc 0%, #00a8ff 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(0, 119, 204, 0.35);
}

.process-step-title {
  font-size: 16px;
  font-weight: 700;
  color: #092a4b;
  margin-bottom: 10px;
}

body.dark-mode .process-step-title {
  color: #ffffff;
}

.process-step-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

body.dark-mode .process-step-desc {
  color: #94a3b8;
}

/* Contact / Quick Info Row */
.career-contact-box {
  position: relative;
  background: linear-gradient(135deg, #092a4b 0%, #0d3b68 55%, #154c82 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 38px 44px;
  margin-top: 50px;
  box-shadow: 0 16px 40px rgba(9, 42, 75, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  overflow: hidden;
}

/* Subtle glowing maritime accent */
.career-contact-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.18) 0%, rgba(0, 168, 255, 0) 70%);
  pointer-events: none;
}

.career-contact-box h3 {
  color: #ffffff;
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.career-contact-box p {
  color: #e2e8f0;
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
  opacity: 0.95;
}

.career-contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 1;
}

/* Call HR Button - Clean High Contrast White Card Button */
.career-btn-call,
.career-contact-box .btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff !important;
  color: #092a4b !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

.career-btn-call i,
.career-contact-box .btn-hero-primary i {
  color: #0077cc;
  font-size: 15px;
  transition: transform 0.25s ease;
}

.career-btn-call:hover,
.career-contact-box .btn-hero-primary:hover {
  background: #f0f7ff !important;
  color: #005fa3 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.career-btn-call:hover i,
.career-contact-box .btn-hero-primary:hover i {
  transform: rotate(12deg) scale(1.1);
}

/* WhatsApp Operations Button - Rich Emerald Gradient */
.career-btn-whatsapp,
.career-contact-box .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366 0%, #1eaf53 100%) !important;
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.career-btn-whatsapp i,
.career-contact-box .btn-hero-secondary i {
  font-size: 17px;
  transition: transform 0.25s ease;
}

.career-btn-whatsapp:hover,
.career-contact-box .btn-hero-secondary:hover {
  background: linear-gradient(135deg, #28e06c 0%, #1c9e4b 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  color: #ffffff !important;
}

.career-btn-whatsapp:hover i,
.career-contact-box .btn-hero-secondary:hover i {
  transform: scale(1.15);
}

/* Dark Mode Adaptation */
body.dark-mode .career-contact-box {
  background: linear-gradient(135deg, #0a1f33 0%, #0e2a47 60%, #13395f 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

body.dark-mode .career-contact-box p {
  color: #cbd5e1;
}

@media (max-width: 767px) {
  .job-card {
    padding: 20px 18px;
  }
  .job-meta-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .job-action-buttons {
    flex-direction: column;
  }
  .btn-apply-email,
  .btn-apply-wa {
    justify-content: center;
    width: 100%;
  }
  .career-contact-box {
    padding: 26px 20px;
  }
  .career-contact-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .career-btn-call,
  .career-btn-whatsapp,
  .career-contact-box .btn-hero-primary,
  .career-contact-box .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
}
