/* =================================================================
   Al-ilzam — Base Stylesheet
   • Light/Dark theming via CSS custom properties on <html data-theme>
   • RTL-safe: logical properties (inset-inline, margin-inline…)
   • Brand palette derived from the logo: deep navy + green/amber/orange
   ================================================================= */

/* ---------- 1. Design tokens ---------- */

:root {
    --green: #16a34a;
    --green-2: #22c55e;
    --amber: #f5b60a;
    --orange: #f97316;
    --navy-1: #0b1b2e;
    --navy-2: #10294a;

    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-sm: 0 2px 10px rgba(13, 27, 42, .07);
    --shadow-md: 0 14px 34px rgba(13, 27, 42, .13);
    --transition: .25s ease;
}

/* Light theme (default) */

:root,
html[data-theme="light"] {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-2: #eef2f8;
    --text: #101828;
    --text-muted: #5c6a7e;
    --border: #e3e9f1;
    --primary: #16a34a;
    --primary-strong: #128a3f;
    --primary-soft: rgba(22, 163, 74, .10);
    --nav-bg: #0b1b2e;
    --footer-bg: #0a1828;
    --footer-text: #b7c3d3;

    color-scheme: light;
}

/* Dark theme */

html[data-theme="dark"] {
    --bg: #0a1322;
    --surface: #101d33;
    --surface-2: #0d182b;
    --text: #e8edf6;
    --text-muted: #9daabc;
    --border: #22314e;
    --primary: #22c55e;
    --primary-strong: #4ade80;
    --primary-soft: rgba(34, 197, 94, .14);
    --nav-bg: #071021;
    --footer-bg: #071021;
    --footer-text: #9daabc;

    color-scheme: dark;
}

/* ---------- 2. Base ---------- */

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    transition: background-color .3s ease, color .3s ease;
    -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-weight: 800;
    line-height: 1.3;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-strong);
}

::selection {
    background: var(--primary);
    color: #fff;
}

:focus-visible {
    outline: 3px solid var(--primary-soft);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
}

.text-muted-2 {
    color: var(--text-muted) !important;
}

/* ---------- 3. Sections ---------- */

.section {
    padding-block: clamp(64px, 9vw, 108px);
}

.section-alt {
    background: var(--surface-2);
}

.section-head {
    max-width: 660px;
    margin-inline: auto;
    margin-bottom: clamp(2.2rem, 5vw, 3.2rem);
    text-align: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--primary);
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: .8rem;
}

.kicker::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--green-2), var(--amber), var(--orange));
}

/* letter-spacing breaks Arabic letter joining — disable it for Arabic */

html[lang="ar"] .kicker {
    letter-spacing: 0;
    text-transform: none;
    font-size: .95rem;
}

html[lang="ar"] .section-title {
    letter-spacing: 0;
}

.section-title {
    font-size: clamp(1.65rem, 3.5vw, 2.4rem);
    letter-spacing: -.02em;
    margin-bottom: .85rem;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ---------- 4. Buttons ---------- */

.btn {
    border-radius: var(--radius-md);
    font-weight: 600;
}

.btn-brand {
    background: var(--primary);
    border: 1.5px solid var(--primary);
    color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--primary-strong);
    border-color: var(--primary-strong);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(22, 163, 74, .28);
}

.btn-outline-brand {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.btn-outline-brand:hover {
    background: var(--primary-soft);
    border-color: var(--primary-strong);
    color: var(--primary-strong);
}

.btn-ghost {
    background: rgba(255, 255, 255, .06);
    border: 1.5px solid rgba(255, 255, 255, .28);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
}

/* ---------- 5. Navbar (always dark navy — matches the logo) ---------- */

.site-navbar {
    background: var(--nav-bg);
    padding-block: .55rem;
    box-shadow: 0 8px 28px rgba(4, 12, 24, .35);
}

.brand-logo {
    height: 46px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    display: block;
}

.brand-logo-sm {
    height: 40px;
}

.brand-text {
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
}

.site-navbar .nav-link {
    color: #c7d3e2;
    font-weight: 600;
    padding-inline: .85rem !important;
    position: relative;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: #fff;
}

.site-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    inset-inline: .85rem;
    bottom: 4px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--green-2), var(--amber), var(--orange));
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: transparent;
    color: #c7d3e2;
    font-size: 1.05rem;
}

