/* =========================================
   تنسيقات صفحة "عن المركز" الاحترافية (about.css)
   ========================================= */

/* 1. قسم من نحن وقرار الإنشاء */
.about-grid-modern {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-title-left {
    font-size: 2.2rem;
    color: var(--primary-color, #1a5276);
    font-weight: 800;
    margin-bottom: 10px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color, #d35400);
    border-radius: 2px;
    margin-bottom: 25px;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.8;
    margin-bottom: 20px;
}

.desc-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
    text-align: justify;
}

/* بطاقة قرار الإنشاء الرسمية */
.creation-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e2e8f0;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    border-right: 5px solid var(--secondary-color, #d35400);
}

.creation-icon {
    position: absolute;
    top: -25px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color, #d35400);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(211, 84, 0, 0.3);
}

.creation-card h3 {
    color: var(--primary-color, #1a5276);
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 10px;
}

.creation-card p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.creation-card p:last-child { margin-bottom: 0; }


/* ========================================= */
/* 2. قسم الرؤية والرسالة */
/* ========================================= */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.vm-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color, #1a5276);
    transition: height 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.vm-card:hover::before { height: 6px; }

.vm-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

.vision-color { background: rgba(26, 82, 118, 0.1); color: var(--primary-color, #1a5276); }
.mission-color { background: rgba(211, 84, 0, 0.1); color: var(--secondary-color, #d35400); }

.vm-card h3 {
    font-size: 1.6rem;
    color: var(--text-dark, #2c3e50);
    margin-bottom: 15px;
}

.vm-card p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.9;
}


/* ========================================= */
/* 3. قسم ركائز الجودة */
/* ========================================= */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.quality-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.quality-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    border-color: var(--primary-color, #1a5276);
}

.q-icon {
    font-size: 3rem;
    color: var(--secondary-color, #d35400);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.quality-card:hover .q-icon {
    transform: scale(1.1);
    color: var(--primary-color, #1a5276);
}

.quality-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark, #333);
    margin-bottom: 15px;
    font-weight: 700;
}

.quality-card p {
    color: var(--text-light, #777);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ========================================= */
/* 4. شاشات الموبايل (Responsive) */
/* ========================================= */
@media (max-width: 992px) {
    .about-grid-modern {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title-left { text-align: center; }
    .title-underline { margin: 0 auto 25px; }
    .about-text-content { text-align: center; }
    .desc-text { text-align: center; }
}

@media (max-width: 768px) {
    .creation-card { padding: 30px 20px; }
    .creation-icon { right: 20px; }
    .vm-card { padding: 30px 20px; }
}