/* ==========================================================================
   1. الهوية البصرية والمتغيرات الأساسية (ROOT VARIABLES)
   ========================================================================== */
:root {
    --primary: #0B2A52;          /* الكحلي الأساسي */
    --header-footer: #061B36;    /* الكحلي الداكن للهيدر والفوتر */
    --gold: #C89A4B;             /* الذهبي الرئيسي */
    --light-gold: #DDB65F;       /* الذهبي الفاتح للـ Hover */
    --bg-main: #F8FAFC;          /* خلفية الصفحة الرئيسية */
    --bg-section: #F1F3F5;       /* خلفيات الأقسام الثانوية */
    --card-bg: #FFFFFF;          /* خلفية البطاقات */
    --text-primary: #17202B;     /* النص الأساسي */
    --text-secondary: #68717D;   /* النص الثانوي */
    --border-color: #E2E5E9;     /* لون الحدود */
    --white: #FFFFFF;
    --font-main: 'Cairo', 'Tajawal', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* إعدادات العناصر العامة */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-primary);
    direction: rtl;
    line-height: 1.6;
}

/* ==========================================================================
   2. تصميم الهيدر الرئيسي (SITE HEADER)
   ========================================================================== */
   /* حاوية القائمة المنسدلة والمحاذاة */
.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-dropdown-wrapper {
    position: relative;
}

.dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 6px;
}

/* سهم القائمة وتدويره بسلاسة */
.dropdown-arrow-svg {
    transition: transform 0.3s ease;
}

.nav-dropdown-wrapper:hover .dropdown-arrow-svg {
    transform: rotate(180deg);
}

/* صندوق القائمة المنسدلة بتصميم متناسق مع الهيدر */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: -20px;
    width: 250px;
    background-color: #0b192c; /* نفس درجة لون الهيدر الغامق أو الأقرب له */
    border: 1px solid rgba(212, 175, 55, 0.2); /* إطار ذهبي خفيف وراقي */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* إظهار القائمة عند التمرير عليها */
.nav-dropdown-wrapper:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* تنسيق الروابط داخل القائمة المنسدلة بدون خلفيات مزعجة وبخط سفلي ذهبي ناعم */
.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    border-right: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* تأثير المرور بالماوس: تلون النص بالذهبي وإضافة خط ذهبي جانبي خفيف */
.dropdown-menu li a:hover {
    color: #d4af37 !important; /* اللون الذهبي الخاص بالهوية */
    background-color: rgba(255, 255, 255, 0.03);
    border-right-color: #d4af37;
    padding-right: 22px;
}
/* =================================================   تنسيقات القائمة المنسدلة لجوال (Mobile Drawer)   ================================================= */

/* حاوية عنصر الخدمات في الجوال */
.mobile-dropdown-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* شريط التبديل يضم الرابط والسهم بجانب بعضهما */
.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
}

/* جعل رابط خدماتنا يأخذ المساحة المتبقية */
.mobile-dropdown-toggle .mobile-link {
    flex-grow: 1;
    text-align: right;
}

/* زر السهم الخاص بالجوال */
.mobile-sub-toggle {
    background: none;
    border: none;
    color: #ffffff;
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* تنسيق السهم وتدويره */
.mobile-arrow-svg {
    transition: transform 0.3s ease;
}

/* القائمة الفرعية للخدمات (المخفية افتراضياً) */
.mobile-submenu {
    list-style: none;
    padding-right: 20px; /* مسافة إزاحة لتبدو فرعية ومرتبة */
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

/* روابط الخدمات الـ 12 داخل قائمة الجوال */
.mobile-submenu li a {
    display: block;
    padding: 10px 15px;
    font-size: 0.85rem;
    color: #cbd5e1 !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease, padding-right 0.2s ease;
}

.mobile-submenu li a:hover {
    color: #d4af37 !important; /* اللون الذهبي */
    padding-right: 20px;
}

/* كلاس التفعيل (يُضاف بواسطة الجافاسكريبت عند الضغط) لفتح القائمة وتدوير السهم */
.mobile-dropdown-item.active .mobile-submenu {
    max-height: 700px; /* ارتفاع كافي لاحتواء جميع الـ 12 خدمة */
    padding-top: 5px;
    padding-bottom: 5px;
}

.mobile-dropdown-item.active .mobile-arrow-svg {
    transform: rotate(180deg);
}
/* السماح بالتمرير داخل قائمة الجوال وتثبيتها بشكل صحيح */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

/* عند فتح القائمة يصبح محتوى القائمة قابلاً للتمرير عمودياً */
.mobile-drawer.active {
    visibility: visible;
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: -100%;

    width: 82%;
    max-width: 320px;
    height: 100%;

    background-color: var(--header-footer);

    display: flex;
    flex-direction: column;

    padding: 1.25rem;

    overflow: hidden;

    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
}

/* منع تحرك الصفحة الخلفية الأساسية عند فتح القائمة */
body.drawer-open {
    overflow: hidden;
}
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-footer);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(200, 154, 75, 0.15);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.header-container {
    padding-top: 1rem;    /* زيادة المسافة العلوية */
    padding-bottom: 1rem; /* زيادة المسافة السفلية */
}

/* --- تنسيق الشعار (الصورة + النص) --- */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}


