/* ========================================= */
/* 1. GLOBAL VARIABLES & RESET               */
/* ========================================= */
:root {
    --bg-color: #080808;
    --card-bg: #111111;
    --text-primary: #FFFFFF;
    --text-secondary: #999999;
    --accent-gold: #D4AF37;
    --accent-gold-rgb: 212, 175, 55;
    --font-display: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }

body { 
    background-color: var(--bg-color); 
    color: var(--text-primary); 
    font-family: var(--font-body); 
    line-height: 1.8; 
    overflow-x: hidden; 
    text-align: right;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }

h1 { 
    font-size: 3.5rem; 
    letter-spacing: -0.01em; 
    margin-bottom: 1.5rem; 
    position: relative; 
    z-index: 2; 
    color: #fff;
}

h2 { 
    font-size: 2.5rem; 
    margin-bottom: 2rem; 
    border-right: 4px solid var(--accent-gold); 
    border-left: none;
    padding-right: 20px; 
    padding-left: 0;
    text-align: right; 
    color: #fff;
}

h3 { 
    font-size: 1.6rem; 
    color: var(--accent-gold); 
    margin-bottom: 1rem; 
    text-align: right; 
}

p { color: var(--text-secondary); max-width: 750px; font-size: 1.1rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; position: relative; z-index: 2; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

        /* FIX: Removing the yellow border from centered titles */
.text-center { 
    text-align: center; 
    border-right: none !important; 
    padding-right: 0 !important; 
}

/* ========================================= */
/* 2. COMPONENTS (Logo, Buttons, Lang Switch)*/
/* ========================================= */

/* 1. الحاوية العائمة (Overlay) */
.main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    background: transparent;
    
    /* --- التغيير الجوهري --- */
    /* هذا السطر يخدع المتصفح ليعامل الهيدر كأنه إنجليزي */
    /* النتيجة: الشعار سيذهب لأقصى اليسار دائماً */
    direction: ltr; 
}

/* 2. تحرير عرض الحاوية لتلامس أطراف الشاشة */
.main-nav .container {
    max-width: 100%;    /* يلغي حدود الـ 1200 بكسل */
    padding: 0 50px;    /* مسافة أمان جانبية لكي لا يلتصق الشعار بالحافة */
}

/* 3. ترتيب العناصر */
.nav-content {
    display: flex;
    align-items: center;
    /* بما أن الاتجاه أصبح LTR، فـ flex-start تعني اليسار */
    justify-content: flex-start; 
}

