/* 
   بشائر الخير لنقل العفش - الهوية البصرية والتصميم العام
   Brand Identity & Premium CSS Stylesheet (RTL)
*/

/* استيراد الخطوط من Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Tajawal:wght@400;500;700;900&display=swap');

/* المتغيرات الأساسية للموقع */
:root {
    --primary-color: #0B1F3A;         /* أزرق داكن للثقة والاحتراف */
    --secondary-color: #102E55;       /* أزرق ثانوي للتدرجات والعمق */
    --accent-color: #D9A441;          /* ذهبي هادئ للمعونة وبشائر الخير */
    --accent-hover: #C28F32;          /* ذهبي داكن عند التمرير */
    --white-color: #FFFFFF;           /* أبيض للنظافة والوضوح */
    --bg-gray: #F5F7FA;               /* رمادي فاتح جداً للخلفيات */
    --text-gray: #52606D;             /* رمادي نصوص مريح للعين */
    --text-dark: #1F2937;             /* أسود خفيف للعناوين الرئيسية */
    --whatsapp-green: #25D366;        /* لون أخضر للواتساب */
    --whatsapp-hover: #1ebd50;
    --warning-bg: #FFF3D6;            /* لون تمييز خفيف أو تنبيه */
    --border-color: #E2E8F0;          /* لون الحدود الافتراضي */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.08);
    --shadow-lg: 0 16px 48px rgba(11, 31, 58, 0.15);
    --font-headings: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 75px;
}

/* تصفير الإعدادات الأساسية */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
    text-align: right;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background-color: var(--white-color);
    color: var(--text-gray);
    line-height: 1.8;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

section,
header,
footer,
main {
    max-width: 100%;
}

img,
picture,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

/* العناوين والروابط */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.4;
}

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

ul {
    list-style: none;
}

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

/* الأزرار العامة */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 164, 65, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white-color);
    color: var(--white-color);
}

.btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--white-color);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

/* الشريط العلوي */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-family: var(--font-headings);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-info {
    display: flex;
    gap: 20px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info span svg {
    width: 14px;
    height: 14px;
    fill: var(--accent-color);
}

.top-bar-cta {
    display: flex;
    gap: 15px;
}

.top-bar-cta a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.top-bar-cta a:hover {
    color: var(--accent-color);
}

.top-bar-cta svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* الهيدر الرئيسي */
.header {
    height: var(--header-height);
    background-color: transparent;
    position: fixed;
    top: 40px; /* بعد التوب بار */
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled {
    top: 0;
    background-color: var(--white-color);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* اللوجو */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background-color: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(217, 164, 65, 0.2);
    position: relative;
    overflow: hidden;
}

.logo-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--primary-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white-color);
    line-height: 1.2;
}

.header.scrolled .logo-title {
    color: var(--primary-color);
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* القائمة للديسكتوب */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0;
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--text-gray);
}

.header.scrolled .nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--white-color);
}

/* أزرار الهيدر */
.header-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-ctas .btn {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* زر همبرجر للموبايل */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 20px;
    justify-content: space-between;
    z-index: 1001;
}

.burger span {
    width: 100%;
    height: 3px;
    background-color: var(--white-color);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.header.scrolled .burger span {
    background-color: var(--primary-color);
}

.burger.open span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* المنيو الجانبية للموبايل */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 31, 58, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 300px);
    max-width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 999;
    padding: 100px 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white-color);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav-link:hover {
    color: var(--accent-color);
    padding-right: 8px;
}

.mobile-nav-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-ctas .btn {
    width: 100%;
    justify-content: center;
}

/* قسم الهيرو Hero Section */
.hero {
    min-height: 100vh;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #0B1F3A 0%, #102E55 55%, #184277 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* أشكال زخرفية خلفية في الهيرو */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 164, 65, 0.1) 0%, rgba(217,164,65,0) 70%);
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
}

.hero-grid {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--white-color);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(217, 164, 65, 0.15);
    border: 1px solid rgba(217, 164, 65, 0.3);
    color: var(--accent-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white-color);
    line-height: 1.3;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    max-width: 580px;
    animation: fadeInUp 1.2s ease;
}

/* نقاط الثقة في الهيرو */
.hero-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
    animation: fadeInUp 1.4s ease;
}

.hero-bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-bullet svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-color);
    flex-shrink: 0;
}

