/* hero background */

.careers-bg {
  background: url("../images/careers/careers-hero-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 210px 0;
  overflow: hidden;
  position: relative;
  /* margin: 0 !important; */
}

.career-section {
  padding: 120px 60px;
}

.career-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
/* 
.career-left {
  width: 25%;
} */

.dropdown-btn .bi-chevron-down {
  margin-left: 0;
  margin-top: 5px;
  transition: 0.3s;
}

.career-left h2 {
  color: #000;
  font-family: Bricolage Grotesque;
  font-weight: 500;
  font-style: Medium;
  font-size: 45px;
  line-height: 100%;
  letter-spacing: 0px;
  padding-top: 40px;
  max-width: 220px;
  width: 210px;
}
/* 
.career-right {
  width: 75%;
} */

.job-item {
  width: 100%;
  padding: 50px 0;
  border-bottom: 1px solid #d8d8d8;
}

.job-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

.job-content {
  flex: 1;
}

.job-content span {
  display: block;
  margin-bottom: 18px;

  font-family: Bricolage Grotesque;
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: #0659f5;
}

.job-content h3 {
  font-family: Bricolage Grotesque;
  font-weight: 400;
  font-style: Regular;
  font-size: 25px;
  letter-spacing: 0px;
  color: #000;
  margin-bottom: 18px;
  line-height: 1.2;
}

.job-content p {
  color: #4a5565;
  font-family: Bricolage Grotesque;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0px;
  text-transform: capitalize;
}

.job-actions {
  display: flex;
  align-items: center;
  gap: 18px;

  flex-shrink: 0;
}

.job-actions a {
  font-family: Bricolage Grotesque;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0px;
  text-transform: capitalize;
}

.dropdown-btn {
  width: 40px;
  height: 40px;

  border: 2px solid #4a5565;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: 0.3s ease;
}

.dropdown-btn:hover {
  transform: translateY(-3px);
}

.dropdown-btn i {
  font-size: 24px;
  color: #4a5565;

  transition: 0.4s ease;
}

.bi-chevron-down::before {
    display: inline-block;
    transition: transform 0.3s ease;
}
.job-item.active .dropdown-btn {
  /* background: #0659f5; */
  /* color: #0659f5; */
  /* border-color: #0659f5; */
}

.job-item.active .dropdown-btn i {
  /* color: white; */
  /* color: #0659f5; */

  transform: rotate(180deg);
  margin-bottom: 6px;
}

.apply-btn {
  width: 204px;
  height: 42px;

  border-radius: 50px;

  background: #0659f5;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  text-decoration: none;

  font-size: 18px;
  font-weight: 500;

  transition: 0.3s ease;
}

.apply-btn:hover {
  background: #0f46c8;
}

.job-details {
  max-height: 0;
  overflow: hidden;

  opacity: 0;

  transition: all 0.5s ease;
}

.job-details p {
  margin-top: 40px;

  width: 100%;
  max-width: 1000px;

  font-size: 18px;
  line-height: 1.9;
padding-right: 30px;
  color: #4a5565;
}

.job-item.active .job-details {
  max-height: 1000px;
  opacity: 1;
}

.job-item.active .dropdown-btn i {
  transform: rotate(180deg);
}
.footer-section {
  margin-top: 0 !important;
  padding: 60px 60px !important;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .career-wrapper {
    flex-direction: column;
    gap: 50px;
  }

  .career-left,
  .career-right {
    width: 100%;
  }

  .career-left h2 {
    font-size: 48px;
  }

  .job-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-actions {
    width: 100%;
  }

  .apply-btn {
    width: 100%;
  }

  .job-content h3 {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .career-section {
    padding: 80px 60px;
  }

  .career-left h2 {
    font-size: 38px;
    
  }

  .job-content h3 {
    font-size: 26px;
  }

  .job-content p {
    font-size: 16px;
  }

  .job-details p {
    font-size: 16px;
  }

  .apply-btn {
    font-size: 16px;
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 991px) {

  .careers-bg {
    padding: 140px 0;
  }

  .career-section {
    padding: 80px 20px;
  }

  .career-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .career-left,
  .career-right {
    width: 100%;
  }

  .career-left h2 {
    font-size: 40px;
    padding-top: 0;
  }

  .job-item {
    padding: 35px 0;
  }

  .job-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .job-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .apply-btn {
    width: auto;
    min-width: 220px;
  }

  .job-content h3 {
    font-size: 28px;
  }

  .job-content p {
    font-size: 16px;
  }

  .job-details p {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 767px) {

  .careers-bg {
    padding: 110px 0;
    background-position: center;
  }

  .career-section {
    padding: 60px 15px;
  }

  .career-wrapper {
    gap: 30px;
  }

  .career-left h2 {
    font-size: 32px;
    line-height: 1.2;
  }

  .job-item {
    padding: 25px 0;
  }

  .job-content span {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .job-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .job-content p {
    font-size: 15px;
    line-height: 1.5;
  }

  .job-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .dropdown-btn {
    width: 45px;
    height: 45px;
  }

  .apply-btn {
    width: 100%;
    font-size: 15px;
    height: 48px;
  }

  .job-details p {
    margin-top: 25px;
    font-size: 15px;
    line-height: 1.8;
  }

  .footer-section {
    padding: 50px 10px !important;
  }

  .footer-sidetopics {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {

  .careers-bg {
    padding: 90px 0;
  }

  .career-section {
    padding: 50px 12px;
  }

  .career-left h2 {
    font-size: 28px;
  }

  .job-content h3 {
    font-size: 20px;
  }

  .job-content p {
    font-size: 14px;
  }

  .job-details p {
    font-size: 14px;
    line-height: 1.7;
  }

  .dropdown-btn {
    width: 40px;
    height: 40px;
  }

  .dropdown-btn i {
    font-size: 18px;
  }

  .apply-btn {
    font-size: 14px;
    height: 45px;
  }
}