/* ============================================
   ملف CSS الموحد لموقع نيو ستايل جروب للمصاعد
   يحتوي على أنماط الصفحة الرئيسية وصفحة المعرض
============================================= */

/* ============================================
                    المتغيرات
============================================= */
:root {
    --primary: #1a365d;
    --secondary: #2d5f8b;
    --accent: #e67e22;
    --accent-light: #f39c12;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --light-gray: #ecf0f1;
    --white: #ffffff;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --radius: 12px;
    --radius-lg: 20px;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

/* ============================================
                    القواعد العامة
============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--light-gray);
}

/* تخصيص شريط التمرير */
html::-webkit-scrollbar {
    width: 10px;
}

html::-webkit-scrollbar-track {
    background: var(--light-gray);
}

html::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 5px;
}

html::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

body {
    font-family: 'Almarai', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.6rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
                    الأزرار
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    opacity: 0.9;
    z-index: -1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
              شاشة التحميل (Loading Screen)
============================================= */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.elevator-loader {
    width: 140px;
    height: 240px;
    position: relative;
    margin-bottom: 40px;
    perspective: 800px;
}

.elevator-shaft {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.elevator-cabin {
    width: 90px;
    height: 70px;
    background: var(--accent);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: elevatorMove 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.elevator-door {
    flex: 1;
    background: var(--dark);
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.loading-text {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.loading-bar {
    width: 240px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.4s ease;
}

@keyframes elevatorMove {
    0%, 100% { 
        bottom: 30px;
        transform: translateX(-50%) scale(1);
    }
    25% { 
        bottom: 110px;
        transform: translateX(-50%) scale(1.02);
    }
    50% { 
        bottom: 180px;
        transform: translateX(-50%) scale(1);
    }
    75% { 
        bottom: 110px;
        transform: translateX(-50%) scale(1.02);
    }
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ============================================
                    الهيدر
============================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    animation: shine 3s infinite linear;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 4px;
    line-height: 1.1;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--accent);
    margin: 0;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 1px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.phone-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--light-gray);
}

/* ============================================
            الأيقونات العائمة (Floating Elements)
============================================= */
.floating-elements {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.floating-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    opacity: 0.9;
    z-index: -1;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.floating-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-btn.phone {
    background: var(--gradient-primary);
}

.floating-btn.up {
    background: var(--gradient-accent);
    display: none;
}

.floating-btn.up.show {
    display: flex;
}

.floating-btn.home {
    background: var(--primary);
}

/* ============================================
                    القائمة المتنقلة
============================================= */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    transition: var(--transition);
    z-index: 1001;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: var(--light-gray);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.mobile-nav a {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-contact {
    margin-top: 40px;
}

/* ============================================
        ===================================
                أنماط الصفحة الرئيسية
        ===================================
============================================= */

/* ============================================
                    قسم الهيرو
============================================= */
.hero {
    padding-top: 160px;
    padding-bottom: 120px;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(230, 126, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 95, 139, 0.1) 0%, transparent 50%);
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 24px;
    color: var(--white);
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--accent);
    position: relative;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 500px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-feature i {
    color: var(--accent);
    font-size: 1.2rem;
}

.hero-feature span {
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.elevator-3d-container {
    width: 100%;
    height: 500px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

canvas {
    width: 100%;
    height: 100%;
}

/* ============================================
                    قسم الخدمات
============================================= */
.services {
    background: var(--white);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.service-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-icon {
    height: 140px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3.2rem;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: shine 6s infinite linear;
}

.service-content {
    padding: 32px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    margin-top: 24px;
}

.service-features li {
    padding: 8px 0;
    position: relative;
    padding-right: 28px;
    border-bottom: 1px solid var(--light-gray);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ============================================
                قسم عملية التركيب
============================================= */
.process {
    background: var(--light);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2 0 4-2 4-4s-2-4-4-4-4 2-4 4 2 4 4 4zm28-65c2 0 4-2 4-4s-2-4-4-4-4 2-4 4 2 4 4 4zm23-11c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.19 0 4-3 4-5s-1.81-5-4-5-4 3-4 5 1.81 5 4 5zM40 91c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm20-2c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z' fill='%231a365d' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    position: relative;
    margin-top: 60px;
}

.process-step {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
}

.step-number {
    width: 90px;
    height: 90px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 8px solid var(--light);
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(230, 126, 34, 0.2);
}

.step-content h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.step-content p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
                    قسم المزايا
============================================= */
.features {
    background: var(--white);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.feature-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white);
    font-size: 1.8rem;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
}

.feature-content h4 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
                    قسم المشاريع
============================================= */
.projects {
    background: var(--light);
}

.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 28px;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.filter-btn.active {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.filter-btn i {
    font-size: 1.1rem;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.project-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    height: 320px;
    transition: var(--transition);
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease forwards;
}

.project-card.hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.9) 0%, rgba(26, 54, 93, 0.3) 100%);
    color: var(--white);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.project-card:hover .project-title {
    transform: translateY(0);
}

.project-type {
    font-size: 1rem;
    opacity: 0.9;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.project-card:hover .project-type {
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
                    قسم فريق العمل
============================================= */
.team {
    background-color: #f8f9fa;
    background-image: 
        linear-gradient(to right, rgba(26, 54, 93, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26, 54, 93, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
}

.team::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 50%, rgba(230, 126, 34, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(45, 95, 139, 0.08) 0%, transparent 50%);
    pointer-events: none;
}
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.team-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    position: relative;
    border: 1px solid var(--light-gray);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.team-image {
    width: 100%;
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(26, 54, 93, 0.8));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
    z-index: 1000;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-link-team {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.social-link-team:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.team-content {
    padding: 28px 24px;
    position: relative;
    z-index: 1;
}

.team-content h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.team-role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.team-desc {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.skill-tag {
    background: rgba(26, 54, 93, 0.08);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
                    قسم الاتصال
============================================= */
.contact {
    background: var(--light);
    position: relative;
}


.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.contact-info-header h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0;
}

.contact-details p {
    margin-bottom: 8px;
    color: var(--gray);
    line-height: 1.6;
}

.contact-details strong {
    color: var(--primary);
}

/* ============================================
                        الخريطة
============================================= */
.map-container {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid var(--light-gray);
    height: 600px;
    display: flex;
    flex-direction: column;
}

.map-header {
    padding: 32px;
    text-align: right;
    border-bottom: 1px solid var(--light-gray);
    background: var(--white);
}

.map-header h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.map-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.map-header p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-top: 16px;
    line-height: 1.6;
}

.map-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.map-placeholder-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--accent);
}

.map-placeholder h4 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--white);
}

.map-placeholder p {
    margin-bottom: 32px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 400px;
}

/* ============================================
                        الفوتر
============================================= */
footer {
    background: var(--primary);
    color: var(--white);
    padding-top: 80px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col {
    flex: 1;
    min-width: 260px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-logo-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-right: 16px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(-4px);
}

.footer-links a::before {
    content: '←';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover::before {
    opacity: 1;
    right: -4px;
}

.copyright {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* ============================================
        ===================================
                أنماط صفحة المعرض
        ===================================
============================================= */

/* ============================================
                هيرو المعرض
============================================= */
.gallery-hero {
    padding: 100px 0 100px;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(230, 126, 34, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(45, 95, 139, 0.15) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2 0 4-2 4-4s-2-4-4-4-4 2-4 4 2 4 4 4zm28-65c2 0 4-2 4-4s-2-4-4-4-4 2-4 4 2 4 4 4zm23-11c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.19 0 4-3 4-5s-1.81-5-4-5-4 3-4 5 1.81 5 4 5zM40 91c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm20-2c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.gallery-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.gallery-hero-content h1 {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.gallery-hero-content h1 span {
    color: var(--accent);
    position: relative;
}

.gallery-hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.gallery-hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.6;
}

.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 28px;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 180px;
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 4px;
}

/* ============================================
                مرشحات المعرض
============================================= */
.gallery-filters {
    background: var(--light);
    padding: 60px 0;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.view-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.view-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.view-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.view-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================
                معرض الصور الرئيسي
============================================= */
.gallery-main {
    background: var(--white);
    padding-top: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.gallery-grid.masonry-view {
    display: block;
    column-count: 3;
    column-gap: 24px;
}

.gallery-grid.masonry-view .gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
    break-inside: avoid;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    height: 280px;
}

.gallery-grid.masonry-view .gallery-item {
    height: auto;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.9) 0%, rgba(26, 54, 93, 0.3) 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    align-self: flex-start;
}

.gallery-title {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-title {
    transform: translateY(0);
}

.gallery-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.gallery-item:hover .gallery-description {
    transform: translateY(0);
}

.gallery-zoom {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

#loadMoreBtn {
    padding: 14px 40px;
    font-size: 1.05rem;
}

/* ============================================
                المشاريع المميزة
============================================= */
.featured-projects {
    background: var(--light);
}

.featured-slider {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--light-gray);
}

.featured-slider::-webkit-scrollbar {
    height: 8px;
}

.featured-slider::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}

.featured-slider::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.featured-slide {
    flex: 0 0 calc(33.333% - 22px);
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.featured-slide:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.featured-image {
    height: 220px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-slide:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 28px;
}

.featured-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    background: rgba(26, 54, 93, 0.08);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.featured-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ============================================
                معرض الفيديو
============================================= */
.video-gallery {
    background: var(--white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.video-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(230, 126, 34, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.video-play-btn:hover {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 24px;
}

.video-info h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.video-info p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============================================
                دعوة للعمل
============================================= */
.cta-gallery {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
                تحسينات للشاشات
============================================= */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2.3rem;
    }
    
    .gallery-hero-content h1 {
        font-size: 2.6rem;
    }
    
    .gallery-grid.masonry-view {
        column-count: 2;
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        margin: 0 auto 32px;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
    }
    .hero-visual{display:none}

    .nav-menu,
    .header-contact {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 1.05rem;
    }
    
    .gallery-hero {
        padding: 100px 0 80px;
    }
    
    .gallery-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .gallery-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 160px;
        padding: 16px 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .featured-slide {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .service-card,
    .feature-card,
    .project-card,
    .team-card {
        min-width: 100%;
        max-width: 100%;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .gallery-hero-content h1 {
        font-size: 1.9rem;
    }
    
    .gallery-hero-content p {
        font-size: 1.1rem;
    }
    
    .stat-item {
        min-width: 140px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .filter-controls {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }
    
    .gallery-grid.masonry-view {
        column-count: 1;
    }
    
    .featured-slide {
        flex: 0 0 calc(100% - 16px);
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .hero-feature {
        width: 100%;
        max-width: 280px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-col {
        min-width: 100%;
    }
    
    .gallery-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 280px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .floating-elements {
        left: 16px;
        bottom: 16px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 16px;
    }
}
/* ============================================
   تنسيقات الميزات الجديدة
============================================= */

/* تنسيقات أزرار النسخ والاتصال */
.gallery-item-wrapper {
    position: relative;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.gallery-actions {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* معلومات الكود */
.project-code-info {
    margin-bottom: 15px;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.code-display {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Courier New', monospace;
}

.code-display i {
    color: #228be6;
}

.code-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9em;
}

.code-value {
    color: #228be6;
    font-weight: 500;
    font-size: 1.1em;
    flex-grow: 1;
}

.copy-code-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-code-btn:hover {
    background: #228be6;
    color: white;
    border-color: #228be6;
}

/* الكلمات الدالة */
.project-keywords {
    margin-bottom: 15px;
}

.keywords-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #2b8a3e;
    font-weight: 600;
    font-size: 0.9em;
}

.keywords-title i {
    font-size: 1.1em;
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.keyword-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    font-size: 0.85em;
    color: #495057;
    transition: all 0.2s;
    cursor: pointer;
}

.keyword-tag:hover {
    background: #e7f5ff;
    border-color: #228be6;
    transform: translateY(-1px);
}

.keyword-tag .copy-keyword-btn {
    background: none;
    border: none;
    padding: 2px;
    font-size: 0.8em;
    color: #868e96;
    cursor: pointer;
    transition: color 0.2s;
}

.keyword-tag .copy-keyword-btn:hover {
    color: #228be6;
    background: none;
}

/* أزرار الاتصال */
.project-contact-actions {
    margin-top: 20px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #40c057;
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-whatsapp:hover {
    background: #2f9e44;
    color: white;
    transform: translateY(-1px);
}

.quick-actions {
    display: flex;
    gap: 10px;
}

.btn-call, .btn-email {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-call {
    background: #228be6;
}

.btn-call:hover {
    background: #1c7ed6;
    color: white;
    transform: translateY(-1px);
}

.btn-email {
    background: #e64980;
}

.btn-email:hover {
    background: #d6336c;
    color: white;
    transform: translateY(-1px);
}

.btn-copy-all {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #495057;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-copy-all:hover {
    background: #343a40;
    transform: translateY(-1px);
}

/* زر النسخ السريع */
.quick-copy-section {
    margin-top: 15px;
    text-align: center;
}

.quick-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffd43b;
    color: #e67700;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.2s;
}

.quick-copy-btn:hover {
    background: #ffc078;
    transform: translateY(-1px);
}

/* المشاريع المميزة - أزرار إضافية */
.featured-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.featured-actions .btn-whatsapp {
    flex: 2;
}

.featured-actions .btn-outline {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* قسم الفيديو */
.video-info .btn-copy {
    margin-top: 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85em;
}

.video-info .btn-copy:hover {
    background: #e9ecef;
}

/* CTA أزرار */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-whatsapp {
    background: #40c057;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.cta-buttons .btn-whatsapp:hover {
    background: #2f9e44;
}

.copy-contact-info {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.copy-contact-info:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

/* رسالة النسخ */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #40c057;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
    max-width: 350px;
    border-left: 5px solid #2b8a3e;
}

.copy-notification i {
    font-size: 1.2em;
}

.copy-notification.error {
    background: #fa5252;
    border-left-color: #c92a2a;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .gallery-actions {
        padding: 15px;
    }
    
    .code-display {
        flex-wrap: wrap;
    }
    
    .quick-actions {
        flex-wrap: wrap;
    }
    
    .btn-call, .btn-email {
        min-width: 45px;
    }
    
    .featured-actions {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
                    prices form style
============================================= */
/* ============================================
   أنماط CSS الخاصة بصفحة عرض الأسعار
============================================= */

/* حاوية الفورم الرئيسية */
.elev-quote-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

/* أقسام الفورم */
.elev-form-section {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

/* عنوان القسم */
.elev-section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent);
}

.elev-section-title i {
    color: var(--accent);
    font-size: 1.3rem;
}

.elev-section-title h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0;
}

/* صفوف الفورم */
.elev-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.elev-form-col {
    flex: 1;
}

/* مجموعة الحقول */
.elev-form-group {
    margin-bottom: 20px;
    position: relative;
}

/* تسمية الحقل */
.elev-form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.elev-form-label i {
    color: var(--accent);
}

/* حقول الإدخال */
.elev-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #dee2e6;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.elev-form-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

/* حالات الحقول */
.elev-form-input.valid {
    border-color: #40c057;
}

.elev-form-input.valid:focus {
    border-color: #40c057;
    box-shadow: 0 0 0 3px rgba(64, 192, 87, 0.1);
}

.elev-form-input.error {
    border-color: #fa5252;
}

.elev-form-input.error:focus {
    border-color: #fa5252;
    box-shadow: 0 0 0 3px rgba(250, 82, 82, 0.1);
}

.elev-form-input.typing {
    border-color: #228be6;
}

.elev-form-input.typing:focus {
    border-color: #228be6;
    box-shadow: 0 0 0 3px rgba(34, 139, 230, 0.1);
}

/* حقل النص الطويل */
.elev-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #dee2e6;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
    transition: var(--transition);
    background: var(--white);
}

.elev-form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

/* رسائل التلميح */
.elev-input-hint {
    display: none;
    margin-top: 6px;
    color: #868e96;
    font-size: 0.85rem;
    line-height: 1.4;
    padding: 4px 8px;
    border-radius: 4px;
    background: #f8f9fa;
    border-right: 3px solid #228be6;
}

.elev-input-hint.show {
    display: block;
}

.elev-input-hint.valid {
    color: #40c057;
    border-right-color: #40c057;
    background: #f3f9f4;
}

.elev-input-hint.error {
    color: #fa5252;
    border-right-color: #fa5252;
    background: #fff5f5;
}

/* رسائل الخطأ */
.elev-form-error {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fa5252;
    font-size: 0.9rem;
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 4px;
    background: #fff5f5;
    border-right: 3px solid #fa5252;
}

.elev-form-error i {
    font-size: 0.9rem;
}

/* مجموعات الراديو */
.elev-radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.elev-radio-option {
    flex: 1;
    min-width: 150px;
}

.elev-radio-input {
    display: none;
}

.elev-radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--white);
    border: 2px solid #dee2e6;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
}

.elev-radio-input:checked + .elev-radio-label {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: var(--accent);
}

.elev-radio-label:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.elev-radio-label i {
    font-size: 1.1rem;
}

/* زر الإرسال */
.elev-submit-container {
    text-align: center;
    margin-top: 40px;
}

.elev-submit-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.elev-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.elev-submit-btn i {
    font-size: 1.1rem;
}

/* رسالة النجاح */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #40c057;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
    max-width: 350px;
    border-left: 5px solid #2b8a3e;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.copy-notification:hover {
    transform: translateY(-2px);
}

.copy-notification i {
    font-size: 1.2em;
}

.copy-notification.error {
    background: #fa5252;
    border-left-color: #c92a2a;
}

/* مؤشر التحميل */
.form-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.form-loading.active {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* التصميم المتجاوب */
@media (max-width: 992px) {
    .elev-quote-container {
        padding: 30px;
    }
    
    .elev-form-section {
        padding: 25px;
    }
    
    .elev-radio-group {
        gap: 15px;
    }
    
    .elev-radio-option {
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .elev-quote-container {
        padding: 20px;
    }
    
    .elev-form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .elev-form-section {
        padding: 20px;
    }
    
    .elev-radio-group {
        flex-direction: column;
    }
    
    .elev-radio-option {
        min-width: 100%;
    }
    
    .elev-section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .elev-section-title h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .elev-quote-container {
        padding: 15px;
    }
    
    .elev-form-section {
        padding: 15px;
    }
    
    .elev-section-title h3 {
        font-size: 1.2rem;
    }
    
    .elev-submit-btn {
        padding: 14px 30px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .copy-notification {
        left: 10px;
        right: 10px;
        max-width: none;
        top: 10px;
    }
}