* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f3f4f6;
            color: #374151;
            line-height: 1.6;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* التنسيقات العامة */
        a {
            text-decoration: none;
            color: inherit;
        }
        
        button {
            cursor: pointer;
            border: none;
            outline: none;
        }
        
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        
        /* رأس الصفحة */
        header {
            background-color: #ffffff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo-icon {
            width: 40px;
            height: 40px;
            background-color: #2563eb;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }
        
        .logo-text {
            font-size: 1.5rem;
            font-weight: bold;
            color: #2563eb;
        }
        
        nav ul {
            display: flex;
            list-style: none;
            gap: 25px;
        }
        
        nav a {
            font-weight: 500;
            transition: color 0.3s;
        }
        
        nav a:hover {
            color: #2563eb;
        }
        
        .contact-btn {
            background-color: #2563eb;
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 500;
            transition: background-color 0.3s;
        }
        
        .contact-btn:hover {
            background-color: #1d4ed8;
        }
        
        .mobile-menu-btn {
            display: none;
            font-size: 1.5rem;
            background: none;
            color: #374151;
        }
        
        /* قسم البطل */
        .hero {
            background: url(imgs/hero12.jpg) no-repeat center center/cover;
            color: white;
            padding: 80px 0;
            text-align: center;
        }
        
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .hero h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        
        .hero p {
            font-size: 1.2rem;
            margin-bottom: 40px;
            opacity: 0.9;
        }
        
        .search-box {
            background-color: white;
            padding: 25px;
            border-radius: 12px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .search-box select{
            padding: 12px 15px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            font-size: 1rem;
        }
        .search-box input {
            width: 400px;
            padding: 12px 15px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            font-size: 1rem;
        }
        
        .search-btn {
            background-color: #2563eb;
            color: white;
            padding: 15px 50px;
            border-radius: 8px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background-color 0.3s;
        }
        
        .search-btn:hover {
            background-color: #1d4ed8;
        }
        
        /* قسم العقارات المميزة */
        .featured-properties {
            padding: 60px 0;
            background-color: white;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .section-header h2 {
            font-size: 2rem;
            color: #1f2937;
            margin-bottom: 15px;
        }
        
        .section-header p {
            color: #6b7280;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .properties-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
        }
        
        .property-card {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .property-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        .property-image {
            height: 220px;
            position: relative;
        }
        
        .property-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .property-type {
            position: absolute;
            top: 15px;
            left: 15px;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }
        
        .sale {
            background-color: #10b981;
            color: white;
        }
        
        .rent {
            background-color: #f59e0b;
            color: white;
        }
        
        .favorite-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            transition: background-color 0.3s;
        }
        
        .favorite-btn:hover {
            background-color: #fef2f2;
        }
        
        .property-details {
            padding: 20px;
        }
        
        .property-details h3 {
            font-size: 1.25rem;
            margin-bottom: 10px;
            color: #1f2937;
        }
        
        .property-location {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #6b7280;
            margin-bottom: 15px;
        }
        
        .property-features {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
            color: #6b7280;
        }
        
        .property-feature {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .property-price {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .price {
            font-size: 1.5rem;
            font-weight: bold;
            color: #2563eb;
        }
        
        .view-details {
            background-color: #2563eb;
            color: white;
            padding: 8px 16px;
            border-radius: 6px;
            font-weight: 500;
            transition: background-color 0.3s;
        }
        
        .view-details:hover {
            background-color: #1d4ed8;
        }
        
        /* قسم جميع العقارات */
        .all-properties {
            padding: 60px 0;
        }
        
        .filter-section {
            background-color: white;
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 30px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            align-items: center;
        }
        
        .filter-title {
            font-weight: 500;
            margin-left: 10px;
        }
        
        .filter-option {
            padding: 8px 16px;
            background-color: #f3f4f6;
            border-radius: 20px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .filter-option.active {
            background-color: #2563eb;
            color: white;
        }
        
        /* التذييل */
        footer {
            background-color: #1f2937;
            color: white;
            padding: 60px 0 30px;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-column h3 {
            font-size: 1.25rem;
            margin-bottom: 20px;
            color: #f9fafb;
        }
        .footer-column ul {
            list-style: none;
        }
        .footer-column li {
            margin-bottom: 10px;
        }
        .footer-column a {
            color: #d1d5db;
            transition: color 0.3s;
        }
        .footer-column a:hover {
            color: white;
        }
        .footer-info {
            color: #d1d5db;
            line-height: 1.8;
        }
        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #374151;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s;
        }
        .social-icon:hover {
            background-color: #4b5563;
        }
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #374151;
            color: #9ca3af;
        }
        /* نافذة التفاصيل المنبثقة */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            overflow-y: auto;
        }
        .modal-content {
            background-color: white;
            margin: 40px auto;
            border-radius: 12px;
            max-width: 900px;
            height:1000px;
            position: relative;
            animation: modalFadeIn 0.3s;
        }
        @keyframes modalFadeIn {
            from {opacity: 0; transform: translateY(-20px);}
            to {opacity: 1; transform: translateY(0);}
        }
        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            z-index: 10;
            cursor: pointer;
        }
        .modal-gallery {
            position: relative;
            height: 400px;
        }
        .modal-gallery img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-top-left-radius: 12px;
            border-top-right-radius: 12px;
        }
        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            cursor: pointer;
        }
        
        .gallery-prev {
            left: 20px;
        }
        
        .gallery-next {
            right: 20px;
        }
        
        .modal-details {
            padding: 30px;
        }
        
        .modal-header {
            margin-bottom: 20px;
        }
        
        .modal-header h2 {
            font-size: 1.75rem;
            margin-bottom: 10px;
            color: #1f2937;
        }
        
        .modal-location {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #6b7280;
            font-size: 1.1rem;
        }
        
        .property-stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin-bottom: 30px;
        }
        
        .stat-box {
            background-color: #f9fafb;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
        }
        
        .stat-icon {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: #2563eb;
        }
        
        .stat-value {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 5px;
            color: #1f2937;
        }
        
        .stat-label {
            color: #6b7280;
        }
        
        .price-stat {
            background-color: #dbeafe;
        }
        
        .price-stat .stat-icon {
            color: #2563eb;
        }
        
        .modal-description {
            margin-bottom: 30px;
        }
        
        .modal-description h3 {
            font-size: 1.25rem;
            margin-bottom: 15px;
            color: #1f2937;
        }
        
        .modal-description p {
            color: #6b7280;
            line-height: 1.8;
        }
        
        .action-buttons {
            display: flex;
            gap: 15px;
        }
        
        .action-btn {
            flex: 1;
            padding: 15px;
            border-radius: 8px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background-color 0.3s;
        }
        
        .call-btn {
            background-color: #2563eb;
            color: white;
        }
        
        .call-btn:hover {
            background-color: #1d4ed8;
        }
        
        .message-btn {
            background-color: white;
            color: #2563eb;
            border: 1px solid #e5e7eb;
        }
        
        .message-btn:hover {
            background-color: #f9fafb;
        }
        
        /* التصميم المتجاوب */
        @media (max-width: 992px) {
            .search-box {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .property-stats {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            nav ul {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero h2 {
                font-size: 2rem;
            }
            
            .search-box {
                grid-template-columns: 1fr;
            }
            
            .properties-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
            
            .modal-gallery {
                height: 300px;
            }
        }
        
        @media (max-width: 576px) {
            .action-buttons {
                flex-direction: column;
            }
            
            .property-stats {
                grid-template-columns: 1fr;
            }
            
            .modal-gallery {
                height: 250px;
            }
        }