/* ==========================================================================
   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 / هيدر الموقع النهاية
   ========================================================= */


   
 /* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --pest-navy: #061B36;

    --pest-navy-light: #102D4C;

    --pest-gold: #C89A4B;

    --pest-gold-light: #E0B765;

    --pest-burgundy: #8E2630;

    --pest-burgundy-dark: #681D25;

    --pest-white: #FFFFFF;

    --pest-bg: #F4F4F2;

    --pest-light: #ECECEA;

    --pest-muted: #737A82;

}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        "Tajawal",
        Arial,
        sans-serif;

    background:
        var(--pest-bg);

    color:
        var(--pest-navy);

}


a {
    text-decoration: none;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.pest-container {

    width: min(1180px, 92%);

    margin: auto;

}


/* =========================================================
   HERO
   ========================================================= */

.pest-hero {

    position: relative;

    min-height: 700px;

    overflow: hidden;

    background:
        var(--pest-navy);

}


.pest-hero-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    z-index: 0;

}


.pest-hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(6,27,54,0.97),
            rgba(6,27,54,0.88),
            rgba(6,27,54,0.62)
        );

}


.pest-hero-pattern {

    position: absolute;

    inset: 0;

    z-index: 2;

    opacity: 0.13;

    background-image:
        radial-gradient(
            rgba(224,183,101,0.9) 1px,
            transparent 1px
        );

    background-size: 30px 30px;

}


.pest-hero .pest-container {

    position: relative;

    z-index: 3;

    min-height: 700px;

}


/* =========================================================
   HERO TOP
   ========================================================= */

.pest-hero-top {

    position: absolute;

    top: 30px;

    right: 0;

    left: 0;

    display: flex;

    justify-content: space-between;

    color:
        rgba(255,255,255,0.55);

    font-size: 0.58rem;

    letter-spacing: 2px;

    font-weight: 800;

}


.pest-hero-top span:last-child {

    color:
        var(--pest-gold-light);

    font-size: 1rem;

}


/* =========================================================
   HERO LAYOUT
   ========================================================= */

.pest-hero-layout {

    position: absolute;

    top: 50%;

    right: 0;

    left: 0;

    display: grid;

    grid-template-columns:
        170px 1fr 150px;

    align-items: center;

    gap: 0px;

    transform:
        translateY(-50%);

}


.pest-hero-number {

    color:
        rgba(255,255,255,0.06);

    font-size: 12rem;

    line-height: 0.8;

    font-weight: 900;

}


.pest-hero-content {

    max-width: 700px;

}


.pest-eyebrow {

    display: inline-block;

    margin-bottom: 20px;

    color:
        var(--pest-gold-light);

    font-size: 0.68rem;

    font-weight: 900;

}


.pest-hero-content h1 {

    margin: 0;

    color:
        var(--pest-white);

    font-size:
        clamp(4rem, 8vw, 7rem);

    line-height: 0.9;

    font-weight: 900;

}


.pest-hero-content h1 strong {

    display: block;

    color:
        var(--pest-gold-light);

}


.pest-hero-content p {

    max-width: 600px;

    margin: 30px 0 0;

    color:
        #D7DEE5;

    font-size: 0.88rem;

    line-height: 2.2;

}


.pest-btn {

    display: inline-flex;

    align-items: center;

    gap: 18px;

    margin-top: 28px;

    padding: 15px 24px;

    color:
        var(--pest-navy);

    background:
        var(--pest-gold);

    font-size: 0.68rem;

    font-weight: 900;

    transition:
        0.3s ease;

}


.pest-btn:hover {

    background:
        var(--pest-gold-light);

    transform:
        translateY(-3px);

}


/* =========================================================
   HERO SIDE
   ========================================================= */

.pest-hero-side {

    display: flex;

    flex-direction: column;

    gap: 16px;

}


.pest-hero-side span {

    padding-right: 15px;

    color:
        rgba(255,255,255,0.42);

    border-right:
        2px solid var(--pest-gold);

    font-size: 0.52rem;

    letter-spacing: 2px;

    font-weight: 800;

}


/* =========================================================
   HERO BOTTOM
   ========================================================= */

.pest-hero-bottom {

    position: absolute;

    right: 0;

    bottom: 28px;

    display: flex;

    gap: 30px;

    color:
        rgba(255,255,255,0.4);

    font-size: 0.48rem;

    letter-spacing: 2px;

    font-weight: 800;

}


/* =========================================================
   INTRO
   ========================================================= */

.pest-intro {

    padding: 110px 0;

    background:
        var(--pest-white);

}


.pest-intro-grid {

    display: grid;

    grid-template-columns:
        150px 1fr;

    gap: 55px;

}


.pest-intro-number span {

    display: block;

    color:
        var(--pest-burgundy);

    font-size: 5rem;

    line-height: 0.8;

    font-weight: 900;

}


