:root {
    --ink: #0C0F14;
    --ink-card: #161A23;
    --ink-light: #1E2330;
    --amber: #D4943A;
    --amber-light: #E8A838;
    --amber-dark: #b87b28;
    --teal: #2ECDA7;
    --teal-dark: #229f81;
    --cream: #F7F5F0;
    --cream-dark: #EDE9E1;
    --warm-gray: #6B6560;
    --warm-dark: #3D3835;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--cream);
    color: var(--warm-dark);
    overflow-x: hidden;
    line-height: 1.7;
}

/* === تحميل === */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity .5s, visibility .5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amber), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: loaderPulse 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.loader-bar {
    width: 130px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--amber), var(--teal));
    border-radius: 3px;
    animation: loadSlide .9s ease-in-out infinite;
}

@keyframes loadSlide {
    0% { transform: translateX(100%); }
    100% { transform: translateX(360%); }
}

/* === الإشعار (Toast) === */
.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-140%);
    z-index: 9998;
    padding: 14px 32px;
    border-radius: 12px;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: 700;
    font-size: 14px;
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    white-space: nowrap;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast-success {
    background: var(--ink);
    color: var(--teal);
    border: 1px solid rgba(46, 205, 167, .3);
}

.toast-error {
    background: #2A0A0A;
    color: #F87171;
    border: 1px solid rgba(248, 113, 113, .3);
}

/* === التنقل (Navbar) === */
.nav-bar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    transition: all .35s ease;
    padding: 16px 0;
    background: rgba(12, 15, 20, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-bar.scrolled {
    background: rgba(12, 15, 20, .96);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.nav-link {
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.25s ease;
    padding: 6px 2px;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--amber-light);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--amber);
    border-radius: 2px;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--ink-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px;
    min-width: 230px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 150;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
    background: rgba(212, 148, 58, 0.12);
    color: var(--amber-light);
}

/* === قائمة الجوال === */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    padding: 70px 24px 28px;
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease;
    overflow-y: auto;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: all .25s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu a:hover, .mobile-menu a.active {
    color: var(--amber);
}

.mobile-submenu {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    margin: 4px 0 10px;
}

.mobile-submenu a {
    font-size: 14px;
    font-weight: 500;
    border-bottom: none;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.65);
}

/* === الهيرو (Hero) - مع مسافة 70px وليس 100vh === */
.hero-section {
    position: relative;
    background: var(--ink);
    overflow: hidden;
    padding-top: 115px;
    padding-bottom: 70px;
}

.page-hero {
    position: relative;
    background: var(--ink);
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(212, 148, 58, .1);
    top: -150px;
    right: -100px;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(46, 205, 167, .06);
    bottom: -120px;
    left: -80px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .015) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
    pointer-events: none;
}

.gradient-text {
    background: linear-gradient(135deg, #F3BA54 0%, #D4943A 40%, #2ECDA7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === الشريط المتحرك (Marquee) - من اليسار إلى اليمين === */
.marquee-wrap {
    overflow: hidden;
    background: #090B0F;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding: 14px 0;
    direction: ltr;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: marqueeLeftToRight 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeLeftToRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    color: rgba(255, 255, 255, .7);
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: 600;
    font-size: 14px;
    direction: rtl;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
}

/* === الأزرار النظيفة بدون Glow ضبابي === */
.btn-amber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    background: #D4943A;
    color: #ffffff !important;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-amber:hover {
    background: #c3842c;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    background: #25D366;
    color: #ffffff !important;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .9);
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    transform: translateY(-2px);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    background: var(--ink);
    color: #fff;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
}

.btn-dark:hover {
    background: var(--ink-light);
    border-color: var(--amber);
    transform: translateY(-2px);
}

/* === كشف عند التمرير (Reveal) === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-d1 { transition-delay: .06s; }
.reveal-d2 { transition-delay: .12s; }
.reveal-d3 { transition-delay: .18s; }
.reveal-d4 { transition-delay: .24s; }

/* === بطاقات لماذا نحن (Feature Cards) === */
.feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px 26px;
    border: 1px solid var(--cream-dark);
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--amber), var(--teal));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .05);
    border-color: rgba(212, 148, 58, 0.25);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

/* === بطاقات الخدمات (Service Cards) === */
.service-card {
    position: relative;
    background: var(--ink-card);
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid rgba(255, 255, 255, .06);
    transition: all .35s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    background: var(--ink-light);
    border-color: rgba(212, 148, 58, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}

.service-card .card-num {
    position: absolute;
    top: -10px;
    left: -4px;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: 900;
    font-size: 90px;
    line-height: 1;
    color: rgba(255, 255, 255, .02);
    pointer-events: none;
}

.service-card .s-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.service-title-link {
    text-decoration: none;
    color: #fff;
    transition: color .2s ease;
}

.service-title-link:hover {
    color: var(--amber-light);
}

/* === قسم الخطوات الأربع المعاد تصميمه بأناقة فائقة === */
.steps-timeline-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    margin-top: 36px;
}

