.career-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.career-hero {
    text-align: center;
    margin-bottom: 40px;
}

.career-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.career-hero p {
    font-size: 1.1rem;
    color: #555;
}
.career-form form p {
    margin-bottom: 20px;
}

.career-form input[type="text"],
.career-form input[type="email"],
.career-form input[type="tel"],
.career-form input[type="file"],
.career-form textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: none;
}

.career-form textarea {
    resize: none;
    height: 120px;
}

.career-form input[type="text"]:focus,
.career-form input[type="email"]:focus,
.career-form input[type="tel"]:focus,
.career-form textarea:focus {
    outline: none;
}

.career-form input[type="submit"] {
    background: #006051;
    color: #fff;
    border: 2px solid #006051;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    font-weight: bold;
    outline: none;
}
.career-form input[type="submit"]:hover {
    background: none;
    color: #000;
    border-color: #000;
}

.career-form label {
    display: inline-block;
    width: 100%;
}
form.wpcf7-form.sent .wpcf7-response-output {
    display: none !important;
}

.inner-banner.career::before {
    background: linear-gradient(to top, #000000, #505050);
    opacity: 0.5;
}

section#apply-form {
    margin-bottom: 50px;
    margin-top: 50px;
}

.inner-banner p {
    position: relative;
    z-index: 2;
    text-transform: none;
}

section.career-jobs {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.5px;
}

/* ===== Modern Job Card ===== */
.job-listings {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 20px;
}

.job-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.job-card-inner {
    padding: 40px 30px;
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.job-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #004d40;
    margin: 0;
}

.job-category {
    background: #004d40;
    color: #fff;
    font-size: 0.9rem;
    padding: 5px 14px;
    border-radius: 20px;
}

.job-description {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.apply-btn {
    display: inline-block;
    background: #004d40;
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background: #002f29;
}

.career-form {
    background: #f6f8fa;
    padding: 50px;
    border-radius: 16px;
    margin-top: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

section.career-jobs h2.section-title {
    margin: 0;
}

/* ===== Arabic Styles ===== */
body.rtl .career-form input,
body.rtl .career-form textarea {
    text-align: right;
    direction: rtl;
}
body.rtl span.wpcf7-spinner {
    float: left;
}
