/* ==========================================================================
   بكسل رحلتي - PIXEL REHLATY | Unified Design System (Purple Royal Edition)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* باليت الألوان الملكية مستوحاة من البروفايل */
    --primary: #3b0764;          /* بنفسجي ملكي غامق */
    --primary-hover: #2e1065;    /* بنفسجي داكن جداً */
    --accent: #6b21a8;           /* بنفسجي متوسط جذاب */
    --accent-light: #9333ea;     /* توهج بنفسجي مشرق */
    --purple-soft: #f5f3ff;      /* خلفية بنفسجية ناعمة جداً */
    --purple-border: #e9d5ff;    /* حدود بنفسجية رقيقة */
    
    /* ألوان الأساسيات */
    --dark-pure: #090611;        /* أسود فاحم بلمسة بنفسجية خفيفة */
    --dark-slate: #1e1b4b;       /* كحلي بنفسجي داكن للعناوين */
    --text-main: #0f172a;        /* نص أسود داكن ومريح للقراءة */
    --text-muted: #64748b;       /* نص رمادي ثانوي */
    --text-light: #ffffff;
    
    --bg-white: #ffffff;
    --bg-surface: #faf5ff;
    --bg-card: #ffffff;
    
    --border-light: #e2e8f0;
    --shadow-subtle: 0 4px 20px rgba(59, 7, 100, 0.05);
    --shadow-elevated: 0 15px 35px rgba(59, 7, 100, 0.1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: "Readex Pro", sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

[dir="ltr"] body {
  font-family: "Raleway", sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- الهيدر الموحد لجميع الصفحات --- */
.site-header {
    position: fixed; /* لتثبيته مباشرة فوق الصورة */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.desktop-nav a {
    position: relative;
    text-decoration: none;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 700;
    padding: 8px 4px;
    transition: color 0.3s ease;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-light);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[dir="rtl"] .desktop-nav a::after {
    left: auto;
    right: 0;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent-light);
}
.header-cta {
    background-color: var(--primary);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 7, 100, 0.2);
}

.header-cta:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 7, 100, 0.3);
}

.header-cta::after {
    display: none !important;
}

/* زر الهمبرغر */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: #ffffff;
    cursor: pointer;
}

/* الأزرار العائمة */
.floating-social {
    position: fixed;
    right: 25px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

[dir="rtl"] .floating-social {
    right: auto;
    left: 25px;
}

.floating-social a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.floating-social a:hover {
    transform: scale(1.12);
}

.floating-whatsapp { background-color: #25d366; }
.floating-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%); }

.hero-art-section {
    position: relative;
    min-height: 100vh; /* يغطي الشاشة بالكامل من الأعلى للأسفل */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 20px 100px; /* مسافة 160px علوية لعدم ملامسة النصوص للهيدر */
    
    background-image: 
        linear-gradient(180deg, rgba(15, 7, 30, 0.55) 0%, rgba(59, 7, 100, 0.82) 100%), 
        url('homepng.jpg');
        
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    overflow: hidden;
}

.hero-art-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(107, 33, 168, 0.35) 0%, transparent 75%);
    pointer-events: none;
    z-index: 1;
}

.hero-art-content {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-art-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #f5f3ff;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-art-content h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
  font-family: "Readex Pro", sans-serif;

}

.hero-art-content h1 span {
    color: #e9d5ff;
  font-family: "Readex Pro", sans-serif;

}

