@import url(../global.css);

.main-hero {
    height: 100vh;
    padding: 128px 50px;
    background: linear-gradient(89.53deg, rgba(0, 0, 0, 0.8) 38.02%, rgba(0, 0, 0, 0.3) 60.4%, rgba(0, 0, 0, 0) 71.79%), url("../../assets/banners/careers-banner.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    position: relative;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.6);
}

.hero-header>h1 {
    width: 70%;
    font-family: Urbanist, sans-serif;
    font-size: 4.235rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #ffffff;
}

.hero-header>p {
    width: 60%;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.618;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #ffffff;
}

@media screen and (max-width:768px) {
    .main-hero {
        background: linear-gradient(180deg, rgba(137, 137, 137, 0) 0%, #000000 100%), url("../../assets/banners/careers-banner.png");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 40px;
        align-items: center;
    }

    .hero-header>h1 {
        width: 100%;
        font-family: Urbanist;
        font-size: 4.235rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        color: #ffffff;
    }

    .hero-header>p {
        width: 100%;
    }
}

@media screen and (max-width:430px) {
    .main-hero {
        padding: 20px;
    }

    .hero-header>h1 {
        font-family: Urbanist;
        font-size: 2.617rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        color: #ffffff;
    }

    .hero-header>p {
        font-size: 1rem;
        width: 100%;
    }
}

.core-job-info {
    display: flex;
    gap: 64px;
}

.job-info,
.job-vitals {
    width: 50%;
    flex: 1 1 45%;
}

.job-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.job-overview>h2,
.job-responsibilities>h2,
.job-qualifications>h2 {
    font-family: Urbanist;
    font-size: 2.617rem;
    font-weight: 800;
    line-height: 64px;
    letter-spacing: -0.03em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #141E47;
}

.job-overview>p,
.job-responsibilities>p,
.job-qualifications>ul>li {
    font-family: Plus Jakarta Sans;
    font-size: 1rem;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.03em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.job-overview,
.job-responsibilities,
.job-qualifications {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
}

.job-qualifications>ul {
    list-style-type: none;
    padding: 0;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-vitals {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.apply-form {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.apply-form>h2 {
    font-family: Urbanist;
    font-size: 1.618rem;
    font-weight: 800;
    line-height: 32px;
    letter-spacing: -0.03em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field>label {
    font-family: Urbanist;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.03em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

input,
textarea {
    padding: 16px 10px 16px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.label-field>.form-required {
    color: red;
}

button {
    outline: none;
    border: none;
    cursor: pointer;
}

.file-error-message {
    font-family: Urbanist, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    color: red;
}

::placeholder {
    font-family: Urbanist;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.03em;
    text-align: left;
}

#formDisclaimer {
    font-family: Urbanist, sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
}

#response-message {
    font-family: Urbanist, sans-serif;
    font-size: 1.618rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
}

/* Floating label wrapper */
.floating-group {
  position: relative;
  width: 100%;
}

.floating-label {
  position: absolute;
  left: 14px;
  top: 12px;
  color: #777;
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: none;
  background: #fff;
  padding: 0 4px;
  transition: 0.2s ease all;
}

.field:focus + .floating-label,
.field:not(:placeholder-shown) + .floating-label,
select:focus + .floating-label,
select:valid + .floating-label,
textarea:focus + .floating-label,
textarea:not(:placeholder-shown) + .floating-label {
  top: -8px;
  left: 10px;
  font-size: 0.75rem;
  color: #104b88;
}


@media screen and (max-width: 930px) {
    .core-job-info {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .job-info,
    .job-vitals {
        width: 100%;
    }
}

@media screen and (max-width: 430px) {
    .core-job-info {
        gap: 24px;
    }

    .job-overview,
    .job-responsibilities,
    .job-qualifications {
        padding: 10px;
    }
}