/* 
   أبعاد الطائف للديكور - هيدر وستايل فاخر
   Design System: Modern Saudi Luxury Interior Design
*/

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
    --primary-dark: #0B1325;        /* كحلي ملكي فخم */
    --primary-light: #1A2238;       /* كحلي فاتح للمكونات */
    --accent-gold: #C5A880;         /* ذهبي رملي فاخر مطفأ */
    --accent-gold-hover: #E4C59E;   /* ذهبي مضيء عند التمرير */
    --bg-warm-light: #FAF9F6;       /* أبيض دافئ كريمي */
    --bg-warm-gray: #F2EFE9;        /* رمادي رخامي دافئ */
    --text-dark: #1E2530;           /* لون نصوص أساسي */
    --text-muted: #5E6977;          /* لون نصوص ثانوي */
    --text-light: #FFFFFF;          /* نصوص فاتحة */
    --border-color: rgba(197, 168, 128, 0.25); /* إطار ذهبي شفاف */
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(11, 19, 37, 0.08), 0 10px 10px -5px rgba(11, 19, 37, 0.04);
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    
    --font-primary: 'Tajawal', sans-serif;
}

/* إعادة تعيين وضبط عام */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

html {
    scroll-behavior: smooth;
    direction: rtl;
    background-color: var(--bg-warm-light);
    color: var(--text-dark);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 16px;
}

/* شريط التمرير */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-warm-light);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* التنسيقات العامة للموقع */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* الأزرار الفاخرة */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
    border: 2px solid transparent;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-gold:hover {
    background-color: var(--primary-dark);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(197, 168, 128, 0.3);
}

.btn-dark {
    background-color: var(--primary-dark);
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-dark:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(11, 19, 37, 0.2);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--text-light);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-phone {
    background-color: #0284c7;
    color: var(--text-light);
}

.btn-phone:hover {
    background-color: #0369a1;
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
}

/* الهيدر المتنقل الاحترافي */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* حالة التمرير للهيدر */
.header-wrapper.scrolled {
    background-color: rgba(11, 19, 37, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
}

.header-wrapper.scrolled header {
    padding: 12px 40px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text span {
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* زر الهامبرغر للموبايل */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    border: none;
    background: none;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

/* حركة تحويل زر البرجر لـ إكس */
.burger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--accent-gold);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--accent-gold);
}

/* الهيرو - Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    background-image: linear-gradient(to left, rgba(11, 19, 37, 0.92) 40%, rgba(11, 19, 37, 0.6) 100%), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    overflow: hidden;
}

/* حركة خلفية خفيفة */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(197, 168, 128, 0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: pulseGlow 10s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 168, 128, 0.12);
    border: 1px solid var(--accent-gold);
    padding: 8px 18px;
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 22px;
    box-shadow: 0 4px 12px rgba(197, 168, 128, 0.08);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 22px;
    color: var(--text-light);
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.15rem;
    color: #CBD5E1;
    margin-bottom: 38px;
    max-width: 620px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 45px;
}

.btn-group-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.btn-microcopy {
    font-size: 0.78rem;
    color: #94A3B8;
    text-align: center;
    font-weight: 500;
}

/* عناصر الثقة */
.hero-trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 30px;
    margin-top: 15px;
}

.trust-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 168, 128, 0.12);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #F1F5F9;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.trust-item:hover {
    background: rgba(197, 168, 128, 0.08);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.05);
}

.trust-item svg {
    color: var(--accent-gold);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }
    .btn-group-hero {
        width: 100%;
    }
    .btn-group-hero .btn {
        width: 100%;
    }
    .hero-trust {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* الإطار الجمالي للـ Visual في الهيرو */
.hero-visual-card {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: rotate(-2deg);
    transition: var(--transition-smooth);
}

.hero-visual-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: rgba(11, 19, 37, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent-gold);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    text-align: right;
}

.hero-visual-badge span {
    display: block;
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 2px;
}

/* شريط الثقة السريع - Trust Bar */
.trust-bar {
    background-color: var(--primary-dark);
    padding: 24px 40px;
    border-bottom: 2px solid var(--accent-gold);
}

.trust-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.05rem;
}

.bar-item svg {
    color: var(--accent-gold);
}

/* الأقسام العامة */
section {
    padding: 100px 40px;
}

.section-bg-gray {
    background-color: var(--bg-warm-gray);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 4px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-top: 10px;
}

/* قسم الخدمات - 4 كروت مختلفة بتصميم ذي عمق وطبقات */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--text-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.service-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(11, 19, 37, 0.6) 0%, transparent 60%);
}

.service-card:hover .service-img img {
    transform: scale(1.08);
}

.service-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.service-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.service-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-gold);
    align-self: flex-start;
}

.service-btn:hover {
    color: var(--primary-dark);
}

/* الكارت 1: جبس بورد - إطار ذهبي وزوايا حادة حديثة */
.card-gypsum {
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-sm);
}
.card-gypsum .service-icon {
    background-color: rgba(197, 168, 128, 0.15);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}
