@charset "UTF-8";

:root {
    --navy-900: #050f1f;
    --navy-800: #0a1a30;
    --navy-700: #0f2440;
    --navy-600: #15324f;
    --navy-500: #1a3b5d;
    --gold-600: #b08d4b;
    --gold-500: #c5a059;
    --gold-400: #edc56d;
    --gold-300: #f3d99e;
    --gold-100: #f9edcf;
    --gold-50: #fdf8ee;
    --body-bg: #f0f2f5;
}

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

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--body-bg);
    color: #333;
}

/* --- Navbar Glass --- */
.navbar-glass {
    background: rgba(15, 36, 64, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    padding: 0.6rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
}
.navbar-glass.scrolled {
    background: rgba(10, 26, 48, 0.97);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    border-bottom-color: rgba(197, 160, 89, 0.15);
    padding: 0.4rem 0;
}
.navbar-glass.fixed-top { box-shadow: none; }

.brand-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: #fff; font-size: 0.95rem; transition: transform 0.3s;
}
.navbar-brand:hover .brand-icon { transform: rotate(-5deg) scale(1.05); }
.brand-text { font-weight: 800; font-size: 1.25rem; color: #fff !important; }
.brand-highlight { color: var(--gold-500); }

.navbar-glass .nav-link {
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 500; font-size: 0.92rem;
    padding: 0.55rem 1rem !important; border-radius: 8px;
    position: relative; transition: all 0.3s;
}
.navbar-glass .nav-link::after {
    content: ''; position: absolute; bottom: 2px; right: 1rem; left: 1rem;
    height: 2px; background: var(--gold-500); border-radius: 2px;
    transform: scaleX(0); transition: transform 0.3s ease;
}
.navbar-glass .nav-link:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.05);
}
.navbar-glass .nav-link:hover::after,
.navbar-glass .nav-link.active::after { transform: scaleX(1); }
.navbar-glass .nav-link.active { color: var(--gold-500) !important; }
.nav-link-icon { font-size: 0.8rem; margin-left: 0.3rem; opacity: 0.7; }

.navbar-glass .navbar-toggler { padding: 6px 8px; outline: none !important; box-shadow: none !important; }
.toggler-bar {
    display: block; width: 22px; height: 2px;
    background: rgba(255, 255, 255, 0.7); border-radius: 2px;
    margin: 4px 0; transition: all 0.3s;
}
.navbar-glass .navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.navbar-glass .navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar-glass .navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.btn-login {
    background: transparent; color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.45rem 1.2rem; border-radius: 10px;
    font-family: 'Tajawal', sans-serif; font-weight: 600; font-size: 0.85rem;
    transition: all 0.3s;
}
.btn-login:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); }

.btn-register {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--navy-800); border: none;
    padding: 0.45rem 1.2rem; border-radius: 10px;
    font-family: 'Tajawal', sans-serif; font-weight: 700; font-size: 0.85rem;
    transition: all 0.3s; box-shadow: 0 2px 12px rgba(197, 160, 89, 0.2);
}
.btn-register:hover {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--navy-800); transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
}

.btn-logout {
    background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem; border-radius: 10px;
    font-family: 'Tajawal', sans-serif; font-weight: 600; font-size: 0.82rem;
    transition: all 0.3s;
}
.btn-logout:hover { background: rgba(220, 53, 69, 0.15); color: #ff6b7a; border-color: rgba(220, 53, 69, 0.3); }

.user-greeting {
    color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; font-weight: 500;
    display: inline-flex; align-items: center; gap: 0.4rem;
}
.user-greeting i { color: var(--gold-500); font-size: 1.1rem; }

@media (max-width: 991.98px) {
    .navbar-glass { background: rgba(15, 36, 64, 0.97); }
    .navbar-glass .navbar-collapse { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.06); }
    .navbar-glass .nav-link { padding: 0.7rem 1rem !important; }
    .navbar-glass .nav-link::after { display: none; }
    .navbar-glass .nav-link:hover, .navbar-glass .nav-link.active { background: rgba(197, 160, 89, 0.08); color: var(--gold-500) !important; }
    .d-flex.ms-lg-3 { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.06); width: 100%; justify-content: center; }
    .user-greeting { width: 100%; text-align: center; justify-content: center; margin-bottom: 0.5rem; }
}