.hero-ctas {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease;
}

/* العنصر البصري الفخم في الهيرو */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* شريط التوثيق / شريط المدن أسفل الهيرو */
.trust-bar {
    background-color: var(--primary-color);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.trust-bar-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white-color);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
}

.trust-item svg {
    width: 22px;
    height: 22px;
    fill: var(--accent-color);
}

/* أقسام الصفحة العامة */
.section {
    padding: 100px 0;
    position: relative;
}

.section-bg {
    background-color: var(--bg-gray);
}

.container,
.wrapper,
.page-container,
.content-wrapper {
    width: min(100% - 32px, 1200px);
    max-width: 1200px;
    margin-inline: auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background-color: rgba(11, 31, 58, 0.05);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

/* قسم العدادات Counters */
.counters-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0B1F3A 0%, #102E55 100%);
    color: var(--white-color);
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.counter-card {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.counter-card:hover {
    transform: translateY(-5px);
    border-color: rgba(217, 164, 65, 0.3);
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: var(--font-headings);
    margin-bottom: 5px;
    direction: ltr;
    display: inline-block;
}

.counter-title {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.counter-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* قسم لماذا بشائر الخير */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.why-card {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.why-card:hover::before {
    height: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(11, 31, 58, 0.1);
}

.why-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(11, 31, 58, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon {
    background-color: var(--primary-color);
}

.why-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-color);
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon svg {
    fill: var(--accent-color);
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* قسم الخدمات الرئيسية */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(11, 31, 58, 0.1);
}

.service-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #0B1F3A 0%, #184277 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    overflow: hidden;
}

.service-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 31, 58, 0.2);
}

.service-img-placeholder svg {
    width: 70px;
    height: 70px;
    fill: rgba(255, 255, 255, 0.2);
    position: absolute;
    bottom: -10px;
    left: -10px;
    transform: rotate(-15deg);
}

.service-img-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.service-img-placeholder span {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.3rem;
    z-index: 2;
    position: relative;
    padding: 0 20px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.service-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-body h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.service-body p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-links {
    display: flex;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.service-links .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 10px 12px;
}

/* قسم المدن التي نخدمها */
.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.location-card {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    gap: 20px;
    transition: var(--transition-smooth);
}

.location-card:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(217, 164, 65, 0.3);
}

.location-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(217, 164, 65, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-color);
}

.location-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.location-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.location-links {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    font-family: var(--font-headings);
    font-weight: 700;
}

.location-links a {
    color: var(--primary-color);
}

.location-links a:hover {
    color: var(--accent-color);
}

/* خريطة مجردة */
.locations-visual {
    background: linear-gradient(135deg, #0B1F3A 0%, #102E55 100%);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white-color);
    overflow: hidden;
}

.map-abstract {
    position: relative;
    width: 100%;
    height: 300px;
}

.map-node {
    position: absolute;
    background-color: var(--accent-color);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(217, 164, 65, 0.2);
    cursor: pointer;
    z-index: 3;
}

.map-node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--accent-color);
    animation: pulse 2s infinite;
}

.map-node-1 { top: 40%; right: 40%; } /* المدينة المنورة */
.map-node-2 { top: 35%; right: 60%; } /* القصيم */
.map-node-3 { top: 20%; right: 25%; } /* تبوك */

.map-line {
    position: absolute;
    background-color: rgba(255,255,255,0.08);
    height: 2px;
    transform-origin: top right;
    z-index: 1;
}

.map-line-1 {
    top: 42%;
    right: 42%;
    width: 90px;
    transform: rotate(15deg);
}

.map-line-2 {
    top: 22%;
    right: 27%;
    width: 140px;
    transform: rotate(50deg);
}

.map-label {
    position: absolute;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: var(--font-headings);
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-35px) translateX(-50%);
    white-space: nowrap;
    z-index: 4;
}

.map-node-1 .map-label { right: -30px; }
.map-node-2 .map-label { right: -25px; }
.map-node-3 .map-label { right: -15px; }