.card-gypsum:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(197, 168, 128, 0.2);
}

/* الكارت 2: دهانات - تدرج لوني ناعم وخلفية دافئة */
.card-paint {
    background-color: #FAF6F0;
}
.card-paint .service-icon {
    background-color: var(--primary-dark);
    color: var(--accent-gold);
}
.card-paint:hover {
    transform: translateY(-8px);
    background-color: var(--text-light);
    box-shadow: var(--shadow-lg);
}

/* الكارت 3: بديل الرخام - نمط جانبي ذهبي وشكل رخامي */
.card-marble {
    border-right: 4px solid var(--accent-gold);
}
.card-marble .service-icon {
    background: radial-gradient(circle, #CBD5E1 0%, #E2E8F0 100%);
    color: var(--primary-dark);
}
.card-marble:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(11, 19, 37, 0.1);
}

/* الكارت 4: بديل الخشب - خطوط خشبية وبناء عمودي */
.card-wood {
    border-bottom: 4px solid var(--accent-gold);
}
.card-wood .service-icon {
    background-color: #8C6A47;
    color: var(--text-light);
}
.card-wood:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* قسم لماذا تختارنا؟ - Grid فاخر متداخل */
.why-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.why-left-visual {
    position: relative;
    width: 100%;
}

.why-img-large {
    width: 85%;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.why-img-small {
    position: absolute;
    width: 50%;
    bottom: -40px;
    left: 0;
    border-radius: var(--radius-md);
    border: 3px solid var(--text-light);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.why-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.why-card {
    background-color: var(--text-light);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
}

.why-card-icon {
    color: var(--accent-gold);
}

.why-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.why-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* قسم خطوات العمل - Timeline */
.steps-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    gap: 20px;
}

/* الخط الممتد خلف الخطوات */
.steps-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    right: 50px;
    left: 50px;
    height: 3px;
    background-color: var(--bg-warm-gray);
    z-index: 1;
}

.step-card {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.step-num-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--text-light);
    border: 3px solid var(--accent-gold);
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.step-card:hover .step-num-circle {
    background-color: var(--primary-dark);
    color: var(--accent-gold);
    transform: scale(1.1);
}

.step-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.step-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 200px;
}

/* قسم قبل وبعد التفاعلي */
.before-after-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.before-after-info {
    text-align: right;
}

.before-after-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* حاوية السلايدر التفاعلي باستخدام clip-path */
.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    user-select: none;
    border: 2px solid var(--accent-gold);
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-before {
    z-index: 1;
}

.img-after {
    z-index: 2;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    transition: clip-path 0.05s ease-out;
}

/* الخط الفاصل الذهبي */
.slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--accent-gold);
    z-index: 3;
    pointer-events: none;
    transform: translateX(-50%);
    transition: left 0.05s ease-out;
}

/* زر المقبض */
.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    border: 3px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    cursor: ew-resize;
    box-shadow: var(--shadow-lg);
    transition: background-color 0.2s, left 0.05s ease-out;
}

.slider-handle:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

/* زر التحكم range مخفي ومغطي للمساحة للتمرير باللمس */
.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    opacity: 0;
    cursor: ew-resize;
}

/* شارات قبل وبعد */
.badge-before, .badge-after {
    position: absolute;
    bottom: 20px;
    background: rgba(11, 19, 37, 0.85);
    color: var(--text-light);
    padding: 6px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    z-index: 4;
    pointer-events: none;
    border: 1px solid var(--border-color);
}

.badge-before {
    left: 20px;
}
.badge-after {
    right: 20px;
}