.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.brand-sub {
    color: var(--gold);
    font-size: 0.62rem;
    font-weight: 500;
    white-space: nowrap;
}

/* --- القائمة الرئيسية للكمبيوتر --- */
.desktop-nav {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.3rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* --- قسم الأزرار وإجراءات الهيدر --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--header-footer);
}

.btn-primary:hover {
    background-color: var(--light-gold);
}

.btn-block {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.95rem;
}

/* --- زر القائمة للجوال --- */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 34px;
    height: 34px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    flex-shrink: 0;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* =========================================================
   تعديل عرض القائمة والهمبرغر حسب الشاشة
   ========================================================= */

/* للشاشات الكبيرة (الكمبيوتر) - إظهار القائمة وإخفاء الهمبرغر */
@media (min-width: 992px) {
  .desktop-nav {
    display: block !important; /* إظهار القائمة الرئيسية */
  }

  .mobile-toggle {
    display: none !important; /* إخفاء زر الهمبرغر تماماً في الكمبيوتر */
  }
}

/* لشاشات الجوال والتابلت - إخفاء القائمة العادية وإظهار الهمبرغر */
@media (max-width: 991px) {
  .desktop-nav {
    display: none !important; /* إخفاء القائمة في الجوال لتعمل عبر القائمة الجانبية Drawer */
  }

  .mobile-toggle {
    display: flex !important; /* إظهار زر الهمبرغر في الجوال */
  }
}
/* =========================================================
   MOBILE SERVICES DROPDOWN
   إخفاء خدماتنا بالكامل حتى الضغط على السهم
   ========================================================= */

@media (max-width: 991px) {

    /* عنصر خدماتنا */
    .mobile-dropdown-item {
        width: 100%;
        display: block;
    }

    /* صف خدماتنا + السهم */
    .mobile-dropdown-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* القائمة مخفية افتراضياً */
    .mobile-dropdown-item .mobile-submenu {
        display: block;
        max-height: 0 !important;
        height: 0;
        overflow: hidden;
        padding: 0 !important;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        background: transparent;
        border-radius: 0;
        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            visibility 0.25s ease;
    }

    /* تظهر فقط عند الضغط */
    .mobile-dropdown-item.active .mobile-submenu {
        max-height: 700px !important;
        height: auto;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        opacity: 1;
        visibility: visible;
        background-color: rgba(0, 0, 0, 0.20);
        border-radius: 6px;
    }

    /* السهم */
    .mobile-arrow-svg {
        transition: transform 0.3s ease;
    }

    /* تدوير السهم عند الفتح */
    .mobile-dropdown-item.active .mobile-arrow-svg {
        transform: rotate(180deg);
    }
}
/* ==========================================================================
   3. قائمة الجوال المنزلقة (MOBILE DRAWER)
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    z-index: 1100;
}

.mobile-drawer.active {
    visibility: visible;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 27, 54, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer.active .drawer-overlay {
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    z-index: 1100;
}

.mobile-drawer.active {
    visibility: visible;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 27, 54, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer.active .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100%;
    background-color: var(--header-footer);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
}

.mobile-drawer.active .drawer-content {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(226, 229, 233, 0.1);
}

.drawer-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.mobile-nav ul {
    list-style: none;
    padding: 5.25rem 0;
}

.mobile-nav li {
    margin-bottom: 0.85rem;
}

.mobile-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    padding: 0.4rem 0;
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--gold);
    padding-right: 0.4rem;
}
/* =========================================================
   header STYLES / هيدر الموقع النهاية
   ========================================================= */

/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f7f8fa;
    color: #081b35;
    font-family: "Tajawal", "Cairo", Arial, sans-serif;
}

body.lightbox-open {
    overflow: hidden;
}


/* =========================================================
   PAGE
   ========================================================= */

