* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #3E67A3;
            --primary-dark: #2a4c7a;
            --secondary-color: #03A180;
            --secondary-dark: #027a60;
            --accent-color: #BBE7F4;
            --light-color: #f8fafc;
            --dark-color: #1e293b;
            --text-color: #334155;
            --gray-light: #e2e8f0;
            --gray: #94a3b8;
            --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 15px 40px rgba(62, 103, 163, 0.15);
            --transition: all 0.3s ease;
            --border-radius: 16px;
        }

        body {
            font-family: 'Tajawal', sans-serif;
            line-height: 1.8;
            color: var(--text-color);
            background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf2 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .main-content {
            flex: 1;
            max-width: 1200px;
            width: 100%;
            margin: 80px auto 40px;
            padding: 0 20px;
        }

        /* Header Section */
        .page-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .page-header h1 {
            color: var(--primary-color);
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .page-header h1::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            border-radius: 2px;
        }

        .page-header p {
            color: var(--gray);
            font-size: 1.2rem;
            max-width: 600px;
            margin: 20px auto 0;
        }

        /* Jobs Grid */
        .jobs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        /* Job Card */
        .job-card {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid rgba(62, 103, 163, 0.1);
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .job-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            transform: scaleX(0);
            transition: var(--transition);
        }

        .job-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: transparent;
        }

        .job-card:hover::before {
            transform: scaleX(1);
        }

        /* Job Image */
        .job-image {
            width: 100%;
            height: 200px;
            overflow: hidden;
            position: relative;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        }

        .job-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .job-card:hover .job-image img {
            transform: scale(1.05);
        }

        .job-image.no-image {
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
        }

        .job-image.no-image i {
            font-size: 80px;
            color: var(--primary-color);
            opacity: 0.5;
        }

        /* Job Content */
        .job-content {
            padding: 25px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .job-title {
            color: var(--primary-color);
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .job-company {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--secondary-color);
            font-weight: 600;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .job-company i {
            font-size: 1.1rem;
        }

        .job-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--gray-light);
        }

        .job-meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
            color: var(--gray);
            font-size: 0.9rem;
            background: #f8fafc;
            padding: 5px 12px;
            border-radius: 30px;
        }

        .job-meta-item i {
            color: var(--primary-color);
            font-size: 0.9rem;
        }

        .job-description {
            color: var(--text-color);
            margin-bottom: 25px;
            line-height: 1.7;
            flex: 1;
        }

        /* Apply Button */
        .apply-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: white;
            padding: 14px 25px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            width: 100%;
            margin-top: auto;
            box-shadow: 0 4px 10px rgba(62, 103, 163, 0.2);
            position: relative;
            overflow: hidden;
        }

        .apply-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s ease;
        }

        .apply-btn:hover::before {
            left: 100%;
        }

        .apply-btn:hover {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            transform: scale(1.02);
            box-shadow: 0 8px 20px rgba(3, 161, 128, 0.3);
        }

        .apply-btn i {
            font-size: 1rem;
            transition: transform 0.3s ease;
        }

        .apply-btn:hover i {
            transform: translateX(-5px);
        }

        /* No Jobs Section */
        .no-jobs-container {
            text-align: center;
            background: white;
            border-radius: var(--border-radius);
            padding: 60px 40px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(62, 103, 163, 0.1);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.98);
            max-width: 600px;
            width: 100%;
            margin: 40px auto;
        }

        .no-jobs-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        }

        .icon-wrapper {
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            box-shadow: 0 10px 20px rgba(3, 161, 128, 0.3);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .icon-wrapper i {
            font-size: 60px;
            color: white;
        }

        .no-jobs-container h2 {
            color: var(--primary-color);
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .no-jobs-container .message {
            color: var(--text-color);
            font-size: 1.2rem;
            margin-bottom: 30px;
            line-height: 1.8;
        }

        /* Back Button */
        .back-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 14px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            margin-top: 30px;
            box-shadow: 0 4px 15px rgba(62, 103, 163, 0.3);
        }

        .back-btn:hover {
            background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
            transform: scale(1.05);
            box-shadow: 0 8px 25px rgba(3, 161, 128, 0.4);
        }

        .back-btn i {
            font-size: 1.1rem;
            transition: transform 0.3s ease;
        }

        .back-btn:hover i {
            transform: translateX(-5px);
        }

        /* Loading State */
        .loading {
            text-align: center;
            padding: 60px;
            display: none;
        }

        .loading i {
            font-size: 3rem;
            color: var(--primary-color);
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .main-content {
                margin: 100px auto 30px;
            }

            .jobs-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
                gap: 25px;
            }
        }

        @media (max-width: 768px) {
            .main-content {
                margin: 80px auto 20px;
                padding: 0 15px;
            }

            .page-header h1 {
                font-size: 2rem;
            }

            .page-header p {
                font-size: 1rem;
            }

            .jobs-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .job-card {
                max-width: 500px;
                margin: 0 auto;
                width: 100%;
            }

            .no-jobs-container {
                padding: 40px 25px;
            }

            .no-jobs-container h2 {
                font-size: 1.8rem;
            }

            .icon-wrapper {
                width: 100px;
                height: 100px;
            }

            .icon-wrapper i {
                font-size: 50px;
            }
        }

        @media (max-width: 480px) {
            .main-content {
                margin: 70px auto 15px;
                padding: 0 10px;
            }

            .page-header h1 {
                font-size: 1.8rem;
            }

            .job-card {
                max-width: 100%;
            }

            .job-content {
                padding: 20px;
            }

            .job-title {
                font-size: 1.3rem;
            }

            .job-meta {
                gap: 10px;
            }

            .job-meta-item {
                font-size: 0.8rem;
                padding: 4px 10px;
            }

            .no-jobs-container {
                padding: 30px 20px;
            }

            .no-jobs-container h2 {
                font-size: 1.5rem;
            }

            .icon-wrapper {
                width: 80px;
                height: 80px;
                margin-bottom: 20px;
            }

            .icon-wrapper i {
                font-size: 40px;
            }

            .message {
                font-size: 1rem;
            }

            .back-btn {
                padding: 12px 30px;
                font-size: 1rem;
            }
        }

        /* Animation for new jobs */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .job-card {
            animation: fadeInUp 0.5s ease forwards;
        }

        .job-card:nth-child(1) { animation-delay: 0.1s; }
        .job-card:nth-child(2) { animation-delay: 0.2s; }
        .job-card:nth-child(3) { animation-delay: 0.3s; }
        .job-card:nth-child(4) { animation-delay: 0.4s; }
        .job-card:nth-child(5) { animation-delay: 0.5s; }
        .job-card:nth-child(6) { animation-delay: 0.6s; }