.btn-icon:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 40px;
    padding-inline: .9rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .22);
    color: #c7d3e2;
    font-weight: 600;
    font-size: .92rem;
}

.lang-switch:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
}

/* show the icon matching the CURRENT theme */

html[data-theme="light"] .icon-sun {
    display: none;
}

html[data-theme="dark"] .icon-moon {
    display: none;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, .25);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(34, 197, 94, .25);
}

/* ---------- 6. Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    background: linear-gradient(150deg, var(--navy-1) 0%, var(--navy-2) 55%, var(--navy-1) 100%);
    padding-block: clamp(88px, 13vw, 150px);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 420px;
    height: 420px;
    background: rgba(34, 197, 94, .35);
    top: -140px;
    inset-inline-start: -120px;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(249, 115, 22, .22);
    bottom: -160px;
    inset-inline-end: -100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .07);
    color: #dce7f4;
    font-size: .88rem;
    font-weight: 600;
}

.hero-badge .bi {
    color: var(--green-2);
}

.hero-title {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    font-size: clamp(2.15rem, 5.4vw, 3.75rem);
    line-height: 1.18;
    margin: 1.4rem 0 1.1rem;
    font-weight: 900;
}

.hero-title span {
    background: linear-gradient(90deg, #22c55e, #f5b60a, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: #c2cfe2;
    font-size: clamp(1rem, 2vw, 1.18rem);
    max-width: 700px;
    margin-inline: auto;
}

/* ---------- 7. About visual ---------- */

.about-points {
    display: grid;
    gap: .65rem;
}

.about-points li {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-weight: 600;
}

.about-points .bi {
    color: var(--primary);
    font-size: 1.15rem;
}

.about-visual {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(150deg, var(--navy-1), var(--navy-2));
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.about-visual-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(34, 197, 94, .3);
    filter: blur(70px);
    inset-inline-start: -60px;
    top: -60px;
}

.about-company-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: 58%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

/* ---------- Floating Chips ---------- */

.float-chip {
    position: absolute;
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: .65rem 1.05rem;
    box-shadow: var(--shadow-md);
}

.float-chip strong {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.float-chip span {
    font-size: .8rem;
    color: var(--text-muted);
}

.chip-1 {
    inset-inline-end: 6%;
    top: 10%;
}

.chip-2 {
    inset-inline-start: 6%;
    bottom: 10%;
}

/* ---------- 8. Cards ---------- */

.card-soft {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card-soft:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-soft h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: .6rem;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 1.45rem;
    color: var(--primary);
    background: var(--primary-soft);
    margin-bottom: 1.05rem;
}

.feature-icon .bi {
    line-height: 1;
}

/* ---------- 9. Stats band ---------- */

.stats-band {
    position: relative;
    overflow: hidden;
    padding-block: clamp(64px, 8vw, 90px);
    color: #fff;
    background:
        radial-gradient(circle at 12% 50%, rgba(34, 197, 94, .10), transparent 30%),
        radial-gradient(circle at 88% 50%, rgba(245, 182, 10, .08), transparent 30%),
        linear-gradient(140deg, var(--navy-1), var(--navy-2));
}

.stats-band .container {
    position: relative;
    z-index: 1;
}

.stats-band .section-head {
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.stats-band .kicker {
    color: var(--green-2);
}

.stats-band .section-title {
    color: #fff;
}

/* ---------- Stat Card ---------- */

.stat-card {
    position: relative;
    min-height: 155px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    background: rgba(255, 255, 255, .045);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 28%;
    height: 3px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, var(--green-2), var(--amber), var(--orange));
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .075);
    border-color: rgba(34, 197, 94, .25);
}

.stat-value {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    direction: ltr;
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.045em;
    font-variant-numeric: tabular-nums;
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
}

.stat-value::after {
    content: attr(data-suffix);
    margin-inline-start: 4px;
    font-size: .45em;
    font-weight: 800;
    color: var(--green-2);
    -webkit-text-fill-color: var(--green-2);
}

