/* ============================================================
   1. متغيرات CSS - Dark Theme
   ============================================================ */
:root {
    /* ألوان اللوجو الأساسية */
    --primary-color: #0047ff;
    --secondary-color: #00d4ff;
    --accent-cyan: #05ddff;
    --accent-blue: #043ff5;

    /* خلفيات داكنة */
    --bg-base: #070d1a;
    --bg-surface: #0d1526;
    --bg-card: #111e35;
    --bg-card-hover: #162540;
    --bg-input: #0f1a2e;
    --navbar-bg: rgba(7, 13, 26, 0.92);

    /* نصوص */
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-subtle: rgba(255, 255, 255, 0.35);

    /* حدود */
    --border-color: rgba(0, 212, 255, 0.12);
    --border-hover: rgba(0, 212, 255, 0.4);

    /* تدرجات */
    --gradient-primary: linear-gradient(135deg, #043ff5 0%, #05ddff 100%);
    --gradient-dark: linear-gradient(135deg, #070d1a 0%, #0d1526 100%);
    --gradient-card: linear-gradient(145deg, #0d1526 0%, #111e35 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(4, 63, 245, 0.15) 0%, transparent 70%);
    --gradient-cyan-glow: radial-gradient(ellipse at center, rgba(5, 221, 255, 0.12) 0%, transparent 70%);

    /* ظلال */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(4, 63, 245, 0.3);
    --shadow-cyan: 0 0 30px rgba(5, 221, 255, 0.2);

    /* انتقالات */
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;

    /* فسافة */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* الفوتر */
    --footer-bg: #020817;
    --footer-text: rgba(255, 255, 255, 0.65);
    --footer-heading: #ffffff;
    --accent-color: #05ddff;
    --accent-hover: #043ff5;
}

/* ============================================================
   2. الأنماط الأساسية
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-white);
    background-color: var(--bg-base);
    line-height: 1.6;
    overflow-x: hidden;
}

/* خط تمييز للتحديد */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-surface);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

/* العناوين */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--accent-cyan);
}

/* ============================================================
   3. الناف بار
   ============================================================ */
.navbar {
    background: var(--navbar-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-md) 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.navbar-brand {
    color: var(--text-white) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    margin: 0 10px;
    transition: 0.3s;
    padding: 8px 4px !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan) !important;
}

/* خط تحت اللينك */
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.35s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Shimmer effect على hover */
.nav-link:hover {
    text-shadow: 0 0 12px rgba(5, 221, 255, 0.5);
}

/* Navbar toggler */
.navbar-toggler {
    border-color: var(--border-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Logo */
.logo-img {
    height: 55px;
    margin-left: 10px;
    transition: 0.3s;
    filter: drop-shadow(0 0 8px rgba(5, 221, 255, 0.3));
}

.logo-text {
    font-weight: 800;
    font-size: 1.6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 14px rgba(5, 221, 255, 0.6));
}

/* ============================================================
   4. Preloader
   ============================================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-base);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient-glow);
    border-radius: 50%;
    animation: glowPulse 2s infinite;
}

.loader-logo {
    width: 110px;
    position: relative;
    z-index: 2;
    animation: pulse 1.5s infinite ease-in-out;
    filter: drop-shadow(0 0 20px rgba(5, 221, 255, 0.5));
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 24px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    animation: loadingBar 1.5s ease-in-out infinite;
    border-radius: 3px;
}

@keyframes loadingBar {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.9);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.85);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.85);
        opacity: 0.6;
    }
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

/* ============================================================
   5. Hero Section
   ============================================================ */
.hero-section {
    background: url('../images/19.png') center/cover no-repeat;
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* طبقة داكنة كحلية */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 8, 22, 0.93) 0%, rgba(7, 13, 26, 0.88) 100%);
    z-index: 1;
}

/* جسيمات خلفية */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(4, 63, 245, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 30%, rgba(5, 221, 255, 0.08) 0%, transparent 60%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* أنيميشن دخول النصوص */
.hero-content [data-aos="fade-left"] {
    animation: heroFadeLeft 0.9s ease both;
}

.hero-content [data-aos="fade-right"] {
    animation: heroFadeRight 0.9s ease 0.3s both;
}

@keyframes heroFadeLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroFadeRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 0 40px rgba(5, 221, 255, 0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 40px;
    max-width: 90%;
    line-height: 1.7;
}

.slogan-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(5, 221, 255, 0.08);
    border: 1.5px solid rgba(5, 221, 255, 0.4);
    border-radius: 50px;
    color: var(--accent-cyan);
    font-weight: 800;
    margin-bottom: 28px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(5, 221, 255, 0);
    }

    50% {
        box-shadow: 0 0 20px rgba(5, 221, 255, 0.2);
    }
}

/* فيديو الهيرو */
.hero-video-wrapper {
    position: relative;
    padding: 15px;
}

