@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Dancing+Script:wght@400..700&family=Miniver&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Aref+Ruqaa:wght@400;700&family=Dancing+Script:wght@400..700&family=Miniver&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-family: 'Poppins', sans-serif;
}

:root {
    --font-size-s: 0.9rem;
    --font-size-n: 1rem;
    --font-size-m: 1.12rem;
    --font-size-1: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.3rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --border-radius-s: 8px;
    --border-radius-m: 30px;
    --border-radius-circle: 50%;
    --site-max-width: 1300px;
}

html {
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

img {
    width: 75%;
}

.section-content {
    margin: 0 auto;
    padding: 0 20px;
    max-width: var(--site-max-width);
}

.section-titel {
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 20px;
    font-size: var(--font-size-xl);
}


/* 
.section-titel::after {
    content: '';
    width: 80px;
    height: 5px;
    display: block;
    margin: 10px auto 0;
    border-bottom: var(--border-radius-s);
    background: #123c79;
} */

header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: #05361dc8;
    /* شفاف افتراضيًا */
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
    direction: rtl;
    /* ✅ الاتجاه من اليمين لليسار */
}

header.scrolled {
    background: #05361dc8;
    /* ✅ اللون عند التمرير */
    backdrop-filter: blur(6px);
}

header .navbar {
    display: flex;
    flex-direction: row-reverse;
    /* ✅ اللوجو أقصى اليمين */
    align-items: center;
    justify-content: space-between;
}

.navbar .nav-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 15%;
}

.navbar .nav-logo img {
    width: 100%;
    max-width: 120px;
}

.navbar .nav-menu {
    display: flex;
    flex-direction: row;
    /* ✅ صف أفقي */
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar .nav-menu .nav-link {
    color: #fff;
    font-size: var(--font-size-1);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: 0.3s;
}

.navbar .nav-menu .nav-link:hover {
    color: #19b162;
    font-weight: 700;
}


/* 🔹 إخفاء أزرار القائمة في الكمبيوتر */

.navbar :where(#menu-close-button,
#menu-open-button) {
    display: none;
}

#whatsappBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    /* ← بجانب زر الطلوع */
    background-color: #25d366;
    /* لون واتساب */
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    cursor: pointer;
    /* مخفي بالبداية */
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    z-index: 99;
}

#whatsappBtn:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
}

.whatsappIcon {
    width: 28px;
    height: 28px;
    fill: white;
}

.footer-section {
    padding: 20px 0;
    background: #252525;
}

.footer-section :where(.copyright-text,
.social-link,
.policy-link) {
    color: white;
    transition: 0.2s ease;
}

.footer-section .section-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-section .socil-link-list {
    display: flex;
    gap: 25px;
}

.footer-section .socil-link-list .social-link {
    font-size: var(--font-size-1);
}

.footer-section .socil-link-list .social-link:hover,
.footer-section .policy-text .policy-link:hover {
    color: #b9d0f3;
}

.footer-section .policy-text .separator {
    margin: 0 5px;
    color: white;
}

@media screen and (max-width: 900px) {
     :root {
        --font-size-m: 1rem;
        --font-size-1: 1.3rem;
        --font-size-xl: 1.5rem;
        --font-size-xxl: 1.8rem;
    }
    body.show-mobile-menu header {
        background: none;
        /* 🔹 الهيدر أبيض بالكامل */
        backdrop-filter: none;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 2000;
    }
    /* القائمة نفسها */
    .nav-menu {
        position: fixed;
        top: 70px;
        /* تحت الهيدر */
        left: 0;
        width: 100%;
        background: #fff;
        /* 🔹 القائمة بخلفية بيضاء */
        z-index: 1900;
        padding: 20px 0;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    body.show-mobile-menu .nav-menu {
        display: flex;
    }
    /* باقي الصفحة يكون شفاف بضباب خفيف */
    body.show-mobile-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        /* شفافية خفيفة */
        backdrop-filter: blur(5px);
        /* ضباب بسيط */
        z-index: 1500;
        /* خلف القائمة والهيدر */
    }
    /* عناصر القائمة */
    .nav-menu .nav-link {
        color: #000;
        font-size: 18px;
        font-weight: 500;
        text-decoration: none;
    }
    .navbar .nav-menu {
        display: block;
        position: fixed;
        left: -300px;
        top: 0;
        width: 300px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        background: white;
        transition: left 0.2s ease;
    }
    .navbar :where(#menu-close-button,
    #menu-open-button) {
        display: block;
        font-size: var(--font-size-1);
    }
    .navbar #menu-close-button {
        position: absolute;
        right: 30px;
        top: 30px;
    }
    .navbar #menu-open-button {
        color: #ffffff;
    }
    body.show-mobile-menu .navbar .nav-menu {
        left: 0;
    }
    .navbar .nav-menu .nav-link {
        color: black;
        display: block;
        margin-top: 17px;
        font-size: var(--font-size-1);
    }
    /* ✅ زر الإرسال */
    .button {
        width: 100%;
        padding: 14px;
        border: none;
        border-radius: 10px;
        background-color: #103670;
        color: white;
        font-size: 18px;
        cursor: pointer;
        transition: background 0.3s ease, transform 0.2s ease;
    }
    .button:hover {
        background-color: #2056b5;
        transform: scale(1.02);
    }
    .navbar .nav-logo {
        display: flex;
        justify-content: flex-end;
        /* ✅ يدفع النص إلى أقصى اليمين */
        align-items: center;
        width: 35%;
        /* عرض منطقة الشعار */
    }
    .navbar .nav-logo .logo-text {
        color: #fff;
        width: 100%;
        text-align: right;
        /* ✅ تأكيد أن النص بمحاذاة اليمين */
    }
}

@media screen and (max-width: 640px) {
    .footer-section {
        position: relative;
        /* ✅ يتبع الصفحة، لا يطفو */
        bottom: auto;
        /* مسافة قبل الفوتر */
    }
    .footer-section .section-contact {
        flex-direction: column;
        /* ✅ فوق لتحت */
        gap: 20px;
        /* ✅ تباعد جميل */
        text-align: center;
    }
}