/* ===== CSS Variables ===== */
:root {
    /* Brand Colors */
    --primary-color: #00412e;
    --primary-dark: #003523;
    --primary-darker: #002819;
    --accent-color: #e09230;
    --accent-light: #f4a434;
    --accent-dark: #d18220;
    
    /* Luxury Colors */
    --luxury-gold: #d4af37;
    --luxury-gold-light: #f4e5c2;
    --luxury-pearl: #f8f6f3;
    --luxury-charcoal: #1a1a1a;
    --luxury-silver: #c0c0c0;
    --luxury-cream: #faf8f3;
    --luxury-burgundy: #722f37;
    --luxury-navy: #1e3a5f;
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Typography */
    --font-family-primary: 'Playfair Display', 'Georgia', serif;
    --font-family-secondary: 'Poppins', 'Helvetica', sans-serif;
    --font-family-arabic: 'Amiri', 'Tajawal', 'Markazi Text', 'Arial', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-4xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-luxury: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    --transition-luxury: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-secondary);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--luxury-pearl);
    overflow-x: hidden;
}

body[dir="rtl"] {
    direction: rtl;
    font-family: var(--font-family-arabic);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background-color var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(0, 65, 46, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--white);
}



.logo-text {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.language-switcher {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-family);
    font-size: 0.875rem;
}

.language-switcher:hover {
    background: rgba(255, 255, 255, 0.2);
}
/* زر فتح القائمة في الموبايل */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10000;
}

/* === هنا بداية التعديل المهم === */
/* حاوية القائمة الجانبية */
.mobile-menu {
    position: fixed;     
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 65, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    overflow-y: auto;

    /* --- السطور الجديدة لإخفاء القائمة --- */
    visibility: hidden;  /* يجعل القائمة غير مرئية */
    opacity: 0;          /* يجعلها شفافة تماماً */
    transition: opacity 0.3s ease; /* لجعلها تظهر وتختفي بسلاسة */
}

/* هذا الكود يُفعّل عندما تضغط على زر القائمة */
.mobile-menu.active {
    /* --- السطور الجديدة لإظهار القائمة --- */
    visibility: visible; /* يجعل القائمة مرئية */
    opacity: 1;          /* يجعلها تظهر بالكامل */
}
/* === هنا نهاية التعديل المهم === */


@media screen and (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }
    .nav-menu {
        display: none; /* إخفاء القائمة الرئيسية على الموبايل */
    }
}

/* محتوى القائمة من الداخل */
.mobile-nav-content {
    padding: var(--spacing-md);
}

.mobile-nav-link {
    display: block;
    padding: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.mobile-language-switcher {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-family);
    font-size: 0.875rem;
    width: 100%;
    margin-top: var(--spacing-md);
}

.mobile-language-switcher:hover {
    background: rgba(255, 255, 255, 0.2);
}
/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-luxury) ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 65, 46, 0.7) 0%, 
        rgba(0, 53, 35, 0.8) 50%, 
        rgba(0, 40, 25, 0.9) 100%);
    z-index: 1;
}
.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-slide:nth-child(1) {
    background-image: url('../img/slide1.webp');
}

.hero-slide:nth-child(2) {
    background-image: url('../img/slide2.webp');
}
.hero-slide:nth-child(3) {
    background-image: url('../img/slide3.webp');
}


.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05 !important;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 3;
    padding: var(--spacing-xl);
    position: relative;
}

.hero-title {
    font-family: var(--font-family-primary);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: var(--font-weight-black);
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--luxury-gold) 0%, var(--accent-light) 50%, var(--luxury-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: luxuryGlow 3s ease-in-out infinite alternate;
    line-height: 1.2;
}

body[dir="rtl"] .hero-title {
    font-family: var(--font-family-arabic);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: 1px;
}

@keyframes luxuryGlow {
    0% {
        filter: brightness(1);
        transform: translateY(0);
    }
    100% {
        filter: brightness(1.2);
        transform: translateY(-2px);
    }
}

