
   
    /* متغيرات التصميم */
    :root {
      --primary: #2c3e50;
      --secondary: #3498db;
      --accent: #e74c3c;
      --light: #ecf0f1;
      --dark: #34495e;
      --success: #27ae60;
      --gold: #f1c40f;
      --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      --transition: all 0.3s ease;
      --border-radius: 12px;
    }

    /* إعادة ضبط العناصر */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Tajawal', sans-serif;
      background-color: #f8f9fa;
      color: #333;
      direction: rtl;
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* تصميم الهيدر */
    header {
      background: linear-gradient(135deg, var(--primary), var(--dark));
      color: white;
      box-shadow: var(--shadow);
      position: sticky;
      top: 0;
      z-index: 1000;
      padding: 0 5%;
    }

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 0;
      max-width: 1400px;
      margin: 0 auto;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .logo img {
      height: 50px;
      border-radius: 50%;
      border: 2px solid var(--light);
      transition: var(--transition);
    }

    .logo:hover img {
      transform: rotate(5deg);
    }

    .logo-text {
      display: flex;
      flex-direction: column;
    }

    .logo-text h1 {
      font-size: 1.4rem;
      margin-bottom: 5px;
      color: var(--gold);
    }

    .logo-text p {
      font-size: 0.9rem;
      opacity: 0.8;
    }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 25px;
    }

    .nav-links li a {
      color: #e3f2fd;
      text-decoration: none;
      font-weight: 500;
      font-size: 1.1rem;
      transition: var(--transition);
      padding: 8px 12px;
      border-radius: var(--border-radius);
      position: relative;
    }

    .nav-links li a:hover {
      color: var(--gold);
      background: rgba(255, 255, 255, 0.1);
    }

    .nav-links li a::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0;
      height: 2px;
      background: var(--gold);
      transition: var(--transition);
    }

    .nav-links li a:hover::after {
      width: 100%;
    }

    .nav-buttons {
      display: flex;
      gap: 15px;
    }

    .btn {
      text-decoration: none;
      padding: 10px 20px;
      border-radius: var(--border-radius);
      font-weight: bold;
      font-size: 1rem;
      transition: var(--transition);
      border: 2px solid transparent;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
    }

    .btn i {
      font-size: 1.2rem;
    }

    .login-btn {
      background: var(--accent);
      color: white;
    }

    .login-btn:hover {
      background: transparent;
      border-color: var(--accent);
      transform: translateY(-3px);
    }

    .lang-btn {
      background: rgba(255, 255, 255, 0.15);
      color: white;
    }

    .lang-btn:hover {
      background: rgba(255, 255, 255, 0.25);
      transform: translateY(-3px);
    }

    .menu-toggle {
      display: none;
      font-size: 1.8rem;
      cursor: pointer;
      color: white;
    }

    /* قسم الهيرو مع الفيديو */
    #heroSection {
      position: relative;
      width: 100%;
      height: 100vh;
      min-height: 700px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #heroVideo {
      position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      transform: translate(-50%, -50%);
      object-fit: cover;
      z-index: -1;
    }

    .video-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
    }

    .hero-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      text-align: center;
      color: white;
      z-index: 1;
    }

    .hero-title {
      font-size: 3.5rem;
      margin-bottom: 20px;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
      line-height: 1.3;
    }

    .hero-title span {
      color: var(--gold);
      display: block;
      font-size: 4rem;
      margin-top: 10px;
    }

    .hero-subtitle {
      font-size: 1.8rem;
      margin-bottom: 40px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    }

    .hero-buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
      margin-top: 40px;
      flex-wrap: wrap;
    }

    .hero-btn {
      padding: 15px 35px;
      font-size: 1.2rem;
      font-weight: bold;
      border-radius: var(--border-radius);
      text-decoration: none;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      gap: 10px;
      box-shadow: var(--shadow);
    }

    .hero-btn-primary {
      background: var(--accent);
      color: white;
      border: 2px solid var(--accent);
    }

    .hero-btn-primary:hover {
      background: transparent;
      transform: translateY(-5px);
    }

    .hero-btn-secondary {
      background: transparent;
      color: white;
      border: 2px solid white;
    }

    .hero-btn-secondary:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: translateY(-5px);
    }

    /* الأقسام العامة */
    section {
      padding: 80px 5%;
      max-width: 100%;
      margin: 0 auto;
    }

    .section-title {
      text-align: center;
      margin-bottom: 60px;
      position: relative;
    }

    .section-title h2 {
      font-size: 2.5rem;
      color: var(--primary);
      display: inline-block;
      padding-bottom: 15px;
    }

    .section-title h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 50%;
      transform: translateX(50%);
      width: 120px;
      height: 4px;
      background: var(--accent);
      border-radius: 2px;
    }

    /* قسم الخدمات */
    .services {
      background: white;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }

    .service-card {
      background: white;
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: var(--transition);
      text-align: center;
      padding: 40px 25px;
      border-top: 4px solid var(--secondary);
    }

    .service-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

    .service-icon {
      font-size: 3.5rem;
      color: var(--secondary);
      margin-bottom: 20px;
    }

    .service-card h3 {
      font-size: 1.6rem;
      margin-bottom: 15px;
      color: var(--primary);
    }

    .service-card p {
      color: #666;
      font-size: 1.1rem;
    }

    /* قسم العقارات المميزة */
    .featured-properties {
      background: linear-gradient(to bottom, #f9fafb, #f1f5f9);
    }

    .properties-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 30px;
    }

    .property-card {
      background: white;
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: var(--transition);
    }

    .property-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

    .property-image {
      height: 250px;
      overflow: hidden;
      position: relative;
    }

    .property-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--transition);
    }

    .property-card:hover .property-image img {
      transform: scale(1.1);
    }

    .property-type {
      position: absolute;
      top: 20px;
      left: 20px;
      background: var(--accent);
      color: white;
      padding: 5px 15px;
      border-radius: 20px;
      font-weight: bold;
    }

    .property-price {
      position: absolute;
      bottom: 20px;
      right: 20px;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      padding: 8px 15px;
      border-radius: var(--border-radius);
      font-size: 1.3rem;
      font-weight: bold;
    }

    .property-details {
      padding: 25px;
    }

    .property-details h3 {
      font-size: 1.5rem;
      margin-bottom: 15px;
      color: var(--primary);
    }

    .property-features {
      display: flex;
      justify-content: space-between;
      margin: 20px 0;
      padding: 15px 0;
      border-top: 1px solid #eee;
      border-bottom: 1px solid #eee;
    }

    .feature {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .feature i {
      font-size: 1.5rem;
      color: var(--secondary);
      margin-bottom: 8px;
    }

    .view-property {
      display: block;
      text-align: center;
      background: var(--primary);
      color: white;
      padding: 12px;
      border-radius: var(--border-radius);
      text-decoration: none;
      font-weight: bold;
      transition: var(--transition);
    }

    .view-property:hover {
      background: var(--secondary);
    }

    /* قسم الإحصائيات */
    .stats {
      background: linear-gradient(135deg, var(--primary), var(--dark));
      color: white;
      text-align: center;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
    }

    .stat-item {
      padding: 30px;
    }

    .stat-number {
      font-size: 3.5rem;
      font-weight: bold;
      color: var(--gold);
      margin-bottom: 15px;
    }

    .stat-text {
      font-size: 1.3rem;
    }

    /* قسم من نحن */
    .about {
      background: white;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }

    .about-image {
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--shadow);
    }

    .about-image img {
      width: 100%;
      height: auto;
      display: block;
    }

    .about-content h2 {
      font-size: 2.2rem;
      color: var(--primary);
      margin-bottom: 25px;
    }

    .about-content p {
      font-size: 1.1rem;
      margin-bottom: 20px;
      color: #555;
      line-height: 1.8;
    }

    .about-features {
      margin: 30px 0;
    }

    .feature-item {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-bottom: 15px;
    }

    .feature-item i {
      color: var(--success);
      font-size: 1.3rem;
    }

    /* الفوتر */
    footer {
      background: var(--dark);
      color: white;
      padding: 70px 5% 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      max-width: 1400px;
      margin: 0 auto 50px;
    }

    .footer-column h3 {
      font-size: 1.6rem;
      margin-bottom: 25px;
      position: relative;
      padding-bottom: 15px;
    }

    .footer-column h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 50px;
      height: 3px;
      background: var(--accent);
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 15px;
    }

    .footer-links a {
      color: #ddd;
      text-decoration: none;
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .footer-links a:hover {
      color: var(--gold);
      transform: translateX(5px);
    }

    .contact-info {
      list-style: none;
    }

    .contact-info li {
      display: flex;
      align-items: flex-start;
      gap: 15px;
      margin-bottom: 20px;
    }

    .contact-info i {
      font-size: 1.3rem;
      color: var(--accent);
      margin-top: 5px;
    }

    .social-links {
      display: flex;
      gap: 15px;
      margin-top: 20px;
    }

    .social-links a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 45px;
      height: 45px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      color: white;
      font-size: 1.3rem;
      transition: var(--transition);
    }

    .social-links a:hover {
      background: var(--accent);
      transform: translateY(-5px);
    }

    .copyright {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 1.1rem;
      color: #aaa;
    }

    /* تصميم متجاوب */
    @media (max-width: 992px) {
      .hero-title {
        font-size: 3rem;
      }
      
      .hero-title span {
        font-size: 3.3rem;
      }
      
      .about {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
      
      .nav-buttons {
        display: none;
      }
      
      .menu-toggle {
        display: block;
      }
      
      .hero-title {
        font-size: 2.3rem;
      }
      
      .hero-title span {
        font-size: 2.5rem;
      }
      
      .hero-subtitle {
        font-size: 1.4rem;
      }
      
      .hero-buttons {
        flex-direction: column;
        align-items: center;
      }
      
      .section-title h2 {
        font-size: 2rem;
      }
    }

    @media (max-width: 480px) {
      .logo-text h1 {
        font-size: 1.1rem;
      }
      
      .hero-title {
        font-size: 1.8rem;
      }
      
      .hero-title span {
        font-size: 2rem;
      }
      
      .hero-subtitle {
        font-size: 1.2rem;
      }
      
      .hero-btn {
        padding: 12px 25px;
        font-size: 1rem;
      }
    }

    /* فتح القائمة على الجوال */
    .nav-links.show,
    .nav-buttons.show {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 100%;
      right: 0;
      left: 0;
      background: var(--dark);
      padding: 20px;
      gap: 15px;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-links.show li,
    .nav-buttons.show {
      width: 100%;
    }

    .nav-links.show li a {
      display: block;
      padding: 12px;
    }

    .nav-buttons.show {
      padding: 20px;
      background: rgba(0, 0, 0, 0.1);
    }
 