html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: #222;
  background: #fff;
}

.mt-5 {
  margin-top: 3rem;
}

.career-section {
  padding: 75px 20px 90px;
  background: #fff;
}

.career-container {
  width: min(1100px, 100%);
  margin: auto;
}

/* =========================================
   HEADING
========================================= */

.career-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 45px;
}

.career-heading .eyebrow {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 50px;
  background: #f0ebff;
  color: #5528a9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.career-heading h1 {
  margin-top: 14px;
  margin-bottom: 10px;
  color: #242424;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
}

.career-heading p {
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.8;
}

/* =========================================
   JOB CARD
========================================= */

.job-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid #e7e1f2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 15px 45px rgba(85, 40, 169, 0.09);
  transition: 0.3s ease;
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 55px rgba(85, 40, 169, 0.14);
}

.job-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -150px;
  top: -150px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(85, 40, 169, 0.12),
    rgba(59, 173, 149, 0.12)
  );
  pointer-events: none;
}

/* =========================================
   JOB HEADER
========================================= */

.job-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}

.job-icon {
  width: 65px;
  height: 65px;
  flex: 0 0 65px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;

  color: #fff;
  font-size: 28px;
  font-weight: 700;

  background: linear-gradient(135deg, #5528a9, #7042c7);

  box-shadow: 0 10px 25px rgba(85, 40, 169, 0.25);
}

.job-info {
  flex: 1;
}

.job-badge {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 7px;

  border-radius: 30px;

  background: #f0ebff;
  color: #5528a9;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.job-info h2 {
  margin: 0;
  color: #222;
  font-size: 25px;
  line-height: 1.2;
}

.job-info p {
  margin-top: 5px;
  color: #707070;
  font-size: 13px;
}

.job-arrow {
  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #e3dcef;
  border-radius: 50%;

  color: #5528a9;
  font-size: 20px;
}

/* =========================================
   META
========================================= */

.job-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;

  margin: 30px 0;

  padding: 20px;

  border-radius: 15px;
  background: #f8f7fc;
}

.meta-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta-icon {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  background: #fff;

  color: #5528a9;
  font-size: 17px;
}

.meta-box small {
  display: block;
  margin-bottom: 3px;

  color: #888;
  font-size: 10px;
}

.meta-box strong {
  color: #333;
  font-size: 13px;
  font-weight: 600;
}

/* =========================================
   SUMMARY
========================================= */

.job-summary h3 {
  margin-bottom: 10px;
  color: #292929;
  font-size: 18px;
}

.job-summary p {
  color: #666;
  font-size: 13px;
  line-height: 1.8;
}

/* =========================================
   HIGHLIGHTS
========================================= */

.job-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;

  margin-top: 28px;
}

.highlight {
  padding: 18px;

  border: 1px solid #eeeaf6;
  border-radius: 14px;

  background: #fff;
}

.highlight-number {
  color: #5528a9;
  font-size: 11px;
  font-weight: 700;
}

.highlight p {
  margin-top: 8px;
  color: #4c4c4c;
  font-size: 12px;
  line-height: 1.6;
}

/* =========================================
   ACTIONS
========================================= */

.job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 30px;
  padding-top: 25px;

  border-top: 1px solid #eeeaf4;
}

.btn {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 0 22px;

  border-radius: 9px;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  border: 1px solid #5528a9;
  background: #5528a9;
  color: #fff;
}

.btn-primary:hover {
  background: #43208d;
  border-color: #43208d;
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid #ddd5ef;
  background: #fff;
  color: #5528a9;
}

.btn-secondary:hover {
  border-color: #5528a9;
  background: #f8f5ff;
  color: #5528a9;
}

/* =========================================
   MODAL
========================================= */

.job-modal {
  position: fixed;
  inset: 0;

  z-index: 99999;

  display: none;
  align-items: center;
  justify-content: center;
}

.job-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;

  background: rgba(24, 14, 45, 0.68);

  backdrop-filter: blur(5px);
}

.modal-box {
  position: relative;
  z-index: 2;

  width: min(850px, calc(100% - 30px));
  max-height: 90vh;

  overflow: hidden;

  border-radius: 20px;

  background: #fff;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);

  animation: modalShow 0.25s ease;
}

@keyframes modalShow {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.jd-section {
  margin-bottom: 30px;
}

.jd-section:last-child {
  margin-bottom: 0;
}

.jd-section h3 {
  position: relative;

  margin-bottom: 12px;
  padding-left: 15px;

  color: #292929;
  font-size: 18px;
}

.jd-section h3::before {
  content: "";

  position: absolute;
  left: 0;
  top: 4px;

  width: 4px;
  height: 17px;

  border-radius: 5px;

  background: #5528a9;
}

.jd-section p {
  color: #666;
  font-size: 13px;
  line-height: 1.8;
}

.jd-list {
  margin: 0;
  padding: 0;

  list-style: none;
}

.jd-list li {
  position: relative;

  padding: 8px 0 8px 25px;

  border-bottom: 1px solid #f1eef6;

  color: #555;

  font-size: 13px;
  line-height: 1.65;
}

.jd-list li:last-child {
  border-bottom: 0;
}

.jd-list li::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: 8px;

  color: #3bad95;

  font-weight: 700;
}

.respnsibility ul li,
.requirements ul li {
  color: #666;
  font-size: 13px;
  line-height: 1.8;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {
  .career-section {
    padding: 55px 15px;
  }

  .career-heading h1 {
    font-size: 27px;
  }

  .job-card {
    padding: 22px;
    border-radius: 17px;
  }

  .job-header {
    align-items: flex-start;
  }

  .job-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;

    border-radius: 14px;
    font-size: 23px;
  }

  .job-info h2 {
    font-size: 21px;
  }

  .job-arrow {
    width: 38px;
    height: 38px;
  }

  .job-meta {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .job-highlights {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .job-highlights {
    grid-template-columns: 1fr;
  }

  .job-header {
    gap: 12px;
  }

  .job-info h2 {
    font-size: 19px;
  }

  .job-badge {
    font-size: 8px;
    padding: 5px 9px;
  }
}