.hero-art-content p {
    font-size: 20px;
    color: #f1f5f9;
    font-weight: 600;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-solid-purple {
    background: linear-gradient(135deg, #6b21a8, #3b0764);
    color: #ffffff;
    padding: 14px 34px;
    border-radius: 30px;
    font-weight: 800;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(59, 7, 100, 0.4);
    transition: all 0.3s ease;
}

.btn-solid-purple:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(59, 7, 100, 0.6);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: #ffffff;
    padding: 14px 34px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: #ffffff;
    color: var(--primary);
    transform: translateY(-3px);
}

.inner-hero {
    background: linear-gradient(135deg, #090611 0%, #3b0764 60%, #581c87 100%);
    color: #ffffff;
    padding: 90px 20px 80px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.inner-hero h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 12px;
}

.inner-hero h1 span {
    color: #d8b4fe;
}

.inner-hero p {
    font-size: 18px;
    color: #e2e8f0;
    max-width: 750px;
    margin: 0 auto;
}

/* --- شريط الشركاء المتحرك اللانهائي (Partners Infinite Marquee) --- */
.partners-section {
    padding: 70px 0;
    background-color: #faf5ff;
    border-top: 1px solid var(--purple-border);
    border-bottom: 1px solid var(--purple-border);
    overflow: hidden;
    position: relative;
}

.partners-header {
    text-align: center;
    margin-bottom: 45px;
}

.partners-header h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
}

.partners-header p {
    color: var(--text-muted);
    font-size: 16px;
    margin-top: 6px;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 20px;
    padding: 10px 0;
}

.marquee-track {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
    align-items: center;
    animation: scroll-left 35s linear infinite;
}

.marquee-track.reverse {
    animation: scroll-right 35s linear infinite;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.partner-logo-box {
    width: 200px;
    height: 90px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.partner-logo-box:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.partner-brand-name {
    font-size: 16px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@keyframes scroll-right {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

[dir="rtl"] .marquee-track {
    animation: scroll-right-rtl 35s linear infinite;
}
[dir="rtl"] .marquee-track.reverse {
    animation: scroll-left-rtl 35s linear infinite;
}

@keyframes scroll-right-rtl {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}
@keyframes scroll-left-rtl {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* --- بطاقات الخدمات والمميزات الفاخرة --- */
.section-padding {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 55px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 17px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.pro-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pro-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
    border-color: var(--purple-border);
}

.pro-card:hover::before {
    opacity: 1;
}

.pro-card-icon {
    width: 64px;
    height: 64px;
    background: var(--purple-soft);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.pro-card:hover .pro-card-icon {
    background: var(--primary);
    color: #ffffff;
}

.pro-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark-slate);
    margin-bottom: 12px;
}

.pro-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* الفوتر الموحد */
.site-footer {
    background-color: #090611;
    color: #94a3b8;
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-content h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
}

.footer-content p {
    font-size: 15px;
    margin-bottom: 6px;
}

.footer-copy {
    margin-top: 30px;
    font-size: 13px;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/* التجاوب للشاشات الصغيرة */
@media (max-width: 992px) {
    .hamburger-btn {
        display: block;
    }

    .desktop-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 290px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 24px 30px;
        gap: 16px;
        transition: right 0.4s ease;
        z-index: 999;
    }

    [dir="rtl"] .desktop-nav {
        right: auto;
        left: -100%;
        box-shadow: 5px 0 30px rgba(0,0,0,0.15);
        transition: left 0.4s ease;
    }

    .desktop-nav.active {
        right: 0;
    }
    [dir="rtl"] .desktop-nav.active {
        left: 0;
    }

    .desktop-nav a {
        width: 100%;
        font-size: 17px;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }
    .lang-btn, .header-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-art-content h1 {
        font-size: 34px;
    }
}
/* ==========================================================================
   أقسام صفحة من نحن (About Us) - الهوية البنفسجية الملكية
   ========================================================================== */

/* قسم القصة */
.about-story-section {
    padding: 90px 0;
    background-color: var(--bg-white);
}

.story-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.story-text {
    flex: 1.2;
}

.story-text h2 {
    font-size: 34px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
}

.story-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    margin-top: 10px;
    border-radius: 2px;
}

.story-text p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.9;
}

.story-image-box {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    border: 1px solid var(--purple-border);
}

.story-image-box img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.story-image-box:hover img {
    transform: scale(1.04);
}

/* قسم العدادات الرقمية */
.stats-section {
    background: linear-gradient(135deg, #1e1b4b 0%, #3b0764 100%);
    color: #ffffff;
    padding: 70px 0;
    border-top: 1px solid var(--purple-border);
    border-bottom: 1px solid var(--purple-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    text-align: center;
}

.stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 35px 20px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-light);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.stat-card i {
    font-size: 34px;
    color: #d8b4fe;
    margin-bottom: 12px;
}

.stat-card .number {
    font-size: 40px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 5px;
}

.stat-card .label {
    font-size: 15px;
    color: #cbd5e1;
    font-weight: 600;
}

/* قسم محطات في مسيرتنا (Timeline) */
.timeline-section {
    padding: 100px 0;
    background-color: var(--bg-surface);
}

.timeline-pro {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.timeline-pro::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent-light), var(--primary));
    transform: translateX(-50%);
    border-radius: 3px;
}

[dir="rtl"] .timeline-pro::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

.timeline-pro-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    width: 100%;
}

.timeline-pro-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-pro-content {
    width: 44%;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.3s ease;
}

.timeline-pro-content:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-elevated);
    border-color: var(--accent);
}

.timeline-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.timeline-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.timeline-pro-content:hover .timeline-img-wrap img {
    transform: scale(1.06);
}

.timeline-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 7, 30, 0.85);
    color: #ffffff;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

[dir="rtl"] .timeline-badge {
    left: auto;
    right: 12px;
}

.timeline-text-body {
    padding: 22px;
}

.timeline-text-body h4 {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-text-body h4 i {
    font-size: 15px;
    background: var(--purple-soft);
    color: var(--accent);
    padding: 6px;
    border-radius: 8px;
}

.timeline-text-body p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.timeline-center-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    box-shadow: 0 0 0 3px var(--purple-border);
    z-index: 10;
}

[dir="rtl"] .timeline-center-icon {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

@media (max-width: 992px) {
    .story-container {
        flex-direction: column;
        text-align: center;
    }
    .story-text h2::after {
        margin: 10px auto 0 auto;
    }
    .timeline-pro::before {
        left: 20px;
    }
    [dir="rtl"] .timeline-pro::before {
        right: 20px;
        left: auto;
    }
    .timeline-center-icon {
        left: 20px;
        transform: translateX(-50%);
    }
    [dir="rtl"] .timeline-center-icon {
        right: 20px;
        left: auto;
        transform: translateX(50%);
    }
    .timeline-pro-item, 
    .timeline-pro-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 50px;
        padding-right: 0;
    }
    [dir="rtl"] .timeline-pro-item, 
    [dir="rtl"] .timeline-pro-item:nth-child(even) {
        padding-right: 50px;
        padding-left: 0;
    }
    .timeline-pro-content {
        width: 100%;
    }
}