@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Oswald:wght@200..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');



/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Work Sans", sans-serif;
}

.career-hero {
    width: 100%;
    height: 50vh;
    background-image: url(../images/career-hard-hat-banner.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 15px;
}

/* ===== Careers Subnav ===== */

.careers-subnav {
    padding: 70px 0 30px;
    background: #eceef0;
    overflow: hidden;
}

.careers-subnav-title {
    margin: 0;
}

.careers-subnav-title {
    width: 88%;
    max-width: 1200px;
    margin: 0 auto;

}

.careers-subnav-title a {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.1;
    color: #11181C;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-family: "Work Sans", sans-serif;
}

.careers-subnav-title a:hover {
    opacity: 0.7;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {

    .careers-subnav {
        padding: 50px 0 25px;
    }

    .careers-subnav-title {
        width: 100%;
    }

    .careers-subnav-title a {
        font-size: 32px;
    }
}

/* ===== Careers Alert Section ===== */

.career-alert-section {
    padding: 90px 0;
    background: #f1f3f5;
}

.career-alert-grid {
    width: 88%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 70px;
    align-items: start;
}

/* Left Column */
.career-alert-sidebar h2 {
    font-size: 38px;
    font-weight: 500;
    line-height: 1.1;
    color: #11181C;
    font-family: "Work Sans", sans-serif;
}

.career-alert-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: #687076;
    font-weight: 500;
}

/* Right Column */
.career-alert-content p {
    font-size: 17px;
    line-height: 1.9;
    color: #2b2f33;
    margin-bottom: 28px;
}

.career-alert-content p:last-child {
    margin-bottom: 0;
}

/* Links */
.career-alert-content a {
    color: #0a7d3b;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.career-alert-content a:hover {
    opacity: 0.7;
}

/* ===== Responsive ===== */

@media (max-width: 992px) {

    .career-alert-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    .career-alert-section {
        padding: 60px 0;
    }

    .career-alert-sidebar h2 {
        font-size: 32px;
    }

    .career-alert-subtitle {
        font-size: 16px;
    }

    .career-alert-content p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 22px;
    }
}

/* ===== Careers Jobs Section ===== */

.career-jobs-section {
    padding: 90px 0;
    background: #fff;
}

.career-jobs-wrapper {
    width: 88%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 70px;
    align-items: start;
}

/* Left Side */
.career-jobs-sidebar h2 {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.1;
    color: #11181C;
    font-family: "Work Sans", sans-serif;
    margin: 0;
    white-space: nowrap;
    max-width: 100%;
}

/* Right Side */
.career-jobs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 35px 55px;

}

/* Job Item */
.career-job-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding-bottom: 14px;

    border-bottom: 2px solid #d8dde3;

    text-decoration: none;
    color: #11181C;

    transition: opacity 0.3s ease;
}

.career-job-item:hover {
    opacity: 0.7;
}