.map-title {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* قسم خطوات نقل العفش - Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 40px;
    width: 4px;
    background-color: rgba(11, 31, 58, 0.1);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-right: 80px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    top: 0;
    right: 20px;
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 0 0 6px var(--white-color);
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-badge {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.timeline-content {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(11, 31, 58, 0.1);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* قسم ضمان العناية بالعفش */
.guarantee-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.guarantee-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.guarantee-content p {
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.guarantee-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.guarantee-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

.guarantee-list-item svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
}

.guarantee-ctas {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.guarantee-visual {
    background: linear-gradient(135deg, #F5F7FA 0%, #E2E8F0 100%);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.guarantee-illustration {
    width: 100%;
    max-width: 400px;
}

/* قسم Before / After */
.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 450px;
    margin: 40px auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    user-select: none;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slider-before {
    z-index: 1;
}

.slider-after {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider-label {
    position: absolute;
    bottom: 20px;
    background-color: rgba(11, 31, 58, 0.85);
    color: var(--white-color);
    padding: 6px 16px;
    border-radius: 4px;
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 5;
}

.slider-label-before {
    right: 20px;
}

.slider-label-after {
    left: 20px;
}

/* مقبض الانزلاق */
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--accent-color);
    z-index: 10;
    transform: translateX(-50%);
    pointer-events: none;
}

.slider-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.slider-handle-button svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}

/* شريط التمرير الخفي لتشغيل السلايدر باللمس */
.slider-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 20;
}

/* قسم أسئلة شائعة FAQ */
.faq-accordion {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover,
.faq-item.active {
    box-shadow: var(--shadow-sm);
    border-color: rgba(11, 31, 58, 0.1);
}

.faq-question {
    width: 100%;
    padding: 22px 30px;
    background: none;
    border: none;
    text-align: right;
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.faq-question-icon {
    width: 26px;
    height: 26px;
    background-color: rgba(11, 31, 58, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-question-icon {
    background-color: var(--accent-color);
    transform: rotate(180deg);
}

.faq-question-icon svg {
    width: 14px;
    height: 14px;
    fill: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 30px 25px;
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer-inner {
    border-top-color: var(--border-color);
}

/* قسم CTA نهائي مع فورم واتس اب */
.final-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0B1F3A 0%, #102E55 100%);
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.final-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.final-cta-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white-color);
    margin-bottom: 20px;
}

.final-cta-info p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
}

.final-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* فورم الواتساب الذكي */
.whatsapp-form {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.whatsapp-form-title {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.whatsapp-form-subtitle {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    background-color: var(--bg-gray);
}

.form-control:focus {
    border-color: var(--accent-color);
    background-color: var(--white-color);
    box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.15);
}

textarea.form-control {
    resize: none;
    height: 100px;
}

.whatsapp-form button {
    width: 100%;
    margin-top: 10px;
}

/* الفوتر Footer */
.footer {
    background-color: #061224;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 120px; /* مسافة إضافية من الأسفل من أجل شريط الموبايل السفلي */
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo-title {
    color: var(--white-color);
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 20px;
    line-height: 1.7;
    max-width: 320px;
}

.footer-title {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(-4px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-color);
    flex-shrink: 0;
}

.footer-contact-item a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
}

/* الأزرار الثابتة Sticky Widgets */

/* للديسكتوب */
.desktop-sticky-ctas {
    position: fixed;
    bottom: 40px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 990;
}

.sticky-circle-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: var(--white-color);
    transition: var(--transition-smooth);
    position: relative;
}

.sticky-circle-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.sticky-circle-whatsapp {
    background-color: var(--whatsapp-green);
    animation: pulse 2s infinite;
}

.sticky-circle-call {
    background-color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.sticky-circle-btn svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

/* للموبايل: شريط سفلي ثابت */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white-color);
    box-shadow: 0 -4px 20px rgba(11, 31, 58, 0.1);
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 15px;
    z-index: 990;
}

.mobile-sticky-bar .btn {
    font-size: 0.9rem;
    padding: 12px 10px;
}

/* تأثيرات الانتقال والتمرير Intersection Observer */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* الأنيميشن */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* التوافق مع تفضيلات تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-delay: 0s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .hero-visual {
        animation: none !important;
    }
    .sticky-circle-whatsapp {
        animation: none !important;
    }
}

/* القائمة المنسدلة للمدن في الهيدر */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white-color);
    min-width: 180px;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    z-index: 1002;
    top: 100%;
    right: 0;
    padding: 8px 0;
}

.nav-dropdown-content a {
    color: var(--text-gray) !important;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-family: var(--font-headings);
    font-weight: 600;
    transition: var(--transition-smooth);
    text-align: right;
}