.stat-label {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: .85rem;
    color: #b9c8da;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.5;
}

@media (max-width: 575.98px) {
    .stats-band {
        padding-block: 55px;
    }

    .stat-card {
        min-height: 145px;
        padding: 1.25rem .7rem;
        border-radius: 15px;
    }

    .stat-value {
        font-size: 2.55rem;
    }

    .stat-label {
        font-size: .84rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stat-card {
        transition: none;
    }

    .stat-card:hover {
        transform: none;
    }
}

/* ---------- 10. Employee of the Month ---------- */

.eom-card {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: clamp(1.6rem, 4vw, 2.6rem);
    box-shadow: var(--shadow-md);
}

.eom-card::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--green-2), var(--amber), var(--orange));
}

.eom-avatar {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.eom-initials {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 3.4rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(150deg, var(--navy-1), var(--navy-2));
}

.eom-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 999px;
    padding: .38rem .95rem;
    font-weight: 700;
    font-size: .88rem;
}

.eom-name {
    font-size: 1.55rem;
    font-weight: 800;
    margin: .9rem 0 .15rem;
}

.eom-position {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: .5rem;
}

.eom-meta {
    color: var(--text-muted);
    font-size: .95rem;
}

.eom-meta .bi {
    color: var(--primary);
    margin-inline-end: .35rem;
}

.progress-brand {
    height: 12px;
    border-radius: 999px;
    background: var(--surface-2);
    overflow: hidden;
}

.progress-brand > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green-2), var(--amber), var(--orange));
}

/* ---------- 11. CTA band ---------- */

.cta-band {
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(140deg, var(--navy-1), var(--navy-2));
    padding: clamp(2.6rem, 6vw, 4.2rem) clamp(1.4rem, 4vw, 3rem);
}

.cta-band h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
}

.cta-band p {
    color: #c2cfe2;
    max-width: 620px;
    margin: .9rem auto 0;
    position: relative;
}

.cta-band .btn {
    position: relative;
    margin-top: 1.6rem;
}

/* ---------- 12. Inner pages ---------- */

.page-hero {
    background: linear-gradient(150deg, var(--navy-1), var(--navy-2));
    color: #fff;
    text-align: center;
    padding-block: clamp(56px, 8vw, 92px);
}

.page-hero-title {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    margin: 0;
}

.page-hero-lead {
    color: #c2cfe2;
    max-width: 620px;
    margin: .9rem auto 0;
}

.placeholder-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--text-muted);
    padding: clamp(2.4rem, 6vw, 3.6rem) 1.6rem;
}

