/* ==================== الإعدادات الأساسية ==================== */
body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8f9fa; /* لون رمادي فاتح جدًا وأكثر هدوءًا */
    color: #212529; /* لون أسود أقل حدة لقراءة مريحة */
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    line-height: 1.8;
}

.container {
    max-width: 900px;
    width: 100%;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ==================== الترويسة والشعار ==================== */
header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==================== تنسيق الشعار الصحيح ==================== */
.logo {
    width: 180px; /* يمكنك تعديل هذا الحجم كما تشاء */
    height: auto; /* للحفاظ على أبعاد الصورة الصحيحة */
    display: block; /* يضمن محاذاة أفضل */
}

.title-container h1 {
    font-size: 2.5em;
    color: #0056b3;
    margin-bottom: 0;
}

.title-container p {
    font-size: 1.2em;
    color: #6c757d;
    margin-top: 5px;
}

/* ==================== البطاقات (Cards) ==================== */
.card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card h2 {
    font-size: 1.8em;
    color: #007bff;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

/* ==================== الأقسام المخصصة ==================== */
.profile {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.profile-image { /* تم إنشاء فئة جديدة لصورة المدير */
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #007bff;
    object-fit: cover; /* يضمن أن الصورة تملأ الدائرة دون تشويه */
}

.profile-info p {
    font-size: 1.1em;
}

.about-center p {
    margin-bottom: 1.5em;
}

.about-center p:last-child {
    margin-bottom: 0;
}

/* ==================== الأزرار ==================== */
.login-button-container, .contact-button-container {
    text-align: center;
    margin-top: 20px;
}

.login-button {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 15px 40px;
    font-size: 1.4em;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
    margin-bottom: 20px; /* إضافة هامش للفصل بين الأزرار */
}

.login-button:hover {
    background-color: #218838;
    transform: translateY(-3px);
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #0084ff;
    color: white;
    padding: 12px 25px;
    font-size: 1.2em;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.contact-button i {
    font-size: 1.2em;
}

.contact-button:hover {
    background-color: #006edc;
}
