.jobs-hero {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #344697 0%, #667eea 100%);
    color: white;
    text-align: center;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.jobs-hero .hero-background {
    position: absolute;
    top: 10;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 0;
}

.jobs-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 70, 151, 0.3);
    z-index: 1;
}

.jobs-hero .container {
    position: relative;
    z-index: 2;
}

.jobs-hero .hero-content {
    text-align: center;
}

.jobs-hero .hero-icon {
    font-size: 48px;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.jobs-hero .hero-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.jobs-hero .hero-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

.jobs-content {
    background: var(--section-soft-bg);
    padding: 4rem 0;
}

.jobs-filter {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #344697;
    font-size: 16px;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text-main);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #344697;
    box-shadow: 0 0 0 3px rgba(52, 70, 151, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-main);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #344697;
    color: #344697;
}

.filter-btn.active {
    background: #344697;
    color: white;
    border-color: #344697;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.job-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(52, 70, 151, 0.15);
    border-color: #344697;
}

.job-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.job-icon {
    width: 50px;
    height: 50px;
    background: rgba(52, 70, 151, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #344697;
    flex-shrink: 0;
}

.job-title-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.job-department {
    font-size: 12px;
    color: #344697;
    font-weight: 600;
}

.job-description {
    color: var(--text-sub);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    color: var(--text-sub);
}

.job-meta-item i {
    color: #344697;
    width: 16px;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-salary {
    font-size: 14px;
    font-weight: 700;
    color: #10b981;
}

.job-apply-btn {
    padding: 0.5rem 1rem;
    background: #344697;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.job-apply-btn:hover {
    background: #2a3a7a;
    transform: scale(1.05);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-sub);
}

.no-results i {
    font-size: 48px;
    color: #344697;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results p {
    font-size: 16px;
}

.application-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem 0;
}

.application-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #344697;
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--card-border);
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.modal-department {
    font-size: 13px;
    color: #344697;
    font-weight: 600;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-section h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    font-size: 13px;
    background: var(--input-bg);
    color: var(--text-main);
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #344697;
    box-shadow: 0 0 0 3px rgba(52, 70, 151, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.file-input {
    position: relative;
    display: block;
}

.file-input input {
    display: none;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    border: 2px dashed var(--card-border);
    border-radius: 8px;
    background: rgba(52, 70, 151, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    color: var(--text-sub);
}

.file-label:hover {
    border-color: #344697;
    background: rgba(52, 70, 151, 0.1);
    color: #344697;
}

.file-label i {
    font-size: 20px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-submit,
.btn-cancel {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit {
    background: #344697;
    color: white;
}

.btn-submit:hover {
    background: #2a3a7a;
    transform: translateY(-2px);
}

.btn-cancel {
    background: var(--card-border);
    color: var(--text-main);
}

.btn-cancel:hover {
    background: var(--card-border);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .jobs-hero {
        padding: 6rem 0;
        min-height: 250px;
    }

    .jobs-hero .hero-title {
        font-size: 24px;
    }

    .jobs-hero .hero-subtitle {
        font-size: 14px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .modal-content {
        margin: 1rem;
        max-height: 95vh;
    }
}

@media (max-width: 480px) {
    .jobs-hero {
        padding: 6rem 0 3rem;
        min-height: 200px;
    }

    .jobs-hero .hero-icon {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }

    .jobs-hero .hero-title {
        font-size: 20px;
    }

    .jobs-hero .hero-subtitle {
        font-size: 12px;
    }

    .jobs-filter {
        padding: 1rem;
    }

    .search-box input {
        font-size: 13px;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 12px;
    }

    .job-card {
        padding: 1.5rem;
    }

    .job-header {
        gap: 0.75rem;
    }

    .job-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .job-title-section h3 {
        font-size: 14px;
    }

    .job-description {
        font-size: 12px;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 18px;
    }

    .form-section h3 {
        font-size: 12px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 12px;
    }

    .file-label {
        padding: 1.5rem;
        font-size: 12px;
    }

    .btn-submit,
    .btn-cancel {
        padding: 0.6rem 1rem;
        font-size: 12px;
    }
}

.application-hero {
    position: relative;
    padding: 3rem 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-align: center;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: center;
}

.application-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 0;
}

.application-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 185, 129, 0.3);
    z-index: 1;
}

.application-hero .container {
    position: relative;
    z-index: 2;
}

.application-hero .hero-content {
    text-align: center;
}

.application-hero .hero-icon {
    font-size: 40px;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

.application-hero .hero-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.application-hero .hero-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.job-info-section {
    padding: 5rem 0 2rem 0;
    background: var(--section-soft-bg);
}

.job-info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(52, 70, 151, 0.1);
}

.job-info-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--card-border);
}

.job-info-header .job-icon {
    width: 60px;
    height: 60px;
    background: rgba(52, 70, 151, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #344697;
    flex-shrink: 0;
}

.job-info-header .job-title-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.job-info-header .job-department {
    font-size: 13px;
    color: #344697;
    font-weight: 600;
}

.job-info-card .job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.job-info-card .job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 13px;
    color: var(--text-sub);
}

.job-info-card .job-meta-item i {
    color: #344697;
    width: 16px;
}

.application-form-section {
    padding: 4rem 0;
    background: var(--section-soft-bg);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 12px 32px rgba(52, 70, 151, 0.15);
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--card-border);
}

.form-section h3 i {
    color: #344697;
    font-size: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--card-border);
    border-radius: 8px;
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text-main);
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #344697;
    box-shadow: 0 0 0 4px rgba(52, 70, 151, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.file-input {
    position: relative;
    display: block;
}

.file-input input {
    display: none;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2.5rem;
    border: 2px dashed var(--card-border);
    border-radius: 8px;
    background: rgba(52, 70, 151, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--text-sub);
}

.file-label:hover {
    border-color: #344697;
    background: rgba(52, 70, 151, 0.1);
    color: #344697;
}

.file-label i {
    font-size: 24px;
}

.form-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--card-border);
}

.btn-submit,
.btn-cancel {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-submit {
    background: #344697;
    color: white;
}

.btn-submit:hover {
    background: #2a3a7a;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(52, 70, 151, 0.3);
}

.btn-cancel {
    background: var(--card-border);
    color: var(--text-main);
}

.btn-cancel:hover {
    background: var(--card-border);
    opacity: 0.8;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .application-hero {
        padding: 2rem 0;
        min-height: 200px;
    }

    .application-hero .hero-title {
        font-size: 22px;
    }

    .application-hero .hero-subtitle {
        font-size: 13px;
    }

    .form-wrapper {
        margin: 1rem;
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .job-info-card {
        margin: 1rem;
        padding: 1.5rem;
    }

    .job-info-header {
        gap: 0.75rem;
    }

    .job-info-header .job-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .job-info-header .job-title-section h2 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .application-hero {
        padding: 1.5rem 0;
        min-height: 180px;
    }

    .application-hero .hero-icon {
        width: 50px;
        height: 50px;
        font-size: 32px;
    }

    .application-hero .hero-title {
        font-size: 20px;
    }

    .application-hero .hero-subtitle {
        font-size: 12px;
    }

    .form-wrapper {
        padding: 1.5rem;
    }

    .form-section h3 {
        font-size: 14px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 13px;
        padding: 0.75rem;
    }

    .file-label {
        padding: 2rem;
        font-size: 13px;
    }

    .btn-submit,
    .btn-cancel {
        padding: 0.75rem 1.5rem;
        font-size: 13px;
    }
}