/* ==========================================================================
   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 / هيدر الموقع النهاية
   ========================================================= */



   /* =========================================================
   ADVANCED HOME MAINTENANCE
   ========================================================= */

:root {

    --navy: #061B36;
    --navy-2: #0B2A52;

    --gold: #C89A4B;
    --gold-light: #DDB65F;

    --white: #FFFFFF;
    --bg: #F7F8FA;

    --text: #17202B;
    --muted: #68717D;

    --border: #E4E8ED;

}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    background: var(--bg);

    color: var(--text);

    font-family:
        "Tajawal",
        "Cairo",
        Arial,
        sans-serif;

    direction: rtl;

}


img {
    max-width: 100%;
}


a {
    text-decoration: none;
}


.advanced-page {
    width: 100%;
    overflow: hidden;
}


.container {

    width: min(1180px, 92%);

    margin: auto;

}


/* =========================================================
   ADVANCED HERO
   NEW DESIGN
   ========================================================= */

.advanced-new-hero {

    position: relative;

    min-height: 700px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: #061B36;

    color: #FFFFFF;

}


/* =========================================================
   BACKGROUND DECORATION
   ========================================================= */

.hero-bg-shape {

    position: absolute;

    left: -260px;
    bottom: -300px;

    width: 620px;
    height: 620px;

    border:
        1px solid rgba(200,154,75,0.18);

    border-radius: 50%;

}


.hero-bg-shape::after {

    content: "";

    position: absolute;

    inset: 70px;

    border:
        1px solid rgba(200,154,75,0.10);

    border-radius: 50%;

}


.hero-bg-line {

    position: absolute;

    top: 0;
    right: 47%;

    width: 1px;
    height: 100%;

    background:
        rgba(255,255,255,0.055);

}


/* =========================================================
   CONTAINER
   ========================================================= */

.advanced-hero-container {

    position: relative;

    z-index: 3;

    width: min(1180px, 92%);

    margin: auto;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 80px;

}


/* =========================================================
   TEXT SIDE
   ========================================================= */

.advanced-hero-text {

    position: relative;

    padding: 45px 0;

}


/* =========================================================
   TOP LABEL
   ========================================================= */

.hero-top-label {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 30px;

    color: #DDB65F;

    font-size: 0.82rem;

    font-weight: 800;

}


.label-line {

    width: 38px;

    height: 2px;

    background: #C89A4B;

}


/* =========================================================
   BIG NUMBER
   ========================================================= */

.hero-number {

    position: absolute;

    right: -15px;
    top: 5px;

    color:
        rgba(255,255,255,0.035);

    font-size: 11rem;

    font-weight: 900;

    line-height: 1;

    pointer-events: none;

}


/* =========================================================
   TITLE
   ========================================================= */

.advanced-hero-text h1 {

    position: relative;

    z-index: 2;

    margin: 0;

    max-width: 620px;

    color: #FFFFFF;

    font-size:
        clamp(3rem, 5.5vw, 5.1rem);

    line-height: 1.12;

    font-weight: 900;

    letter-spacing: -1px;

}


.advanced-hero-text h1 span {

    display: block;

    color: #DDB65F;

}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.advanced-hero-text > p {

    position: relative;

    z-index: 2;

    max-width: 560px;

    margin: 25px 0 0;

    color: #B9C6D4;

    font-size: 0.95rem;

    line-height: 2.05;

}


/* =========================================================
   ACTIONS
   ========================================================= */

.hero-actions {

    display: flex;

    align-items: center;

    gap: 22px;

    margin-top: 32px;

}


.advanced-hero-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    min-width: 175px;

    min-height: 53px;

    padding: 0 23px;

    color: #061B36;

    background: #C89A4B;

    border-radius: 4px;

    font-size: 0.85rem;

    font-weight: 900;

    transition: 0.3s ease;

}


.advanced-hero-button b {

    font-size: 1.15rem;

    font-weight: 500;

}


