/* ========================= */
/* HERO */
/* ========================= */
.careers-hero {
    height: 50vh;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    animation: fadeIn 1s ease-in-out;
}

.careers-hero h1 {
    font-size: 34px;
    margin-bottom: 10px;
}

.careers-hero p {
    font-size: 15px;
    opacity: 0.9;
}

/* ========================= */
/* SECTION */
/* ========================= */
.careers-section {
    padding: 70px 10%;
    text-align: center;
}

/* TITLE STYLE */
.careers-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #0f172a;
    position: relative;
}

/* underline accent */
.careers-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin: 10px auto 0;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 2px;
}

/* ========================= */
/* WHY JOIN GRID */
/* ========================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* CARD BASE */
.cards .card {
    background: white;
    padding: 30px 25px;
    border-radius: 14px;
    text-align: left;
    position: relative;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

/* LEFT ACCENT BAR */
.cards .card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

/* TITLE */
.cards .card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #0f172a;
}

/* TEXT */
.cards .card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* HOVER EFFECT */
.cards .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* subtle glow */
.cards .card:hover::before {
    width: 100%;
    opacity: 0.1;
}

/* ========================= */
/* JOB LIST */
/* ========================= */
.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* JOB CARD */
.job-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: left;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.job-card h3 {
    margin-bottom: 10px;
    color: #0f172a;
}

.job-card p {
    font-size: 14px;
    color: #475569;
}

/* hover */
.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* BUTTON */
.job-card button {
    margin-top: 15px;
    padding: 10px 14px;
    border: none;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;

    transition: 0.3s;
}

.job-card button:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

/* ========================= */
/* APPLY SECTION */
/* ========================= */
.apply-section {
    padding: 70px 10%;
    text-align: center;
}

.apply-section form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* INPUTS */
.apply-section input,
.apply-section textarea {
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;

    transition: 0.3s;
}

/* focus effect */
.apply-section input:focus,
.apply-section textarea:focus {
    border-color: #7c3aed;
    outline: none;
    box-shadow: 0 0 0 2px rgba(124,58,237,0.15);
}

/* SUBMIT BUTTON */
.apply-section button {
    padding: 12px;
    border: none;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;

    transition: 0.3s;
}

.apply-section button:hover {
    opacity: 0.9;
    transform: scale(1.03);
}

/* ========================= */
/* ANIMATION */
/* ========================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.selectable {
    cursor: pointer;
    transition: 0.3s;
}

.selectable:hover {
    transform: translateY(-5px);
    border: 2px solid #0ea5e9;
}

.type-details {
    margin-top: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
}
.upload-label {
    display: block;
    margin-top: 15px;
    font-weight: 500;
}

.file-name {
    font-size: 14px;
    color: #64748b;
    margin-top: 5px;
}
/* ========================= */
/* HERO IMAGE */
/* ========================= */
.careers-hero {
    position: relative;
    height: 80vh;
    background: url("hero8.jpg.jpg") center/cover no-repeat !important;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    color: white;
}

.careers-hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
}

.careers-hero h1,
.careers-hero p {
    position: relative;
    z-index: 2;
}