/* Title */
.career-job-item span {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

/* Arrow */
.career-job-item i {
    font-size: 18px;
    color: #11181C;

    transition: transform 0.25s ease;
}

.career-job-item:hover i {
    transform: translateX(5px);
}

/* ===== Responsive ===== */

@media (max-width: 992px) {

    .career-jobs-wrapper {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .career-jobs-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .career-jobs-section {
        padding: 60px 0;
    }

    .career-jobs-sidebar h2 {
        font-size: 32px;
    }

    .career-job-item span {
        font-size: 17px;
    }

    .career-jobs-list {
        gap: 22px;
    }
}

/* ===== Student / New Grad Section ===== */

/* ===== Student / New Grad ===== */

.career-student-section {
    padding: 90px 0;
    background: #fff;
}

.career-student-wrapper {
    width: 88%;
    max-width: 1200px;
    margin: 0 auto;
}

.career-student-heading h2 {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.1;
    color: #11181C;
    font-family: "Work Sans", sans-serif;
    margin: 0;

    /* aligns with other left headings */
    max-width: 360px;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {

    .career-student-section {
        padding: 60px 0;
    }

    .career-student-wrapper {
        width: 100%;
    }

    .career-student-heading h2 {
        font-size: 32px;
        max-width: 100%;
    }
}

/* ===== Indigenous Bursary Section ===== */

.career-bursary-section {
    position: relative;
    overflow: hidden;
    padding: 120px 20px;
    color: #fff;
}

/* Background */
.career-bursary-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.career-bursary-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
    transform: scale(1.03);
}

.career-bursary-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
}

/* Content */
.career-bursary-content {
    position: relative;
    z-index: 2;

    width: 88%;
    max-width: 900px;

    margin: 0 auto;
    text-align: center;
}

.career-bursary-content h2 {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: "Work Sans", sans-serif;
}

.career-bursary-content p {
    font-size: 18px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 22px;
}

/* Button */
.career-bursary-btn {
    display: inline-block;
    margin-top: 18px;

    padding: 16px 34px;

    background: #1f9d63;
    color: #fff;

    text-decoration: none;
    font-weight: 600;
    font-size: 16px;

    border-radius: 4px;

    transition: opacity 0.3s ease,
        transform 0.3s ease;
}

.career-bursary-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ===== Responsive ===== */

@media (max-width: 992px) {

    .career-bursary-section {
        padding: 90px 20px;
    }

    .career-bursary-content h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {

    .career-bursary-section {
        padding: 70px 20px;
    }

    .career-bursary-content {
        width: 100%;
    }

    .career-bursary-content h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .career-bursary-content p {
        font-size: 16px;
        line-height: 1.8;
    }

    .career-bursary-btn {
        width: 100%;
        text-align: center;
    }
}


/* ===== Career CTA ===== */

.career-cta-section {
    padding: 110px 20px;
    background: #0B5FFF;
    color: #fff;
}

.career-cta-wrapper {
    width: 88%;
    max-width: 1000px;
    margin: 0 auto;
}

.career-cta-content {
    text-align: center;
}

/* Heading */
.career-cta-content h2 {
    font-size: 3.2rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 28px;
    font-family: "Work Sans", sans-serif;
    color: #fff;
}

/* Text */
.career-cta-content p {
    max-width: 760px;
    margin: 0 auto 38px;

    font-size: 20px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
}

/* Button */
.career-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 34px;

    background: #1f9d63;
    color: #fff;

    text-decoration: none;
    font-size: 16px;
    font-weight: 600;

    border-radius: 4px;

    transition: opacity 0.3s ease,
        transform 0.3s ease;
}

.career-cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ===== Responsive ===== */

@media (max-width: 768px) {

    .career-cta-section {
        padding: 80px 20px;
    }

    .career-cta-wrapper {
        width: 100%;
    }

    .career-cta-content h2 {
        font-size: 2.3rem;
    }

    .career-cta-content p {
        font-size: 17px;
        line-height: 1.8;
        margin-bottom: 32px;
    }

    .career-cta-btn {
        width: 100%;
    }
}

/* Form */

.application-section {
    background: #f9fdfb;
    padding: 90px 20px;
    color: #222;
}

.application-layout {
    width: 88%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: start;
}

.application-info {
    /* position: sticky; */
    top: 120px;
}

.application-info-inner {
    max-width: 320px;
}

.application-info h4 {
    font-size: 2.2rem;
    line-height: 1.1;
    font-weight: 600;
    color: #11181C;
    margin-bottom: 20px;
    font-family: "Work Sans", sans-serif;
}

.application-info p {
    font-size: 17px;
    line-height: 1.7;
    color: #5b6670;
    margin: 0;
    width: 100%;
    max-width: 340px;
    text-align: left;
    display: block;
}

.application-subtext {
    text-align: center;
    color: #aaa;
    margin-bottom: 40px;
}

.application-form-area {
    width: 100%;
}


/* HEADER */
.application-form-area h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
}


/* FORM CARD */
.form-group {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #1f2a38;
}

/* STEP CONTROL */
.step {
    display: none;
    animation: fadeSlide 0.4s ease;
}

.step.active {
    display: block;
}

/* ANIMATION */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* TITLES */
.form-group h2 {
    margin-bottom: 20px;
    color: #00c896;
    font-size: 22px;
}

/* INPUTS */
input,
select,
textarea {
    width: 100%;
    padding: 13px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #2a3545;
    background: #fff;
    color: #222;
    font-size: 14px;
    transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #00c896;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 200, 150, 0.2);
}