@media (max-width: 1024px) {
    .steps-timeline-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .steps-timeline-wrap {
        grid-template-columns: 1fr;
    }
}

.step-card-modern {
    background: #ffffff;
    border: 1px solid var(--cream-dark);
    border-radius: 20px;
    padding: 30px 22px;
    position: relative;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}

.step-card-modern:hover {
    transform: translateY(-5px);
    border-color: var(--amber);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.step-number-pill {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--cream);
    color: var(--warm-dark);
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: 900;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid var(--cream-dark);
    transition: all .3s ease;
}

.step-card-modern:hover .step-number-pill {
    background: var(--amber);
    color: #ffffff;
    border-color: var(--amber);
}

/* === بطاقات الإمارات (Emirates Cards) === */
.emirate-card {
    position: relative;
    background: var(--ink-card);
    border-radius: 18px;
    padding: 28px 22px;
    border: 1px solid rgba(255, 255, 255, .06);
    overflow: hidden;
    transition: all .35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.emirate-card .em-initial {
    position: absolute;
    bottom: -15px;
    left: -8px;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: 900;
    font-size: 90px;
    line-height: 1;
    color: rgba(212, 148, 58, .03);
    pointer-events: none;
}

.emirate-card:hover {
    border-color: rgba(212, 148, 58, .3);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .25);
}

/* === أزرار المناطق البيضاوية (Pill-shaped Buttons) === */
.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 28px;
}

.pill-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: default;
    user-select: none;
}

.pill-button:hover {
    background: rgba(212, 148, 58, 0.15);
    border-color: var(--amber);
    color: #ffffff;
    transform: translateY(-2px);
}

.pill-button i {
    font-size: 11px;
    color: var(--teal);
}

/* === رقاقات ما يشمله السعر (Chips) === */
.include-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(212, 148, 58, .04);
    border: 1px solid rgba(212, 148, 58, .1);
    transition: all .25s ease;
}

.include-chip:hover {
    background: rgba(212, 148, 58, .08);
    border-color: rgba(212, 148, 58, .2);
}

/* === شهادات العملاء === */
.testi-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 24px;
    border: 1px solid var(--cream-dark);
    transition: all .35s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .05);
}

.testi-card .quote-mark {
    position: absolute;
    top: 16px;
    right: 22px;
    font-size: 64px;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(212, 148, 58, .1);
    pointer-events: none;
}

/* === الأسئلة الشائعة (FAQ) === */
.faq-item {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--cream-dark);
    overflow: hidden;
    transition: all .3s ease;
    margin-bottom: 12px;
}

.faq-item:hover {
    border-color: rgba(212, 148, 58, .25);
}

.faq-item.open {
    border-color: var(--amber);
    box-shadow: 0 6px 24px rgba(212, 148, 58, .06);
}

.faq-head {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: 700;
    font-size: 15px;
    transition: color .25s;
}

.faq-item.open .faq-head {
    color: var(--amber);
}

.faq-head .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .3s ease;
    font-size: 11px;
    color: var(--warm-gray);
}

.faq-item.open .faq-icon {
    background: var(--amber);
    color: #fff;
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

.faq-item.open .faq-body {
    max-height: 450px;
}

.faq-body-inner {
    padding: 0 24px 22px;
    color: var(--warm-gray);
    line-height: 1.85;
    font-size: 14.5px;
}

/* === Call To Action كامل العرض (Full-Width Modern CTA) === */
.cta-fullwidth {
    background: linear-gradient(180deg, #090B0F 0%, #12161F 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-fullwidth::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    width: 500px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 148, 58, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* === الشريط العائم (Mobile Float Bar) === */
.float-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 10px 14px;
    background: rgba(12, 15, 20, .96);
    backdrop-filter: blur(20px);
    display: flex;
    gap: 8px;
    transform: translateY(100%);
    transition: transform .35s ease;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.float-bar.show {
    transform: translateY(0);
}

.float-bar a {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    border-radius: 10px;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* === زر العودة للأعلى === */
.back-top {
    position: fixed;
    bottom: 84px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--amber);
    border: 1px solid rgba(255, 255, 255, .1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 80;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: var(--ink-card);
    border-color: var(--amber);
}

/* === عناصر مساعدة === */
.dot-bg {
    background-image: radial-gradient(circle, rgba(107, 101, 96, .07) 1px, transparent 1px);
    background-size: 26px 26px;
}

.section-accent-line {
    width: 44px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--amber), var(--teal));
    margin: 0 auto 20px;
}

.section-accent-line.start {
    margin: 0 0 20px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--amber);
}

.breadcrumbs i {
    font-size: 9px;
}

@media (max-width: 768px) {
    .hero-blob { display: none; }
    .service-card { padding: 26px 20px; }
    .service-card .card-num { font-size: 64px; }
    .emirate-card .em-initial { font-size: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .marquee-track {
        animation: none;
    }
}
