body {
    margin: 0;
    background: #000;
    color: #eee;
    font-family: "Segoe UI", sans-serif;
}

/* LANGUAGE SWITCH */
.lang-switch {
    position: absolute;
    top: 8px;
    right: 30px;
    z-index: 999;
    display: flex;
    gap: 10px;
}

.lang-switch button {
    width: 90px;
    height: 34px;
    padding: 0;
    background: #c9a856;
    color: #000;
    border: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.lang-switch button:hover {
    background: #d8b864;
}

/* HEADER */
.main-header {
    background: #0d0d0d;
    padding: 55px 60px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}

.logo-text {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.main-header nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-header a {
    margin-left: 0;
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
}

.main-header a:hover,
.main-header .active {
    color: #c9a856;
}

/* HERO */
.career-hero {
    padding: 80px 20px;
    text-align: center;
    background: radial-gradient(circle, rgba(201,168,86,0.18), transparent 70%);
}

.section-title {
    font-size: 42px;
    color: #c9a856;
    text-align: center;
    text-shadow: 0 0 15px rgba(201,168,86,0.4);
}

/* INTRO */
.career-intro {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
}

/* JOB LISTINGS */
.job-section {
    padding: 40px;
}

.section-subtitle {
    color: #c9a856;
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
}

.job-list {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.job-card {
    width: 330px;
    background: #111;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: center;
    box-shadow: 0 0 15px rgba(201,168,86,0.2);
    transition: 0.3s;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(201,168,86,0.45);
}

.apply-btn {
    margin-top: 15px;
    background: #c9a856;
    color: #000;
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

/* APPLY POPUP */
.apply-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.hidden {
    display: none;
}

.apply-box {
    width: 420px;
    background: #111;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid #c9a856;
    box-shadow: 0 0 25px rgba(201,168,86,0.5);
    position: relative;
}

.close-popup {
    position: absolute;
    right: 14px;
    top: 8px;
    font-size: 28px;
    cursor: pointer;
    color: #c9a856;
}

.apply-box input,
.apply-box textarea {
    width: 100%;
    box-sizing: border-box;
    background: #222;
    border: 1px solid #555;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    color: #eee;
}

.submit-btn {
    width: 100%;
    background: #c9a856;
    color: #000;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

/* WHATSAPP BUTTON */
.whatsapp-btn {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 12px;
    background: #25d366;
    border-radius: 8px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

/* RTL SUPPORT */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .main-header {
    direction: rtl;
}

body.rtl .main-header a {
    margin-right: 0;
}

body.rtl .career-hero,
body.rtl .career-intro,
body.rtl .job-card,
body.rtl .main-footer {
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .main-header {
        padding: 55px 20px 18px;
        flex-direction: column;
        gap: 15px;
    }

    .main-header nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .job-section {
        padding: 40px 20px;
    }

    .apply-box {
        width: 90%;
    }
}