/* =========================================
   🏗️ تصميم صفحة من نحن (Legendary Style)
   ========================================= */

/* --- 1. الهيرو (Hero) --- */
.about-hero {
    position: relative;
    height: 70vh; /* ارتفاع فخم */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effect للديسكتوب */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.about-hero .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.8), rgba(0,0,0,0.5));
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero .subtitle {
    display: block;
    font-size: 18px;
    color: var(--secondary-color); /* ذهبي */
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero h1 span {
    color: var(--secondary-color);
}

.about-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- 2. شريط الأرقام (Stats) --- */
.about-stats {
    background: var(--primary-dark); /* خلفية كحلية */
    padding: 60px 0;
    margin-top: -50px; /* تداخل مع الهيرو لشكل احترافي */
    position: relative;
    z-index: 3;
    border-radius: 0 0 20px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .counter {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

/* --- 3. القصة (Story) --- */
.about-story {
    padding: 100px 0;
    background: #fff;
    overflow: hidden; /* لمنع السكرول العرضي بسبب الأنيميشن */
}

.grid-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-img {
    position: relative;
}

.story-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.exp-badge {
    position: absolute;
    bottom: -30px;
    left: 30px;
    background: var(--secondary-color);
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.exp-badge .years {
    display: block;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.section-title {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.story-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.features-list {
    margin-top: 30px;
}

.feat {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.feat i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.feat h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

/* --- 4. القيم (Values) --- */
.about-values {
    padding: 100px 0;
    background: #f9f9f9;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid #eee;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--secondary-color);
}

.value-card .icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1); /* ذهبي شفاف */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    color: var(--secondary-color);
    transition: 0.4s;
}

.value-card:hover .icon {
    background: var(--secondary-color);
    color: #fff;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* --- 5. CTA --- */
.about-cta {
    padding: 80px 0;
    background: url('../images/pattern.png') repeat; /* خلفية باترن خفيفة لو موجودة */
}

.cta-box {
    background: var(--primary-dark);
    color: #fff;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    background-image: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
}

.cta-box h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.btn-gold {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 30px;
    transition: 0.3s;
    font-size: 18px;
}

.btn-gold:hover {
    background: #fff;
    color: var(--secondary-color);
    transform: scale(1.05);
}

/* --- 📱 التجاوب (Mobile & Tablet) --- */
@media (max-width: 992px) {
    .about-hero { height: auto; padding: 120px 0 100px; background-attachment: scroll; }
    .about-hero h1 { font-size: 2.5rem; }
    
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .about-stats { margin-top: 0; border-radius: 0; }
    
    .grid-story { grid-template-columns: 1fr; text-align: center; }
    .story-img { margin-bottom: 50px; }
    .exp-badge { left: 50%; transform: translateX(-50%); bottom: -40px; }
    .section-title::after { right: 50%; transform: translateX(50%); }
    .feat { text-align: right; } /* المحافظة على اتساق القائمة */
    
    .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 30px 15px; }
    .cta-box h2 { font-size: 26px; }
}
/* =========================================
   ✨ تأثيرات الحركة (Animations)
   توضع في نهاية ملف 8-about.css
   ========================================= */

/* الحالة المبدئية (مخفي ومزاح لأسفل) */
.reveal-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); /* حركة ناعمة جداً */
}

/* حالة الظهور (التي يضيفها الجافاسكريبت) */
.reveal-hidden.active {
    opacity: 1;
    transform: translateY(0);
}

/* تحسين حركة الكروت لتظهر بتتابع */
.value-card.reveal-hidden { transition-delay: 0.1s; }
.value-card:nth-child(2).reveal-hidden { transition-delay: 0.2s; }
.value-card:nth-child(3).reveal-hidden { transition-delay: 0.3s; }