/* قسم أعمال مناسبة لكل مكان */
.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.space-card {
    background-color: var(--text-light);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.space-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.space-icon-box {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--bg-warm-gray);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.space-card:hover .space-icon-box {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.space-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
}

/* مناطق الخدمة - SEO Ready */
.areas-desc {
    text-align: center;
    max-width: 700px;
    margin: -40px auto 40px;
    color: var(--text-muted);
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}

.area-badge {
    background-color: var(--text-light);
    color: var(--primary-dark);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.area-badge:hover {
    background-color: var(--primary-dark);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

/* آراء العملاء - Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--text-light);
    border-radius: var(--radius-md);
    padding: 35px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 6rem;
    line-height: 1;
    color: rgba(197, 168, 128, 0.1);
    font-family: serif;
    pointer-events: none;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 20px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* قسم الأسئلة الشائعة - FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--text-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.faq-header {
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: right;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
    transition: var(--transition-smooth);
}

.faq-icon-toggle {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-icon-toggle::before,
.faq-icon-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

/* الخط الأفقي */
.faq-icon-toggle::before {
    top: 11px;
    left: 4px;
    width: 16px;
    height: 2px;
}

/* الخط الرأسي */
.faq-icon-toggle::after {
    top: 4px;
    left: 11px;
    width: 2px;
    height: 16px;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-content {
    padding: 0 30px 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid rgba(0,0,0,0.02);
}

/* حالة الفتح للأسئلة الشائعة */
.faq-item.active {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-icon-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon-toggle {
    transform: rotate(180deg);
}

/* نهائي CTA - دعوة التحويل */
.cta-section {
    background-image: linear-gradient(135deg, rgba(11, 19, 37, 0.95) 0%, rgba(26, 34, 56, 0.95) 100%), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 40px;
    text-align: center;
    color: var(--text-light);
    position: relative;
    border-top: 2px solid var(--accent-gold);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-title span {
    color: var(--accent-gold);
}

.cta-desc {
    font-size: 1.15rem;
    color: #D1D5DB;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* الفوتر الكامل - Footer */
footer {
    background-color: var(--primary-dark);
    color: #94A3B8;
    padding: 80px 40px 40px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info-col h3 {
    color: var(--accent-gold);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-info-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-title {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(-4px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.contact-info-item svg {
    color: var(--accent-gold);
    flex-shrink: 0;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--accent-gold);
}

/* زر أشرطة التواصل العائمة للموبايل وشاشات الديسكتوب */
.desktop-floating-cta {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-circle-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: var(--transition-smooth);
}

.floating-circle-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

/* شريط التواصل السفلي العائم على الموبايل */
.mobile-bottom-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    border-top: 2px solid var(--accent-gold);
    z-index: 998;
    padding: 10px 16px;
    box-shadow: 0 -8px 25px rgba(0,0,0,0.15);
}

.mobile-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mobile-cta-grid .btn {
    padding: 12px 10px;
    font-size: 0.9rem;
    border-radius: 12px;
}

/* أنيميشن الظهور (Scroll Reveal) */
.reveal-hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* إيقاف وتسهيل الأنيميشن لمن يفضل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    .reveal-hidden {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-section::before,
    .hero-visual-card {
        animation: none !important;
        transform: none !important;
    }
}

/* ===========================================
   مواءمة الشاشات والتجاوب (Media Queries)
   =========================================== */

/* شاشات اللابتوب الصغيرة والأجهزة اللوحية (Max 1200px) */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

/* الأجهزة اللوحية (Max 1024px) */
@media (max-width: 1024px) {
    section {
        padding: 80px 30px;
    }
    header {
        padding: 20px 24px;
    }
    .header-wrapper.scrolled header {
        padding: 12px 24px;
    }
    .hero-section {
        padding: 120px 30px 60px;
        min-height: auto;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-description {
        margin: 0 auto 30px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-trust {
        justify-content: center;
    }
    .hero-visual-card {
        max-width: 400px;
        transform: none;
    }
    .why-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .why-left-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    .before-after-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* الهواتف الذكية الكبيرة (Max 768px) */
@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }
    
    /* جعل قائمة التنقل للموبايل شاشة كاملة */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 1000;
        transition: var(--transition-smooth);
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.25);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.4rem;
        font-weight: 700;
    }
    
    .header-actions {
        display: none; /* إخفاء أزرار الديسكتوب بالهيدر */
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* تحويل خطوات العمل لتكون رأسية في الموبايل */
    .steps-timeline {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .steps-timeline::before {
        top: 30px;
        bottom: 30px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 3px;
        height: 80%;
    }
    
    .step-card {
        width: 100%;
        max-width: 300px;
    }
    
    .step-num-circle {
        margin-bottom: 12px;
    }
    
    .desktop-floating-cta {
        display: none; /* إخفاء الزر العائم الجانبي */
    }
    
    .mobile-bottom-cta {
        display: block; /* إظهار شريط الموبايل السفلي */
    }
    
    body {
        padding-bottom: 74px; /* إزاحة لمنع تغطية المحتوى بالشريط السفلي */
    }
}

/* الهواتف الذكية المتوسطة والصغيرة (Max 480px) */
@media (max-width: 480px) {
    section {
        padding: 60px 20px;
    }
    .hero-section {
        padding: 100px 20px 50px;
    }
    .hero-title {
        font-size: 1.9rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-visual-card {
        max-width: 100%;
    }
    .hero-visual-badge {
        bottom: 15px;
        right: 15px;
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    .hero-visual-badge span {
        font-size: 1rem;
    }
    .trust-bar {
        padding: 20px;
    }
    .trust-bar-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .slider-container {
        aspect-ratio: 4/3;
    }
    .badge-before, .badge-after {
        bottom: 10px;
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    .spaces-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .space-card {
        padding: 16px;
    }
    .faq-header {
        padding: 18px 20px;
        font-size: 1rem;
    }
    .faq-content {
        padding: 0 20px 20px;
        font-size: 0.9rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    footer {
        padding: 60px 20px 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* دعم شاشات الموبايل الصغيرة جداً (360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.7rem;
    }
    .space-card {
        padding: 12px 8px;
    }
    .space-name {
        font-size: 0.9rem;
    }
    .mobile-cta-grid {
        gap: 8px;
    }
    .mobile-cta-grid .btn {
        font-size: 0.85rem;
    }
}

/* prefers-reduced-motion Accessibility Rules */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