.hero-subtitle {
    font-family: var(--font-family-secondary);
    font-size: clamp(1.125rem, 2.5vw, 1.75rem);
    font-weight: var(--font-weight-light);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

body[dir="rtl"] .hero-subtitle {
    font-family: var(--font-family-arabic);
    font-size: clamp(1.25rem, 2.5vw, 1.875rem);
    letter-spacing: 0.5px;
}

.hero-cta {
    font-family: var(--font-family-secondary);
    background: linear-gradient(135deg, var(--luxury-gold) 0%, var(--accent-color) 50%, var(--luxury-gold-light) 100%);
    color: var(--luxury-charcoal);
    border: 2px solid var(--luxury-gold);
    padding: var(--spacing-md) var(--spacing-3xl);
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-4xl);
    cursor: pointer;
    transition: all var(--transition-luxury);
    box-shadow: var(--shadow-luxury), var(--shadow-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    background: linear-gradient(135deg, var(--luxury-gold-light) 0%, var(--luxury-gold) 50%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-luxury), 0 0 30px rgba(212, 175, 55, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-family: var(--font-family-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    color: var(--luxury-charcoal);
    margin-bottom: var(--spacing-md);
    letter-spacing: 1px;
}

.section-divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(135deg, var(--luxury-gold) 0%, var(--accent-color) 50%, var(--luxury-gold-light) 100%);
    margin: 0 auto;
    border-radius: var(--radius-sm);
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--luxury-gold);
    border-radius: 50%;
    box-shadow: var(--shadow-gold);
}

/* ===== Services Section ===== */
.services {
    padding: var(--spacing-4xl) 0;
    background: var(--white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--luxury-gold), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.service-card {
    background: linear-gradient(135deg, var(--luxury-pearl) 0%, var(--white) 100%);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-luxury);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--luxury-gold) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform var(--transition-luxury);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-luxury), var(--shadow-gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--luxury-gold) 0%, var(--accent-color) 50%, var(--luxury-gold-light) 100%);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-xl);
    font-size: 2.5rem;
    color: var(--white);
    transition: all var(--transition-luxury);
    box-shadow: var(--shadow-md);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-gold);
}

.service-title {
    font-family: var(--font-family-primary);
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--luxury-charcoal);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.5px;
}

.service-description {
    font-family: var(--font-family-secondary);
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===== About Section ===== */
.about {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: var(--white);
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    border-radius: var(--radius-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
}

/* ===== Stats Section ===== */
.stats {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.8;
}

/* ===== Projects Section ===== */
.projects {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* الصور لكل مشروع */
.project-1 .project-image {
    background-image: url('../img/project1.webp');
}

.project-2 .project-image {
    background-image: url('../img/project2.webp');
}

.project-3 .project-image {
    background-image: url('../img/project3.webp');
}

.project-4 .project-image {
    background-image: url('../img/project4.webp');
}

.project-5 .project-image {
    background-image: url('../img/project5.webp');
}

.project-6 .project-image {
    background-image: url('../img/project6.webp');
}
.project-7 .project-image {
    background-image: url('../img/project7.webp');
}
.project-8 .project-image {
    background-image: url('../img/project8.webp');
}
.project-9 .project-image {
    background-image: url('../img/project9.webp');
}

/* اختياري: ضبط Overlay وزر التشغيل */
.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.2); /* شفافية خفيفة فوق الصورة */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-image:hover .project-overlay {
    opacity: 1;
}

.project-play-btn {
    background: rgba(255,255,255,0.8);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gray-400);
    transition: color var(--transition-normal);
}

.project-card:hover .project-placeholder {
    color: var(--accent-color);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-normal);
}

.project-card:hover .project-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.project-play-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-weight: var(--font-weight-medium);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.project-card:hover .project-play-btn {
    opacity: 1;
    transform: translateY(0);
}

.project-play-btn:hover {
    background: var(--accent-dark);
}