.advanced-hero-button:hover {

    background: #DDB65F;

    transform: translateY(-3px);

}


.hero-note {

    color: #8E9DAD;

    font-size: 0.72rem;

}


/* =========================================================
   IMAGE SIDE
   ========================================================= */

.advanced-hero-visual {

    position: relative;

    height: 530px;

    padding: 25px;

}


/* إطار الصورة */

.visual-image {

    position: absolute;

    inset: 0;

    overflow: hidden;

    background: #0B2A52;

}


.visual-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(6,27,54,0.05),
            rgba(6,27,54,0.28)
        );

}


.visual-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.7s ease;

}


.advanced-hero-visual:hover
.visual-image img {

    transform: scale(1.04);

}


/* =========================================================
   IMAGE NUMBER
   ========================================================= */

.visual-number {

    position: absolute;

    z-index: 5;

    top: -20px;

    right: -20px;

    width: 90px;
    height: 90px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #061B36;

    background: #C89A4B;

    font-size: 1.2rem;

    font-weight: 900;

}


/* =========================================================
   IMAGE CAPTION
   ========================================================= */

.visual-caption {

    position: absolute;

    z-index: 5;

    right: 45px;
    bottom: 45px;

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.visual-caption span {

    color: #DDB65F;

    font-size: 0.7rem;

    letter-spacing: 3px;

    font-weight: 700;

}


.visual-caption strong {

    color: #FFFFFF;

    font-size: 0.78rem;

    letter-spacing: 1.5px;

}


/* =========================================================
   GOLD LINE
   ========================================================= */

.visual-gold-line {

    position: absolute;

    z-index: 6;

    left: 0;
    bottom: 0;

    width: 150px;
    height: 4px;

    background: #C89A4B;

}


/* =========================================================
   SCROLL
   ========================================================= */

.hero-scroll {

    position: absolute;

    z-index: 5;

    left: 5%;

    bottom: 35px;

    display: flex;

    align-items: center;

    gap: 12px;

    color: #718296;

    font-size: 0.68rem;

}


.hero-scroll b {

    color: #C89A4B;

    font-size: 1.1rem;

    font-weight: 400;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .advanced-new-hero {

        min-height: 650px;

    }


    .advanced-hero-container {

        grid-template-columns: 1fr 1fr;

        gap: 35px;

    }


    .advanced-hero-text h1 {

        font-size: 3.4rem;

    }


    .advanced-hero-visual {

        height: 460px;

    }


    .hero-number {

        font-size: 8rem;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .advanced-new-hero {

        min-height: auto;

        padding:
            70px 0
            80px;

    }


    .hero-bg-line {

        display: none;

    }


    .advanced-hero-container {

        width: 90%;

        display: flex;

        flex-direction: column;

        gap: 45px;

    }


    .advanced-hero-text {

        width: 100%;

        padding: 0;

        text-align: center;

    }


    .hero-top-label {

        justify-content: center;

    }


    .hero-number {

        right: 50%;

        top: 0;

        transform: translateX(50%);

        font-size: 8rem;

    }


    .advanced-hero-text h1 {

        font-size: 2.7rem;

    }


    .advanced-hero-text > p {

        font-size: 0.87rem;

        line-height: 1.9;

    }


    .hero-actions {

        flex-direction: column;

        gap: 14px;

    }


    .advanced-hero-button {

        width: 100%;

    }


    .hero-note {

        display: none;

    }


    .advanced-hero-visual {

        width: 100%;

        height: 380px;

        padding: 15px;

    }


    .visual-number {

        top: -8px;

        right: -8px;

        width: 65px;
        height: 65px;

        font-size: 0.95rem;

    }


    .visual-caption {

        right: 30px;

        bottom: 30px;

    }


    .visual-gold-line {

        width: 100px;

    }


    .hero-scroll {

        display: none;

    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .advanced-hero-text h1 {

        font-size: 2.3rem;

    }


    .advanced-hero-visual {

        height: 320px;

    }

}

/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-heading {

    text-align: center;

    margin-bottom: 48px;

}


.section-heading > span {

    display: block;

    margin-bottom: 10px;

    color: var(--gold);

    font-size: 0.88rem;

    font-weight: 900;

}


.section-heading h2 {

    margin: 0;

    color: var(--navy);

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.3;

    font-weight: 900;

}


.heading-decoration {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-top: 18px;

}


.heading-decoration i {

    width: 35px;
    height: 1px;

    background: var(--gold);

}


.heading-decoration b {

    width: 8px;
    height: 8px;

    border: 1px solid var(--gold);

    transform: rotate(45deg);

}


/* =========================================================
   SERVICES
   ========================================================= */

.services-section {

    padding: 105px 0;

    background: var(--white);

}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

}


.service-card {

    position: relative;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(6,27,54,0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.service-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 22px 45px rgba(6,27,54,0.13);

}


.service-image {

    position: relative;

    height: 220px;

    overflow: hidden;

    background: var(--navy);

}


.service-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(6,27,54,0.65),
            transparent 60%
        );

}


.service-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease;

}