.works-page {
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.works-container {
    width: min(1450px, 92%);
    margin: 0 auto;
}


/* =========================================================
   INTRO
   ========================================================= */

.works-intro {
    width: 100%;
    padding: 50px 0 15px;
    text-align: center;
    background: #f7f8fa;
}

.works-small-title {
    display: inline-block;

    margin-bottom: 18px;

    color: #c39b2e;

    font-size: 17px;
    font-weight: 800;

    letter-spacing: .5px;
}

.works-intro h1 {
    margin: 0;

    color: #081b35;

    font-size: clamp(52px, 6vw, 82px);

    line-height: 1.15;

    font-weight: 800;
}

.works-intro p {
    width: min(700px, 100%);

    margin: 22px auto 0;

    color: #687386;

    font-size: 18px;

    line-height: 2;

    font-weight: 400;
}


/* =========================================================
   GALLERY SECTION
   ========================================================= */

.works-gallery-section {
    width: 100%;

    padding: 20px 0 120px;

    background: #f7f8fa;
}


/* =========================================================
   GALLERY
   ========================================================= */

.works-gallery {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    align-items: start;

    gap: 28px;
}


/* =========================================================
   CARD
   ========================================================= */

.work-card {
    position: relative;

    width: 100%;

    background: #ffffff;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 10px 35px rgba(8, 27, 53, .08);

    cursor: zoom-in;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.work-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 50px rgba(8, 27, 53, .16);
}


/* =========================================================
   IMAGE
   لا يوجد aspect-ratio
   لا يوجد object-fit
   الصورة تظهر كاملة
   ========================================================= */

.work-card img {
    display: block;

    width: 100%;

    height: auto;

    max-width: 100%;

    background: #ffffff;

    transition:
        transform .5s ease;
}

.work-card:hover img {
    transform: scale(1.025);
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.works-lightbox {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: none;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 30px;

    background: rgba(4, 14, 29, .96);

    backdrop-filter: blur(6px);
}

.works-lightbox.active {
    display: flex;
}


/* =========================================================
   LIGHTBOX IMAGE
   ========================================================= */

.works-lightbox img {
    display: block;

    width: auto;
    height: auto;

    max-width: 90vw;
    max-height: 88vh;

    object-fit: contain;

    border-radius: 12px;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, .55);

    user-select: none;
}


/* =========================================================
   CLOSE
   ========================================================= */

.works-close {
    position: fixed;

    top: 25px;
    right: 30px;

    z-index: 20;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, .12);

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 34px;

    line-height: 1;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.works-close:hover {
    background: #c39b2e;

    color: #081b35;

    transform: rotate(90deg);
}


/* =========================================================
   ARROWS
   ========================================================= */

.works-arrow {
    position: fixed;

    top: 50%;

    z-index: 20;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, .12);

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 45px;

    line-height: 1;

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.works-arrow:hover {
    background: #c39b2e;

    color: #081b35;

    transform:
        translateY(-50%)
        scale(1.08);
}


/* السابق */

.works-prev {
    left: 30px;
}


/* التالي */

.works-next {
    right: 30px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .works-container {
        width: 94%;
    }

    .works-gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 24px;
    }

    .works-intro {
        padding-top: 110px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .works-container {
        width: 92%;
    }


    /* العنوان */

    .works-intro {
        padding: 63px 0 21px;
    }

    .works-small-title {
        font-size: 15px;

        margin-bottom: 12px;
    }

    .works-intro h1 {
        font-size: 48px;
    }

    .works-intro p {
        margin-top: 16px;

        font-size: 15px;

        line-height: 1.9;
    }


    /* المعرض */

    .works-gallery-section {
        padding: 10px 0 80px;
    }

    .works-gallery {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    /* البطاقات */

    .work-card {
        border-radius: 16px;
    }

    .work-card img {
        width: 100%;
        height: auto;
    }


    /* Lightbox */

    .works-lightbox {
        padding: 15px;
    }

    .works-lightbox img {
        max-width: 94vw;

        max-height: 82vh;

        border-radius: 8px;
    }


    /* الإغلاق */

    .works-close {
        top: 15px;
        right: 15px;

        width: 44px;
        height: 44px;

        font-size: 29px;
    }


    /* الأسهم */

    .works-arrow {
        width: 44px;
        height: 44px;

        font-size: 32px;
    }

    .works-prev {
        left: 10px;
    }

    .works-next {
        right: 10px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .works-intro h1 {
        font-size: 42px;
    }

    .works-gallery {
        gap: 16px;
    }

}

/* =========================================================
   زر "اطلب الخدمة الآن" - الجوال والتابلت
   ========================================================= */

@media (max-width: 992px) {

    .drawer-content {
        display: flex !important;
        flex-direction: column !important;
        height: 90vh !important;
        height: 100dvh !important;
        overflow: hidden !important;
    }

    .mobile-nav {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
    }



        .drawer-footer .btn-block {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 84% !important;
        min-height: 47px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 11px !important;
    }
}
/* =========================================================
   HEADER - TABLET / MOBILE
   من 0 إلى 1024px
   ========================================================= */

@media (max-width: 1024px) {

    /* إخفاء القائمة الرئيسية */
    .desktop-nav {
        display: none !important;
    }

    /* إظهار زر الهامبرغر */
    .mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
        z-index: 10001 !important;
    }

    /* أشرطة الهامبرغر */
    .mobile-toggle .hamburger-bar {
        display: block !important;
        width: 25px !important;
        height: 2px !important;
        margin: 3px 0 !important;
    }

    /* منطقة الأزرار */
    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 !important;
    }

    /* زر تواصل معنا المكتبي لا يظهر على التابلت */
    .header-actions .btn-cta {
        display: none !important;
    }

    /* ضبط الهيدر */
    .header-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

}

/* =========================================================
   FOOTER STYLES / تذييل الموقع
   ========================================================= */

.main-footer {
  background-color: #081B35;
  color: #94A3B8;
  padding: 70px 4% 20px;
  direction: rtl;
  font-family: 'Tajawal', sans-serif !important;
  border-top: 3px solid #C89A4B;
}

.footer-container {
  max-width: 1250px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}
/* بولت روابط خدماتنا */
.footer-col:nth-child(3) .footer-links a {
  position: relative;
  padding-right: 14px;
}

.footer-col:nth-child(3) .footer-links a::before {
  content: "•";
  position: absolute;
  right: 0;
  color: #C89A4B;
  font-size: 1rem;
  line-height: 1;
  font-weight: 1000;
}

/* بولت روابط خدماتنا */
.footer-col:nth-child(3) .footer-links a {
  position: relative;
  padding-right: 14px;
}

.footer-col:nth-child(3) .footer-links a::before {
  content: "•";
  position: absolute;
  right: 0;
  color: #C89A4B;
  font-size: 1rem;
  line-height: 1;
  font-weight: 1000;
}
/* بولت روابط سريعة */

.links-col .footer-links a {
  position: relative;
  padding-right: 14px;
}

.links-col .footer-links a::before {
  content: "•";
  position: absolute;
  right: 0;
  color: #C89A4B;
  font-size: 1rem;
  line-height: 1;
  font-weight: 1000;
}
/* شعار الشركة وتفاصيلها */
.footer-logo {
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 16px 0;
}

.footer-logo span {
  color: #C89A4B;
}

.company-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0 0 24px 0;
  color: #94A3B8;
}

