/* ==========================================================================
   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 / هيدر الموقع النهاية
   ========================================================= */



/* =========================================================
   BASIC HOME SERVICES
   الخدمات المنزلية الأساسية
   ========================================================= */

:root {

    --navy: #061B36;
    --navy-light: #0B2A52;

    --gold: #C89A4B;
    --gold-light: #DDB65F;

    --white: #FFFFFF;
    --bg: #F7F9FC;

    --text: #17202B;
    --muted: #68717D;

    --border: #E5E9EF;

    --shadow:
        0 15px 45px rgba(6, 27, 54, 0.08);

    --radius: 18px;

}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;
    padding: 0;

    font-family:
        "Tajawal",
        "Cairo",
        Arial,
        sans-serif;

    background: var(--bg);

    color: var(--text);

    direction: rtl;

}


a {
    text-decoration: none;
}


.basic-home-page {
    width: 100%;
    overflow: hidden;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.basic-container {

    width: min(1180px, 92%);

    margin: 0 auto;

}


/* =========================================================
   HERO
   ========================================================= */

.basic-hero {

    position: relative;

    min-height: 610px;

    display: flex;
    align-items: center;

    background:

        radial-gradient(
            circle at 15% 20%,
            rgba(200, 154, 75, 0.13),
            transparent 28%
        ),

        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-light)
        );

    color: var(--white);

    overflow: hidden;

}


/* خطوط ديكورية */

.basic-hero::before {

    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    left: -250px;
    top: -250px;

    border: 1px solid rgba(200, 154, 75, 0.18);

    border-radius: 50%;

}


.basic-hero::after {

    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -230px;
    bottom: -260px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;

}


.basic-hero-container {

    position: relative;

    z-index: 2;

    width: min(1180px, 92%);

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 0.9fr;

    align-items: center;

    gap: 60px;

}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.basic-hero-content {

    max-width: 650px;

}


.hero-badge {

    display: inline-flex;

    padding: 7px 18px;

    margin-bottom: 20px;

    color: var(--gold-light);

    border: 1px solid rgba(200, 154, 75, 0.55);

    border-radius: 30px;

    font-size: 0.88rem;

    font-weight: 700;

}


.basic-hero h1 {

    margin: 0 0 22px;

    font-size: clamp(2.5rem, 5vw, 4.6rem);

    line-height: 1.2;

    font-weight: 900;

}


.basic-hero h1 span {

    display: block;

    color: var(--gold-light);

}


.basic-hero p {

    max-width: 620px;

    margin: 0;

    color: #D6DEE8;

    font-size: 1.08rem;

    line-height: 2;

}


.hero-actions {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 32px;

}


.hero-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding: 0 28px;

    color: var(--navy);

    background: var(--gold);

    border-radius: 9px;

    font-weight: 800;

    transition: 0.3s ease;

}


.hero-button:hover {

    background: var(--gold-light);

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(200, 154, 75, 0.25);

}


.hero-link {

    color: #FFFFFF;

    font-size: 0.9rem;

    font-weight: 700;

    border-bottom: 1px solid rgba(255,255,255,0.4);

    padding-bottom: 4px;

}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual {

    position: relative;

    min-height: 390px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.visual-main-card {

    position: relative;

    z-index: 2;

    width: 360px;

    height: 330px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.10),
            rgba(255,255,255,0.025)
        );

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 30px;

    box-shadow:
        0 30px 70px rgba(0,0,0,0.25);

    backdrop-filter: blur(10px);

}


.visual-house {

    width: 145px;
    height: 125px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--gold);

    font-size: 110px;

    line-height: 1;

    border-bottom: 3px solid var(--gold);

}


.visual-house span {

    transform: translateY(-5px);

}


.visual-tools {

    display: flex;

    gap: 18px;

    margin-top: 25px;

}


.tool {

    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    font-size: 1.8rem;

    font-weight: 900;

}


.tool-ac {

    color: var(--navy);

    background: #E9F3FA;

}


.tool-electric {

    color: var(--navy);

    background: var(--gold);

}


.tool-water {

    color: var(--gold-light);

    background: rgba(255,255,255,0.10);

    border: 1px solid rgba(255,255,255,0.15);

}


.visual-circle {

    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(200,154,75,0.30);

}


.circle-one {

    width: 430px;
    height: 430px;

}


.circle-two {

    width: 500px;
    height: 500px;

    border-color:
        rgba(255,255,255,0.07);

}


