﻿.career-hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background-color: #f7f3fb;
}

    .career-hero::before {
        position: absolute;
        top: -30px;
        left: -30px;
        width: 220px;
        height: 220px;
        background-image: url(../images/dots.svg);
        background-size: cover;
        opacity: .5;
        content: '';
    }

    .career-hero .container {
        position: relative;
    }

.career-hero-title {
    font-size: 38px;
    line-height: 1.3;
    font-weight: 400;
    color: #340e66;
    margin-bottom: 15px;
}

    .career-hero-title span {
        font-weight: 800;
        color: #662c9c;
    }

.career-banner-subtext {
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: #8c4cc9;
    margin: 0;
}

.career-hero-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(52, 14, 102, .18);
}

.career-body {
    padding: 70px 0;
}

.career-side-nav {
    position: sticky;
    top: 176px;
    background-color: #662c9c;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(102, 44, 156, .2);
}

    .career-side-nav li + li {
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .career-side-nav a {
        display: block;
        padding: 16px 20px;
        border-left: 4px solid transparent;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        transition: background-color .3s ease;
    }

        .career-side-nav a:hover,
        .career-side-nav a:focus,
        .career-side-nav a.active {
            background-color: #8c4cc9;
            color: #fff;
        }

        .career-side-nav a.active {
            border-left-color: #e3d3f7;
        }

html body .career-side-nav :focus-visible,
html body .career-form :focus-visible {
    outline-color: #fff !important;
}

.career-side-nav a:focus-visible {
    outline-offset: -5px;
}

.career-block + .career-block {
    margin-top: 45px;
    padding-top: 45px;
    border-top: 1px solid #e6dff0;
}

.career-block[tabindex="-1"]:focus {
    outline: none;
}

.career-eyebrow {
    font-size: 13px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8c4cc9;
    margin-bottom: 8px;
}

.career-title {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 400;
    color: #340e66;
    margin-bottom: 15px;
}

    .career-title span {
        font-weight: 800;
        color: #662c9c;
    }

.career-block p {
    color: #575d6b;
}

.career-position-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100% - 25px);
    margin-top: 25px;
    padding: 30px 20px;
    background-color: #fff;
    border: 1px solid #ece4f5;
    border-radius: 12px;
    box-shadow: 0 6px 22px rgba(52, 14, 102, .07);
    text-align: center;
    transition: box-shadow .3s ease, transform .3s ease;
}

    .career-position-card:hover,
    .career-position-card:focus-within {
        box-shadow: 0 14px 32px rgba(52, 14, 102, .15);
        transform: translateY(-4px);
    }

.career-position-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-bottom: 18px;
    background-color: #f1eaf8;
    border: 1px solid #ddcdee;
    border-radius: 50%;
}

    .career-position-icon i {
        font-size: 26px;
        color: #662c9c;
    }

.career-position-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #340e66;
    margin-bottom: 18px;
}

.career-interest-btn {
    display: inline-block;
    margin-top: auto;
    padding: 10px 26px;
    background-color: #662c9c;
    border-radius: 30px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: background-color .3s ease;
}

    .career-interest-btn:hover,
    .career-interest-btn:focus {
        background-color: #340e66;
        color: #fff;
    }

.career-form-note {
    margin-top: 35px;
}

.career-block .career-form-note {
    color: #662c9c;
}

.career-form {
    margin-top: 25px;
    padding: 40px;
    background-color: #340e66;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(52, 14, 102, .2);
}

    .career-form label {
        font-weight: 600;
        font-size: 15px;
        color: #fff;
    }

        .career-form label span {
            color: #e3d3f7;
        }

    .career-form .form-control {
        height: 46px;
        border: 1px solid #fff;
        border-radius: 6px;
        color: #333;
    }

        .career-form .form-control::placeholder {
            color: #6b6b78;
        }

    .career-form textarea.form-control {
        height: auto;
    }

    .career-form .career-file {
        height: auto;
        padding: 8px 12px;
    }

.career-submit-btn {
    min-width: 170px;
    padding: 12px 30px;
    background-color: #fff;
    border: 0;
    border-radius: 30px;
    color: #340e66;
    font-weight: 600;
    transition: background-color .3s ease;
}

    .career-submit-btn:hover,
    .career-submit-btn:focus {
        background-color: #e3d3f7;
    }

.career-success {
    margin-top: 20px;
    padding: 15px 20px;
    background-color: #fff;
    border-left: 4px solid #1e7e34;
    border-radius: 6px;
}

.career-block .career-success p {
    color: #1e7e34;
}

.career-faq {
    margin-top: 25px;
}

.career-faq-item {
    border-bottom: 1px solid #e6dff0;
}

    .career-faq-item + .career-faq-item {
        margin-top: 10px;
    }

.career-faq-head {
    margin: 0;
}

.career-faq-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 15px 20px;
    background-color: #f3eefa;
    border: 0;
    color: #340e66;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    transition: background-color .3s ease;
}

    .career-faq-btn:hover,
    .career-faq-btn:focus {
        background-color: #e9e0f5;
        color: #340e66;
    }

    .career-faq-btn i {
        flex-shrink: 0;
        font-size: 15px;
        transform: rotate(180deg);
        transition: transform .3s ease;
    }

    .career-faq-btn.collapsed i {
        transform: rotate(0);
    }

.career-faq-body {
    padding: 18px 20px 6px;
}

.career-faq .collapse:not(.show) {
    display: none !important;
}

@@media(max-width: 1199px) {
    .career-hero-title {
        font-size: 32px;
    }
}

@@media(max-width: 767px) {
    .career-hero {
        padding: 40px 0;
    }

    .career-hero-title {
        font-size: 27px;
    }

    .career-banner-subtext {
        font-size: 17px;
        line-height: 26px;
    }

    .career-body {
        padding: 45px 0;
    }

    .career-block + .career-block {
        margin-top: 35px;
        padding-top: 35px;
    }

    .career-title {
        font-size: 25px;
    }

    .career-form {
        padding: 25px 18px;
    }

    .career-faq-btn {
        font-size: 16px;
        padding: 14px 16px;
    }
}

.validation-error {
    display: block;
    color: #ffb3b3;
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
}

.career-form .form-control.is-invalid {
    border: 2px solid #ffb3b3 !important;
}

    .career-form .form-control.is-invalid:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.2);
    }


.error {
    color: #ffb3b3;
}

.field-validation-error {
    color: #ffb3b3;
    display: none;
    font-size: 16px;
    text-align: left;
    font-weight: 500;
    margin-bottom: 5px;
}

.field-validation-error {
    display: block;
}

.g-recaptcha {
    display: flex;
    justify-content: left;
    margin-left: -13px;
}