/* --- Flash Alerts --- */
.flash-alert {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1rem 1.25rem; border-radius: 12px; margin-bottom: 0;
    animation: flashSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; overflow: hidden;
}
.flash-alert::before { content: ''; position: absolute; top: 0; right: 0; width: 4px; height: 100%; border-radius: 0 12px 12px 0; }
.flash-success { background: #f0fdf4; border: 1px solid rgba(22, 163, 74, 0.15); color: #15803d; }
.flash-success::before { background: #16a34a; }
.flash-success .flash-icon { color: #16a34a; }
.flash-error { background: #fef2f2; border: 1px solid rgba(220, 53, 69, 0.15); color: #b91c1c; }
.flash-error::before { background: #dc3545; }
.flash-error .flash-icon { color: #dc3545; }
.flash-icon { font-size: 1.2rem; flex-shrink: 0; }
.flash-alert span { flex: 1; font-weight: 500; font-size: 0.92rem; }
.flash-close { background: none; border: none; color: inherit; opacity: 0.4; cursor: pointer; padding: 4px; font-size: 0.9rem; transition: opacity 0.2s; flex-shrink: 0; }
.flash-close:hover { opacity: 0.8; }
@keyframes flashSlideIn { from { opacity: 0; transform: translateY(-12px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* --- Hero --- */
.hero {
    position: relative; min-height: 92vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, #0a1a30 0%, #0f2440 30%, #1a3b5d 60%, #15324f 100%);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 30%, rgba(197,160,89,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 80% 70%, rgba(26,59,93,0.4) 0%, transparent 70%),
        radial-gradient(ellipse 300px 300px at 50% 50%, rgba(197,160,89,0.04) 0%, transparent 70%);
    z-index: 1;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(197,160,89,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197,160,89,0.03) 1px, transparent 1px);
    background-size: 60px 60px; z-index: 1;
    animation: gridPulse 8s ease-in-out infinite;
}
@keyframes gridPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 0.8; } }

.floating-shape { position: absolute; border-radius: 50%; z-index: 1; pointer-events: none; transition: transform 0.3s ease-out; }
.shape-1 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(197,160,89,0.1), transparent 70%); top: 10%; left: -5%; animation: floatShape1 12s ease-in-out infinite; }
.shape-2 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(197,160,89,0.07), transparent 70%); bottom: 15%; right: -3%; animation: floatShape2 10s ease-in-out infinite; }
.shape-3 { width: 120px; height: 120px; border: 1px solid rgba(197,160,89,0.1); top: 20%; right: 15%; animation: floatShape3 14s ease-in-out infinite; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
@keyframes floatShape1 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-20px) scale(1.05); } 66% { transform: translate(-15px,15px) scale(0.95); } }
@keyframes floatShape2 { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-25px,-30px) rotate(15deg); } }
@keyframes floatShape3 { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(20px,25px) rotate(-20deg); } }

.particle { position: absolute; width: 3px; height: 3px; background: rgba(197,160,89,0.4); border-radius: 50%; z-index: 1; pointer-events: none; }

