/* ===== CAREERS HERO ===== */
.careers-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #fff8f7 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}
.careers-hero-bg {
    position: absolute;
    width: 500px; height: 500px;
    background: rgba(123,97,255,0.06);
    border-radius: 50%;
    top: -150px; right: -100px;
    pointer-events: none;
}
.careers-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0D132B;
    line-height: 1.2;
    margin-bottom: 18px;
}
.careers-hero-sub {
    font-size: 1rem;
    color: #666;
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 500px;
}
.careers-hero-img {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}
.careers-hero-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(123,97,255,0.15);
    object-fit: cover;
    height: 380px;
}
.careers-hero-badge {
    position: absolute;
    background: #fff;
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0D132B;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}
.careers-hero-badge i { color: var(--coral); }
.badge-1 { bottom: 24px; left: -20px; }
.badge-2 { top: 24px; right: -20px; }

@media (max-width: 991px) {
    .careers-hero { padding: 80px 0 60px; text-align: center; }
    .careers-hero-sub { margin: 0 auto 28px; }
    .careers-hero-title { font-size: 2rem; }
}
@media (max-width: 576px) {
    .careers-hero-title { font-size: 1.7rem; }
}

/* ===== WHY JOIN US ===== */
.careers-why {
    padding: 90px 0;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}
.why-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 26px;
    height: 100%;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.why-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 40px rgba(123,97,255,0.12);
}
.why-card-featured {
    background: linear-gradient(145deg, #0D132B, #1a2d50);
    border: none;
}
.why-card-featured h5,
.why-card-featured p { color: #fff !important; }
.why-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.why-icon i { font-size: 1.5rem; }
.why-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0D132B;
    margin-bottom: 10px;
}
.why-card p {
    font-size: 0.87rem;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* ===== OPEN POSITIONS ===== */
.careers-openings {
    padding: 90px 0;
    background: #f8f9ff;
    font-family: 'Poppins', sans-serif;
}
.careers-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}
.cf-btn {
    padding: 8px 22px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid #e8e8e8;
    background: #fff;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}
.cf-btn.active, .cf-btn:hover {
    background: var(--coral);
    border-color: var(--coral);
    color: #fff;
}
.job-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 26px;
    height: 100%;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(123,97,255,0.12);
}
.job-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.job-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.job-icon i { font-size: 1.3rem; }
.job-meta { display: flex; gap: 10px; align-items: center; }
.job-type {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}
.full-time { background: rgba(46,196,182,0.12); color: var(--teal); }
.part-time { background: rgba(255,200,87,0.2); color: #c98a00; }
.job-location {
    font-size: 0.78rem;
    color: #999;
    font-weight: 600;
}
.job-location i { margin-right: 4px; color: var(--coral); }
.job-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0D132B;
    margin-bottom: 8px;
}
.job-card p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.7;
    margin-bottom: 16px;
}
.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.job-skills span {
    background: #f0f4ff;
    color: var(--purple);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
}
.job-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f2f2f2;
}
.job-exp {
    font-size: 0.82rem;
    font-weight: 600;
    color: #888;
}
.job-exp i { margin-right: 5px; color: var(--coral); }

/* ===== APPLY SECTION ===== */
.careers-apply {
    padding: 90px 0;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}
.apply-image-panel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 480px;
}
.apply-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.apply-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,14,26,0.95) 50%, rgba(15,14,26,0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px 30px;
}
.apply-image-overlay h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}
.apply-image-overlay h3 span { color: var(--coral); }
.apply-image-overlay > p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}
.apply-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.apply-perks span {
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}
.apply-perks span i { color: var(--teal); }
.apply-form-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 8px 40px rgba(123,97,255,0.1);
    border: 1px solid #f0f0f0;
    height: 100%;
}
.apply-form-box h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0D132B;
    margin-bottom: 8px;
}
.apply-form-sub {
    font-size: 0.88rem;
    color: #888;
    margin-bottom: 28px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .careers-why, .careers-openings, .careers-apply { padding: 60px 0; }
    .apply-image-panel { min-height: 300px; margin-bottom: 24px; }
    .apply-form-box { padding: 24px 16px; }
    .careers-filters { gap: 6px; }
    .cf-btn { padding: 6px 14px; font-size: 0.78rem; }
}

/* ===== DARK MODE ===== */
body.dark-mode .careers-hero { background: linear-gradient(135deg, #0D132B 0%, #162040 100%); }
body.dark-mode .careers-hero-title { color: #f0f0f0; }
body.dark-mode .careers-hero-sub { color: #aaa; }
body.dark-mode .careers-hero-badge { background: #162040; color: #f0f0f0; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
body.dark-mode .careers-why { background: #0D132B; }
body.dark-mode .why-card { background: #162040; border-color: #1e2d50; }
body.dark-mode .why-card h5 { color: #f0f0f0; }
body.dark-mode .why-card p { color: #aaa; }
body.dark-mode .careers-openings { background: #0f1a30; }
body.dark-mode .job-card { background: #162040; border-color: #1e2d50; }
body.dark-mode .job-card h5 { color: #f0f0f0; }
body.dark-mode .job-card p { color: #aaa; }
body.dark-mode .job-skills span { background: #1e2d50; }
body.dark-mode .job-footer { border-color: #1e2d50; }
body.dark-mode .cf-btn { background: #162040; border-color: #1e2d50; color: #bbb; }
body.dark-mode .cf-btn.active, body.dark-mode .cf-btn:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
body.dark-mode .careers-apply { background: #0D132B; }
body.dark-mode .apply-form-box { background: #162040; border-color: #1e2d50; box-shadow: 0 8px 40px rgba(0,0,0,0.3); }
body.dark-mode .apply-form-box h4 { color: #f0f0f0; }
body.dark-mode .apply-form-sub { color: #888; }
