:root {
  --primaryColor: #DEB341;
  --secondaryColor: #233F4D;
  --tertioryColor: #0E1B21;
  --whiteColor: #FFFFFF;
  --blackColor: #000000;
  --hintTextColor: #626262;
  --borderColor: #EEEEEE;
  --cardColor: #FAFAFA;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}



/* Hero Section */
.hero {
  background-image: url("../assets/career-header-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  color: white;
}

.heading-div {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  padding-top: 50px;
  padding-bottom: 20px;
  text-align: center;
}


.heading {
  font-size: 4rem;
  font-weight: 600;
  color: var(--whiteColor);
}

.solutions-highlight {
  font-size: 4rem;
  font-weight: 600;
  color: var(--primaryColor);
}


.sub-heading-div {
  width: 65%;
  align-content: center;
  text-align: center;
  margin: 0 auto;
}

.sub-heading {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--whiteColor);
}

/* Career Section CSS */

.career-container {
  padding: 50px 80px;
  display: flex;
  max-width: 100;
  margin: auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.job-list {
  margin-right: 50px;
  padding-top: 30px;
  width: 25%;
  background: color-mix(in srgb, var(--secondaryColor), transparent 90%);
  border-radius: 25px;
}

.job-list-2 {
  list-style-type: none;
}

.job-list h3 {
  margin-bottom: 30px;
  margin-left: 30px;
}

.job-item {
  padding: 15px 30px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.job-item.active,
.job-item:hover {
  background: var(--primaryColor);
  color: var(--whiteColor);
}

.form-wrapper {
  flex: 1;
  padding: 30px 40px;
}

.form-wrapper h2 {
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--secondaryColor);
}

.form-wrapper p {
  color: var(--hintTextColor);
  margin-bottom: 25px;
}

label {
  text-align: start;
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--secondaryColor);
}

.form-group {
  width: 100%;
  margin-bottom: 20px;
}

.row {
  margin-bottom: 20px;
}

.row.two {
  width: 100%;
  height: fit-content;
  display: flex;
  margin: 0 auto;
  gap: 30px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--secondaryColor), transparent 90%);
  border-radius: 10px;
}


textarea {
  resize: vertical;
  width: 100%;
  min-height: 300px;
}

input::placeholder,
textarea::placeholder {
  font-size: 14px;
}

.submit-button {
  width: 100%;
  background: var(--primaryColor);
  border: none;
  color: var(--whiteColor);
  padding: 14px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

.submit-button:hover {
  background: var(--secondaryColor);
}

.btn-loader {
  align-items: center;
  justify-content: center;
  align-content: center;
  text-align: center;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.submit-button.loading .btn-text {
  display: none;
}

.submit-button.loading .btn-loader {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}

/* ======================================= DESKTOP RESPONSIVE ================================================ */
@media (max-width: 1440px) {}

/* ======================================= TABLET RESPONSIVE ================================================ */
@media (max-width: 1199px) {
  .hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .heading {
    font-size: 3rem;
    font-weight: 600;
    color: var(--whiteColor);
  }

  .solutions-highlight {
    font-size: 3rem;
    font-weight: 600;
    color: var(--primaryColor);
  }


  .sub-heading-div {
    width: 100%;
    align-content: center;
    text-align: center;
    margin: 0 auto;
  }

  .sub-heading {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--whiteColor);
  }

  /* Career Section CSS */

  .career-container {
    padding: 20px 20px;
    display: flex;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
  }

  .job-list {
    margin-right: 20px;
    padding-top: 20px;
    width: 35%;
    background: color-mix(in srgb, var(--secondaryColor), transparent 90%);
    border-radius: 16px;
  }

  .job-list-2 {
    list-style-type: none;
  }

  .job-list h3 {
    margin-bottom: 10px;
    margin-left: 10px;
  }

  .job-item {
    padding: 10px 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.3s;
  }

  .job-item.active,
  .job-item:hover {
    background: var(--primaryColor);
    color: var(--whiteColor);
  }

  .form-wrapper {
    width: 100%;
    flex: 1;
    padding: 10px 0px;
  }

  .form-wrapper h2 {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--secondaryColor);
  }

  .form-wrapper p {
    color: var(--hintTextColor);
    margin-bottom: 25px;
  }

  label {
    text-align: start;
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--secondaryColor);
  }

  .form-group {
    width: 100%;
    margin-bottom: 10px;
  }

  .row {
    margin-bottom: 10px;
  }

  .row.two {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 10px;
  }

  input,
  textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid color-mix(in srgb, var(--secondaryColor), transparent 90%);
    border-radius: 10px;
  }


  textarea {
    resize: vertical;
    width: 100%;
    min-height: 300px;
  }

  input::placeholder,
  textarea::placeholder {
    font-size: 14px;
  }

  button {
    width: 100%;
    background: var(--primaryColor);
    border: none;
    color: var(--whiteColor);
    padding: 14px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
  }

  button:hover {
    background: var(--primaryColor);
  }
}

/* ======================================= MOBILE RESPONSIVE ================================================ */
@media (max-width: 768px) {

  /* Hero Section */
  .hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .heading {
    font-size: 2rem;
    font-weight: 600;
    color: var(--whiteColor);
  }

  .solutions-highlight {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primaryColor);
  }


  .sub-heading-div {
    width: 100%;
    align-content: center;
    text-align: center;
    margin: 0 auto;
  }

  .sub-heading {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--whiteColor);
  }

  /* Career Section CSS */

  .career-container {
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    max-width: 100;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
  }

  .job-list {
    margin-right: 20px;
    padding-top: 20px;
    width: 100%;
    background: color-mix(in srgb, var(--secondaryColor), transparent 90%);
    border-radius: 16px;
  }

  .job-list-2 {
    list-style-type: none;
  }

  .job-list h3 {
    margin-bottom: 10px;
    margin-left: 10px;
  }

  .job-item {
    padding: 10px 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.3s;
  }

  .job-item.active,
  .job-item:hover {
    background: var(--primaryColor);
    color: var(--whiteColor);
  }

  .form-wrapper {
    width: 100%;
    flex: 1;
    padding: 10px 0px;
  }

  .form-wrapper h2 {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--secondaryColor);
  }

  .form-wrapper p {
    color: var(--hintTextColor);
    margin-bottom: 25px;
  }

  label {
    text-align: start;
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--secondaryColor);
  }

  .form-group {
    width: 100%;
    margin-bottom: 10px;
  }

  .row {
    margin-bottom: 10px;
  }

  .row.two {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 10px;
  }

  input,
  textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid color-mix(in srgb, var(--secondaryColor), transparent 90%);
    border-radius: 10px;
  }


  textarea {
    resize: vertical;
    width: 100%;
    min-height: 300px;
  }

  input::placeholder,
  textarea::placeholder {
    font-size: 14px;
  }

  button {
    width: 100%;
    background: var(--primaryColor);
    border: none;
    color: var(--whiteColor);
    padding: 14px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
  }

  button:hover {
    background: var(--primaryColor);
  }
}