﻿/* ==========================================
   About Page Styles - صفحة عن المديرية
   ========================================== */

.about-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.08);
    border: 1px solid #bae6fd;
    padding: 40px;
    margin-bottom: 40px;
    direction: rtl;
    text-align: right;
    justify-content: center;
}

.about-page-title {
    color: #0369a1;
    border: 2px solid #0284c7;
    padding: 12px 25px;
    border-radius: 10px;
    display: inline-block;
    background: #e0f2fe;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
    font-weight: 800;
}

/* تنسيق الصورة البانر في أعلى الشرح */
.about-banner-container {
    width: 80%;
    max-height: 450px;
    border-radius: 12px;
    overflow: hidden;
    margin: 25px auto; /* 🔹 جعل الهامش العلوي والسفل 25px واليمين واليسار تلقائي لتوسيط الصندوق تماماً */
    border: 2px solid #bae6fd;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    background-color: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-banner-container img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: fill; /* 🔹 يتسبب في مط وتمديد الصورة (Stretch) لتملأ الإطار بالكامل */
    display: block;
}

/* تنسيق النصوص وتقسيمها لفقرات مريحة للقراءة */
.about-content-box p {
    font-size: 1.05rem;
    color: #1e293b;
    line-height: 2;
    margin-bottom: 20px;
    text-align: justify;
}

.about-content-box strong {
    color: #0369a1;
}

/* زر العودة */
.btn-back-home {
    display: inline-block;
    background-color: #0284c7;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
    transition: background 0.3s, transform 0.2s;
    margin-top: 20px;
}

.btn-back-home:hover {
    background-color: #0369a1;
    color: white;
    transform: translateY(-2px);
}