.placeholder-box .bi {
    display: block;
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.placeholder-box h2 {
    font-size: 1.35rem;
    color: var(--text);
    margin-bottom: .5rem;
}

.placeholder-box p {
    margin: 0;
}

/* ---------- 13. Footer ---------- */

.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-title {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.footer-about {
    color: var(--footer-text);
    max-width: 320px;
}

.footer-link {
    display: inline-block;
    color: var(--footer-text);
    padding-block: .28rem;
    font-size: .95rem;
}

.footer-link:hover {
    color: #fff;
}

.footer-contact-item {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    padding-block: .20rem;
    font-size: .95rem;
}

.footer-contact-item .bi {
    color: var(--green-2);
    margin-top: .2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 2.6rem;
    padding-block: 1.2rem;
    font-size: .9rem;
    color: #8fa1b8;
}

.footer-copyright {
    color: #8fa1b8;
}

.footer-values {
    color: #8fa1b8;
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.footer-values span {
    color: var(--green-2);
    margin-inline: .3rem;
}

.badge-demo {
    display: inline-block;
    padding: .22rem .8rem;
    border: 1px dashed var(--amber);
    color: var(--amber);
    border-radius: 999px;
    font-size: .8rem;
}

/* ---------- 14. Forms (ready for contact form / admin) ---------- */

.form-label {
    font-weight: 600;
    color: var(--text);
}

.form-control,
.form-select {
    background-color: var(--surface);
    border-color: var(--border);
    color: var(--text);
    border-radius: 10px;
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: .7;
}

.form-control:focus,
.form-select:focus {
    background-color: var(--surface);
    color: var(--text);
    border-color: var(--primary);
    box-shadow: 0 0 0 .22rem var(--primary-soft);
}

/* ---------- Headings on dark hero backgrounds ---------- */

.hero .hero-title,
.hero-title,
.page-hero .page-hero-title,
.page-hero-title,
.page-hero h1 {
    color: #ffffff;
}

.page-hero .page-hero-lead,
.page-hero p {
    color: #c2cfe2;
}

/* ---------- 15. Accessibility & responsive ---------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding-block: 72px;
    }

    .float-chip {
        padding: .5rem .8rem;
    }

    .float-chip strong {
        font-size: 1.05rem;
    }

    .about-company-logo {
        width: 68%;
        max-width: 240px;
    }

    .footer-values {
        font-size: .82rem;
    }
}

/* =========================================================
   Al-ilzam — Navbar update (append to the END of assets/css/style.css)
   ========================================================= */
/* =========================================================
   THEME TOGGLE — Soft round icon
   checked = dark (moon) | unchecked = light (sun)
   ========================================================= */
.site-navbar .theme-switch {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    direction: ltr !important;
    margin: 0 !important;
}

.site-navbar .theme-switch input[type="checkbox"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.site-navbar .theme-switch > label {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 0 !important;
    background: rgba(255, 255, 255, .08) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    cursor: pointer !important;
    transition: background-color .25s ease, transform .15s ease !important;
    -webkit-tap-highlight-color: transparent !important;
}

.site-navbar .theme-switch > label:hover {
    background: rgba(255, 255, 255, .15) !important;
}

.site-navbar .theme-switch > label:active {
    transform: scale(.96) !important;
}

/* شيل أي عناصر زخرفية قديمة */
.site-navbar .theme-switch > label::before,
.site-navbar .theme-switch > label::after,
.site-navbar .theme-switch > label > div {
    display: none !important;
    content: none !important;
}

/* الأيقونتين: واحدة بس تظهر حسب الوضع */
.site-navbar .theme-switch > label > span {
    position: static !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.site-navbar .theme-switch > label > span svg {
    width: 20px !important;
    height: 20px !important;
    padding: 0 !important;
    display: block !important;
}

/* الفاتح = شمس */
.site-navbar .theme-switch > label > span:first-of-type {
    display: flex !important;
    color: #f5b60a !important;
}

/* الداكن = قمر */
.site-navbar .theme-switch input[type="checkbox"]:checked + label > span:first-of-type {
    display: none !important;
}

.site-navbar .theme-switch input[type="checkbox"]:checked + label > span:last-of-type {
    display: flex !important;
    color: #9db8e8 !important;
}

.site-navbar .theme-switch input[type="checkbox"]:focus-visible + label {
    outline: 2px solid var(--green-2) !important;
    outline-offset: 3px !important;
}


/* =========================================================
   NAVBAR — sticky + glass on scroll
   ========================================================= */
.site-navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    transition: background-color .3s ease, box-shadow .3s ease,
                -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease !important;
}

.site-navbar.is-scrolled {
    background: rgba(11, 27, 46, .62) !important;
    -webkit-backdrop-filter: blur(14px) saturate(160%) !important;
    backdrop-filter: blur(14px) saturate(160%) !important;
    box-shadow: 0 6px 24px rgba(4, 12, 24, .28) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

/* لو المنيو مفتوحة نخلي الخلفية أوضح عشان الكلام يتقري */
.site-navbar.is-scrolled.menu-open {
    background: rgba(11, 27, 46, .93) !important;
}


/* =========================================================
   MOBILE NAVBAR
   ========================================================= */
@media (max-width: 991.98px) {

    .site-navbar > .container {
        direction: ltr !important; /* اللوجو شمال والأزرار يمين */
        position: relative !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 46px !important;
        padding: 3px 10px !important;
        gap: 6px !important;
    }

    .site-navbar .navbar-brand {
        order: 1 !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .site-navbar .navbar-brand img {
        width: 114px !important;
        max-width: 114px !important;
        height: auto !important;
        display: block !important;
    }

    /* Menu | English | Theme */
    .site-navbar > .container > .d-flex.align-items-center.gap-2.order-lg-3 {
        order: 2 !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 5px !important;
        margin: 0 !important;
        direction: ltr !important;
    }

    /* الترتيب (شمال -> يمين): الدارك مود | اللغة | الهامبرجر */
    .site-navbar .theme-switch  { order: 1 !important; }
    .site-navbar .lang-switch   { order: 2 !important; }
    .site-navbar .navbar-toggler { order: 3 !important; }

    .site-navbar .navbar-toggler {
        position: relative !important;
        z-index: 5 !important;
        flex: 0 0 32px !important;
        width: 32px !important;
        height: 32px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 8px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .site-navbar .lang-switch {
        flex: 0 0 60px !important;
        width: 60px !important;
        min-width: 60px !important;
        height: 32px !important;
        padding: 0 5px !important;
        margin: 0 !important;
        border-radius: 8px !important;
        gap: 3px !important;
        font-size: .72rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }

    .site-navbar {
        padding-block: .2rem !important;
    }

    .site-navbar .theme-switch > label {
        width: 32px !important;
        height: 32px !important;
    }

    .site-navbar .theme-switch > label > span,
    .site-navbar .theme-switch > label > span svg {
        width: 16px !important;
        height: 16px !important;
    }

    /* ===== إصلاح المنيو ===== */
    /* كانت بتظهر فوق اللوجو لأن order الافتراضي 0 */
    .site-navbar .navbar-collapse {
        order: 3 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 8px 0 12px !important;
    }

    .site-navbar .navbar-collapse:not(.show):not(.collapsing) {
        display: none !important;
    }

    .site-navbar .navbar-collapse.show {
        display: block !important;
    }

    .site-navbar .navbar-collapse.collapsing {
        height: auto !important;
        transition: none !important;
    }

    /* نص المنيو يفضل بإتجاه اللغة */
    html[lang="ar"] .site-navbar .navbar-collapse {
        direction: rtl !important;
    }

    html[lang="en"] .site-navbar .navbar-collapse {
        direction: ltr !important;
    }

    .site-navbar .navbar-collapse .navbar-nav {
        width: 100% !important;
        margin: 0 !important;
    }

    .site-navbar .navbar-collapse .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 10px 10px !important;
    }

    .site-navbar .navbar-collapse .nav-link.active::after {
        inset-inline: 10px !important;
        bottom: 2px !important;
    }

    /* Keep the original Hero blur */
    .hero-glow {
        filter: blur(90px) !important;
        -webkit-filter: blur(90px) !important;
    }
}


/* =========================================================
   CTA band — clean card style (iOS safe)
   ========================================================= */
/* Clean card-style CTA — no blur/filter (iOS safe) */
        .cta-band {
            position: relative !important;
            overflow: hidden !important;
            text-align: center !important;
            border-radius: 28px !important;
            color: #fff !important;
            background:
                radial-gradient(circle at 15% 10%, rgba(34, 197, 94, .14), transparent 34%),
                radial-gradient(circle at 88% 90%, rgba(249, 115, 22, .12), transparent 34%),
                linear-gradient(145deg, #0b1d35, #102b4a) !important;
            border: 1px solid rgba(255, 255, 255, .10) !important;
            padding: clamp(2.8rem, 6vw, 4.2rem) clamp(1.5rem, 4vw, 3rem) !important;
            box-shadow: 0 18px 45px rgba(0, 0, 0, .18) !important;

            filter: none !important;
            -webkit-filter: none !important;
            transform: none !important;
            -webkit-transform: none !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }

        .cta-band::before,
        .cta-band::after {
            content: none !important;
            display: none !important;
        }

        .cta-band h2 {
            position: relative !important;
            font-size: clamp(1.6rem, 3.4vw, 2.3rem) !important;
            margin-bottom: 0 !important;
        }

        .cta-band p {
            position: relative !important;
            color: #c2cfe2 !important;
            max-width: 620px !important;
            margin: .9rem auto 0 !important;
        }

        .cta-band .btn {
            position: relative !important;
            margin-top: 1.6rem !important;
        }