.hero-bottom-line {

    position: absolute;

    right: 0;
    bottom: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );

}


/* =========================================================
   INTRO
   ========================================================= */

.basic-intro {

    padding: 95px 20px;

    background: var(--white);

}


.section-heading {

    max-width: 800px;

    margin: 0 auto;

    text-align: center;

}


.section-label {

    display: inline-block;

    margin-bottom: 12px;

    color: var(--gold);

    font-size: 1.2rem;
    font-weight: 800;

}


.section-heading h2 {

    margin: 0 0 16px;

    color: var(--navy);

    font-size: clamp(1.9rem, 4vw, 2.8rem);

    line-height: 1.3;

    font-weight: 900;

}


.section-heading p {

    margin: 0;

    color: var(--muted);

    font-size: 1.5rem;

    line-height: 2;

}


.heading-line {

    width: 65px;
    height: 3px;

    margin: 25px auto 0;

    background: var(--gold);

    border-radius: 10px;

}


/* =========================================================
   SERVICES
   ========================================================= */

.basic-services {

    padding: 95px 20px;

    background:

        linear-gradient(
            180deg,
            #F7F9FC,
            #EEF2F6
        );

}


.services-heading {

    margin-bottom: 48px;

}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


/* =========================================================
   SERVICE CARD
   ========================================================= */

.service-card {

    position: relative;

    padding: 32px 28px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

}


.service-card::before {

    content: "";

    position: absolute;

    right: 0;
    top: 0;

    width: 100%;
    height: 4px;

    background: var(--gold);

    transform: scaleX(0);

    transform-origin: right;

    transition: 0.3s ease;

}


.service-card:hover {

    transform: translateY(-8px);

    border-color:
        rgba(200,154,75,0.35);

    box-shadow:
        0 25px 55px rgba(6,27,54,0.12);

}


.service-card:hover::before {

    transform: scaleX(1);

}


/* =========================================================
   CARD TOP
   ========================================================= */

.service-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 22px;

}


.service-icon {

    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--gold);

    background:
        rgba(200,154,75,0.10);

    border-radius: 17px;

    transition: 0.3s ease;

}


.service-card:hover .service-icon {

    color: var(--navy);

    background: var(--gold);

    transform: scale(1.05);

}


.service-icon svg {

    width: 30px;
    height: 30px;

}


.service-number {

    color: #CBD1D9;

    font-size: 1.5rem;

    font-weight: 900;

}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.service-card h3 {

    margin: 0 0 12px;

    color: var(--navy);

    font-size: 1.4rem;

    font-weight: 900;

}


.service-card > p {

    min-height: 78px;

    margin: 0;

    color: var(--muted);

    font-size: 0.9rem;

    line-height: 1.9;

}


.service-card ul {

    list-style: none;

    padding: 0;

    margin: 22px 0;

}


.service-card li {

    position: relative;

    padding-right: 22px;

    margin-bottom: 10px;

    color: #596574;

    font-size: 0.85rem;

}


.service-card li::before {

    content: "✓";

    position: absolute;

    right: 0;
    top: 0;

    color: var(--gold);

    font-weight: 900;

}


.service-button {

    width: 100%;

    min-height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--white);

    background: var(--navy);

    border-radius: 8px;

    font-size: 0.85rem;

    font-weight: 800;

    transition: 0.3s ease;

}


.service-button:hover {

    background: var(--gold);

    color: var(--navy);

}

/* =========================================================
   تخفيف الباترن بطريقة مضمونة جداً
   ========================================================= */
.sectors-section {
  position: relative !important;
  background-color: #F8FAFC !important; /* اللون الأساسي هادئ */
  padding: 70px 20px;
  direction: rtl;
  font-family: 'Tajawal', sans-serif !important;
  z-index: 1;
}

/* طبقة الباترن المنفصلة مع التحكم في شفافيتها بسهولة */
.sectors-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(#0B2A52 1px, transparent 1px),
    radial-gradient(#0B2A52 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;

  /* التحكم بحدة الباترن من هنا: 0.03 خفيف وممتاز جداً */
  opacity: 0.03 !important;
  pointer-events: none;
  z-index: -1;
}

.sectors-container {
  max-width: 1350px; /* توسيع العرض لاستيعاب 4 كروت في صف واحد بشكل مريح */
  margin: 0 auto;
}

/* ترويسة القسم */
.services-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 45px;
}

