/* ==========================================================================
   تنسيقات صفحة (من نحن) لشركة ركاز - about.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. قسم البانر الافتتاحي (Hero)
   -------------------------------------------------------------------------- */
.about-hero {
    background-color: var(--rekaz-navy, #0b101d);
    background-image: url('assets/images/about-bg.jpg'); /* اختياري: صورة خلفية للبانر */
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    border-bottom: 3px solid var(--rekaz-gold, #cca456);
}

.about-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 7, 19, 0.85); 
}

.relative-z {
    position: relative;
    z-index: 2;
}

.about-hero .subtitle {
    display: block;
    color: var(--rekaz-gold, #cca456);
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-hero .title {
    font-size: 40px;
    font-weight: 900;
}

/* --------------------------------------------------------------------------
   2. العناوين المشتركة
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }

.section-title {
    font-size: 36px;
    color: var(--rekaz-navy, #080c25);
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title-left {
    font-size: 32px;
    color: var(--rekaz-navy, #080c25);
    font-weight: 700;
    margin-bottom: 15px;
}

.title-underline {
    width: 60px;
    height: 3px;
    background-color: var(--rekaz-gold, #cca456);
    margin: 0 auto 30px;
}

.title-underline-left {
    width: 60px;
    height: 3px;
    background-color: var(--rekaz-gold, #cca456);
    margin: 0 0 30px 0;
}

/* --------------------------------------------------------------------------
   3. قسم قصتنا (Story Section)
   -------------------------------------------------------------------------- */
.story-grid {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.story-content {
    flex: 1;
    min-width: 300px;
}

.story-content p {
    font-size: 17px;
    color: var(--rekaz-text-muted, #666);
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-image-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.story-image-box img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(8, 12, 37, 0.15);
    border: 4px solid var(--rekaz-gold, #cca456);
}

/* --------------------------------------------------------------------------
   4. قسم الأرقام والإحصائيات (Numbers Section)
   -------------------------------------------------------------------------- */
.numbers-section {
    background-color: var(--rekaz-navy, #080c25);
    padding: 60px 0;
    color: #fff;
    border-top: 2px solid rgba(255,255,255,0.05);
    border-bottom: 2px solid rgba(255,255,255,0.05);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.number-card i {
    font-size: 40px;
    color: var(--rekaz-gold, #cca456);
    margin-bottom: 15px;
}

.number-card h3 {
    font-size: 45px;
    font-weight: 900;
    margin-bottom: 5px;
    color: #fff;
}

.number-card p {
    font-size: 16px;
    color: #cbd0d8;
}

/* --------------------------------------------------------------------------
   5. قسم الرؤية والرسالة (Vision & Mission)
   -------------------------------------------------------------------------- */
.vision-mission-section {
    background-color: var(--rekaz-bg-light, #f7f8fa);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vm-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border-bottom: 4px solid var(--rekaz-gold, #cca456);
}

.vm-card.dark-card {
    background: var(--rekaz-navy, #080c25);
    color: #fff;
}

.vm-icon {
    font-size: 50px;
    color: var(--rekaz-gold, #cca456);
    margin-bottom: 20px;
}

.vm-card h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: inherit;
}

.vm-card:not(.dark-card) h3 { color: var(--rekaz-navy, #080c25); }
.vm-card:not(.dark-card) p { color: var(--rekaz-text-muted, #666); }

.vm-card p {
    font-size: 17px;
    line-height: 1.8;
}
.vm-card.dark-card p { color: #cbd0d8; }

/* --------------------------------------------------------------------------
   6. قسم القيم الجوهرية (Core Values)
   -------------------------------------------------------------------------- */
.values-intro {
    font-size: 18px;
    color: var(--rekaz-text-muted, #666);
    margin-bottom: 50px;
}

.values-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.value-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px 20px;
    border-radius: 10px;
    width: calc(33.333% - 20px);
    min-width: 250px;
    text-align: center;
    transition: 0.3s;
}

.value-card:hover {
    box-shadow: 0 10px 25px rgba(8, 12, 37, 0.08);
    transform: translateY(-5px);
    border-color: var(--rekaz-gold, #cca456);
}

.v-icon {
    font-size: 35px;
    color: var(--rekaz-gold, #cca456);
    margin-bottom: 15px;
}

.value-card h4 {
    font-size: 20px;
    color: var(--rekaz-navy, #080c25);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 15px;
    color: var(--rekaz-text-muted, #666);
}

/* --------------------------------------------------------------------------
   7. قسم فريق القيادة (Leadership Team)
   -------------------------------------------------------------------------- */
.team-section {
    background-color: var(--rekaz-bg-light, #f7f8fa);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.team-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 25px 20px;
}

.team-info h4 {
    color: var(--rekaz-navy, #080c25);
    font-size: 20px;
    margin-bottom: 5px;
}

.team-info p {
    color: var(--rekaz-gold, #cca456);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-info a {
    color: #0077b5; /* لون لينكد إن */
    font-size: 20px;
    transition: 0.3s;
}

.team-info a:hover {
    color: var(--rekaz-navy, #080c25);
}

/* --------------------------------------------------------------------------
   8. قسم التحفيز (Pre-Footer CTA)
   -------------------------------------------------------------------------- */
.cta-section {
    background-color: var(--rekaz-navy, #080c25);
    padding: 80px 0;
    color: #fff;
    border-top: 3px solid var(--rekaz-gold, #cca456);
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #fff;
}

.cta-section p {
    font-size: 18px;
    color: #cbd0d8;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    font-size: 18px;
    padding: 12px 35px;
}

/* --------------------------------------------------------------------------
   9. التجاوب مع شاشات الهواتف (Responsive)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .about-hero .title { font-size: 30px; }
    .story-grid { flex-direction: column; text-align: center; }
    .title-underline-left { margin: 0 auto 30px; }
    .values-wrapper { flex-direction: column; }
    .value-card { width: 100%; }
}