.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(197,160,89,0.12); border: 1px solid rgba(197,160,89,0.25);
    color: #c5a059; padding: 0.4rem 1.2rem; border-radius: 50px;
    font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
}
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 0.75rem; animation: fadeInUp 0.8s ease 0.1s both; }
.hero-title .gold-text {
    background: linear-gradient(135deg, #c5a059, #edc56d, #c5a059);
    background-size: 200% auto; -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
    animation: shimmerText 4s linear infinite;
}
@keyframes shimmerText { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
.hero-slogan { font-size: 1.15rem; color: rgba(255,255,255,0.55); letter-spacing: 4px; font-weight: 300; margin-bottom: 2.5rem; animation: fadeInUp 0.8s ease 0.2s both; }

.search-box {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 6px; display: flex; gap: 0;
    max-width: 650px; margin: 0 auto 2rem; transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.3s both;
}
.search-box:focus-within { border-color: rgba(197,160,89,0.4); background: rgba(255,255,255,0.09); box-shadow: 0 0 40px rgba(197,160,89,0.08); }
.search-box input { flex: 1; background: transparent; border: none; outline: none; color: #fff; padding: 14px 20px; font-size: 1rem; font-family: 'Tajawal', sans-serif; }
.search-box input::placeholder { color: rgba(255,255,255,0.35); }
.search-box button {
    background: linear-gradient(135deg, #c5a059, #b08d4b); color: #fff; border: none;
    padding: 14px 32px; border-radius: 12px; font-family: 'Tajawal', sans-serif;
    font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.3s; white-space: nowrap;
}
.search-box button:hover { background: linear-gradient(135deg, #d4af6a, #c5a059); transform: scale(1.02); }

.feature-tags { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.4s both; }
.feature-tag {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6); padding: 0.35rem 1rem; border-radius: 50px;
    font-size: 0.8rem; transition: all 0.3s;
}
.feature-tag:hover { background: rgba(197,160,89,0.1); border-color: rgba(197,160,89,0.2); color: #c5a059; }
.feature-tag i { font-size: 0.7rem; }

.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; animation: bounceDown 2s infinite; }
.scroll-indicator span { display: block; width: 24px; height: 38px; border: 2px solid rgba(197,160,89,0.3); border-radius: 12px; position: relative; }
.scroll-indicator span::after { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 8px; background: #c5a059; border-radius: 3px; animation: scrollDot 2s infinite; }
@keyframes bounceDown { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes scrollDot { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 22px; } }

/* --- Stats --- */
.stats-section { position: relative; background: #fff; padding: 0; margin-top: -60px; z-index: 10; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,0.08); border-radius: 20px; overflow: hidden; }
.stat-item { padding: 2rem 1.5rem; text-align: center; position: relative; transition: all 0.3s; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; left: 0; top: 20%; height: 60%; width: 1px; background: rgba(0,0,0,0.08); }
.stat-item:hover { background: rgba(197,160,89,0.04); }
.stat-number { font-size: 2.2rem; font-weight: 900; color: #0f2440; line-height: 1; margin-bottom: 0.3rem; }
.stat-label { font-size: 0.82rem; color: #888; font-weight: 500; }

/* --- Services --- */
.services-section { padding: 5rem 0; background: linear-gradient(180deg, #f0f2f5 0%, #e8ecf1 100%); }
.category-header { text-align: center; margin-bottom: 2.5rem; }
.category-title { font-size: 1.8rem; font-weight: 800; color: #0f2440; display: inline-block; position: relative; }
.category-title::after { content: ''; display: block; width: 50px; height: 3px; background: linear-gradient(90deg, #c5a059, #edc56d); margin: 10px auto 0; border-radius: 3px; }

.service-card {
    background: #fff; border-radius: 16px; padding: 2rem 1.5rem; text-align: center;
    height: 100%; position: relative; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.04); cursor: default;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #c5a059, #edc56d, #c5a059);
    background-size: 200% auto; opacity: 0; transition: opacity 0.3s;
}
.service-card:hover::before { opacity: 1; animation: shimmerBar 2s linear infinite; }
@keyframes shimmerBar { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(15,36,64,0.1); border-color: rgba(197,160,89,0.15); }
.service-card .icon-wrap { width: 70px; height: 70px; border-radius: 18px; background: linear-gradient(135deg, rgba(15,36,64,0.06), rgba(197,160,89,0.08)); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; transition: all 0.4s; }
.service-card:hover .icon-wrap { background: linear-gradient(135deg, #0f2440, #1a3b5d); transform: scale(1.08) rotate(-3deg); }
.service-card .icon-wrap i { font-size: 1.7rem; color: #0f2440; transition: color 0.4s; }
.service-card:hover .icon-wrap i { color: #c5a059; }
.service-card .card-title { font-weight: 700; color: #0f2440; font-size: 1.05rem; margin-bottom: 0.5rem; }
.service-card .card-desc { font-size: 0.82rem; color: #999; line-height: 1.6; margin-bottom: 1rem; min-height: 42px; }
.service-card .card-price { font-size: 1.05rem; font-weight: 800; color: #16a34a; margin-bottom: 1rem; }
.service-card .btn-request {
    display: inline-flex; align-items: center; gap: 0.4rem; background: transparent;
    color: #0f2440; border: 1.5px solid rgba(15,36,64,0.15);
    padding: 0.45rem 1.3rem; border-radius: 50px; font-family: 'Tajawal', sans-serif;
    font-weight: 600; font-size: 0.82rem; cursor: pointer; transition: all 0.3s; text-decoration: none;
}
.service-card .btn-request:hover { background: #0f2440; color: #fff; border-color: #0f2440; }

/* --- Trust --- */
.trust-section { padding: 4rem 0; background: #fff; }
.trust-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; border-radius: 12px; transition: all 0.3s; }
.trust-item:hover { background: rgba(197,160,89,0.04); }
.trust-icon { width: 48px; min-width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(15,36,64,0.06), rgba(197,160,89,0.1)); display: flex; align-items: center; justify-content: center; }
.trust-icon i { color: #0f2440; font-size: 1.1rem; }

/* --- Payment --- */
.payment-section { position: relative; padding: 5rem 0; background: linear-gradient(160deg, #0a1a30, #0f2440, #15324f); overflow: hidden; }
.payment-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(ellipse 400px 300px at 80% 30%, rgba(197,160,89,0.06), transparent 70%), radial-gradient(ellipse 300px 300px at 20% 80%, rgba(197,160,89,0.04), transparent 70%); }
.payment-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 2rem 1.5rem; text-align: center; transition: all 0.4s; position: relative; overflow: hidden; }
.payment-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(197,160,89,0.06), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.payment-card:hover::before { opacity: 1; }
.payment-card:hover { transform: translateY(-5px); border-color: rgba(197,160,89,0.2); background: rgba(255,255,255,0.06); }
.payment-icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(197,160,89,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.payment-icon i { font-size: 1.3rem; color: #c5a059; }

/* --- Footer --- */
.site-footer { background: var(--navy-900); padding: 0 0 1.5rem; margin-top: 4rem; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(197,160,89,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(197,160,89,0.015) 1px, transparent 1px); background-size: 50px 50px; pointer-events: none; }
.site-footer::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(197,160,89,0.3), transparent); }

.footer-cta { background: linear-gradient(135deg, rgba(197,160,89,0.08), rgba(197,160,89,0.03)); border: 1px solid rgba(197,160,89,0.1); border-radius: 16px; padding: 2rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; margin-bottom: 1rem; }
.footer-cta-title { color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 0.3rem; }
.footer-cta-desc { color: rgba(255,255,255,0.4); font-size: 0.88rem; margin-bottom: 0; }
.footer-cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-cta-primary { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: var(--navy-800); border: none; padding: 0.6rem 1.5rem; border-radius: 10px; font-family: 'Tajawal', sans-serif; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: all 0.3s; box-shadow: 0 2px 12px rgba(197,160,89,0.15); }
.btn-cta-primary:hover { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--navy-800); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(197,160,89,0.25); }
.btn-cta-secondary { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.1); padding: 0.6rem 1.5rem; border-radius: 10px; font-family: 'Tajawal', sans-serif; font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: all 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-cta-secondary:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }

.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-brand-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; font-size: 0.85rem; }
.footer-brand-text { font-weight: 800; font-size: 1.15rem; color: #fff; }
.footer-brand-highlight { color: var(--gold-500); }
.footer-about { color: rgba(255,255,255,0.3); font-size: 0.85rem; line-height: 1.8; margin-bottom: 1.25rem; max-width: 320px; }

.footer-socials { display: flex; gap: 0.6rem; }
.footer-social-link { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.35); text-decoration: none; font-size: 0.9rem; transition: all 0.3s; }
.footer-social-link:hover { background: rgba(197,160,89,0.12); border-color: rgba(197,160,89,0.25); color: var(--gold-500); transform: translateY(-2px); }

.footer-heading { color: #fff; font-weight: 700; font-size: 0.95rem; margin-bottom: 1.2rem; position: relative; display: inline-block; }
.footer-heading::after { content: ''; display: block; width: 28px; height: 2px; background: var(--gold-500); margin-top: 8px; border-radius: 2px; transition: width 0.3s; }
.site-footer .col-lg-2:hover .footer-heading::after, .site-footer .col-lg-3:hover .footer-heading::after { width: 45px; }

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links li a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 0.85rem; padding: 0.25rem 0; display: inline-block; transition: all 0.3s; position: relative; }
.footer-links li a::before { content: ''; position: absolute; right: 0; top: 50%; width: 0; height: 1px; background: var(--gold-500); transition: width 0.3s; transform: translateY(-50%); }
.footer-links li a:hover { color: var(--gold-500); padding-right: 8px; }
.footer-links li a:hover::before { width: 4px; }

.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact-icon { width: 36px; height: 36px; min-width: 36px; border-radius: 10px; background: rgba(197,160,89,0.06); border: 1px solid rgba(197,160,89,0.08); display: flex; align-items: center; justify-content: center; color: var(--gold-500); font-size: 0.8rem; margin-top: 2px; }
.footer-contact-label { display: block; color: rgba(255,255,255,0.25); font-size: 0.72rem; margin-bottom: 1px; }
.footer-contact-value { color: rgba(255,255,255,0.5); font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: color 0.3s; }
a.footer-contact-value:hover { color: var(--gold-500); }

.footer-payment { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-payment-item { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.4); font-size: 0.83rem; padding: 0.4rem 0.75rem; border-radius: 8px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04); transition: all 0.3s; }
.footer-payment-item:hover { background: rgba(197,160,89,0.05); border-color: rgba(197,160,89,0.1); color: rgba(255,255,255,0.6); }
.footer-payment-icon { width: 28px; height: 28px; min-width: 28px; border-radius: 7px; background: rgba(197,160,89,0.08); display: flex; align-items: center; justify-content: center; color: var(--gold-500); font-size: 0.7rem; }

.footer-admin-link { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.2); text-decoration: none; font-size: 0.8rem; font-weight: 500; padding: 0.5rem 0.9rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s; }
.footer-admin-link i { font-size: 0.7rem; }
.footer-admin-link:hover { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); }

.footer-divider { border: none; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent); margin: 2.5rem 0 1.25rem; }
.footer-bottom { text-align: center; position: relative; z-index: 1; }
.footer-bottom p { color: rgba(255,255,255,0.2); font-size: 0.8rem; margin-bottom: 0; }

/* --- Back to Top --- */
.back-to-top { position: fixed; bottom: 2rem; left: 2rem; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #0f2440, #1a3b5d); color: #c5a059; border: 1px solid rgba(197,160,89,0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transform: translateY(20px); transition: all 0.4s; z-index: 999; font-size: 1rem; }
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: #c5a059; color: #fff; transform: translateY(-3px); }

/* --- Reveal Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-15px); } to { opacity: 1; transform: translateY(0); } }

/* --- Responsive --- */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
    .hero { min-height: 80vh; padding-top: 100px; }
    .search-box { flex-direction: column; padding: 8px; }
    .search-box button { padding: 12px; border-radius: 10px; }
    .feature-tags { gap: 0.5rem; }
    .feature-tag { font-size: 0.72rem; padding: 0.25rem 0.7rem; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item { padding: 1.2rem 0.8rem; }
    .stat-number { font-size: 1.6rem; }
}
@media (max-width: 991.98px) {
    .footer-cta { text-align: center; justify-content: center; padding: 1.5rem; }
    .footer-cta-actions { justify-content: center; }
}
@media (max-width: 575.98px) {
    .footer-cta { padding: 1.25rem; }
    .footer-cta-title { font-size: 1.1rem; }
    .btn-cta-primary, .btn-cta-secondary { width: 100%; text-align: center; justify-content: center; }
    .footer-socials { justify-content: center; }
}
@media (hover: none) and (pointer: coarse) {
    .service-card { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important; }
    .service-card:hover { transform: translateY(-8px) !important; }
    .floating-shape { transition: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
/* ============================================
   لوحة التحكم - Admin Dashboard
   ============================================ */

/* --- رأس الصفحة --- */
.admin-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.admin-page-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy-700);
    margin-bottom: 0.2rem;
}
.admin-page-subtitle {
    color: #999;
    font-size: 0.88rem;
    margin-bottom: 0;
}
.admin-page-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    color: #888;
    font-size: 0.85rem;
    font-weight: 500;
}
.admin-page-date i { color: var(--gold-500); }

/* --- بطاقة إحصائية رئيسية --- */
.admin-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s;
}
.admin-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.admin-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.admin-stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.admin-stat-label {
    color: #999;
    font-size: 0.8rem;
    font-weight: 500;
}
.admin-stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--navy-700);
    line-height: 1.1;
}
.admin-stat-bar {
    height: 4px;
    border-radius: 4px;
    margin-top: 1rem;
    overflow: hidden;
}
.admin-stat-bar div {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

/* --- بطاقة صغيرة --- */
.admin-mini-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s;
}
.admin-mini-card:hover {
    border-color: rgba(197,160,89,0.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.admin-mini-label {
    color: #999;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}
.admin-mini-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--navy-700);
}
.admin-mini-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* --- بطاقة الجدول --- */
.admin-table-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}
.admin-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy-700);
}
.admin-table-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.admin-table-link {
    color: var(--gold-500);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s;
}
.admin-table-link:hover {
    color: var(--gold-600);
    gap: 0.5rem;
}

/* --- الجدول --- */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}
.admin-table thead th {
    background: #f8f9fb;
    color: #888;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-align: right;
    white-space: nowrap;
}
.admin-table tbody td {
    padding: 0.85rem 1.25rem;
    font-size: 0.88rem;
    color: #555;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    vertical-align: middle;
}
.admin-table tbody tr:hover {
    background: rgba(197,160,89,0.02);
}
.admin-table tbody tr:last-child td {
    border-bottom: none;
}

/* --- خلية فارغة --- */
.admin-table-empty {
    text-align: center !important;
    padding: 3rem 1rem !important;
    color: #ccc !important;
}
.admin-table-empty i {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.admin-table-empty span {
    font-size: 0.9rem;
}

/* --- رقم الطلب --- */
.admin-code {
    background: rgba(15,36,64,0.05);
    color: var(--navy-700);
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: monospace;
    direction: ltr;
    display: inline-block;
}

/* --- خلية المستخدم --- */
.admin-user-cell {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.admin-user-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* --- التاريخ --- */
.admin-date-cell {
    color: #999 !important;
    font-size: 0.82rem !important;
    direction: ltr;
    text-align: center;
}

/* --- شارات الحالة --- */
.admin-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}
.admin-badge-pending {
    background: rgba(245,158,11,0.1);
    color: #d97706;
}
.admin-badge-under_review {
    background: rgba(59,130,246,0.1);
    color: #2563eb;
}
.admin-badge-approved,
.admin-badge-completed {
    background: rgba(22,163,74,0.1);
    color: #16a34a;
}
.admin-badge-rejected {
    background: rgba(220,53,69,0.1);
    color: #dc3545;
}
.admin-badge-cancelled {
    background: rgba(156,163,175,0.1);
    color: #6b7280;
}

/* --- زر الإجراء --- */
.admin-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(15,36,64,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-700);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s;
}
.admin-action-btn:hover {
    background: var(--navy-700);
    color: #fff;
    border-color: var(--navy-700);
}

/* --- تجاوب الجدول --- */
@media (max-width: 768px) {
    .admin-page-header { flex-direction: column; align-items: flex-start; }
    .admin-table thead { display: none; }
    .admin-table tbody tr {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .admin-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.4rem 0;
        border-bottom: none;
        font-size: 0.83rem;
    }
    .admin-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #999;
        font-size: 0.75rem;
    }
/* ============================================
   لوحة التحكم - الهيكل والشريط الجانبي
   ============================================ */

body {
    font-family: 'Tajawal', sans-serif;
    background: #f4f6f9;
    margin: 0;
}

/* --- الهيكل --- */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* --- الشريط الجانبي --- */
.admin-sidebar {
    width: 260px;
    min-width: 260px;
    background: linear-gradient(180deg, #0a1a30, #0f2440);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    transition: transform 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.admin-sidebar::-webkit-scrollbar {
    width: 4px;
}
.admin-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

/* شعار الشريط */
.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.admin-sidebar-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
}
.admin-sidebar-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.2;
}
.admin-sidebar-sub {
    color: rgba(255,255,255,0.3);
    font-size: 0.72rem;
    font-weight: 500;
}

/* تسمية قسم */
.admin-sidebar-label {
    color: rgba(255,255,255,0.2);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 1.25rem 1.5rem 0.5rem;
}

/* روابط القائمة */
.admin-sidebar-nav {
    flex: 1;
    padding: 0.5rem 0;
}
.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.5rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
    border-right: 3px solid transparent;
    margin: 0.15rem 0;
}
.admin-sidebar-link:hover {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.04);
}
.admin-sidebar-link.active {
    color: var(--gold-500);
    background: rgba(197,160,89,0.08);
    border-right-color: var(--gold-500);
}
.admin-sidebar-link-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 9px;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s;
}
.admin-sidebar-link:hover .admin-sidebar-link-icon {
    background: rgba(255,255,255,0.07);
}
.admin-sidebar-link.active .admin-sidebar-link-icon {
    background: rgba(197,160,89,0.15);
    color: var(--gold-500);
}

/* أسفل الشريط */
.admin-sidebar-footer {
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.admin-sidebar-logout:hover {
    color: #ff6b7a !important;
}
.admin-sidebar-logout:hover .admin-sidebar-link-icon {
    background: rgba(220,53,69,0.12) !important;
    color: #ff6b7a !important;
}

/* --- زر الموبايل --- */
.admin-mobile-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--navy-700);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 1050;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: all 0.3s;
    align-items: center;
    justify-content: center;
}
.admin-mobile-toggle:hover {
    background: var(--navy-500);
}

/* الغطاء المعتم */
.admin-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1035;
}
.admin-overlay.show {
    display: block;
}

/* --- المحتوى الرئيسي --- */
.admin-main {
    flex: 1;
    margin-right: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- الشريط العلوي --- */
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 1rem 1.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1020;
}
.admin-topbar-hello {
    color: #999;
    font-size: 0.85rem;
}
.admin-topbar-name {
    color: var(--navy-700);
    font-weight: 700;
    font-size: 0.95rem;
    margin-right: 0.3rem;
}
.admin-topbar-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #999;
    font-size: 0.82rem;
    background: #f8f9fb;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
}
.admin-topbar-time i {
    color: var(--gold-500);
    font-size: 0.75rem;
}

/* --- محتوى الصفحة --- */
.admin-content {
    padding: 1.75rem;
    flex: 1;
}

/* --- التجاوب --- */
@media (max-width: 767.98px) {
    .admin-sidebar {
        transform: translateX(100%);
    }
    .admin-sidebar.open {
        transform: translateX(0);
    }
    .admin-mobile-toggle {
        display: flex;
    }
    .admin-main {
        margin-right: 0;
    }
    .admin-topbar {
        padding: 1rem;
        padding-top: 4rem;
    }
    .admin-content {
        padding: 1rem;
    }
/* --- Entity Cards (الجهات الحكومية) --- */
.entity-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.entity-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-3px);
    border-color: rgba(197,160,89,0.15);
}
.entity-card-icon {
    width: 50px; height: 50px; min-width: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(15,36,64,0.06), rgba(197,160,89,0.1));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; color: #0f2440;
    transition: all 0.3s;
}
.entity-card:hover .entity-card-icon {
    background: linear-gradient(135deg, #0f2440, #1a3b5d);
    color: #c5a059;
}
.entity-card-title {
    font-weight: 700; color: #0f2440; margin-bottom: 2px; font-size: 0.95rem;
}
.entity-card-desc {
    color: #999; font-size: 0.78rem;
}

/* --- Buttons --- */
.btn-gold {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: linear-gradient(135deg, #c5a059, #b08d4b);
    color: #fff; border: none;
    padding: 0.65rem 1.6rem; border-radius: 12px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700; font-size: 0.92rem;
    text-decoration: none; cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(197,160,89,0.2);
}
.btn-gold:hover {
    background: linear-gradient(135deg, #d4af6a, #c5a059);
    color: #fff; transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(197,160,89,0.3);
}
.btn-gold-sm {
    display: inline-flex; align-items: center;
    background: linear-gradient(135deg, #c5a059, #b08d4b);
    color: #fff; border: none;
    padding: 0.45rem 1.2rem; border-radius: 10px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 600; font-size: 0.82rem;
    text-decoration: none; transition: all 0.3s;
}
.btn-gold-sm:hover { color: #fff; }

.btn-navy-outline {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: transparent; color: #0f2440;
    border: 1.5px solid rgba(15,36,64,0.15);
    padding: 0.55rem 1.3rem; border-radius: 10px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 600; font-size: 0.85rem;
    text-decoration: none; transition: all 0.3s;
}
.btn-navy-outline:hover {
    background: #0f2440; color: #fff; border-color: #0f2440;
}

/* --- Reconciliation (التصالح) --- */
.reconciliation-visual {
    background: linear-gradient(135deg, #0f2440, #1a3b5d);
    border-radius: 24px; padding: 4rem 3rem;
    display: flex; align-items: center; justify-content: center;
}
.reconciliation-visual i {
    font-size: 5rem; color: #c5a059;
    animation: floatShape1 6s ease-in-out infinite;
}
.reconciliation-list {
    list-style: none; padding: 0; margin: 0 0 1.5rem;
    display: flex; flex-direction: column; gap: 0.75rem;
}
.reconciliation-list li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    font-size: 0.9rem; color: #666; line-height: 1.6;
}
.reconciliation-list li i {
    color: #16a34a; margin-top: 4px; min-width: 16px;
}

/* --- Real Estate Broker (الوسيط العقاري) --- */
.realestate-broker {
    background: linear-gradient(135deg, #0f2440, #1a3b5d);
    border-radius: 20px; padding: 2rem;
    color: #fff; display: flex; flex-direction: column;
    justify-content: center; height: 100%;
}
.realestate-broker > i {
    font-size: 2.5rem; color: #c5a059; margin-bottom: 1rem;
}
.realestate-broker-title {
    font-weight: 800; font-size: 1.15rem; margin-bottom: 0.5rem;
}
.realestate-broker-desc {
    color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.7; margin-bottom: 1rem;
}
.realestate-broker-features {
    list-style: none; padding: 0; margin: 0 0 1.25rem;
    display: flex; flex-direction: column; gap: 0.4rem;
}
.realestate-broker-features li {
    color: rgba(255,255,255,0.6); font-size: 0.8rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.realestate-broker-features li i {
    color: #c5a059; font-size: 0.7rem;
}

/* --- Real Estate Card (بطاقة عقار) --- */
.realestate-card {
    background: #fff; border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 1.5rem; display: flex; flex-direction: column;
    height: 100%; transition: all 0.3s;
}
.realestate-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}
.realestate-card-top {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 0.75rem;
}
.realestate-badge {
    font-size: 0.72rem; font-weight: 700;
    padding: 0.25rem 0.8rem; border-radius: 50px;
}
.realestate-badge-sale {
    background: #0f2440; color: #fff;
}
.realestate-badge-rent {
    background: rgba(59,130,246,0.1); color: #2563eb;
}
.realestate-card-title {
    font-weight: 700; color: #0f2440; font-size: 1rem; margin-bottom: 0.4rem;
}
.realestate-card-desc {
    color: #999; font-size: 0.82rem; line-height: 1.6;
    flex: 1; margin-bottom: 1rem;
}
.realestate-card-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 0.75rem; border-top: 1px solid rgba(0,0,0,0.05);
}
.realestate-price {
    font-weight: 900; color: #16a34a; font-size: 1.05rem;
}

/* --- Responsive additions --- */
@media (max-width: 767.98px) {
    .reconciliation-visual { padding: 3rem 2rem; }
    .reconciliation-visual i { font-size: 3.5rem; }
    .realestate-broker { margin-bottom: 0; }
  }
/* --- Hero Compact (للصفحات الداخلية) --- */
.hero-compact {
    min-height: 45vh;
    padding-top: 100px;
}

/* --- Contact Info Cards --- */
.contact-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s;
}
.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
    border-color: rgba(197,160,89,0.15);
}
.contact-info-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15,36,64,0.06), rgba(197,160,89,0.1));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem; color: #c5a059;
    transition: all 0.3s;
}
.contact-info-card:hover .contact-info-icon {
    background: linear-gradient(135deg, #0f2440, #1a3b5d);
    color: #c5a059;
    transform: scale(1.08);
}

/* --- Contact Form Card --- */
.contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 650px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

/* --- Contact Alerts --- */
.contact-alert {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.9rem 1.2rem; border-radius: 12px;
    margin-bottom: 1.25rem; font-size: 0.9rem; font-weight: 500;
    animation: fadeInUp 0.4s ease;
}
.contact-alert i { font-size: 1.1rem; flex-shrink: 0; }
.contact-alert-success {
    background: #f0fdf4; border: 1px solid rgba(22,163,74,0.15); color: #15803d;
}
.contact-alert-success i { color: #16a34a; }
.contact-alert-error {
    background: #fef2f2; border: 1px solid rgba(220,53,69,0.15); color: #b91c1c;
}
.contact-alert-error i { color: #dc3545; }

/* --- Contact Form Inputs --- */
.contact-label {
    display: block; color: #555; font-size: 0.85rem;
    font-weight: 600; margin-bottom: 0.4rem;
}
.contact-input {
    width: 100%; background: #f8f9fb;
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 12px; padding: 12px 16px;
    color: #333; font-family: 'Tajawal', sans-serif;
    font-size: 0.92rem; outline: none;
    transition: all 0.3s;
}
.contact-input::placeholder { color: #bbb; }
.contact-input:focus {
    border-color: rgba(197,160,89,0.5);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(197,160,89,0.08);
}
.contact-textarea {
    resize: vertical; min-height: 130px; line-height: 1.7;
}

/* --- Responsive --- */
@media (max-width: 767.98px) {
    .hero-compact { min-height: 38vh; padding-top: 90px; }
    .contact-form-card { padding: 1.5rem; }
  }
/* --- Page Dark (صفحات بخلفية داكنة) --- */
.page-dark {
    min-height: 100vh;
    background: linear-gradient(160deg, #0a1a30 0%, #0f2440 40%, #1a3b5d 70%, #15324f 100%);
    position: relative;
    overflow: hidden;
}
.page-dark-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(197,160,89,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197,160,89,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 8s ease-in-out infinite;
    pointer-events: none;
}

/* --- Card inside dark page --- */
.page-dark-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* --- Dark Inputs --- */
.dark-input {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: all 0.3s;
    -webkit-appearance: none;
}
.dark-input::placeholder { color: rgba(255,255,255,0.25); }
.dark-input:focus {
    border-color: rgba(197,160,89,0.45);
    background: rgba(255,255,255,0.09);
    box-shadow: 0 0 0 3px rgba(197,160,89,0.08);
}
.dark-input option {
    background: #0f2440;
    color: #fff;
}
.dark-textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.7;
}

/* --- Dark File Upload --- */
.dark-file-wrapper {
    position: relative;
    border: 2px dashed rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}
.dark-file-wrapper:hover {
    border-color: rgba(197,160,89,0.3);
    background: rgba(197,160,89,0.03);
}
.dark-file-wrapper:hover .dark-file-label {
    color: rgba(255,255,255,0.6);
}
.dark-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.dark-file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
    transition: color 0.3s;
    pointer-events: none;
}
.dark-file-label i {
    font-size: 1.5rem;
    color: rgba(197,160,89,0.5);
}

/* --- Label override for dark pages --- */
.page-dark .contact-label {
    color: rgba(255,255,255,0.55);
}

/* --- Responsive --- */
@media (max-width: 575.98px) {
    .page-dark-card { padding: 1.5rem; }
  }
/* --- Listing Detail --- */
.listing-detail-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.listing-detail-img {
    width: 100%;
    max-height: 380px;
    overflow: hidden;
}
.listing-detail-img img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
}
.listing-detail-placeholder {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15,36,64,0.06), rgba(197,160,89,0.08));
}
.listing-detail-placeholder i {
    font-size: 3.5rem;
    color: rgba(15,36,64,0.15);
}
.listing-detail-body {
    padding: 2rem;
}
.listing-detail-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: #16a34a;
    margin-bottom: 1.25rem;
    line-height: 1;
}
.listing-detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.listing-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #c5a059;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.3s;
}
.listing-back-link:hover {
    color: #b08d4b;
    gap: 0.6rem;
}
.listing-back-link i {
    font-size: 0.7rem;
}

