        :root {
            --dark-brown: #5a3c0b; /* الهيدر والفوتر */
            --gold-brown: #c48b28; /* الخلفيات الذهبية */
            --gold-light: #ebc176; /* درجات فاتحة */
            --light-bg: #fff5e1;   /* خلفية الصفحة */ 
            --text-color: #333;
            --white: #ffffff;
            --input-bg: #e0e0e0;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Cairo', sans-serif;
            background-color: var(--light-bg);
            direction: rtl;
            overflow-x: hidden;
            padding-top: var(--header-height);
            position: relative;

        }

        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }

        header {
            position: fixed;
            background-color: var(--dark-brown);
            color: var(--white);
            padding: 10px 50px;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 1000;
        }

        .top-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 10px;
            margin-bottom: 10px;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-img {
            width: 60px;
            height: 60px;
            background-color: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .logo-img img { width: 100%; }

        .logo-text h1 { font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 2px;}
        .logo-text p { font-size: 0.8rem; color: #ddd; }

        .contact-info-top {
            display: flex;
            gap: 20px;
            font-size: 0.9rem;
        }
        
        .contact-info-top i { margin-left: 5px; color: var(--gold-brown); }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 5px 0;
        }

        .nav-links {
            display: flex;
            gap: 25px;
        }

        .nav-links li a {
            font-size: 0.95rem;
            font-weight: 600;
            transition: 0.3s;
        }
        .nav-links li a i { margin-left: 5px; font-size: 0.9rem; }
        .nav-links li a:hover { color: var(--gold-brown); }

        .cta-btn {
            background-color: #a82e2e;
            color: white;
            padding: 8px 15px;
            border-radius: 5px;
            font-weight: bold;
            font-size: 0.9rem;
        }
        .cta-btn:hover { background-color: #8b2626; }

        .main-hero {
            position: relative;
            min-height: 85vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: var(--light-bg);
            overflow: hidden;
            padding: 50px 0;
        }

        .brown-shape-bg {
            position: absolute;
            top: 0;
            right: 0;
            width: 55%; 
            height: 100%;
            background-color: #c18f3a;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
            z-index: 1;
        }
        
        .shape-container {
            position: absolute;
            top: 0;
            right: 0; 
            width: 100%;
            height: 100%;
            background: linear-gradient(105deg, var(--gold-brown) 55%, var(--light-bg) 55%);
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
        }

        .container {
            position: relative;
            z-index: 2;
            width: 85%;
            max-width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 50px;
        }


        .form-side {
            flex: 1;
            padding: 20px;
            color: #000;
        }
        
        .form-side h2 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: #2c1e12;
            font-weight: 800;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .contact-form input, 
        .contact-form select,
        .contact-form textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #999;
            background-color: #dcdcdc; 
            font-family: 'Cairo', sans-serif;
            font-size: 0.9rem;
            color: #333;
            outline: none;
        }
        
        .contact-form textarea {
            resize: none;
            height: 80px;
        }

        .contact-form input::placeholder { color: #555; font-weight: 600; }
        .info-side {
            flex: 1;
            padding: 20px;
            background-color: rgba(255, 248, 239, 0.8); 
        }

        .info-side h2 {
            color: #2c1e12;
            font-size: 1.6rem;
            font-weight: 800;
            margin-bottom: 15px;
        }

        .info-side p {
            color: #555;
            line-height: 1.6;
            margin-bottom: 20px;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .map-container {
            width: 100%;
            height: 300px;
            background-color: #eee;
            border: 5px solid white;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .map-frame {
            width: 100%;
            height: 100%;
            border: 0;
        }

         /* تنسيق الفوتر */
        .footer {
            background-color: var(--dark-brown);
            color: #d8c2a3;
            padding: 50px 20px 30px;
            direction: rtl;
            font-size: 15px;
            border-top: 4px solid #cfaa76;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: flex-start;
            gap: 30px;
        }

        /* --- العمود الأيمن (اللوجو + الاسم + الوصف) --- */
        .col-right {
            flex: 1.2; /* أعطيته مساحة أكبر قليلاً لاستيعاب اللوجو والاسم */
            min-width: 300px;
            text-align: right;
        }

        /* حاوية تجمع اللوجو والاسم بجانب بعض */
        .brand-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .logo-container {
            background: #fff;
            padding: 5px;
            border-radius: 10px;
            flex-shrink: 0; /* منع اللوجو من الانكماش */
        }

        .logo-container img {
            width: 70px;
            height: auto;
            display: block;
        }

        .brand-text h2 {
            font-size: 20px;
            color: #eaddcf;
            margin-bottom: 5px;
            font-weight: bold;
        }

        .brand-text h4 {
            font-size: 14px;
            color: #cbbba6;
            font-weight: normal;
        }

        .col-right p {
            line-height: 1.8;
            margin-bottom: 20px;
            color: #dccfb8;
            font-size: 14px;
            text-align: justify; /* محاذاة النص ليبدو مرتباً */
            padding-left: 20px;
        }

        .social-icons {
            display: flex;
            gap: 15px;
        }

        .social-icons a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            text-decoration: none;
            font-size: 18px;
            transition: 0.3s;
        }

        .social-icons .fb { background-color: #1877f2; color: white; }
        .social-icons .yt { background-color: #ff0000; color: white; }

        /* --- العمود الأوسط (الاقتباس ومعلومات الاتصال) --- */
        .col-center {
            flex: 1;
            min-width: 280px;
            text-align: center;
            padding-top: 20px; /* لضبط المحاذاة مع العمود اليمين */
        }

        .quote {
            font-size: 15px;
            margin-bottom: 30px;
            line-height: 1.7;
            color: #eaddcf;
            font-weight: bold;
        }

        .contact-label {
            margin-bottom: 15px;
            color: #cfaa76;
            font-weight: bold;
            font-size: 15px;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 12px;
            align-items: center;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #eaddcf;
            font-size: 14px;
            direction: ltr; /* لضبط ظهور الأرقام والكلمات الإنجليزية بشكل صحيح */
        }
        
        /* إعادة ترتيب المحتوى داخل عنصر الاتصال ليتناسب مع الاتجاه العربي */
        .contact-item span { order: 1; }
        .contact-item i { order: 2; color: #cfaa76; font-size: 16px; }

        /* --- العمود الأيسر (الروابط) --- */
        .col-left {
            flex: 0.8;
            min-width: 200px;
            text-align: right;
            padding-right: 20px;
        }

        .col-left h3 {
            font-size: 18px;
            margin-bottom: 25px;
            color: #eaddcf;
        }

        .links-list { list-style: none; }
        .links-list li { margin-bottom: 15px; }

        .links-list a {
            text-decoration: none;
            color: #dccfb8;
            font-size: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: 0.3s;
        }

        .links-list a:hover {
            color: #fff;
            transform: translateX(-5px);
        }

        .links-list i { color: #cfaa76; font-size: 14px; }
        @media (max-width: 768px) {
            header{
                position: absolute;
            }
            .shape-container { background: var(--gold-brown); } 
            .container { flex-direction: column-reverse; width: 95%; }
            .top-header, .navbar { flex-direction: column; gap: 10px; }
            .footer-container {
                flex-direction: column;
                text-align: center;
                gap: 40px;
            }
            .col-right, .col-left, .col-center {
                text-align: center;
                padding: 0;
            }
            .brand-header {
                justify-content: center; /* توسيط اللوجو والاسم في الموبايل */
                flex-direction: column;
                text-align: center;
            }
            .col-right p { text-align: center; padding: 0; }
            .social-icons { justify-content: center; }
            .links-list a { justify-content: center; }
        }


        .bg-gradient {
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(110deg, var(--gold-brown) 50%, var(--light-bg) 50.1%);
            z-index: 1;
        }
                @media (max-width: 480px) {
            header { padding: 10px 20px; width: 100%; position: absolute;}
            .logo-text h1 { font-size: 1rem; }
            .contact-info-top { flex-direction: column; gap: 5px; font-size: 0.8rem; }
            .nav-links { flex-direction: column; gap: 15px; }
            .cta-btn { padding: 6px 12px; font-size: 0.8rem; }
        }
        .nav-arrow {
            position: absolute;
            top: 50%;/* تعديل الموضع الرأسي ليكون في منتصف الصورة */
            width: 40px; height: 40px; border-radius: 50%; border: 2px solid #ccc;
            display: flex; align-items: center; justify-content: center; cursor: pointer; color: #888;
            transform: translateY(-50%); /* لضبط العنصر في منتصف الصورة بالضبط */
            z-index: 10;
        }
        .nav-left { left: 10px; }/* تعديل الموضع الأفقي للسهام */
        .nav-right { right: 10px; }/* تعديل الموضع الأفقي للسهام */
        /* 1. التنسيق الأساسي للزر */
    .btn {
        position: relative;
        padding: 15px 40px;
        background-color: #8B4513; /* اللون البني كما في الفيديو */
        color: white;
        border: none;
        border-radius: 30px; /* حواف دائرية */
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.5s ease; /* نعومة الحركة */
        width: 150px; /* عرض ثابت للبدء */
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        outline: none;
    }

    /* إخفاء العناصر غير المطلوبة في البداية */
    .loader, .check {
        display: none;
        position: absolute;
    }

    /* 2. حالة التحميل (Loading) */
    .btn.loading {
        width: 50px; /* تصغير الزر ليصبح دائرة */
        padding: 0;
        border-radius: 50%;
        background-color: #a0522d;
        pointer-events: none; /* منع الضغط مرة أخرى */
    }

    /* إخفاء النص عند التحميل */
    .btn.loading .btn-text {
        opacity: 0;
        display: none;
    }

    /* إظهار اللودر وتنسيقه */
    .btn.loading .loader {
        display: block;
        width: 20px;
        height: 20px;
        border: 3px solid rgba(255,255,255,0.3);
        border-radius: 50%;
        border-top-color: white;
        animation: spin 1s ease-in-out infinite;
    }

    /* 3. حالة النجاح (Success) */
    .btn.success {
        width: 50px; /* يبقى دائرة */
        padding: 0;
        border-radius: 50%;
        background-color: #8B4513; /* يمكن تغييره للأخضر إذا أردت */
        pointer-events: none;
    }

    .btn.success .btn-text, 
    .btn.success .loader {
        display: none;
    }

    .btn.success .check {
        display: block;
        font-size: 24px;
        animation: scaleUp 0.3s ease forwards;
    }

    /* أنيميشن الدوران */
    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* أنيميشن ظهور علامة الصح */
    @keyframes scaleUp {
        from { transform: scale(0); }
        to { transform: scale(1); }
    }
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: var(--dark-brown);
        min-width: 200px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        border-radius: 5px;
    }
    .dropdown-content a {
        color: white;
        padding: 10px 15px;
        text-decoration: none;
        display: block;
        font-size: 0.9rem;
        text-align: right;
    }
    .dropdown:hover .dropdown-content {
        transition: 0.3s;
        display: block;
    }