.nav-dropdown-content a:hover {
    background-color: var(--bg-gray);
    color: var(--primary-color) !important;
    padding-right: 20px;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

/* الشاشات والاستجابة (Media Queries) */

/* الأجهزة المتوسطة (التابلت 1024px فما دون) */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    .nav-menu {
        display: none; /* إخفاء المنيو العادية واستخدام همبرجر */
    }
    .header-ctas {
        display: none;
    }
    .burger {
        display: flex;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-bullets {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-visual {
        order: -1; /* رفع العنصر البصري للأعلى في الموبايل */
        max-width: 380px;
        margin: 0 auto;
    }
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .locations-visual {
        order: -1;
    }
    .guarantee-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .guarantee-visual {
        max-width: 450px;
        margin: 0 auto;
    }
    .final-cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* الهواتف النقالة (768px فما دون) */
@media (max-width: 768px) {
    .container,
    .wrapper,
    .page-container,
    .content-wrapper {
        width: min(100% - 24px, 100%);
        max-width: 100%;
        padding-inline: 0;
    }
    .hero-shapes {
        display: none;
    }
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }
    main {
        padding-bottom: 90px;
    }
    .top-bar-info {
        display: none; /* شريط مبسط جداً في التوب بار للموبايل */
    }
    .top-bar-container {
        justify-content: center;
    }
    .top-bar {
        text-align: center;
    }
    .top-bar::after {
        content: "نخدم المدينة، القصيم، تبوك — اتصل / واتساب";
        font-weight: 700;
    }
    .top-bar-cta {
        display: none;
    }
    .header {
        top: 36px;
    }
    .section {
        padding: 60px 0;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .slider-wrapper {
        height: 280px;
    }
    .timeline::before {
        right: 20px;
    }
    .timeline-item {
        padding-right: 50px;
    }
    .timeline-badge {
        right: 0px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .guarantee-list {
        grid-template-columns: 1fr;
    }
    .desktop-sticky-ctas {
        display: none; /* إخفاء أزرار الديسكتوب العائمة */
    }
    .mobile-sticky-bar {
        display: grid; /* تفعيل شريط الموبايل السفلي الثابت */
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* شاشات الموبايل الصغيرة جداً (360px وأقل) */
@media (max-width: 360px) {
    .logo-title {
        font-size: 1.2rem;
    }
    .logo-icon {
        width: 38px;
        height: 38px;
    }
    .logo-icon svg {
        width: 22px;
        height: 22px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero-bullets {
        grid-template-columns: 1fr;
    }
    .slider-wrapper {
        height: 220px;
    }
}

/* ========================================================
   تنسيقات إضافية لصفحات الثقة والتحويل (البرومت الرابع)
   ======================================================== */

/* 1. القائمة المطوية للموبايل (Mobile Nav Accordions) */
.mobile-nav-details {
    width: 100%;
    margin-bottom: 10px;
}

.mobile-nav-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 1.1rem;
    font-family: var(--font-headings);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-summary::-webkit-details-marker {
    display: none;
}

.mobile-nav-summary::after {
    content: '▾';
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.mobile-nav-details[open] .mobile-nav-summary::after {
    transform: rotate(180deg);
}

.mobile-nav-sublist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-top: 5px;
}

.mobile-nav-sublist a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    display: block;
    transition: var(--transition-smooth);
}

.mobile-nav-sublist a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}

/* 2. معرض الأعمال (Gallery & Lightbox) */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.gallery-filter-btn {
    background-color: var(--bg-gray);
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    font-family: var(--font-headings);
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.gallery-item {
    background-color: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    cursor: pointer;
}

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

.gallery-img-container {
    position: relative;
    padding-top: 66.67%; /* 3:2 Aspect Ratio */
    background-color: var(--bg-gray);
    overflow: hidden;
}

.gallery-img-container svg,
.gallery-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover .gallery-img-container img,
.gallery-item:hover .gallery-img-container svg {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 15px 20px;
}

.gallery-caption h3 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.gallery-caption span {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: block;
}

/* Lightbox Simple */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 31, 58, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}

.lightbox-content img,
.lightbox-content svg {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    left: 0;
    color: var(--white-color);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-caption {
    color: var(--white-color);
    text-align: center;
    margin-top: 15px;
    font-family: var(--font-headings);
    font-weight: 700;
}

/* 3. صفحات قبل وبعد (Before & After Grid) */
.before-after-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 60px;
}

.before-after-card {
    background-color: var(--white-color);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
    align-items: center;
}

@media (max-width: 768px) {
    .before-after-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

.before-after-visuals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.before-after-box {
    text-align: center;
}

.before-after-title {
    font-family: var(--font-headings);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 6px 0;
    border-radius: 4px;
    margin-bottom: 10px;
}

.title-before {
    background-color: var(--warning-bg);
    color: var(--accent-hover);
}

.title-after {
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-hover);
}

.before-after-img {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--bg-gray);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.before-after-info h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
    display: inline-block;
}

.before-after-info p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.before-after-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.before-after-list li {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================================================
   أقسام مخصصة وتحسينات الصفحة الرئيسية (Homepage Premium Revamp)
   ========================================================= */

/* شريط التوثيق / التيكر الدوار (Auto-Scrolling Ticker) */
.marquee-ticker {
    overflow: hidden;
    white-space: nowrap;
    background-color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding: 15px 0;
    position: relative;
    z-index: 10;
}

.marquee-content {
    display: inline-flex;
    gap: 40px;
    animation: marquee-scroll 25s linear infinite;
    align-items: center;
}

.marquee-item {
    color: var(--white-color);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.marquee-item svg {
    width: 16px;
    height: 16px;
    fill: var(--accent-color);
}

@keyframes marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* بطاقات زجاجية محسنة (Glassmorphism Cards) */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(11, 31, 58, 0.04);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 16px 48px rgba(11, 31, 58, 0.1), 0 0 15px rgba(217, 164, 65, 0.2);
}

/* أيقونة تتحرك عند التمرير بالماوس */
.glass-card:hover svg {
    transform: scale(1.1) rotate(5deg);
    fill: var(--accent-color);
}

/* مقارنة قبل وبعد التفاعلية (Interactive Before/After Slider) */
.slider-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    aspect-ratio: 16/10;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-color);
}

.slider-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    user-select: none;
}

.slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-after-container {
    width: 100%;
    z-index: 2;
    overflow: hidden;
}

.slider-after-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-label {
    position: absolute;
    top: 15px;
    padding: 6px 16px;
    border-radius: 4px;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white-color);
    z-index: 10;
    pointer-events: none;
}

.label-before {
    right: 15px;
    background-color: rgba(217, 56, 30, 0.85);
}

.label-after {
    left: 15px;
    background-color: rgba(37, 211, 102, 0.85);
}

.slider-handle-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(217, 164, 65, 0.8);
    z-index: 5;
    pointer-events: none;
    transform: translateX(-50%);
}