.service-card:hover .service-image img {

    transform: scale(1.08);

}


.service-number {

    position: absolute;

    z-index: 2;

    right: 14px;
    bottom: 14px;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--navy);

    background: var(--gold);

    border-radius: 8px;

    font-size: 0.78rem;

    font-weight: 900;

}


.service-content {

    padding: 22px;

}


.service-content h3 {

    margin: 0 0 9px;

    color: var(--navy);

    font-size: 1.22rem;

    font-weight: 900;

}


.service-content p {

    min-height: 55px;

    margin: 0;

    color: var(--muted);

    font-size: 0.82rem;

    line-height: 1.9;

}


/* بطاقة الجبس */

.service-card.featured {

    border:
        1px solid rgba(200,154,75,0.55);

}





/* =========================================================
   WHY
   ========================================================= */

.why-section {

    padding: 55px 0;

    background: var(--bg);

}


.why-container {

    display: grid;

    grid-template-columns:
        1fr 1.5fr;

    align-items: center;

    gap: 60px;

    padding: 45px 50px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-2)
        );

    border-radius: 20px;

    overflow: hidden;

}


.section-mini-title {

    color: var(--gold-light);

    font-size: 0.82rem;

    font-weight: 900;

}


.why-content h2 {

    margin: 12px 0;

    font-size: clamp(1.8rem, 3vw, 2.6rem);

    line-height: 1.3;

    font-weight: 900;

}


.why-content h2 span {

    display: block;

    color: var(--gold-light);

}


.why-content p {

    max-width: 430px;

    margin: 0;

    color: #C1CCD8;

    font-size: 0.86rem;

    line-height: 1.9;

}


.why-features {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

}


.why-feature {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 22px;

    border-bottom:
        1px solid rgba(255,255,255,0.10);

}


.why-icon {

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--gold);

    border:
        1px solid rgba(200,154,75,0.5);

    border-radius: 50%;

    font-size: 1.15rem;

}


.why-feature strong {

    display: block;

    margin-bottom: 4px;

    font-size: 0.9rem;

}


.why-feature span {

    color: #9DAAB8;

    font-size: 0.72rem;

}


/* =========================================================
   OUR WORK - GRID
   ========================================================= */

.work-section {
    padding: 10px 0;
    background: #F7F8FA;
}


/* العنوان */

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading > span {
    display: block;

    margin-bottom: 10px;

    color: #C89A4B;

    font-size: 0.85rem;

    font-weight: 900;
}

.section-heading h2 {
    margin: 0;

    color: #061B36;

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 900;
}

.heading-decoration {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 18px;
}

.heading-decoration i {
    width: 35px;
    height: 1px;

    background: #C89A4B;
}

