/* ========================================= */
/* 1. الإعدادات العامة والخطوط */
/* ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* تطبيق الخطوط حسب لغة الصفحة */
html[lang="ar"] body { font-family: 'Tajawal', sans-serif; background-color: #f8f9fa; color: #333; }
html[lang="en"] body { font-family: 'Poppins', sans-serif; background-color: #f8f9fa; color: #333; }

/* ========================================= */
/* 2. حل مشكلة الأيقونات (المربعات الفارغة) */
/* ========================================= */
i.fas, i.fa-solid { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
i.fab, i.fa-brands { font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; }

/* ========================================= */
/* 3. تنسيقات الأقسام (الرئيسية والخدمات) */
/* ========================================= */
.hero-section { background: linear-gradient(135deg, #0B3B60 0%, #3A7CA5 100%); padding: 100px 0; }
.btn-whatsapp { background-color: #25d366; color: white; transition: all 0.3s ease; }
.btn-whatsapp:hover { background-color: #1ebe57; color: white; transform: scale(1.05); }

.service-card { transition: transform 0.3s ease, box-shadow 0.3s ease; border: none; border-radius: 15px; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important; }
.main-service { border-top: 5px solid #0B3B60 !important; }

.icon-box { width: 70px; height: 70px; display: inline-flex; align-items: center; justify-content: center; background: rgba(11, 59, 96, 0.1); color: #0B3B60; border-radius: 50%; margin-bottom: 20px; }
.step-number { width: 50px; height: 50px; background-color: #0B3B60; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-weight: bold; font-size: 1.2rem; }

/* ========================================= */
/* 4. التذييل (Footer) */
/* ========================================= */
footer { background-color: #1a1a1a; }
/* ========================================= */
/* 5. تصميم أداة فحص السيرة الذاتية (ATS) */
/* ========================================= */

/* منطقة السحب والإفلات */
.drop-zone {
    max-width: 100%;
    height: 250px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: inherit;
    font-weight: 500;
    font-size: 1.2rem;
    cursor: pointer;
    color: #cccccc;
    border: 3px dashed #0B3B60;
    border-radius: 15px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.drop-zone--over {
    border-style: solid;
    background-color: rgba(11, 59, 96, 0.1);
    color: #0B3B60;
}

.drop-zone__input {
    display: none;
}

/* العداد الدائري للنتائج */
.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.score-danger { background: linear-gradient(135deg, #dc3545, #f8d7da); } /* أحمر: منطقة الخطر */
.score-warning { background: linear-gradient(135deg, #ffc107, #fff3cd); } /* أصفر: يحتاج تحسين */
.score-success { background: linear-gradient(135deg, #198754, #d1e7dd); } /* أخضر: جاهز للمقابلة */

/* شريط التحميل */
.loader-container { display: none; text-align: center; padding: 40px 0; }
.results-container { display: none; }