/* شبكات التواصل الاجتماعي */
.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 154, 75, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C89A4B;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #C89A4B;
  color: #081B35;
  transform: translateY(-3px);
}

/* عناوين الأعمدة */
.col-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  position: relative;
  padding-bottom: 8px;
}

.col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background-color: #C89A4B;
}

/* قائمة الروابط */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #C89A4B;
  transform: translateX(-5px);
}

/* قائمة الاتصال */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
}

.contact-list .icon {
  font-size: 1rem;
}

.contact-list a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: #C89A4B;
}

/* الشريط السفلي للحقوق */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.88rem;
  color: #64748B;
}

.footer-bottom strong {
  color: #C89A4B;
}

/* التجاوب مع مختلف الشاشات */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .main-footer {
    padding-top: 50px;
  }
}
/* تنسيق زر الواتساب العائم */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  left: 25px; /* لجعل الزر في اليسار (إذا أردته في اليمين، احذف هذا السطر وأضف right: 25px;) */
  background-color: #25D366;
  color: #FFFFFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* =========================================================
   PAGE TRANSITION
   ========================================================= */

.saif-page-transition {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #081B35;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.45s ease,
        visibility 0.45s ease;
}


/* الصورة */

.saif-page-transition img {
    width: 180px;
    max-width: 35vw;
    height: auto;
    object-fit: contain;

    opacity: 0;
    transform: scale(0.85);

    animation: saifLogoIn 0.65s ease forwards;
}


/* عند انتهاء التحميل */

.saif-page-transition.saif-transition-hide {
    opacity: 0;
    visibility: hidden;
}


/* حركة اللوجو */

@keyframes saifLogoIn {

    0% {
        opacity: 0;
        transform: scale(0.85);
    }

    60% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}


/* الجوال */

@media (max-width: 768px) {

    .saif-page-transition img {
        width: 130px;
        max-width: 45vw;
    }

}