.pest-intro-number small {

    display: block;

    margin-top: 18px;

    color:
        var(--pest-muted);

    font-size: 0.48rem;

    letter-spacing: 2px;

    font-weight: 900;

}


.pest-intro-content > span {

    color:
        var(--pest-burgundy);

    font-size: 0.58rem;

    font-weight: 900;

}


.pest-intro-content h2 {

    margin: 14px 0 0;

    color:
        var(--pest-navy);

    font-size:
        clamp(2.8rem, 5vw, 4.7rem);

    line-height: 1.05;

    font-weight: 900;

}


.pest-intro-content h2 strong {

    color:
        var(--pest-burgundy);

}


.pest-intro-content p {

    max-width: 700px;

    margin: 28px 0 0;

    color:
        var(--pest-muted);

    font-size: 0.84rem;

    line-height: 2.3;

}


/* =========================================================
   INTRO BAR
   ========================================================= */

.pest-intro-bar {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-top: 60px;

    border-top:
        1px solid #DDDFE1;

}


.pest-intro-bar div {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 22px 15px;

    border-left:
        1px solid #DDDFE1;

}


.pest-intro-bar div:last-child {

    border-left:
        none;

}


.pest-intro-bar b {

    color:
        var(--pest-burgundy);

    font-size: 1.1rem;

}


.pest-intro-bar span {

    color:
        var(--pest-navy);

    font-size: 1.1rem;

    font-weight: 800;

}


/* =========================================================
   SERVICES
   ========================================================= */

.pest-services {

    padding: 110px 0;

    background:
        var(--pest-bg);

}


.pest-services-head {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 50px;

    margin-bottom: 45px;

}


.pest-services-head > div > span {

    color:
        var(--pest-burgundy);

    font-size: 0.57rem;

    letter-spacing: 2px;

    font-weight: 900;

}


.pest-services-head h2 {

    margin: 12px 0 0;

    color:
        var(--pest-navy);

    font-size:
        clamp(3rem, 5vw, 4.7rem);

    line-height: 1;

    font-weight: 900;

}


.pest-services-head h2 strong {

    color:
        var(--pest-burgundy);

}


.pest-services-head > p {

    max-width: 390px;

    margin: 0;

    color:
        var(--pest-muted);

    font-size: 0.75rem;

    line-height: 2;

}


/* =========================================================
   GRID
   ========================================================= */

.pest-services-grid {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 15px;

}


/* =========================================================
   CARD
   ========================================================= */

.pest-card {

    position: relative;

    grid-column:
        span 2;

    min-height: 330px;

    padding: 30px;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

}


.pest-card:nth-child(4) {

    grid-column:
        2 / span 2;

}


.pest-card:nth-child(5) {

    grid-column:
        4 / span 2;

}


.pest-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0 20px 45px
        rgba(6,27,54,0.16);

}


/* =========================================================
   COLORS
   ========================================================= */

.pest-card-dark {

    background:
        var(--pest-navy);

}


.pest-card-navy {

    background:
        var(--pest-navy-light);

}


.pest-card-burgundy {

    background:
        var(--pest-burgundy);

}


.pest-card-gold {

    background:
        var(--pest-gold);

}


.pest-card-white {

    background:
        var(--pest-white);

    border:
        1px solid #E0E2E4;

}


/* =========================================================
   CARD NUMBER
   ========================================================= */

.pest-card-number {

    position: absolute;

    top: 18px;

    right: 24px;

    color:
        rgba(255,255,255,0.13);

    font-size: 4rem;

    line-height: 1;

    font-weight: 900;

}


.pest-card-white .pest-card-number {

    color:
        rgba(6,27,54,0.08);

}


.pest-card-gold .pest-card-number {

    color:
        rgba(6,27,54,0.1);

}


/* =========================================================
   ICON
   ========================================================= */

.pest-card-icon {

    width: 62px;

    height: 62px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 50px;

    margin-bottom: 30px;

    color:
        var(--pest-gold-light);

    border:
        1px solid
        rgba(224,183,101,0.65);

    transition:
        transform 0.35s ease,
        background 0.35s ease;

}


