.career_hero {
  height: 100vh;
  position: relative;
  background-image:
    url("../images/career/career-hero.jpg");
  background-size: cover;
  background-position: center;
}

.career_hero_text {
  position: absolute;
  left: 7%;
  bottom: 14%;
  color: rgb(20, 20, 20);
  max-width: 950px;
}

.career_hero_text h1 {
  font-size: clamp(40px, 5vw, 74px);
  line-height: 1.05;
}

.career_hero_text p {
  font-size: 34px;
  line-height: 1.5;
}

.career_small {
  color: rgb(33, 211, 10);
  letter-spacing: 6px;
  font-weight: 800;
  font-size: 64px;
}

.why_career {
  min-height: 90vh;
  padding: 140px 7%;
  display: flex;
  align-items: center;
  gap: 70px;
  color: rgb(247, 240, 240);

  background-image:
    url("../images/career/why-career.jpg");

  background-size: cover;
  background-position: center;
}

.why_text {
  width: 65%;
}

.why_text h2 {
  font-size: clamp(60px, 6vw, 77px);
  line-height: 1.1;
}

.why_text p {
  font-size: 36px;
  line-height: 1.7;
}

.why_points {
  width: 45%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why_points span {
  font-size: 38px;
  border-left: 6px solid rgb(33, 211, 10);
  padding-left: 20px;
}

.jobs_section {
  min-height: 95vh;
  padding: 100px 7%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f3fff3 0%, #ffffff 45%, #eaf8eb 100%);
}

.jobs_section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='520' viewBox='0 0 900 520'%3E%3Cg fill='none' stroke='%2321d30a' stroke-opacity='0.30' stroke-width='1.5'%3E%3Cpath d='M60 80 L180 140 L320 90 L470 180 L640 120 L820 210'/%3E%3Cpath d='M120 360 L250 300 L390 360 L560 290 L740 350'/%3E%3Cpath d='M180 140 L250 300 L470 180 L560 290 L820 210'/%3E%3Cpath d='M320 90 L390 360 L640 120 L740 350'/%3E%3C/g%3E%3Cg fill='%2321d30a' fill-opacity='0.55'%3E%3Ccircle cx='60' cy='80' r='5'/%3E%3Ccircle cx='180' cy='140' r='4'/%3E%3Ccircle cx='320' cy='90' r='5'/%3E%3Ccircle cx='470' cy='180' r='4'/%3E%3Ccircle cx='640' cy='120' r='5'/%3E%3Ccircle cx='820' cy='210' r='4'/%3E%3Ccircle cx='120' cy='360' r='5'/%3E%3Ccircle cx='250' cy='300' r='4'/%3E%3Ccircle cx='390' cy='360' r='5'/%3E%3Ccircle cx='560' cy='290' r='4'/%3E%3Ccircle cx='740' cy='350' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 440px 200px;
  opacity: 0.65;
  animation: networkConnectedMove 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.jobs_section > * {
  position: relative;
  z-index: 2;
}

.jobs_intro h2 {
  font-size: clamp(42px, 5vw, 76px);
}

.job_cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.job_card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border 0.4s ease;
  width: 100%;
  min-height: 280px;
  text-align: left;
  padding: 35px;
  border: none;
  border-radius: 24px;
  background-color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.job_card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 0%;
  height: 5px;

  background: rgb(33, 211, 10);

  transition: width 0.5s ease;
}

.job_card.active_job {
  transform: translateY(-8px);
  border: 2px solid rgb(33, 211, 10);

  box-shadow:
    0 25px 60px rgba(33, 211, 10, 0.22),
    0 0 40px rgba(33, 211, 10, 0.18);
}

.job_card.active_job::after {
  width: 100%;
}

.job_card span {
  color: rgb(33, 211, 10);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
}

.job_card h3 {
  font-size: 30px;
}

.job_card p {
  font-size: 18px;
}

.job_detail {
  display: none;
  padding: 110px 7%;
  background: linear-gradient(135deg, #f3fff3 0%, #ffffff 45%, #eaf8eb 100%);
  opacity: 0;
  transform: translateY(80px) scale(0.96);
}

.job_detail.active {
  display: block;
  animation: jobOpen 0.9s ease forwards;
}

@keyframes jobOpen {
  0% {
    opacity: 0;
    transform: translateY(90px) scale(0.94);
    filter: blur(10px);
  }

  60% {
    opacity: 1;
    transform: translateY(-10px) scale(1.01);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.job_location {
  margin-top: 70px;
  display: flex;
  align-items: stretch;
  gap: 40px;
}
.job_left_side {
  width: 72%;
}

.job_photos {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.job_photos img {
  width: 50%;
  height: 480px;
  object-fit: cover;
  border-radius: 24px;
}

.job_detail h2 {
  font-size: clamp(40px, 5vw, 70px);
}

.job_meta {
  color: #555;
  font-size: 20px;
}

.job_detail h3 {
  font-size: 45px;
  margin-top: 5px;
}

.job_detail li,
.job_detail p {
  font-size: 26px;
  line-height: 2;
}

.apply_button {
  display: inline-block;
  margin-top: 30px;
  background-color: rgb(33, 211, 10);
  color: white;
  padding: 14px 24px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
}

.application_box {
  width: 40%;
  margin-top: 0;
  background-color: white;
  padding: 60px;
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.application_box h3 {
  font-size: 52px;
}

.application_box p {
  font-size: 26px;
  line-height: 1.8;
}

.application_button {
  display: inline-block;
  margin-top: 90px;
  background-color: rgb(33, 211, 10);
  color: white;
  text-decoration: none;
  padding: 24px 40px;
  border-radius: 50px;
  font-size: 26px;
  font-weight: 700;
}

.application_button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(33, 211, 10, 0.35);
}

@keyframes networkConnectedMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -180px -100px;
  }
}

@media (max-width: 900px) {
  .why_career {
    flex-direction: column;
  }

  .why_text,
  .why_points {
    width: 100%;
  }
}
