.careers-listing {
  max-width: 1024px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;

  .career {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--White, #ffffff);
    border-radius: 8px;
    box-shadow: 0px 0px 36px 0px #0000000f;
    padding: 22px 40px;

    .position-title {
      font-family: Montserrat;
      font-weight: 500;
      font-size: 20px;
      line-height: 27px;
      letter-spacing: 0%;
      color: #0e0e0e;
      margin: 0;

      .num-of-position {
        font-family: Montserrat;
        font-weight: 500;
        font-size: 16px;
        line-height: 27px;
        letter-spacing: 0%;
        color: #.careers-listing {
  max-width: 1024px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;

  .career {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--White, #ffffff);
    border-radius: 8px;
    box-shadow: 0px 0px 36px 0px #0000000f;
    padding: 22px 40px;

    .position-title {
      font-family: Montserrat;
      font-weight: 500;
      font-size: 20px;
      line-height: 27px;
      letter-spacing: 0%;
      color: #0e0e0e;
      margin: 0;

      .num-of-position {
        font-family: Montserrat;
        font-weight: 500;
        font-size: 16px;
        line-height: 27px;
        letter-spacing: 0%;
        color: #545454;
        display: block;
        text-align: left;
      }
    }

    .apply-btn {
      font-family: Montserrat;
      font-weight: 600;
      font-size: 20px;
      line-height: 27px;
      letter-spacing: 0%;
      text-align: center;
      color: #0e0e0e;
      text-decoration: none;
      border-bottom: 3px solid #005dae;
    }
  }
}

@media (max-width: 1024px) {
  .careers-listing {
    .career {
      padding: 12px 14px;
      .position-title {
        font-family: Montserrat;
        font-weight: 600;
        font-size: 18px;
        line-height: 27px;
        letter-spacing: 0%;
        text-align: center;
        .num-of-position {
          font-family: Montserrat;
          font-weight: 500;
          font-size: 14px;
          line-height: 100%;
          letter-spacing: 0%;
        }
      }

      .apply-btn {
        font-family: Montserrat;
        font-weight: 600;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0%;
        padding: 4px 12px;
      }
    }
  }
}

/* careers modal */
.career-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: relative;
  background-color: #ffffff;
  margin: 10% auto;
  padding: 41px;
  padding-top: 33px;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 702px;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 35px;
  right: 41px;
  font-size: 24px;
  font-weight: bold;
  color: #545454;
  cursor: pointer;
  transition: 0.2s;
}

.close-modal:hover {
  color: #0e0e0e;
}

#modal-position-title {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #005dae;
  margin: 0;
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  color: #0e0e0e;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0%;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  height: 56px;
  padding: 12px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  font-family: Montserrat, sans-serif;
  transition: border-color 0.2s;

  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
  border-color: #005dae;
  outline: none;
}

.form-group input[type="file"] {
  padding: 10px 0;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
}

.form-submit {
  margin-top: 32px;
  text-align: right;
}

#submit-application {
  background-color: #005dae;
  color: white;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0%;
  padding: 15.5px 49px;
  border: 1px solid #005dae;
  border-radius: 70px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#submit-application:hover {
  background-color: #fff;
  color: #005dae;
}

#form-messages {
  margin-top: 20px;
  padding: 10px;
  border-radius: 4px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  text-align: center;
  display: none;
}

#form-messages.success {
  background-color: #e6f7e6;
  color: #2e7d32;
  display: block;
}

#form-messages.error {
  background-color: #ffebee;
  color: #c62828;
  display: block;
}

/* Make the form responsive */
@media (max-width: 768px) {
  .close-modal {
    top: 33px;
    right: 25px;
  }
  .modal-content {
    margin: 20% auto;
    padding: 26px 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .form-submit {
    margin-top: 24px;
  }

  #modal-position-title {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 19px;
  }

  .form-group label {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0%;
  }
}
;
        display: block;
        text-align: left;
      }
    }

    .apply-btn {
      font-family: Montserrat;
      font-weight: 600;
      font-size: 20px;
      line-height: 27px;
      letter-spacing: 0%;
      text-align: center;
      color: #0e0e0e;
      text-decoration: none;
      border-bottom: 3px solid #005dae;
    }
  }
}

@media (max-width: 1024px) {
  .careers-listing {
    .career {
      padding: 12px 14px;
      .position-title {
        font-family: Montserrat;
        font-weight: 600;
        font-size: 18px;
        line-height: 27px;
        letter-spacing: 0%;
        text-align: center;
        .num-of-position {
          font-family: Montserrat;
          font-weight: 500;
          font-size: 14px;
          line-height: 100%;
          letter-spacing: 0%;
        }
      }

      .apply-btn {
        font-family: Montserrat;
        font-weight: 600;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0%;
        padding: 4px 12px;
      }
    }
  }
}

/* careers modal */
.career-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: relative;
  background-color: #ffffff;
  margin: 10% auto;
  padding: 41px;
  padding-top: 33px;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 702px;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 35px;
  right: 41px;
  font-size: 24px;
  font-weight: bold;
  color: #545454;
  cursor: pointer;
  transition: 0.2s;
}

.close-modal:hover {
  color: #0e0e0e;
}

#modal-position-title {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #005dae;
  margin: 0;
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  color: #0e0e0e;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0%;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  height: 56px;
  padding: 12px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  font-family: Montserrat, sans-serif;
  transition: border-color 0.2s;

  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
  border-color: #005dae;
  outline: none;
}

.form-group input[type="file"] {
  padding: 10px 0;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
}

.form-submit {
  margin-top: 32px;
  text-align: right;
}

#submit-application {
  background-color: #005dae;
  color: white;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0%;
  padding: 15.5px 49px;
  border: 1px solid #005dae;
  border-radius: 70px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#submit-application:hover {
  background-color: #fff;
  color: #005dae;
}

#form-messages {
  margin-top: 20px;
  padding: 10px;
  border-radius: 4px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  text-align: center;
  display: none;
}

#form-messages.success {
  background-color: #e6f7e6;
  color: #2e7d32;
  display: block;
}

#form-messages.error {
  background-color: #ffebee;
  color: #c62828;
  display: block;
}

/* Make the form responsive */
@media (max-width: 768px) {
  .close-modal {
    top: 33px;
    right: 25px;
  }
  .modal-content {
    margin: 20% auto;
    padding: 26px 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .form-submit {
    margin-top: 24px;
  }

  #modal-position-title {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 19px;
  }

  .form-group label {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0%;
  }
}