.pest-card-icon svg {

    width: 34px;

    height: 34px;

    fill: none;

    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.pest-card:hover
.pest-card-icon {

    transform:
        rotate(6deg);

    background:
        rgba(200,154,75,0.12);

}


.pest-card-burgundy
.pest-card-icon {

    color:
        var(--pest-white);

    border-color:
        rgba(255,255,255,0.4);

}


.pest-card-white
.pest-card-icon {

    color:
        var(--pest-burgundy);

    border-color:
        rgba(142,38,48,0.35);

}


.pest-card-gold
.pest-card-icon {

    color:
        var(--pest-navy);

    border-color:
        rgba(6,27,54,0.35);

}


/* =========================================================
   CONTENT
   ========================================================= */

.pest-card-content span {

    color:
        var(--pest-gold-light);

    font-size: 0.5rem;

    letter-spacing: 2px;

    font-weight: 900;

}


.pest-card-burgundy
.pest-card-content span {

    color:
        #F1D49A;

}


.pest-card-white
.pest-card-content span {

    color:
        var(--pest-burgundy);

}


.pest-card-gold
.pest-card-content span {

    color:
        var(--pest-navy);

}


.pest-card-content h3 {

    margin: 8px 0 10px;

    color:
        var(--pest-white);

    font-size: 1.2rem;

    line-height: 1.4;

    font-weight: 900;

}


.pest-card-white
.pest-card-content h3,

.pest-card-gold
.pest-card-content h3 {

    color:
        var(--pest-navy);

}


.pest-card-content p {

    max-width: 300px;

    margin: 0;

    color:
        #CCD6DE;

    font-size: 0.68rem;

    line-height: 1.9;

}


.pest-card-white
.pest-card-content p {

    color:
        #6D747C;

}


.pest-card-gold
.pest-card-content p {

    color:
        rgba(6,27,54,0.7);

}


/* =========================================================
   CARD LINE
   ========================================================= */

.pest-card-line {

    position: absolute;

    right: 30px;

    bottom: 25px;

    width: 45px;

    height: 2px;

    background:
        var(--pest-gold);

}


.pest-card-burgundy
.pest-card-line {

    background:
        #E4C06D;

}


.pest-card-white
.pest-card-line {

    background:
        var(--pest-burgundy);

}


.pest-card-gold
.pest-card-line {

    background:
        var(--pest-navy);

}


/* =========================================================
   PROTECTION
   ========================================================= */

.pest-protection {

    padding: 20px 0 100px;

    background:
        var(--pest-bg);

}


.pest-protection-box {

    position: relative;

    min-height: 350px;

    display: grid;

    grid-template-columns:
        120px 1fr 150px;

    align-items: center;

    gap: 50px;

    padding: 60px;

    overflow: hidden;

    background:
        var(--pest-navy);

}


.pest-protection-number {

    color:
        rgba(255,255,255,0.05);

    font-size: 7rem;

    line-height: 1;

    font-weight: 900;

}


.pest-protection-content > span {

    color:
        var(--pest-gold-light);

    font-size: 0.52rem;

    letter-spacing: 2px;

    font-weight: 900;

}


.pest-protection-content h2 {

    max-width: 650px;

    margin: 15px 0;

    color:
        var(--pest-white);

    font-size:
        clamp(2rem, 4vw, 3.5rem);

    line-height: 1.2;

    font-weight: 900;

}


.pest-protection-content h2 strong {

    color:
        var(--pest-gold-light);

}


.pest-protection-content p {

    max-width: 600px;

    margin: 0;

    color:
        #C8D2DB;

    font-size: 0.75rem;

    line-height: 2;

}


.pest-protection-points {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 24px;

}


.pest-protection-points span {

    padding: 8px 15px;

    color:
        #E0E5EA;

    border:
        1px solid
        rgba(255,255,255,0.18);

    font-size: 0.55rem;

}


/* =========================================================
   PROTECTION SHAPE
   ========================================================= */

.pest-protection-shape {

    width: 125px;

    height: 125px;

    position: relative;

    transform:
        rotate(45deg);

    border:
        1px solid
        rgba(200,154,75,0.55);

}


.pest-protection-shape span {

    position: absolute;

    inset: 15px;

    border:
        1px solid
        rgba(200,154,75,0.35);

}


.pest-protection-shape span:nth-child(2) {

    inset: 32px;

}


.pest-protection-shape span:nth-child(3) {

    inset: 48px;

    border: none;

    background:
        var(--pest-gold);

}


/* =========================================================
   CTA
   ========================================================= */

.pest-cta {

    padding: 0 0 100px;

    background:
        var(--pest-bg);

}


.pest-cta-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 55px 60px;

    background:
        var(--pest-white);

    border-top:
        4px solid
        var(--pest-burgundy);

}


.pest-cta-box > div > span {

    color:
        var(--pest-gold);

    font-size: 0.52rem;

    letter-spacing: 2px;

    font-weight: 900;

}


.pest-cta-box h2 {

    margin: 12px 0;

    color:
        var(--pest-navy);

    font-size:
        clamp(2rem, 4vw, 3rem);

    line-height: 1.2;

    font-weight: 900;

}


.pest-cta-box h2 strong {

    color:
        var(--pest-burgundy);

}


.pest-cta-box p {

    margin: 0;

    color:
        var(--pest-muted);

    font-size: 0.75rem;

    line-height: 2;

}