.services-badge {
  color: #C89A4B;
  font-size: 0.88rem;
  font-weight: 700;
  background-color: rgba(200, 154, 75, 0.12);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 10px;
  border: 1px solid rgba(200, 154, 75, 0.25);
}

.services-title {
  color: #0B2A52;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 12px 0;
}

.services-divider {
  width: 50px;
  height: 3px;
  background-color: #C89A4B;
  border-radius: 2px;
}

/* شبكة الـ 4 كروت - صف واحد إلزامياً في الشاشات الكبيرة */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 أعمدة في صف واحد */
  gap: 20px;
  width: 100%;
}

/* تصميم الكارت المصور */
.sector-card {
  position: relative;
  min-height: 380px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 28px 20px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 25px rgba(11, 42, 82, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.sector-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 35px rgba(11, 42, 82, 0.18);
}

/* صور خلفيات الكروت */
.home-card {
  background-image: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=800&q=80');
}

.villa-card {
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=800&q=80');
}

.office-card {
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=800&q=80');
}

.realestate-card {
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=800&q=80');
}

/* طبقة التظليل الكحلية المتدرجة للوضوح */
.sector-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(11, 42, 82, 0.1) 0%, rgba(11, 42, 82, 0.92) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}

.sector-card:hover .sector-overlay {
  background: linear-gradient(180deg, rgba(11, 42, 82, 0.2) 0%, rgba(11, 42, 82, 0.96) 100%);
}

/* المحتوى بالنصوص */
.sector-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  width: 100%;
}

.sector-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.sector-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: #FFFFFF;
}

.sector-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #E2E8F0;
  margin: 0 0 20px 0;
  min-height: 40px;
}

/* زر طلب الخدمة الذهبي */
.btn-sector {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.btn-gold {
  background-color: #C89A4B;
  color: #0B2A52 !important;
}

.btn-gold:hover {
  background-color: #d8aa5b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(200, 154, 75, 0.4);
}

/* التكيف مع الشاشات المتوسطة والصغيرة لمنع انحشار النصوص */
@media (max-width: 1024px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr); /* تحويل إلى صفين في الشاشات اللوحية */
  }
}

@media (max-width: 600px) {
  .sectors-grid {
    grid-template-columns: 1fr; /* عمود واحد في الجوال */
  }
}
/* =========================================================
   تطبيق 4 كروت في صف واحد للكمبيوتر بشكل إجباري
   ========================================================= */

/* شاشات الكمبيوتر واللابتوب (أكبر من 992px) */
@media (min-width: 992px) {
  .sectors-container {
    max-width: 1400px !important; /* توسيع الحاوية لاستيعاب الكروت */
    width: 95% !important;
  }

  .sectors-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* فرض 4 أعمدة في صف واحد */
    gap: 16px !important;
  }

  .sector-card {
    min-height: 360px !important;
    padding: 24px 16px !important;
  }

  .sector-title {
    font-size: 1.25rem !important;
  }

  .sector-desc {
    font-size: 0.82rem !important;
  }
}

/* التجاوب للجوال والتابلت فقط */
@media (max-width: 991px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .sectors-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   CTA
   ========================================================= */

.basic-cta {

    position: relative;

    padding: 80px 20px;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-light)
        );

    overflow: hidden;

}


.basic-cta::before {

    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    left: -250px;
    bottom: -300px;

    border:
        1px solid rgba(200,154,75,0.25);

    border-radius: 50%;

}


.cta-container {

    position: relative;

    z-index: 2;

    width: min(1050px, 92%);

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}


.cta-content span {

    color: var(--gold-light);

    font-size: 0.9rem;

    font-weight: 800;

}


.cta-content h2 {

    margin: 10px 0 12px;

    color: var(--white);

    font-size: clamp(1.8rem, 4vw, 2.8rem);

    font-weight: 900;

}


.cta-content p {

    max-width: 650px;

    margin: 0;

    color: #C5D0DD;

    line-height: 1.9;

}


.cta-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 25px;

    min-height: 50px;

    padding: 0 28px;

    color: var(--navy);

    background: var(--gold);

    border-radius: 9px;

    font-weight: 900;

    transition: 0.3s ease;

}


.cta-button:hover {

    background: var(--gold-light);

    transform: translateY(-3px);

}


.cta-number {

    min-width: 280px;

    padding: 30px;

    text-align: center;

    border:
        1px solid rgba(200,154,75,0.5);

    border-radius: 18px;

}