.video-frame {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(4, 63, 245, 0.3);
    border: 1px solid rgba(5, 221, 255, 0.2);
}

.video-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.4;
}

.video-frame video {
    width: 100%;
    display: block;
    border-radius: 18px;
}

/* ============================================================
   6. الأزرار
   ============================================================ */
.btn {
    border-radius: 10px;
    font-weight: 700;
    padding: 0.65rem 1.6rem;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    font-family: 'Cairo', sans-serif;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    box-shadow: 0 6px 20px rgba(4, 63, 245, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(4, 63, 245, 0.5), 0 0 20px rgba(5, 221, 255, 0.2);
    color: #fff;
}

.btn-outline-primary {
    color: var(--accent-cyan);
    border-color: rgba(5, 221, 255, 0.4);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(4, 63, 245, 0.4);
}

.btn-light {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.05rem;
    border-radius: 14px;
}

/* ============================================================
   7. ZATCA Section
   ============================================================ */
.zatca-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-surface);
    padding: 80px 0;
}

.zatca-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.zatca-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 36px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.zatca-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.zatca-card h4 {
    color: var(--text-white);
}

.zatca-card p {
    color: var(--text-muted);
}

.bg-success-soft {
    background: rgba(16, 185, 129, 0.15) !important;
}

.text-success {
    color: #34d399 !important;
}

.zatca-card .border-top {
    border-top-color: var(--border-color) !important;
}

.zatca-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--gradient-cyan-glow);
    z-index: 1;
    pointer-events: none;
}

.zatca-features-list h5 {
    color: var(--text-white);
    font-size: 1rem;
}

.zatca-card {
    height: 300px;
    /* تقدر تزودها لو عايز */
}

.zatca-full-img {
    width: 70%;
    height: 70%;
    object-fit: cover;

}

/* ============================================================
   8. Carousel Section
   ============================================================ */
.large-carousel-section {
    padding: 70px 0;
    background: var(--bg-base);
}

.large-carousel-section h2 {
    color: var(--text-white);
}

.large-carousel-section .text-muted {
    color: var(--text-muted) !important;
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border-color);
    background: var(--bg-card);
}

.carousel-pro .carousel-item {
    height: 500px;
    background: var(--bg-card);
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

.carousel-pro .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 1.5s ease;
}

.carousel-pro .carousel-item.active img {
    transform: scale(1.02);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(4, 63, 245, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 15px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(5, 221, 255, 0.3);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-color);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(5, 221, 255, 0.3);
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    transition: all 0.3s;
}

.carousel-indicators .active {
    width: 28px;
    border-radius: 10px;
    background: var(--gradient-primary);
}

/* ============================================================
   9. About Section
   ============================================================ */
.about-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-surface);
    position: relative;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.2;
}

.about-section h2 {
    color: var(--text-white);
}

.about-section .text-muted {
    color: var(--text-muted) !important;
}

/* بطاقات الفيتشرز */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    transform: translateY(-8px);
    background: var(--bg-card-hover);
}

.feature-card h5 {
    color: var(--text-white);
    font-size: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    margin: 0 auto;
    transition: transform var(--transition-base);
    box-shadow: 0 8px 20px rgba(4, 63, 245, 0.4);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 30px rgba(5, 221, 255, 0.4);
}

/* الإحصائيات */
.stat-box {
    padding: var(--spacing-lg);
}

.stat-box h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 900;
}

.stat-box p {
    color: var(--text-muted);
}

/* ============================================================
   10. Pricing Section
   ============================================================ */
.pricing-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-base);
}

.pricing-section h2 {
    color: var(--text-white);
}

.pricing-section .text-muted {
    color: var(--text-muted) !important;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    transform: translateY(-8px);
}

.pricing-card-featured {
    border-color: rgba(4, 63, 245, 0.5);
    box-shadow: 0 0 40px rgba(4, 63, 245, 0.2), var(--shadow-lg);
    transform: scale(1.04);
    background: linear-gradient(145deg, #0d1526, #13203a);
}

.pricing-card-featured:hover {
    transform: scale(1.04) translateY(-8px);
}

.pricing-card h5 {
    color: var(--text-white);
}

.price-tag {
    font-size: 2.6rem;
    font-weight: 900;
    margin: var(--spacing-lg) 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-tag .currency {
    font-size: 1rem;
    margin-left: var(--spacing-sm);
}

.price-tag .period {
    font-size: 1rem;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
}

.feature-list {
    list-style: none;
    text-align: right;
}

.feature-list li {
    padding: var(--spacing-sm) 0;
    color: var(--text-light);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    margin-left: var(--spacing-md);
}

.text-success {
    color: #34d399 !important;
}

.text-danger {
    color: #f87171 !important;
}

/* ============================================================
   11. Services Section
   ============================================================ */
.services-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-surface) !important;
}

