:root {
    --primary-color: #1e7e34;
    --secondary-color: #28a745;
    --accent-color: #20c997;
    --text-color: #212529;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    direction: rtl;
    text-align: right;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--secondary-color);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    margin-bottom: 10px;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}
.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}
.mobile-menu {
    display: none;
    background: var(--bg-white);
    padding: 20px;
    box-shadow: var(--shadow-md);
}
.mobile-menu.active {
    display: block;
}
.mobile-menu ul {
    list-style: none;
}
.mobile-menu li {
    margin: 15px 0;
}
.mobile-menu a {
    display: block;
    padding: 10px;
    color: var(--text-color);
    font-weight: 500;
}
.ad-container {
    margin: 20px 0;
}
.ad-placeholder {
    border-radius: var(--radius-sm);
    border: 2px dashed #ddd;
}
.ad-mid {
    text-align: center;
    margin: 40px 0;
}
.sidebar-ad {
    position: fixed;
    left: 20px;
    top: 150px;
    display: none;
}
.hero {
    background: linear-gradient(135deg, #979797, var(--secondary-color));    color: white;
    padding: 60px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 30px 0;
}
.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}
.quick-search {
    max-width: 700px;
    margin: 0 auto;
}
.quick-search form {
    display: flex;
    gap: 10px;
    background: white;
    padding: 8px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}
.quick-search input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    font-family: 'Tajawal', sans-serif;
}
.quick-search input:focus {
    outline: none;
}
.quick-search button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.quick-search button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.stat-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.stat-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}
.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}
.section {
    margin: 50px 0;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-color);
    padding-bottom: 15px;
}
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.region-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}
.region-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}
.region-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}
.region-count {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.city-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-right: 4px solid var(--primary-color);
}
.city-card:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
}
.city-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}
.city-region {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.city-count {
    color: var(--primary-color);
    font-weight: 700;
}
.jobs-list {
    display: grid;
    gap: 15px;
}
.job-item {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border-right: 4px solid transparent;
}
.job-item:hover {
    transform: translateX(-3px);
    box-shadow: var(--shadow-md);
    border-right-color: var(--primary-color);
}
.job-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}
.job-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
}
.job-count {
    color: var(--primary-color);
    font-weight: 700;
}
.seo-content {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    line-height: 1.8;
}
.seo-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}
.seo-content h3 {
    color: var(--text-color);
    margin: 25px 0 15px;
}
.seo-content p {
    margin-bottom: 15px;
}
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}
.footer-section ul {
    list-style: none;
}
.footer-section li {
    margin: 10px 0;
}
.footer-section a {
    color: rgba(255,255,255,0.8);
}
.footer-section a:hover {
    color: white;
}
.stats-list li {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}
.footer-bottom p {
    margin: 5px 0;
    color: rgba(255,255,255,0.7);
}
.disclaimer {
    font-size: 0.9rem;
}
@media (max-width: 992px) {
    .sidebar-ad {
        display: none;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .hero {
        padding: 40px 20px;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .quick-search form {
        flex-direction: column;
    }
    .quick-search button {
        width: 100%;
        justify-content: center;
    }
    .stats-cards {
        grid-template-columns: 1fr;
    }
    .regions-grid,
    .cities-grid {
        grid-template-columns: 1fr;
    }
    .job-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .logo h1 {
        font-size: 1.4rem;
    }
}
.text-center {
    text-align: center;
}
.mt-10 {
    margin-top: 10px;
}
.mt-20 {
    margin-top: 20px;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-20 {
    margin-bottom: 20px;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in {
    animation: fadeIn 0.5s ease;
}