@media (max-width: 575.98px) {
    .listing-detail-body { padding: 1.25rem; }
    .listing-detail-footer { flex-direction: column; align-items: flex-start; }
    .listing-detail-price { font-size: 1.35rem; }
  }
/* --- Track Result Card --- */
.track-result-card {
    background: #fff; border-radius: 20px;
    padding: 2rem; border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

/* --- Track Status Badge --- */
.track-status-badge {
    display: inline-block; padding: 0.35rem 1rem;
    border-radius: 50px; font-size: 0.82rem; font-weight: 700;
}
.track-status-pending { background: rgba(245,158,11,0.1); color: #d97706; }
.track-status-under_review { background: rgba(59,130,246,0.1); color: #2563eb; }
.track-status-approved, .track-status-completed, .track-status-paid { background: rgba(22,163,74,0.1); color: #16a34a; }
.track-status-rejected, .track-status-cancelled, .track-status-failed { background: rgba(220,53,69,0.1); color: #dc3545; }

/* --- Track Detail --- */
.track-detail {
    background: #f8f9fb; border-radius: 12px; padding: 0.85rem 1rem;
}
.track-detail-label {
    display: block; color: #999; font-size: 0.72rem;
    font-weight: 600; margin-bottom: 0.2rem; text-transform: uppercase;
    letter-spacing: 0.5px;
}
.track-detail-value {
    color: #0f2440; font-size: 0.92rem; font-weight: 600;
}

/* --- Track Note --- */
.track-note {
    background: #fdf8ee; border: 1px solid #f3d99e;
    border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.25rem;
}
.track-note-header {
    font-size: 0.85rem; font-weight: 700; color: #7c5c30;
    margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.4rem;
}
.track-note-text {
    color: #96743d; font-size: 0.88rem; line-height: 1.7; margin: 0;
}

/* --- Track Timeline --- */
.track-timeline {
    display: flex; align-items: center; justify-content: center;
    gap: 0; padding: 1.5rem 0; position: relative;
}
.track-step {
    display: flex; flex-direction: column; align-items: center;
    gap: 0.5rem; flex: 1; position: relative; z-index: 1;
}
.track-step:not(:last-child)::after {
    content: ''; position: absolute; top: 10px;
    right: 50%; width: 100%; height: 2px;
    background: #e5e7eb; z-index: -1;
}
.track-step:not(:last-child).done::after { background: #16a34a; }
.track-step:not(:last-child).failed::after { background: #dc3545; }

.track-step-dot {
    width: 22px; height: 22px; border-radius: 50%;
    background: #e5e7eb; border: 3px solid #fff;
    box-shadow: 0 0 0 1px #e5e7eb;
    transition: all 0.3s; position: relative; z-index: 1;
}
.track-step.done .track-step-dot {
    background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,0.15);
}
.track-step.failed .track-step-dot {
    background: #dc3545; box-shadow: 0 0 0 4px rgba(220,53,69,0.15);
}
.track-step.active .track-step-dot {
    background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,0.2);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(245,158,11,0.2); }
    50% { box-shadow: 0 0 0 8px rgba(245,158,11,0.1); }
}

.track-step span {
    font-size: 0.72rem; font-weight: 600; color: #bbb;
    white-space: nowrap;
}
.track-step.done span { color: #16a34a; }
.track-step.failed span { color: #dc3545; }
.track-step.active span { color: #d97706; }

/* --- Responsive --- */
@media (max-width: 575.98px) {
    .track-result-card { padding: 1.25rem; }
    .track-timeline { gap: 0.25rem; }
    .track-step span { font-size: 0.6rem; }
    .track-step-dot { width: 18px; height: 18px; }
  }
}