.services-section h2 {
    color: var(--text-white);
}

.services-section .text-muted {
    color: var(--text-muted) !important;
}

/* Override bootstrap bg-light */
.bg-light {
    background-color: var(--bg-surface) !important;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--spacing-lg);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    transform: translateY(-8px);
    background: var(--bg-card-hover);
}

.service-card h5 {
    color: var(--text-white);
    margin-top: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.service-card a {
    color: var(--accent-cyan);
    font-weight: 700;
}

.service-card a:hover {
    color: white;
}

.service-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, rgba(4, 63, 245, 0.2), rgba(5, 221, 255, 0.15));
    border: 1px solid rgba(5, 221, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent-cyan);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(4, 63, 245, 0.4);
}

/* ============================================================
   12. Policy Section
   ============================================================ */
.policy-section {
    padding: 80px 0;
    background: var(--bg-surface);
    margin-top: 0;
}

.policy-section+.policy-section {
    padding-top: 0;
}

.policy-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 44px;
    max-width: 900px;
    margin: auto;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(40px);
    animation: fadePolicy 0.8s ease 0.2s forwards;
}

.policy-card h1 {
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.policy-card h3 {
    margin-top: 32px;
    margin-bottom: 14px;
    color: var(--text-white);
    font-weight: 700;
}

.policy-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.policy-card ul {
    padding-right: 20px;
}

.policy-card ul li {
    margin-bottom: 10px;
    padding-right: 20px;
    position: relative;
    color: var(--text-light);
}

.policy-card ul li::before {
    content: "✔";
    position: absolute;
    right: 0;
    color: var(--accent-cyan);
    font-size: 13px;
}

@keyframes fadePolicy {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   13. Contact Section
   ============================================================ */
.contact-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-base);
}

.contact-section h2 {
    color: var(--text-white);
}

.contact-section .text-muted {
    color: var(--text-muted) !important;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.35s ease;
}

.contact-info-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-6px);
}

.contact-info-card h6 {
    color: var(--text-white);
}

.contact-info-card a {
    color: var(--accent-cyan);
}

.contact-info-card .text-muted {
    color: var(--text-muted) !important;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    margin: 0 auto;
    box-shadow: 0 6px 18px rgba(4, 63, 245, 0.4);
}

.map-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    border-radius: 16px;
}

/* فورم التواصل */
.contact-form {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.contact-form .form-control,
.contact-form .form-select,
.contact-form select {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-white);
    transition: all var(--transition-base);
    font-family: 'Cairo', sans-serif;
}

.contact-form .form-control:focus,
.contact-form select:focus {
    background: var(--bg-input);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(5, 221, 255, 0.15);
    color: var(--text-white);
    outline: none;
}

.contact-form .form-control::placeholder {
    color: var(--text-subtle);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.contact-form select option {
    background: var(--bg-card);
    color: var(--text-white);
}

/* ============================================================
   14. CTA Section
   ============================================================ */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #020c1f 0%, #041640 50%, #020c1f 100%) !important;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   15. Blog Section
   ============================================================ */
.blog-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-surface);
}

.blog-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.35s ease;
}

.blog-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    transform: translateY(-8px);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.blog-content {
    padding: var(--spacing-lg);
}

.blog-content h5 {
    color: var(--text-white);
}

.blog-content .text-muted {
    color: var(--text-muted) !important;
}

