   /* أنماط CSS محسنة وفاخمة مع التناسق التلقائي */
        :root {
            --primary-color: #00bcd4;
            --primary-dark: #0288a7;
            --secondary-color: #ff4081;
            --dark-bg: #0f172a;
            --darker-bg: #0a0e1a;
            --header-bg: #111827;
            --text-color: #ffffff;
            --text-muted: #94a3b8;
            --gradient: linear-gradient(135deg, #00bcd4 0%, #0288a7 100%);
            --gold: #ffd700;
            --transition: all 0.3s ease;
            --card-bg: rgba(17, 24, 39, 0.7);

            /* متغيرات التناسق التلقائي */
            --base-size: 16px;
            --scale: 1.25;
            --h1: calc(var(--h2) * var(--scale));
            --h2: calc(var(--h3) * var(--scale));
            --h3: calc(var(--h4) * var(--scale));
            --h4: calc(var(--h5) * var(--scale));
            --h5: calc(var(--h6) * var(--scale));
            --h6: var(--base-size);
            --spacing: 1rem;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            font-size: var(--base-size);
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Tajawal', sans-serif;
            background: var(--dark-bg);
            color: var(--text-color);
            line-height: 1.6;
            overflow-x: hidden;
            font-size: 1rem;
            min-height: 100vh;
        }

        /* نظام التناسق التلقائي للخطوط */
        h1 { font-size: var(--h1); line-height: 1.2; }
        h2 { font-size: var(--h2); line-height: 1.3; }
        h3 { font-size: var(--h3); line-height: 1.4; }
        h4 { font-size: var(--h4); line-height: 1.5; }
        h5 { font-size: var(--h5); line-height: 1.6; }
        h6 { font-size: var(--h6); line-height: 1.6; }

        /* شريط التمرير المخصص */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--darker-bg);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }

        /* الهيدر الفاخر */
        header {
            background: rgba(17, 24, 39, 0.95);
            padding: 1rem 5%;
            position: sticky;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(10px);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            border-bottom: 1px solid rgba(0, 188, 212, 0.1);
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }

        .logo {
            font-size: clamp(1.5rem, 4vw, 2rem);
            font-weight: 900;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
            white-space: nowrap;
        }

        .logo i {
            margin-left: 10px;
            color: var(--gold);
        }

        .nav-links {
            list-style: none;
            display: flex;
            gap: clamp(15px, 3vw, 30px);
            align-items: center;
        }

        .nav-links a {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            position: relative;
            padding: 5px 10px;
            transition: var(--transition);
            white-space: nowrap;
            font-size: clamp(0.9rem, 2vw, 1rem);
        }

        .nav-links a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            right: 50%;
            background: var(--gradient);
            transition: var(--transition);
        }

        .nav-links a:hover:after,
        .nav-links a.active:after {
            width: 100%;
            right: 0;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary-color);
        }

        /* زر القائمة للموبايل */
        .menu-toggle {
            font-size: 1.8rem;
            cursor: pointer;
            display: none;
            color: var(--primary-color);
            transition: var(--transition);
            padding: 12px;
            border: 2px solid var(--primary-color);
            background: rgba(0, 188, 212, 0.1);
            border-radius: 8px;
            min-width: 50px;
            min-height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 999;
        }

        .menu-toggle:hover {
            color: var(--text-color);
            background: var(--primary-color);
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
        }

        .menu-toggle:active {
            transform: scale(0.95);
        }

        .menu-toggle i {
            transition: var(--transition);
        }

        .menu-toggle.active i {
            transform: rotate(90deg);
        }

        /* المحتوى الرئيسي */
        .page-content {
            padding: clamp(2rem, 8vw, 5rem) 5%;
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .page-content h2 {
            font-size: clamp(2rem, 6vw, 3rem);
            margin-bottom: clamp(1rem, 4vw, 2rem);
            background: linear-gradient(45deg, #00bcd4, #00ff95);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 900;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            position: relative;
        }

        .page-content h2:after {
            content: '';
            position: absolute;
            width: 60%;
            height: 3px;
            background: var(--gradient);
            bottom: -15px;
            left: 20%;
            border-radius: 3px;
            animation: glow 2s infinite alternate;
        }

        .page-content p {
            font-size: clamp(1rem, 3vw, 1.3rem);
            margin-bottom: clamp(1.5rem, 5vw, 3rem);
            color: var(--text-muted);
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.8;
        }

        /* قسم الممتلكات */
        .properties {
            padding: clamp(2rem, 8vw, 5rem) 5%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .properties h2 {
            text-align: center;
            margin-bottom: 3rem;
            font-size: clamp(1.8rem, 5vw, 2.5rem);
            color: var(--text-color);
            position: relative;
            display: inline-block;
            width: 100%;
        }

        .properties h2:after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            background: var(--gradient);
            bottom: -10px;
            left: 25%;
            border-radius: 3px;
        }

        .properties-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: clamp(1rem, 4vw, 2rem);
            justify-items: center;
        }

        .property-card {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 1.5rem;
            width: 100%;
            max-width: 350px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: var(--transition);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.05);
            position: relative;
            overflow: hidden;
        }

        .property-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent, rgba(0, 188, 212, 0.05), transparent);
            opacity: 0;
            transition: var(--transition);
            z-index: 0;
        }

        .property-card:hover:before {
            opacity: 1;
        }

        .property-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: 0 20px 50px rgba(0, 188, 212, 0.2);
        }

        .property-card img {
            width: 100%;
            height: clamp(150px, 20vw, 200px);
            border-radius: 10px;
            object-fit: cover;
            margin-bottom: 1rem;
            transition: var(--transition);
            position: relative;
            z-index: 1;
        }

        .property-card:hover img {
            transform: scale(1.05);
        }

        .property-card h3 {
            font-size: clamp(1.1rem, 3vw, 1.3rem);
            color: var(--text-color);
            margin-bottom: 0.5rem;
            position: relative;
            z-index: 1;
        }

        .property-card p {
            color: var(--text-muted);
            font-size: clamp(0.9rem, 2.5vw, 1rem);
            position: relative;
            z-index: 1;
            margin: 0;
        }

        /* القائمة الجانبية للهواتف */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: min(300px, 80vw);
            height: 100vh;
            background: var(--header-bg);
            z-index: 1001;
            padding: 5rem 1.5rem 2rem;
            transition: var(--transition);
            box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
            overflow-y: auto;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu .close-btn {
            position: absolute;
            top: 1rem;
            left: 1rem;
            font-size: 1.5rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: var(--transition);
            padding: 0.5rem;
            background: transparent;
            border: none;
        }

        .mobile-menu .close-btn:hover {
            color: var(--secondary-color);
            transform: rotate(90deg);
        }

        .mobile-menu ul {
            list-style: none;
            margin-top: 2rem;
        }

        .mobile-menu ul li {
            margin-bottom: 1rem;
        }

        .mobile-menu ul li a {
            color: var(--text-color);
            text-decoration: none;
            font-size: 1.1rem;
            display: block;
            padding: 0.8rem;
            border-radius: 8px;
            transition: var(--transition);
        }

        .mobile-menu ul li a:hover,
        .mobile-menu ul li a.active {
            background: rgba(0, 188, 212, 0.1);
            color: var(--primary-color);
        }

        .mobile-menu ul li a i {
            margin-left: 10px;
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* الفوتر الفاخر */
        footer {
            background: var(--header-bg);
            padding: 2rem 5%;
            text-align: center;
            margin-top: 3rem;
            position: relative;
            border-top: 1px solid rgba(0, 188, 212, 0.1);
        }

        footer:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: var(--gradient);
        }

        .copyright {
            color: var(--text-muted);
            font-size: clamp(0.8rem, 2vw, 0.9rem);
            margin: 0;
        }

        /* تأثيرات للعناصر */
        .glow {
            animation: glow 2s infinite alternate;
        }

        @keyframes glow {
            from {
                text-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
            }
            to {
                text-shadow: 0 0 20px rgba(0, 188, 212, 0.8), 0 0 30px rgba(0, 188, 212, 0.6);
            }
        }

        /* نظام التناسق التلقائي للشاشات المختلفة */
        
        /* شاشات كبيرة جداً */
        @media (min-width: 1400px) {
            :root {
                --base-size: 18px;
            }
        }

        /* شاشات كبيرة */
        @media (max-width: 1200px) {
            :root {
                --base-size: 16px;
            }
            
            .navbar {
                padding: 0 2rem;
            }

            .properties-container {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
        }

        /* تابلت */
        @media (max-width: 992px) {
            :root {
                --base-size: 15px;
                --scale: 1.2;
            }

            .nav-links {
                gap: 20px;
            }

            .properties-container {
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
                gap: 1.5rem;
            }

            /* تأكيد ظهور زر القائمة في الأجهزة الصغيرة */
            .menu-toggle {
                display: flex !important;
                visibility: visible !important;
                opacity: 1 !important;
            }
            
            .nav-links {
                display: none !important;
            }
        }

        /* هواتف كبيرة وتابلت صغير */
        @media (max-width: 768px) {
            :root {
                --base-size: 14px;
                --scale: 1.15;
            }

            .menu-toggle {
                display: flex !important;
            }

            .nav-links {
                display: none !important;
            }

            .properties-container {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 1rem;
            }

            header {
                padding: 0.8rem 5%;
            }
        }

        /* هواتف متوسطة */
        @media (max-width: 576px) {
            :root {
                --base-size: 13px;
                --scale: 1.1;
            }

            .properties-container {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .property-card {
                max-width: 100%;
            }

            header {
                padding: 0.5rem 3%;
            }

            .page-content,
            .properties {
                padding: 1.5rem 3%;
            }

            footer {
                padding: 1.5rem 3%;
            }
        }

        /* هواتف صغيرة */
        @media (max-width: 400px) {
            :root {
                --base-size: 12px;
            }

            .mobile-menu {
                width: 90vw;
            }

            .menu-toggle {
                min-width: 45px;
                min-height: 45px;
                font-size: 1.6rem;
            }
        }

        /* تحسينات إضافية للشاشات الطويلة */
        @media (max-height: 600px) and (orientation: landscape) {
            .page-content h2 {
                font-size: clamp(1.5rem, 4vw, 2rem);
            }
        }

        /* تحسين الطباعة */
        @media print {
            .menu-toggle,
            .mobile-menu,
            .overlay {
                display: none !important;
            }

            body {
                background: white !important;
                color: black !important;
            }

            .property-card {
                background: white !important;
                border: 1px solid #ccc !important;
                break-inside: avoid;
            }

            .page-content h2,
            .properties h2 {
                color: #000 !important;
                background: none !important;
                -webkit-text-fill-color: initial !important;
            }
        }

        /* تحسينات للأداء */
        .property-card,
        .nav-links a {
            will-change: transform;
        }

        /* تأثيرات الحركة المتقدمة */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .property-card {
            animation: fadeIn 0.6s ease-out forwards;
        }

        .property-card:nth-child(2) { animation-delay: 0.1s; }
        .property-card:nth-child(3) { animation-delay: 0.2s; }
        .property-card:nth-child(4) { animation-delay: 0.3s; }
        .property-card:nth-child(5) { animation-delay: 0.4s; }
        .property-card:nth-child(6) { animation-delay: 0.5s; }

        /* تحسينات إمكانية الوصول */
        .menu-toggle:focus,
        .nav-links a:focus {
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        /* تحسين النص للشاشات عالية الدقة */
        @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
            body {
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
            }
        }

        /* تحسينات للحركة المخفضة */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* تحسين خاص لبطاقات السيارات */
        .properties:last-of-type .property-card {
            border: 2px solid var(--gold);
            box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
        }

        .properties:last-of-type .property-card:hover {
            box-shadow: 0 20px 50px rgba(255, 215, 0, 0.2);
            border-color: var(--primary-color);
        }