.pest-cta-box > a {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    min-width: 180px;

    padding: 17px 25px;

    color:
        var(--pest-white);

    background:
        var(--pest-navy);

    font-size: 0.68rem;

    font-weight: 900;

    transition:
        0.3s ease;

}


.pest-cta-box > a:hover {

    color:
        var(--pest-navy);

    background:
        var(--pest-gold);

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .pest-hero-layout {

        grid-template-columns:
            90px 1fr;

    }


    .pest-hero-side {

        display: none;

    }


    .pest-services-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .pest-card,
    .pest-card:nth-child(4),
    .pest-card:nth-child(5) {

        grid-column:
            auto;

    }


    .pest-protection-box {

        grid-template-columns:
            80px 1fr;

    }


    .pest-protection-shape {

        display: none;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .pest-container {

        width: 90%;

    }


    /* HERO */

    .pest-hero {

        min-height: 650px;

    }


    .pest-hero .pest-container {

        min-height: 520px;

    }


    .pest-hero-overlay {

        background:
            linear-gradient(
                180deg,
                rgba(6,27,54,0.55),
                rgba(6,27,54,0.95)
            );

    }


    .pest-hero-top {

        top: 22px;

        font-size: 0.47rem;

    }


    .pest-hero-layout {

        top: auto;

        bottom: 78px;

        display: block;

        transform: none;

    }


    .pest-hero-number {

        display: none;

    }


    .pest-eyebrow {

        margin-bottom: 14px;

        font-size: 0.58rem;

    }


    .pest-hero-content h1 {

        font-size: 3.7rem;

    }


    .pest-hero-content p {

        margin-top: 20px;

        font-size: 0.72rem;

        line-height: 2;

    }


    .pest-btn {

        margin-top: 20px;

        padding: 13px 18px;

        font-size: 0.6rem;

    }


    .pest-hero-bottom {

        bottom: 22px;

        gap: 12px;

        font-size: 0.38rem;

    }


    /* INTRO */

    .pest-intro {

        padding: 75px 0;

    }


    .pest-intro-grid {

        display: block;

    }


    .pest-intro-number {

        margin-bottom: 25px;

    }


    .pest-intro-number span {

        font-size: 3.5rem;

    }


    .pest-intro-content h2 {

        font-size: 2.7rem;

    }


    .pest-intro-content p {

        margin-top: 22px;

        font-size: 0.75rem;

        line-height: 2;

    }


    /* INTRO BAR */

    .pest-intro-bar {

        grid-template-columns:
            1fr 1fr;

        margin-top: 35px;

    }


    .pest-intro-bar div {

        padding: 16px 8px;

    }


    .pest-intro-bar div:nth-child(2) {

        border-left:
            none;

    }


    .pest-intro-bar div:nth-child(3) {

        border-top:
            1px solid #DDDFE1;

    }


    .pest-intro-bar div:nth-child(4) {

        border-top:
            1px solid #DDDFE1;

        border-left:
            none;

    }


    /* SERVICES */

    .pest-services {

        padding: 75px 0;

    }


    .pest-services-head {

        display: block;

        margin-bottom: 30px;

    }


    .pest-services-head h2 {

        font-size: 2.7rem;

    }


    .pest-services-head > p {

        margin-top: 18px;

        font-size: 0.71rem;

    }


    .pest-services-grid {

        grid-template-columns:
            1fr;

        gap: 12px;

    }


    .pest-card,
    .pest-card:nth-child(4),
    .pest-card:nth-child(5) {

        grid-column:
            auto;

        min-height: 300px;

    }


    .pest-card {

        padding: 25px;

    }


    .pest-card-number {

        top: 17px;

        right: 20px;

        font-size: 3.2rem;

    }


    .pest-card-icon {

        width: 55px;

        height: 55px;

        margin-top: 45px;

        margin-bottom: 25px;

    }


    .pest-card-icon svg {

        width: 30px;

        height: 30px;

    }


    .pest-card-content h3 {

        font-size: 1.1rem;

    }


    .pest-card-content p {

        font-size: 0.65rem;

    }


    /* PROTECTION */

    .pest-protection {

        padding-bottom: 70px;

    }


    .pest-protection-box {

        display: block;

        min-height: auto;

        padding: 35px 25px;

    }


    .pest-protection-number {

        margin-bottom: 20px;

        font-size: 4rem;

    }


    .pest-protection-content h2 {

        font-size: 2rem;

    }


    /* CTA */

    .pest-cta {

        padding-bottom: 60px;

    }


    .pest-cta-box {

        display: block;

        padding: 35px 25px;

        text-align: center;

    }


    .pest-cta-box h2 {

        font-size: 2rem;

    }


    .pest-cta-box > a {

        width: 100%;

        margin-top: 25px;

    }

}


/* =========================================================
   زر "اطلب الخدمة الآن" - الجوال والتابلت
   ========================================================= */

@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;
    }

}