.heading-decoration b {
    width: 8px;
    height: 8px;

    border: 1px solid #C89A4B;

    transform: rotate(45deg);
}


/* =========================================================
   GRID
   ========================================================= */

.work-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

}


/* =========================================================
   IMAGE CARD
   ========================================================= */

.work-card {

    position: relative;

    height: 260px;

    overflow: hidden;

    background: #061B36;

    border-radius: 12px;

    box-shadow:
        0 8px 25px rgba(6,27,54,0.08);

}


/* الصورة */

.work-card img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease;

}


/* Hover */

.work-card:hover img {

    transform: scale(1.07);

}


/* خط ذهبي بسيط أسفل الصورة */

.work-card::after {

    content: "";

    position: absolute;

    right: 0;
    bottom: 0;

    width: 0;

    height: 4px;

    background: #C89A4B;

    transition:
        width 0.35s ease;

}


.work-card:hover::after {

    width: 100%;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .work-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .work-section {

        padding: 150px 0;
        margin: 15px;
    }

    .work-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 50px;

    }

    .work-card {

        height: 250px;

        border-radius: 9px;

    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .work-grid {

        gap: 8px;

    }

    .work-card {

        height: 165px;

    }

}

/* =========================================================
   WORK IMAGE ZOOM
   ========================================================= */

.work-card {

    position: relative;

    width: 100%;
    height: 260px;

    padding: 0;

    border: 0;

    border-radius: 12px;

    overflow: hidden;

    background: #061B36;

    cursor: zoom-in;

}


.work-card img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.45s ease;

}


.work-card:hover img {

    transform: scale(1.06);

}


/* أيقونة التكبير */

.zoom-icon {

    position: absolute;

    right: 15px;
    bottom: 15px;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #061B36;

    background: #C89A4B;

    border-radius: 50%;

    font-size: 25px;

    line-height: 1;

    opacity: 0;

    transform: scale(0.8);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    

}


.work-card:hover .zoom-icon {

    opacity: 1;

    transform: scale(1);

}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.image-lightbox {

    position: fixed;

    z-index: 99999;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background:
        rgba(6, 27, 54, 0.94);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

}


.image-lightbox.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


.image-lightbox img {

    max-width: 90vw;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 25px 80px rgba(0,0,0,0.45);

    transform: scale(0.88);

    transition:
        transform 0.3s ease;


}


.image-lightbox.active img {

    transform: scale(1);

}


/* زر الإغلاق */

.lightbox-close {

    position: absolute;

    top: 25px;
    left: 30px;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    color: #FFFFFF;

    background: rgba(255,255,255,0.10);

    border: 1px solid rgba(255,255,255,0.20);

    border-radius: 50%;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease;

}


.lightbox-close:hover {

    color: #061B36;

    background: #C89A4B;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .work-card {

        height: 250px;
        margin-bottom: 20px;
        

    }


    .zoom-icon {

        width: 36px;
        height: 36px;

        right: 10px;
        bottom: 10px;

        font-size: 21px;

        opacity: 1;

        transform: scale(1);

    }


    .image-lightbox {

        padding: 15px;

    }


    .image-lightbox img {

        max-width: 95vw;
        max-height: 80vh;

    }


    .lightbox-close {

        top: 15px;
        left: 15px;

        width: 43px;
        height: 43px;

    }

}

/* =========================================================
   CTA
   ========================================================= */

.advanced-cta {

    padding: 55px 0;

    background: var(--bg);

}


.cta-box {

    position: relative;

    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 30px;

    padding: 38px 45px;

    color: var(--white);

    background: var(--navy);

    border-radius: 18px;

    overflow: hidden;

}


.cta-box::after {

    content: "";

    position: absolute;

    left: -100px;
    top: -130px;

    width: 280px;
    height: 280px;

    border:
        1px solid rgba(200,154,75,0.25);

    border-radius: 50%;

}