.cta-number small {

    display: block;

    margin-bottom: 8px;

    color: #C5D0DD;

}


.cta-number strong {

    display: block;

    color: var(--gold-light);

    font-size: 1.35rem;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .basic-hero-container {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 40px;

        padding: 80px 0;

    }


    .basic-hero-content {

        max-width: 750px;

        margin: auto;

    }


    .basic-hero p {

        margin: auto;

    }


    .hero-actions {

        justify-content: center;

    }


    .hero-visual {

        min-height: 300px;

    }


    .visual-main-card {

        width: 300px;
        height: 280px;

    }


    .visual-circle {

        display: none;

    }


    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .cta-container {

        flex-direction: column;

        text-align: center;

    }


    .cta-content p {

        margin: auto;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .basic-hero {

        min-height: auto;

    }


    .basic-hero-container {

        width: 90%;

        padding: 65px 0 75px;

    }


    .basic-hero h1 {

        font-size: 2.35rem;

    }


    .basic-hero p {

        font-size: 0.9rem;

        line-height: 1.9;

    }


    .hero-actions {

        flex-direction: column;

        width: 100%;

        gap: 14px;

    }


    .hero-button {

        width: 100%;

    }


    .hero-link {

        border: 0;

    }


    .hero-visual {

        min-height: 245px;

    }


    .visual-main-card {

        width: 270px;
        height: 235px;

        border-radius: 22px;

    }


    .visual-house {

        width: 100px;
        height: 90px;

        font-size: 75px;

    }


    .tool {

        width: 48px;
        height: 48px;

        font-size: 1.35rem;

    }


    .visual-tools {

        gap: 10px;

        margin-top: 18px;

    }


    .basic-intro,
    .basic-services {

        padding: 70px 16px;

    }


    .section-heading h2 {

        font-size: 1.8rem;

    }


    .section-heading p {

font-size: 19px;

font-weight: 500;

}


    .services-grid {

        grid-template-columns: 1fr;

        gap: 16px;

    }


    .service-card {

        padding: 26px 22px;

    }


    .service-card > p {

        min-height: auto;

    }


    .basic-cta {

        padding: 65px 18px;

    }


    .cta-container {

        width: 92%;

    }


    .cta-content h2 {

        font-size: 1.9rem;

    }


    .cta-number {

        width: 100%;

        min-width: 0;

    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .basic-hero h1 {

        font-size: 2rem;

    }


    .visual-main-card {

        width: 245px;
        height: 220px;

    }


    .service-card h3 {

        font-size: 1.2rem;

    }

}

/* =========================================================
   OUR WORK / من أعمالنا
   ========================================================= */

.our-work-section {
    padding: 95px 20px;
    background: #FFFFFF;
}

.work-heading {
    margin-bottom: 45px;
}


/* الشبكة */

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}


/* الصورة */

.work-card {
    position: relative;

    height: 310px;

    border-radius: 16px;

    overflow: hidden;

    background: #061B36;

    box-shadow:
        0 12px 35px rgba(6, 27, 54, 0.10);

    cursor: pointer;
}


.work-card img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}


/* الطبقة فوق الصورة */

.work-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: flex-end;

    padding: 22px;

    background:
        linear-gradient(
            to top,
            rgba(6, 27, 54, 0.90) 0%,
            rgba(6, 27, 54, 0.15) 55%,
            transparent 100%
        );

    transition: background 0.3s ease;
}


.work-overlay span {
    position: relative;

    color: #FFFFFF;

    font-size: 1rem;
    font-weight: 800;

    padding-right: 13px;
}


.work-overlay span::before {
    content: "";

    position: absolute;

    right: 0;
    top: 50%;

    width: 3px;
    height: 22px;

    background: #C89A4B;

    border-radius: 5px;

    transform: translateY(-50%);
}


/* Hover */

.work-card:hover img {
    transform: scale(1.07);
}


.work-card:hover .work-overlay {
    background:
        linear-gradient(
            to top,
            rgba(6, 27, 54, 0.95) 0%,
            rgba(6, 27, 54, 0.25) 60%,
            transparent 100%
        );
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .our-work-section {
        padding: 70px 16px;
    }

    .work-heading {
        margin-bottom: 32px;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .work-card {
        height: 260px;
        border-radius: 14px;
    }

    .work-overlay {
        padding: 18px;
    }

}

/* =========================================================
   زر "اطلب الخدمة الآن" - الجوال والتابلت
   ========================================================= */

@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;
    }

}