.blog-meta {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ============================================================
   16. Comparison Table
   ============================================================ */
.comparison-section {
    padding: 80px 0;
    background: var(--bg-surface);
}

.comparison-section h2 {
    color: var(--text-white);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table th {
    background: var(--gradient-primary);
    color: #fff;
    padding: 20px;
    text-align: center;
    font-family: 'Cairo', sans-serif;
}

.comparison-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    background: var(--bg-card);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.feature-label {
    font-weight: 700;
    color: var(--text-white);
    width: 30%;
}

.without-system {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #f87171;
    width: 35%;
    text-align: center;
}

.with-system {
    background: rgba(52, 211, 153, 0.08) !important;
    color: #34d399;
    width: 35%;
    text-align: center;
    font-weight: 600;
}

/* أنيميشن ظهور الصفوف */
.comparison-table tr {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.comparison-table tr.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   17. Footer
   ============================================================ */
.footer-raqmanah {
    background: linear-gradient(145deg, #020817, #030d20);
    color: var(--footer-text);
    padding: 80px 0 30px;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer-raqmanah::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.footer-raqmanah h5 {
    color: var(--footer-heading);
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-raqmanah h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-raqmanah p {
    color: var(--footer-text);
    line-height: 1.8;
    font-size: 0.9rem;
}

.footer-raqmanah .footer-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-raqmanah .footer-link:hover {
    color: var(--accent-cyan);
    padding-right: 8px;
}

.footer-raqmanah .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    gap: 12px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.footer-raqmanah .contact-item i {
    color: var(--accent-cyan);
    font-size: 1rem;
}

.footer-raqmanah .social-box {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-raqmanah .social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-raqmanah .social-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(4, 63, 245, 0.4);
}

.footer-raqmanah .footer-bottom {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer-raqmanah .footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

.footer-raqmanah .unified-number {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 10px;
}

.footer-raqmanah .logo-footer {
    max-height: 52px;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 10px rgba(5, 221, 255, 0.25));
}

.footer-raqmanah h4 {
    color: white;
}

/* ============================================================
   18. Floating Elements
   ============================================================ */

/* زر واتساب */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    animation: slideInLeft 0.6s ease-out;
}

.whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

/* زر للأعلى */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(4, 63, 245, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(5, 221, 255, 0.4);
}

/* ============================================================
   19. الأنيميشن
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-16px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

/* ============================================================
   20. Bootstrap Overrides للـ Dark
   ============================================================ */
.text-dark {
    color: var(--text-white) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-primary {
    color: var(--accent-cyan) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.badge.bg-primary {
    background: var(--gradient-primary) !important;
}

.badge.bg-success {
    background: rgba(52, 211, 153, 0.2) !important;
    color: #34d399 !important;
    border: 1px solid rgba(52, 211, 153, 0.3) !important;
}

.display-6,
.display-5 {
    color: var(--text-white);
}

.lead {
    color: var(--text-light) !important;
}

/* لو في section ببياض */
section {
    scroll-margin-top: 100px;
}

/* ============================================================
   21. Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .pricing-card-featured {
        transform: scale(1.02);
    }

    .pricing-card-featured:hover {
        transform: scale(1.02) translateY(-8px);
    }

    .carousel-pro .carousel-item {
        height: 420px;
    }
}

@media (max-width: 992px) {
    .carousel-pro .carousel-item {
        height: 380px;
    }

    .navbar-collapse {
        background: rgba(7, 13, 26, 0.97);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        padding: 20px;
        margin-top: 12px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.55rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-section {
        min-height: auto;
        padding: 80px 0;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .carousel-pro .carousel-item {
        height: 280px;
    }

    .pricing-card-featured {
        transform: scale(1);
    }

    .pricing-card-featured:hover {
        transform: translateY(-8px);
    }

    .whatsapp-btn {
        bottom: 20px;
        left: 20px;
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
    }

    .policy-card {
        padding: 28px 20px;
    }

    .contact-form {
        margin-top: var(--spacing-xl);
    }
}

@media (max-width: 576px) {
    .carousel-pro .carousel-item {
        height: 200px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 36px;
        height: 36px;
        margin: 0 6px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .feature-card,
    .service-card,
    .pricing-card,
    .blog-card {
        padding: var(--spacing-md);
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .price-tag {
        font-size: 2rem;
    }

    .stat-box h3 {
        font-size: 1.8rem;
    }
}

/* ============================================================
   22. Scroll Reveal - Intersection Observer
   ============================================================ */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   23. Glow Effects on headings
   ============================================================ */
.section-heading-glow {
    position: relative;
}

.section-heading-glow::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: transparent;
    filter: blur(20px);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    opacity: 0.3;
    z-index: -1;
}

/* Demo Format */
  
        /* التعديل المطلوب */
        .form-check {
            display: flex;
            align-items: flex-start; /* لضمان المحاذاة مع النصوص الطويلة */
            gap: 10px; /* مسافة بين المربع والنص */
            padding-right: 0; /* إلغاء البادينج الافتراضي لـ Bootstrap في RTL */
            margin-bottom: 15px;
            text-align: right;
        }

        .form-check-input {
            float: none; /* إلغاء التعويم الافتراضي */
            margin-top: 5px; /* موازنة المربع مع أول سطر من النص */
            margin-left: 0;
            margin-right: 0;
            cursor: pointer;
            flex-shrink: 0; /* منع المربع من الانكماش */
        }

        .form-check-label {
            cursor: pointer;
            line-height: 1.5;
            user-select: none;
        }

        /* تنسيقات إضافية للفورم لتشبه الصورة */
        .form-control {
            background-color: white;
            border: none;
            border-radius: 5px;
            padding: 12px;
            margin-bottom: 15px;
        }


        
        /* تنسيق الـ Footer */
        .demo-footer {
            background: rgba(0, 0, 0, 0.2);
            color: white;
            text-align: center;
            padding: 20px;
            font-size: 12px;
        }

        .demo-footer a {
            color: #00aaff;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .demo-footer a:hover {
            color: #0088cc;
            text-decoration: underline;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .demo-form-card {
                padding: 30px 20px;
            }

            .demo-form-wrapper {
                padding: 20px 10px;
            }
        }