/* 4. تنسيق الشعار */
.logo img {
    width: 200px;        /* العرض */
    height: auto;
    display: block;
    object-fit: contain;
    
    /* الظل والتحسينات */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* 5. تنسيق الموبايل */
@media (max-width: 768px) {
    .main-nav { padding: 20px 0; }
    .main-nav .container { padding: 0 25px; } /* تقليل الحواف في الموبايل */
    .logo img { width: 100px; }
}

/* Language Switcher (تعديل ليدعم الجهتين) */
.lang-switch {
    font-family: var(--font-display); font-weight: 700;
    background: rgba(0, 0, 0, 0.3); padding: 12px 22px; 
    border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}
.lang-switch a { text-decoration: none; color: #fff; transition: color 0.3s; font-size: 1.15rem; letter-spacing: 1px; }
.lang-switch a:hover { color: var(--accent-gold); }
.lang-switch .active { color: var(--accent-gold); cursor: default; pointer-events: none; }
.lang-switch .separator { color: #666; margin: 0 12px; font-weight: 300; }

@media (max-width: 900px) {
    .site-header { padding: 20px 0; }
    .lang-switch { padding: 10px 18px; }
    .main-logo img { height: 40px; }
}

/* هذا الكود يجبر حاوية الهيدر أن تأخذ عرض الشاشة بالكامل */
.main-nav .container {
    max-width: 100%;  /* يلغي حد الـ 1200 بكسل */
    padding: 0 50px;  /* يضع مسافة أمان صغيرة من الحافة حتى لا يلتصق الشعار بالإطار */
}

/* للموبايل: نقلل المسافة الجانبية */
@media (max-width: 768px) {
    .main-nav .container {
        padding: 0 20px;
    }
}

/* Buttons */
.btn-group { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 30px; justify-content: flex-start; }
.btn { 
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 18px 30px; font-size: 1rem; font-weight: 700; 
    text-decoration: none; transition: 0.3s; 
    cursor: pointer; border: none; 
    font-family: var(--font-display);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; } 

.btn-primary { background-color: var(--accent-gold); color: #000; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2); }

.btn-secondary { border: 1px solid #444; color: #fff; background: rgba(0,0,0,0.2); backdrop-filter: blur(5px); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-full { width: 100%; margin-top: 20px; }

/* CTA Button (Process Section) */
.btn-process-cta {
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    color: #fff; 
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px); 
    width: 100%; 
    max-width: 350px; 
    line-height: 1.6; 
    text-align: center; 
    padding: 22px 30px;
    font-size: 1rem !important; 
    font-weight: 700; 
    transition: all 0.4s ease;
    display: inline-block; 
    font-family: var(--font-display);
    
    margin-top: 80px; 
}

.btn-process-cta:hover {
    border-color: var(--accent-gold) !important; 
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    color: var(--accent-gold);
}

/* Contact Widget */
.contact-widget { 
    position: fixed; bottom: 30px; right: 30px; z-index: 2147483647;
    display: flex; flex-direction: column; gap: 12px; align-items: flex-end; 
}
.float-btn { 
    display: flex; align-items: center; gap: 10px; padding: 12px 20px; 
    border-radius: 50px; color: #fff; text-decoration: none; 
    font-weight: 600; font-size: 0.9rem; box-shadow: 0 10px 20px rgba(0,0,0,0.4); 
    transition: 0.3s; font-family: var(--font-display); 
}
.float-email { background: #333; border: 1px solid #444; }

/* === UPDATED WHATSAPP BUTTON === */
.float-whatsapp { 
    background: #25D366; 
    animation: pulse-green 2s infinite; /* Animation added */
}
/* ============================== */

.float-btn:hover { transform: translateX(-5px); }

/* === ADDED KEYFRAMES === */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========================================= */
/* 3. HERO SECTION                           */
/* ========================================= */
.hero { min-height: 90vh; display: flex; align-items: center; justify-content: flex-start; position: relative; overflow: hidden; background-color: #000; }
.hero-video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to left, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%); z-index: 1; }
.hero-content { text-align: right; max-width: 1000px; position: relative; z-index: 2; margin-left: auto; margin-right: 0; }
.hero-content p { color: #FFFFFF; text-shadow: 0 2px 4px rgba(0,0,0,0.8); font-weight: 400; }

/* ========================================= */
/* 4. TRUST BAR (Logos)                      */
/* ========================================= */
.trust-bar { background: #000; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; padding: 60px 0; position: relative; }
.trust-heading { text-align: center; color: #777; font-size: 2rem; text-transform: uppercase; letter-spacing: 0px; margin-bottom: 50px; font-weight: 700; }
.trust-grid-outer { display: flex; flex-direction: column; gap: 40px; }
.trust-grid-inner { display: flex; justify-content: center; align-items: center; gap: 80px; flex-wrap: wrap; }
.client-logo { height: 140px; width: auto; object-fit: contain; opacity: 0.8; filter: brightness(0) invert(1); transition: 0.3s; }
.client-logo:hover { opacity: 1; }

/* ========================================= */
/* 5. VIDEO SHOWCASE SECTION                 */
/* ========================================= */
.video-header { margin-bottom: 40px; text-align: right; width: 100%; }
.video-header p { max-width: 100% !important; font-size: 1.2rem; }

/* ========================================= */
/* 6. FEATURED REVIEW (The Note)             */
/* ========================================= */
.feature-review-container { background: #0d0d0d; border-bottom: 1px solid #222; padding: 80px 0; margin-top: 60px; }
.feature-review-grid { display: grid; grid-template-columns: 1.8fr 1.2fr; gap: 50px; align-items: center; }
.feature-review-main { position: relative; padding-right: 40px; }
.quote-icon { position: absolute; top: -20px; right: 0; font-size: 4rem; color: var(--accent-gold); opacity: 0.3; font-family: serif; }
.feature-quote { font-size: 1.3rem; font-weight: 600; color: #fff; line-height: 1.6; margin-bottom: 30px; font-family: var(--font-display); }
.feature-author { display: flex; align-items: center; gap: 15px; }
.feature-author img { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--accent-gold); object-fit: cover; }
.feature-author h4 { margin: 0; color: #fff; font-size: 1.1rem; }
.feature-author span { color: #888; font-size: 0.9rem; }

.feature-review-note { background: #151515; padding: 40px; border: 1px solid #333; border-radius: 8px; position: relative; }
.feature-review-note h3 { color: var(--accent-gold); font-size: 1.8rem; margin-bottom: 20px; text-align: right; line-height: 1.3; }
.feature-review-note p { font-size: 1.1rem; color: #ccc; margin: 0; text-align: right; line-height: 1.7; }

@media (max-width: 900px) {
    .feature-review-grid { grid-template-columns: 1fr; gap: 40px; }
    .feature-review-main { padding-right: 0; text-align: center; order: 1;}
    .feature-review-note { text-align: center; order: 2; }
}

/* ========================================= */
/* 7. COMPARISON SLIDER (UNIFIED & FIXED)    */
/* ========================================= */
.comparison-slider {
    position: relative;
    width: 100%;
    max-width: 1280px; /* توحيد العرض */
    margin: 40px auto; /* توسيط السلايدر */
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid #333;
    cursor: ew-resize;
    user-select: none;
    background: #000;
    direction: ltr; /* مهم لاتجاه السحب */
}

.comparison-slider > img, 
.comparison-slider > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    pointer-events: none;
}

/* الحاوية القابلة للتحجيم */
.resize-div {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    border-right: 3px solid var(--accent-gold);
    z-index: 2;
    background: #000;
}

/* الصور والفيديوهات الداخلية (للحفاظ على النسب) */
.resize-div > img,
.resize-div > video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto; /* سيتم ضبطه بالجافاسكربت لمنع الانضغاط */
    max-width: none;
    object-fit: cover;
}

.handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--accent-gold);
    color: #000;
    border-radius: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.label {
    position: absolute;
    top: 20px;
    color: #fff;
    background: rgba(0,0,0,0.7);
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 4;
    border: 1px solid rgba(255,255,255,0.2);
    pointer-events: none;
    font-family: var(--font-display);
}
.label-left { left: 20px; } 
.label-right { right: 20px; }


/* ========================================= */
/* 8. PROBLEM SECTION                        */
/* ========================================= */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.reason-card { position: relative; padding: 35px 30px 30px 30px; background: #111111; border: 1px solid #222; transition: transform 0.3s ease, border-color 0.3s ease; overflow: hidden; }
.reason-card::before { content: attr(data-number); position: absolute; top: -10px; right: 15px; font-size: 6rem; font-weight: 900; color: var(--accent-gold); opacity: 0.10; font-family: var(--font-display); line-height: 1; z-index: 0; transition: opacity 0.3s ease, transform 0.3s ease; }
.reason-card h3 { position: relative; z-index: 1; font-size: 1.4rem; margin-bottom: 15px; color: var(--accent-gold); }
.reason-card p { position: relative; z-index: 1; font-size: 1.05rem; line-height: 1.7; color: #aaa; margin: 0; }
.reason-card:hover { transform: translateY(-5px); border-color: rgba(212, 175, 55, 0.3); }
.reason-card:hover::before { opacity: 0.15; transform: scale(1.05); }
@media (max-width: 768px) {
    .grid { grid-template-columns: 1fr; gap: 20px; }
    .reason-card { padding: 25px; }
}

/* ========================================= */
/* 9. SOLUTION SECTION                       */
/* ========================================= */
.solution-section { background: #0E0E0E; padding: 80px 0; }
.sol-grid { display: grid; grid-template-columns: 1fr; gap: 40px; position: relative; max-width: 1200px; margin: 0 auto; }
.sol-grid::before { content: ''; position: absolute; background: #333; z-index: 0; }
.sol-card { background: #111; padding: 40px 30px; border: 1px solid #333; transition: transform 0.4s ease, border-color 0.3s; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; text-align: right; direction: rtl; }
.sol-card:hover { transform: translateY(-8px); border-color: var(--accent-gold); z-index: 2; }
.sol-icon { color: var(--accent-gold); margin-bottom: 25px; display: block; transition: color 0.3s; }
.sol-card:hover .sol-icon { color: #fff; }
.sol-icon svg { width: 48px; height: 48px; stroke-width: 1.5; }
.sol-card h3 { margin-bottom: 15px; color: #fff; font-size: 1.5rem; }
.sol-card p { color: #aaa; line-height: 1.6; }

@media (max-width: 991px) {
    .sol-grid { padding: 0 20px; }
    .sol-grid::before { width: 2px; height: 100%; top: 0; right: 40px; }
}
@media (min-width: 992px) {
    .sol-grid { grid-template-columns: repeat(3, 1fr); gap: 60px; }
    .sol-grid::before { width: 70%; height: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
}

/* ========================================= */
/* 10. PROCESS SECTION                       */
/* ========================================= */
#process { background-color: #000; color: #fff; padding: 40px 0; direction: rtl; overflow: hidden; }
#process h2 { text-align: center; border: none; padding-left: 0; margin: 0 0 50px 0; position: relative; z-index: 2; font-size: 2.5rem; }
.process-wrapper { position: relative; max-width: 1000px; margin: 0 auto; padding-top: 10px; }
.process-wrapper::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, rgba(212,175,55,0) 0%, rgba(212,175,55,0.5) 15%, rgba(212,175,55,0.5) 85%, rgba(212,175,55,0) 100%); transform: translateX(-50%); z-index: 0; }

.process-step { display: flex; align-items: center; justify-content: space-between; position: relative; margin-bottom: 70px; z-index: 1; width: 100%; }
.process-step:last-child { margin-bottom: 0; }

.step-text, .step-media { width: 42%; position: relative; }

.step-number { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: #080808; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; color: #fff; display: flex; align-items: center; justify-content: center; font-family: Arial, sans-serif; font-size: 1.1rem; font-weight: 700; z-index: 5; box-shadow: 0 0 30px rgba(0,0,0,0.8); transition: 0.3s; }
.process-step:hover .step-number { border-color: #D4AF37; color: #D4AF37; box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }

.step-text { text-align: right; }
.step-text h3 { font-size: 1.8rem; margin-bottom: 10px; color: #fff; line-height: 1.3; }
.step-text p { font-size: 1rem; line-height: 1.6; color: #ccc; margin: 0; }

.step-media { border-radius: 0; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); background: #000; aspect-ratio: 16/9; transition: all 0.3s ease; }
.process-step:hover .step-media { border-color: rgba(212, 175, 55, 0.4); transform: scale(1.02); }
.step-media video, .step-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.process-step:nth-child(odd) { flex-direction: row; }
.process-step:nth-child(odd) .step-text { text-align: right; }
.process-step:nth-child(even) { flex-direction: row-reverse; }

@media (max-width: 900px) {
    #process h2 { margin-bottom: 40px; }
    .process-wrapper::before { right: 25px; left: auto; transform: none; }
    .process-step, .process-step:nth-child(even), .process-step:nth-child(odd) { flex-direction: column !important; align-items: flex-start !important; padding-right: 65px; padding-left: 0; margin-bottom: 40px; }
    .step-number { right: 25px; left: auto; top: 0; transform: translateX(50%); }
    .step-text, .step-media { width: 100% !important; text-align: right !important; }
    .step-text { order: 1; margin-bottom: 15px; }
    .step-media { order: 2; }
}

/* ========================================= */
/* 11. CINEMATIC VFX GRID                    */
/* ========================================= */
.cinematic-vfx-grid { padding: 100px 0; background: radial-gradient(circle at center, #0a0a0a 0%, #020202 100%); border-top: 1px solid #111; border-bottom: 1px solid #111; }
.vfx-grid-wrapper { display: flex; flex-direction: column; gap: 24px; }
.vfx-row { display: grid; gap: 24px; height: 500px; }
.vfx-row-1 { grid-template-columns: 1.4fr 0.6fr; }
.vfx-row-2 { grid-template-columns: 0.8fr 1.2fr; }

.vfx-item { position: relative; background: #000; border: 1px solid rgba(255,255,255,0.05); overflow: hidden; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.vfx-item:hover { border-color: var(--accent-gold); transform: translateY(-5px); z-index: 10; box-shadow: 0 20px 40px rgba(0,0,0,0.8); }
.vfx-item video { width: 100%; height: 100%; object-fit: cover; opacity: 1; display: block; filter: brightness(0.95) contrast(1.05); transition: filter 0.4s ease; }

.vid-curtain { object-position: 35% center !important; }
.vid-villa { object-position: 65% center !important; }
.vfx-item:hover video { filter: brightness(1) contrast(1); }

@media (max-width: 900px) {
    .vfx-row { grid-template-columns: 1fr !important; height: auto; }
    .vfx-item { height: 280px; }
    .vid-curtain, .vid-villa { object-position: center center !important; }
    .cinematic-vfx-grid { padding: 60px 0; }
}

/* ========================================= */
/* 12. FOUNDER SECTION                       */
/* ========================================= */
.personal-msg-section { background: linear-gradient(-90deg, #0a0a0a 0%, #050505 100%); }
.personal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.personal-img-container { position: relative; padding: 20px; display: flex; justify-content: center; }
.personal-img-box { position: relative; z-index: 2; padding: 15px; border: 1px solid var(--accent-gold); display: inline-block; max-width: 100%; }
.personal-img { display: block; width: 100%; max-width: 400px; height: auto; filter: grayscale(100%); transition: filter 0.5s; }
.personal-img:hover { filter: grayscale(0%); }

.personal-content { text-align: right; }
.personal-content h2 { border: none; padding: 0; margin-bottom: 5px; font-size: 2.8rem; color: #fff; text-align: right; }
.founder-name { font-family: var(--font-display); font-size: 1.8rem; color: var(--accent-gold); margin-bottom: 25px; font-weight: 500; letter-spacing: 0; }
.personal-content p { margin-bottom: 25px; font-size: 1.1rem; line-height: 1.8; margin-left: auto; margin-right: 0; }

.cta-button { display: inline-block; margin-top: 20px; padding: 12px 30px; background-color: #000; color: #fff; text-decoration: none; border-radius: 5px; font-weight: bold; transition: all 0.3s ease; border: 1px solid transparent; }
.cta-button:hover { background-color: transparent; color: #D4AF37; border-color: #D4AF37; }
.cta-button .arrow { margin-right: 10px; transition: transform 0.3s ease; }
.cta-button:hover .arrow { transform: translateX(-5px); }

.brands-cloud { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 40px; align-items: center; justify-content: center; width: 100%; }
.brand-logo { max-height: 70px; max-width: 130px; width: auto; filter: brightness(0) invert(1); opacity: 0.8; transition: all 0.3s ease; cursor: pointer; object-fit: contain; }
.brand-logo--tall { max-height: 95px !important; max-width: 160px; }
.brand-logo:hover { filter: none; opacity: 1; transform: scale(1.05); }

@media (max-width: 900px) {
    .personal-grid { grid-template-columns: 1fr; gap: 40px; }
    .personal-content { text-align: center; }
    .personal-content h2, .personal-content p { text-align: center; }
    .brands-cloud { display: grid; grid-template-columns: repeat(2, 5fr); gap: 20px; justify-items: center; }
    .brand-logo { max-width: 120px; max-height: 50px; }
    .brand-logo--tall { max-height: 85px !important; }
}

/* ========================================= */
/* 13. REVIEWS SECTION                       */
/* ========================================= */
.reviews-section { background: #050505; padding: 100px 0; text-align: center; border-top: 1px solid #222; }
.reviews-title-large { color: var(--accent-gold); font-size: 2.5rem; margin-bottom: 20px; font-weight: 700; line-height: 1.4; max-width: 800px; margin-left: auto; margin-right: auto; }
.review-wrapper { max-width: 900px; margin: 0 auto; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.review-slide { display: none; animation: fadeEffect 0.8s; width: 90%; margin: 0 auto; }
.review-slide.active { display: block; }
.review-text { font-family: var(--font-display); font-size: 1.8rem; line-height: 1.4; color: #fff; margin-bottom: 30px; font-style: normal; }
.reviewer-info { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.reviewer-img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent-gold); margin-bottom: 10px; }
.reviewer-name { font-weight: 800; color: #fff; font-size: 1.4rem; margin-bottom: 5px; letter-spacing: 0; }
.reviewer-role { color: #fff; font-size: 1.1rem; font-weight: 600; opacity: 1; margin-bottom: 15px; line-height: 1.4; max-width: 90%; }

/* Reviewer Link Styles */
.reviewer-link { text-decoration: none !important; color: inherit !important; display: block; cursor: pointer; transition: opacity 0.2s ease; }
.reviewer-link:hover { opacity: 0.8; }
.linkedin-verify { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--accent-gold); border: 1px solid rgba(212, 175, 55, 0.3); padding: 6px 16px; border-radius: 50px; transition: all 0.3s ease; font-family: var(--font-body); }
.linkedin-verify svg { width: 14px; height: 14px; fill: currentColor; }
.reviewer-link:hover .linkedin-verify { background-color: var(--accent-gold); color: #000; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2); }

.review-controls { position: static; width: 100%; }
.slider-arrow { width: 50px; height: 50px; border: 1px solid #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-gold); cursor: pointer; transition: 0.3s; background: #111; position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; }
.prev-arrow { right: 0; left: auto; }
.next-arrow { left: 0; right: auto; }
.slider-arrow:hover { border-color: var(--accent-gold); background: rgba(212,175,55,0.1); }
@keyframes fadeEffect { from {opacity: 0;} to {opacity: 1;} }

/* ========================================= */
/* 14. PRICING SECTION (ARABIC)              */
/* ========================================= */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; margin-top: 50px; direction: rtl;}
.price-card { background: var(--card-bg); padding: 40px; border: 1px solid #222; display: flex; flex-direction: column; justify-content: space-between; transition: 0.3s; text-align: right; }
.price-card:hover { transform: translateY(-5px); border-color: #444; }
.price-card.featured { border: 1px solid var(--accent-gold); position: relative; }
.price-card.featured::before { content: "الأكثر طلباً"; position: absolute; top: -12px; right: 50%; transform: translateX(50%); background: var(--accent-gold); color: #000; padding: 4px 12px; font-size: 0.9rem; font-weight: 700; font-family: var(--font-display); }

/* === NEW RULE: FORCE ALL BUTTONS IN PRICING TO BE YELLOW (ARABIC) === */
.price-card .btn {
    background-color: var(--accent-gold) !important;
    color: #000 !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.price-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    background-color: #fff !important; 
}
/* ==================================================================== */

.price-header { margin-bottom: 20px; }
.price-amt { font-size: 2.2rem; margin: 10px 0; color: #fff; direction: ltr; text-align: right; font-family: sans-serif;}
.price-sub { color: var(--accent-gold); font-size: 1.3rem; font-weight: 600; display: block; }
.case-title { font-size: 1rem; color: #fff; margin-top: 20px; margin-bottom: 10px; font-weight: 600; border-bottom: 1px solid #333; padding-bottom: 5px; }
.check-list { list-style: none; padding: 0; margin-bottom: 20px; }
.check-list li { font-size: 1rem; color: #ccc; margin-bottom: 10px; padding-right: 25px; padding-left: 0; position: relative; line-height: 1.4; }
.check-list li::before { content: "✓"; color: var(--accent-gold); position: absolute; right: 0; left: auto; font-weight: bold; }

@media (max-width: 900px) {
    .price-grid { grid-template-columns: 1fr; }
}

/* ========================================= */
/* 15. FAQ SECTION                           */
/* ========================================= */
.faq-item { border-bottom: 1px solid #222; margin-bottom: 10px; }
.faq-item details { width: 100%; }
.faq-item summary { padding: 20px 0; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; color: #fff; outline: none; font-size: 1.3rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '\25BC'; color: var(--accent-gold); font-size: 1rem; font-weight: 300; transition: transform 0.3s; }
.faq-item details[open] summary::after { transform: rotate(180deg); }
.faq-content { padding-bottom: 20px; color: var(--text-secondary); line-height: 1.6; font-size: 1rem; padding-left: 20px; }
.faq-content p { max-width: 100%; }

/* ========================================= */
/* 16. FOOTER (Optimized Center Layout)      */
/* ========================================= */
.new-footer { background-color: #050505; border-top: 1px solid #222; padding: 80px 0 40px; margin-top: 80px; direction: rtl; text-align: right; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 40px; align-items: start; margin-bottom: 60px; }

.footer-col:nth-child(1) { width: 100%; }
.footer-col:nth-child(2) { justify-self: center; display: flex; flex-direction: column; align-items: flex-start; width: fit-content; }
.footer-col:nth-child(3) { justify-self: end; display: flex; flex-direction: column; align-items: flex-start; text-align: right; }
.footer-col:nth-child(3) .address-box, .footer-col:nth-child(3) h4 { flex-direction: row; width: 100%; }

.footer-col h3 { color: #fff; margin-bottom: 25px; font-size: 1.8rem; }
.footer-col h4 { color: #fff; margin-bottom: 25px; font-size: 1.4rem; white-space: nowrap; }
.footer-col p { color: #888; margin-bottom: 15px; line-height: 1.7; max-width: 380px; }

.contact-links-container { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 1.1rem; border-bottom: 1px solid #333; padding-bottom: 12px; transition: 0.3s; width: 100%; white-space: nowrap; }
.footer-contact-link:hover { color: var(--accent-gold, #c5a059); border-color: var(--accent-gold, #c5a059); }

.social-links a { color: #fff; transition: 0.3s; display: inline-block; }
.social-links a:hover { color: var(--accent-gold, #c5a059); }
.address-box { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 1.1rem; cursor: default; }
.copyrights { border-top: 1px solid #1a1a1a; padding-top: 30px; text-align: center; font-size: 0.9rem; color: #555; direction: ltr; }

@media (max-width: 1024px) { 
    .footer-grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 60px; }
    .footer-col:nth-child(1), .footer-col:nth-child(2), .footer-col:nth-child(3) { justify-self: center; align-items: center; text-align: center; width: 100%; }
    .footer-col:nth-child(3) .address-box { justify-content: center; }
    .footer-col p { text-align: center; max-width: 100%; }
    .footer-contact-link { justify-content: center; border-bottom: none; }
}
/* ========================================= */
    /* FINAL MOBILE FIX (10px Video Padding)     */
    /* ========================================= */
    @media (max-width: 900px) {

        /* 1. الحاوية العامة (25px لباقي الموقع) */
        .container {
            padding-left: 25px !important;
            padding-right: 25px !important;
            width: 100%;
            overflow-x: hidden;
        }

        /* 2. استثناء قسم الفيديو (10px فقط حسب طلبك) */
        #video-section.container {
            padding-left: 5px !important;
            padding-right: 5px !important;
        }

        /* ضبط نصوص الفيديو لتكون محاذية لباقي الموقع (25px) */
        /* المعادلة: 10px من الحاوية + 15px هنا = 25px المجموع */
        .video-header {
            padding-left: 15px !important;
            padding-right: 15px !important;
            margin-bottom: 20px !important;
            text-align: right !important;
        }

        /* 3. الفيديو (يأخذ راحته داخل الـ 10px) */
        #video-section > div > div[style*="position:relative"] {
            width: 100% !important;
            border: none !important;
            border-radius: 4px !important; /* انحناء بسيط جداً ليتماشى مع الـ 10px */
        }

        /* 4. الهيرو (تنسيق ممتاز - ممنوع اللمس) */
        .hero {
            min-height: 90vh !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding-top: 80px !important;
            padding-bottom: 50px !important;
            text-align: center !important;
        }
        .hero-content { margin: 0 auto !important; width: 100%; }
        .hero h1 { font-size: 2rem !important; line-height: 1.3; margin-bottom: 20px; }
        .hero p { font-size: 1.1rem !important; margin: 0 auto 30px auto !important; }
        .btn-group { justify-content: center !important; flex-direction: column; width: 100%; gap: 15px; }
        .btn { width: 100%; }

        /* 5. تنسيق نصوص الفيديو (صغيرة وأنيقة) */
        .video-header h2 {
            font-size: 1.25rem !important;
            margin-bottom: 8px !important;
            border: none !important;
            padding-right: 0 !important;
        }
        .video-header p { font-size: 0.95rem !important; margin-bottom: 10px !important; }
        #video-section > div { margin-bottom: 0 !important; }

        /* 6. اسم المؤسس */
        .founder-name {
            white-space: nowrap !important;
            font-size: 1.1rem !important;
            display: inline-block !important;
            width: auto !important;
            margin-bottom: 20px !important;
        }
        .personal-content h2 { font-size: 2rem !important; margin-bottom: 10px !important; }

        /* 7. الفوتر */
        .footer-col:nth-child(1) { align-items: center !important; text-align: center !important; display: flex; flex-direction: column; }
        .footer-col:nth-child(1) h3 { text-align: center !important; width: 100%; }

        /* 8. ترتيب وتنسيق عام */
        .feature-review-grid { display: flex; flex-direction: column; gap: 30px; }
        .feature-review-note { order: 1 !important; }
        .feature-review-main { order: 2 !important; text-align: center; }
        .grid { gap: 20px; }
        .reason-card, .price-card, .faq-item { width: 100%; padding: 25px 20px; }
        h2 { font-size: 1.8rem !important; border-right: none !important; text-align: center !important; padding-right: 0 !important; }

        /* 9. (جديد) تصغير مربعات تسمية السلايدر */
        .label {
            font-size: 0.75rem !important; /* تصغير الخط */
            padding: 5px 10px !important;   /* تصغير حجم المربع */
            top: 10px !important;           /* رفع المربع قليلاً للأعلى */
            border-width: 1px !important;   /* تنحيف الإطار */
    }

    /* ADD TO YOUR CSS - DO NOT DELETE EXISTING */

/* Elevated Hero Contrast */
.hero-content h1 {
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    line-height: 1.4;
}

/* Luxury Card Styling for Saudi Market */
.reason-card, .price-card, .sol-card {
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    background: linear-gradient(145deg, #111111 0%, #0a0a0a 100%) !important;
    border-radius: 4px; /* Sharp edges feel more architectural and professional */
}

/* Navigation & Lang Switcher Refinement */
.lang-switch {
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    background: rgba(0, 0, 0, 0.6) !important;
}

/* Strategic Section Borders */
h2 {
    font-size: 2.2rem !important;
    border-right: 3px solid var(--accent-gold) !important;
    margin-bottom: 3rem !important;
}

/* The 'Before/After' Mobile Optimization */
@media (max-width: 768px) {
    .comparison-slider {
        height: 300px !important; /* Fixed height for better thumb-scrolling */
    }
    .label {
        font-size: 0.7rem !important;
        padding: 4px 8px !important;
    }
}

/* Floating Action Button Pulse */
.float-whatsapp {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