.project-info {
    padding: var(--spacing-lg);
}

.project-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.project-location {
    color: var(--gray-600);

}


/* ===== Project Images Slider Modal ===== */
.project-slider-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.project-slider-modal.active {
    display: flex;
}

.project-slider-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.project-slider-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    transition: transform 0.3s ease-in-out;
}

.project-slider-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    z-index: 10;
    background: rgba(0,0,0,0.4);
    padding: 5px 10px;
    border-radius: 8px;
}

.project-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    z-index: 10;
    background: rgba(0,0,0,0.4);
    padding: 5px 10px;
    border-radius: 8px;
    user-select: none;
}

.project-slider-prev {
    left: 10px;
}

.project-slider-next {
    right: 10px;
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* عمود info وعمود الفورم */
    gap: var(--spacing-3xl);
    align-items: start; /* محاذاة المحتوى في الأعلى */
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr; /* عمود واحد للشاشات الصغيرة */
    }
}

.contact-subtitle {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    display: flex;
    flex-direction: row; /* إجبار ترتيب الأيقونات من اليسار إلى اليمين */
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    margin-top: 2px;
}

.contact-text {
    flex: 1;
}

.contact-label {
    font-weight: var(--font-weight-semibold);
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.contact-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--accent-dark);
}

.social-links {
    display: flex;
    flex-direction: row; /* ترتيب الأيقونات أفقياً دائمًا */
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-200);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* ===== Contact Form ===== */
.contact-form-container {
    max-width: 450px; /* أقصى عرض للفورم */
    width: 100%;
    direction: ltr; /* إجبار اتجاه النصوص والأيقونات داخل الفورم */
}

.contact-form {
    background: var(--white);
    padding: var(--spacing-xl); /* أقل من السابق */
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-md); /* أصغر من السابق */
}

.form-group label {
    display: block;
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px; /* أقل من var(--spacing-md) */
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 0.95rem; /* أصغر قليلاً */
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: var(--white);
    border: none;
    padding: 10px 20px; /* أصغر */
    font-size: 0.95rem; /* أصغر */
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


/* ===== Map Section ===== */
.map-section {
    height: 450px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.footer-text {
    opacity: 0.6;
    font-size: 0.875rem;
}

/* ===== Video Modal ===== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.8);
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1024px;
    aspect-ratio: 16/9;
    background: var(--black);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 1;
    transition: background-color var(--transition-fast);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.video-container {
    width: 100%;
    height: 100%;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Call Button Style */
.call-btn {
    background: #10b981; /* أخضر فاتح */
}

/* WhatsApp Button Style */
.whatsapp-btn {
    background: #25d366; /* أخضر واتساب */
}

/* Responsive */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 12px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ===== Success Message ===== */
.success-message {
    position: fixed;
    top: var(--spacing-xl);
    right: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--spacing-lg);
    z-index: 3000;
    transform: translateX(400px);
    transition: transform var(--transition-normal);
}

.success-message.show {
    transform: translateX(0);
}

.success-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.success-content i {
    color: #10b981;
    font-size: 1.5rem;
}

.success-content p {
    color: var(--gray-700);
    font-weight: var(--font-weight-medium);
}

/* ===== RTL Support ===== */
.logo-icon img {
    width: 75px;      /* عدل الحجم حسب حاجتك */
    height: auto;
    display: block;
}
.about-image-placeholder img {
    width: 100%;      /* أو أي قيمة مثل 200px */
    height: auto;
    object-fit: cover; /* يحافظ على تناسق الشكل */
}

[dir="rtl"] .nav-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-switcher,
[dir="rtl"] .mobile-language-switcher {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-content {
    direction: rtl;
}

[dir="rtl"] .contact-content {
    direction: rtl;
}

[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .social-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .success-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .success-message {
    right: auto;
    left: var(--spacing-xl);
    transform: translateX(-400px);
}

[dir="rtl"] .success-message.show {
    transform: translateX(0);
}