/* GRID */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* CHECKBOX GROUP */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, max-content));
    gap: 10px;
    justify-content: start;
}

.checkbox-group label {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: #f4fbf8;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #cfe5dc;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}

.checkbox-group label:hover {
    border-color: #00a86b;
    background: #e9f7f1;
}

.checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    cursor: pointer;
}

.checkbox-inline input {
    margin: 0;
    width: auto;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    transform: translateY(1px);
}

/* FILE INPUT */
input[type="file"] {
    background: #fff;
    padding: 10px;
    border: 1px dashed #cfe5dc;
}

/* BUTTONS */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.form-actions button {
    flex: 1;
    padding: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

/* BUTTON VARIANTS */
.form-actions button:nth-child(1) {
    background: #e6f4ee;
    color: #333;
}

.form-actions button:nth-child(2) {
    background: #00a86b;
    color: #fff;
}

.form-actions button:nth-child(3) {
    background: #00a86b;
    color: #fff;
}

.form-actions button:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* REVIEW BOX */
#reviewBox {
    background: #f4fbf8;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #cfe5dc;
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
}

#reviewBox p {
    margin-bottom: 10px;
    font-size: 14px;
    border-bottom: 1px solid #1f2a38;
    padding-bottom: 5px;
}

#reviewBox strong {
    color: #00c896;
}


.review-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dfeee8;
}

.review-section h3 {
    color: #00a86b;
    margin-bottom: 15px;
    font-size: 18px;
}

.review-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e5e5e5;
}

.review-label {
    font-weight: 600;
    color: #333;
    text-transform: capitalize;
}

.review-value {
    color: #555;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.edit-btn {
    background: transparent;
    border: 1px solid #00a86b;
    color: #00a86b;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.edit-btn:hover {
    background: #00a86b;
    color: #fff;
}


/* PROGRESS BAR (OPTIONAL BUT HIGHLY RECOMMENDED) */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.progress-bar div {
    flex: 1;
    height: 4px;
    background: #1f2a38;
    margin: 0 3px;
    border-radius: 10px;
}

.progress-bar .active {
    background: #00c896;
}

/* MOBILE */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .application-section h1 {
        font-size: 28px;
    }
}

/* Overlay and loader */

#loadingOverlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 12, 18, 0.72);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 999999;
}

.shield-loader {
    width: 110px;
    height: 130px;
    position: relative;
    clip-path: polygon(50% 0%,
            92% 18%,
            92% 58%,
            50% 100%,
            8% 58%,
            8% 18%);
    background: linear-gradient(145deg, #0dd8a2, #06795d);
    box-shadow:
        0 0 25px rgba(0, 200, 150, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.15);
    animation: shieldPulse 1.8s infinite ease-in-out;
}

/* Inner glow */
.shield-loader::before {
    content: "";
    position: absolute;
    inset: 8px;
    clip-path: polygon(50% 0%,
            92% 18%,
            92% 58%,
            50% 100%,
            8% 58%,
            8% 18%);
    background: rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

/* Rotating loader */
.dots {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    margin-left: -23px;
    margin-top: -23px;
    animation: spin 1.1s linear infinite;
}

.dots span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}

/* Position the dots in a circle */
.dots span:nth-child(1) {
    top: 0;
    left: 18px;
}

.dots span:nth-child(2) {
    top: 18px;
    right: 0;
}

.dots span:nth-child(3) {
    bottom: 0;
    left: 18px;
}

.dots span:nth-child(4) {
    top: 18px;
    left: 0;
}

/* Loading text */
.loading-text {
    margin-top: 22px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeText 1.5s infinite;
}

@keyframes shieldPulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.08);
        filter: brightness(1.15);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeText {
    0% {
        opacity: .4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: .4;
    }
}

@keyframes toastSlide {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#toast {
    position: fixed;
    top: 30px;
    right: 30px;
    min-width: 340px;
    background: #ffffff;
    border-left: 6px solid #00c896;
    border-radius: 16px;
    padding: 18px 20px;
    display: none;
    z-index: 999999;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: toastSlide 0.45s ease;
}

.toast-title {
    font-size: 17px;
    font-weight: 700;
    color: #0a7d3b;
    margin-bottom: 6px;
}

.toast-message {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}