.cta-icon {

    position: relative;

    z-index: 2;

    width: 75px;
    height: 75px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--gold);

    border:
        1px solid rgba(200,154,75,0.5);

    border-radius: 50%;

    font-size: 2rem;

}


.cta-text {

    position: relative;

    z-index: 2;

}


.cta-text > span {

    color: var(--gold-light);

    font-size: 0.82rem;

    font-weight: 800;

}


.cta-text h2 {

    margin: 7px 0;

    font-size: 1.7rem;

    font-weight: 900;

}


.cta-text p {

    margin: 0;

    color: #B9C5D2;

    font-size: 0.8rem;

    line-height: 1.8;

}


.cta-action {

    position: relative;

    z-index: 2;

    text-align: center;

}


.cta-action a {

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    color: var(--navy);

    background: var(--gold);

    border-radius: 7px;

    font-size: 0.82rem;

    font-weight: 900;

    white-space: nowrap;

    transition: 0.3s ease;

}


.cta-action a:hover {

    background: var(--gold-light);

    transform: translateY(-2px);

}


.cta-action strong {

    display: block;

    margin-top: 10px;

    color: var(--white);

    font-size: 0.95rem;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .why-container {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .why-content p {

        max-width: 650px;

    }


    .cta-box {

        grid-template-columns:
            auto 1fr;

    }


    .cta-action {

        grid-column: 2;

        text-align: right;

    }


    .cta-action a {

        display: inline-flex;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .container {

        width: 90%;

    }


    /* Hero */

    .advanced-hero {

        min-height: 590px;

    }


    .hero-overlay {

        background:
            linear-gradient(
                180deg,
                rgba(6,27,54,0.88),
                rgba(6,27,54,0.80)
            );

    }


    .hero-container {

        text-align: center;

    }


    .hero-content {

        margin: auto;

    }


    .hero-content h1 {

        font-size: 2.5rem;

    }


    .hero-content p {

        font-size: 0.9rem;

    }


    .hero-btn {

        width: 100%;

    }


    /* Services */

    .services-section {

        padding: 75px 0;

    }


    .section-heading {

        margin-bottom: 35px;

    }


    .section-heading h2 {

        font-size: 1.85rem;

    }


    .services-grid {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .service-image {

        height: 230px;

    }


    /* Why */

    .why-section {

        padding: 20px 0 55px;

    }


    .why-container {

        width: 92%;

        padding: 35px 25px;

        border-radius: 15px;

    }


    .why-features {

        grid-template-columns: 1fr;

    }


    .why-feature {

        padding: 17px 0;

    }


    /* Work */

    .work-section {

        padding: 0px 0;

    }


    .work-grid {

        grid-template-columns: 1fr;

        grid-auto-rows: 230px;

    }


    .work-card.work-large {

        grid-column: span 1;

    }


    /* CTA */

    .advanced-cta {

        padding: 20px 0 55px;

    }


    .cta-box {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 20px;

        padding: 35px 22px;

    }


    .cta-icon {

        margin: auto;

    }


    .cta-action {

        grid-column: auto;

    }


    .cta-action a {

        width: 100%;

    }

}

/* =========================================================
   زر "اطلب الخدمة الآن" - الجوال والتابلت
   ========================================================= */

@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);
}
/* =========================================================
   GLOBAL SCROLL ANIMATION
   ========================================================= */

section {
    opacity: 0;
    transform: translateY(45px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* القسم ظاهر */
section.saif-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   HERO - يظهر مباشرة
   ========================================================= */

section:first-of-type {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   HEADER / FOOTER بدون Animation
   ========================================================= */

header,
footer {
    opacity: 1;
    transform: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    section {
        transform: translateY(30px);
        transition-duration: 0.7s;
    }

}


/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    section {
        opacity: 1;
        transform: none;
        transition: none;
    }

}
/* =========================================================
   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;
    }

}