.slider-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    z-index: 6;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.slider-handle-button::before,
.slider-handle-button::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
}

.slider-handle-button::before {
    border-width: 6px 8px 6px 0;
    border-color: transparent var(--accent-color) transparent transparent;
    margin-left: -2px;
}

.slider-handle-button::after {
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent var(--accent-color);
    margin-right: -2px;
}

.slider-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 20;
}

/* خريطة تفاعلية abstract للسعودية (Interactive Cities Visual) */
.map-visual-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 380px;
    margin: 0 auto;
    background: radial-gradient(circle, rgba(16, 46, 85, 0.4) 0%, rgba(11, 31, 58, 0) 70%);
    border-radius: 50%;
}

.map-svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 1.5;
}

.map-pin {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.map-pin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: pin-pulse 2s infinite;
}

.map-pin-label {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--accent-color);
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    opacity: 0.9;
}

@keyframes pin-pulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* أنيميشن الدخول والتأثيرات الخفيفة */
.shine-gold {
    position: relative;
    overflow: hidden;
}

.shine-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: gold-shine 6s ease-in-out infinite;
}

@keyframes gold-shine {
    0% { left: -150%; }
    15% { left: 150%; }
    100% { left: 150%; }
}

.fade-in-up-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.floating-box {
    animation: floating-anim 4s ease-in-out infinite;
}

@keyframes floating-anim {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* تحسينات متجاوبة إضافية */
@media (max-width: 480px) {
    .slider-container {
        aspect-ratio: 4/3;
    }
    .slider-after-container img {
        width: 100%;
    }
}


