/* 1. المتغيرات والأساسيات */
:root {
    --bg-card: #0f172a;
    --primary-neon: #38bdf8;
    --secondary-neon: #818cf8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #020617 !important; /* لون داكن أساسي لكل الصفحات */
    font-family: 'Cairo', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* إذا كنت تستخدم Particles في الصفحة الرئيسية فقط، اجعلها هكذا */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1; /* تبقى خلف المحتوى */
}

/* 2. الخلفية التقنية (Particles) */
#particles-js {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    background-color: #020617;
}

/* 3. الهيدر */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(2, 6, 23, 0.9); /* خلفية داكنة شفافة */
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    height: 80px; /* تحديد ارتفاع ثابت يمنع التضخم */
}

/* إصلاح حجم اللوجو */
.logo img {
    height: 120px; /* حجم معقول جداً */
    width: auto;
    object-fit: contain;
}

/* القائمة */
nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover, .active-link {
    color: var(--primary-neon) !important;
}

/* 4. الأزرار (تأثير اللمعة والنيون) */
.btn-cta, .nav-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    color: #000;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.2);
}

.btn-cta:hover, .nav-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.5);
    letter-spacing: 1px;
}

.btn-cta::after, .nav-cta::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}
.btn-cta:hover::after, .nav-cta:hover::after { left: 100%; }

/* 5. قسم الـ Hero (التحديث الأخير المثبت) */
.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    align-items: center;
    padding: 120px 5% 60px;
    gap: 30px;
    min-height: 90vh;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-text h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 1.5rem; font-weight: 900; }
.hero-text h1 span { color: var(--primary-neon); }
.hero-text p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 600px; }

/* 6. شبكة الخدمات */
.services { padding: 80px 8%; text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 3rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px;
    width: 100%;
    padding: 20px 5%;
}

.service-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: right;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-neon);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-card i { font-size: 2.5rem; color: var(--primary-neon); margin-bottom: 1.5rem; display: block; }

/* 7. العمليات (Process) والأنيميشن */
.process-section {
    background: var(--glass);
    padding: 100px 8%;
    margin: 50px 0;
    border-radius: 40px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.process-step { text-align: center; max-width: 250px; }
.process-icon {
    width: 100px; height: 100px; background: rgba(56, 189, 248, 0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; font-size: 2rem; color: var(--primary-neon);
    border: 1px solid var(--primary-neon);
    transition: 0.3s;
}

@keyframes rocket-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.process-icon:hover {
    animation: rocket-float 0.8s ease-in-out infinite;
    cursor: pointer;
    box-shadow: 0 0 20px var(--primary-neon);
}

@keyframes pulse-lens {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); color: var(--secondary-neon); }
}

.service-card:hover i { animation: pulse-lens 1s infinite; }

/* 8. الإحصائيات */
.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 60px 8%;
    background: linear-gradient(to right, #0f172a, #020617);
    border-top: 1px solid rgba(56, 189, 248, 0.1);
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item { text-align: center; flex: 1; min-width: 150px; }
.stat-number { color: var(--primary-neon); font-size: 2.5rem; font-weight: 900; margin-bottom: 10px; transition: 0.3s ease; }
.stat-item:hover .stat-number { transform: scale(1.1); text-shadow: 0 0 15px var(--primary-neon); }
.stat-label { color: var(--text-muted); font-size: 1rem; letter-spacing: 1px; }

/* 9. التمرير (Reveal) والمدخلات */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-neon) !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
    transition: 0.3s;
}

/* 10. الفوتر */
/* 11. الميديا كويري (التجاوب الذكي) */
/* @media (min-width: 768px) {
    .hero { text-align: right; }
    .hero-text { text-align: right; }
    .stats-container { display: grid; grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2rem; }
    .nav-cta { display: none; }
}

@media (min-width: 1024px) {
    .visual-container {
        min-height: 500px;
        transform: scale(1.2);
    } */
/* }--- إصلاح ألوان روابط الفوتر وقائمة الروابط السريعة --- */
/* تنسيق حاوية الإحصائيات */
.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 60px 8%;
    background: linear-gradient(to right, #0f172a, #020617);
    border-top: 1px solid rgba(56, 189, 248, 0.1);
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
    flex-wrap: wrap; /* يضمن نزول العناصر تحت بعضها في الموبايل */
    gap: 30px;
    margin: 40px 0;
}

/* تنسيق العنصر الفردي */
.stat-item {
    text-align: center;
    flex: 1;
    min-width: 200px; /* يمنع ضغط العناصر في الشاشات المتوسطة */
    transition: transform 0.3s ease;
}

/* تنسيق الرقم الكبير (النيون) */
.stat-number {
    color: var(--primary-neon);
    font-size: 3rem; /* حجم كبير وفخم */
    font-weight: 900;
    margin-bottom: 10px;
    display: block;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

/* تنسيق النص الوصفي */
.stat-label {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* تأثير Hover احترافي */
.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:hover .stat-number {
    text-shadow: 0 0 20px var(--primary-neon);
    transform: scale(1.1);
    transition: 0.3s ease;
}

/* ضبط التجاوب للموبايل */
/* @media (max-width: 768px) {
    .stats-container {
        flex-direction: column; 
        padding: 40px 5%;
        gap: 50px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
} */
.hero-visual {
    display: flex;
    justify-content: flex-end; /* ليدفع العنصر لليسار في الكمبيوتر */
    align-items: center;
    width: 100%;
}

.visual-placeholder {
    width: 100%; 
    max-width: 700px; /* زيادة العرض الأقصى */
    height: 350px;    /* زيادة الطول */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(56, 189, 248, 0.05));
    border: 2px dashed rgba(56, 189, 248, 0.4); /* تخفيف الخط المنقط ليكون أرقى */
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* تكبير الأيقونة والنص داخل المساحة */
.placeholder-icon {
    font-size: 6rem; /* تكبير الأيقونة */
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px var(--primary-neon));
}

.visual-placeholder p {
    font-size: 1.5rem; /* تكبير الخط */
    letter-spacing: 2px;
    opacity: 0.8;
}

/* تأثير الحركة عند الماوس ليملأ العين */
.visual-placeholder:hover {
    transform: scale(1.02) translateY(-10px);
    border-color: var(--primary-neon);
    background: rgba(56, 189, 248, 0.08);
}


.process-icon img, .service-card img {
    width: 70%;       /* لتأخذ عرض الحاوية بالكامل */
    height: auto;      /* للحفاظ على الأبعاد */
    object-fit: contain; /* لمنع تمطيط الصورة */
}
.visual-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-gif {
    position: relative;
    z-index: 2; /* لتظهر فوق التوهج */
    max-width: 100%;
    height: auto;
}
.hero-gif {
    width: 100%;
    max-width: 500px; /* تحكم في حجم الفيديو من هنا */
    height: auto;
    border-radius: 15px; /* اختيارية: لإعطاء حواف ناعمة للفيديو */
    position: relative;
    z-index: 2;
    outline: none;
}

/* تأكد أن الحاوية تتوسط الصفحة */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* إعادة تنسيق الشاشات الكبيرة */
@media (min-width: 993px) {
    .hero { 
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: right; 
    }
    .hero-text { text-align: right; }
    .hero-visual { justify-content: flex-end; }
}
/* ============================================================
   11. نظام التجاوب الشامل - الإصلاح الجذري النهائي (المحدث)
   ============================================================ */

/* --- أولاً: إعدادات الشاشات المتوسطة (Tablets) --- */
@media (max-width: 992px) {
    .hero, .services-grid, .process-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        padding: 60px 5% !important;
    }

    /* إصلاح قسم الفورم في الشاشات المتوسطة */
    main > section[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        padding: 50px 5% !important;
    }
}

/* --- ثانياً: إصلاح الموبايل (Phones < 768px) --- */
@media (max-width: 768px) {
    
    /* 1. ضبط الهيدر ومنع التداخل */
    header {
        padding: 0.7rem 4% !important;
        justify-content: space-between !important;
        flex-direction: row !important;
    }

    .logo img {
        width: 130px !important;
        height: auto !important;
    }

    .nav-cta {
        padding: 6px 10px !important; 
        font-size: 0.65rem !important;
        margin-left: auto; 
        margin-right: 8px;
    }

    /* 2. أيقونة القائمة (الهمبرجر) */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        order: 3;
        cursor: pointer;
    }

    .menu-toggle .bar {
        width: 22px;
        height: 2px;
        background-color: var(--primary-neon);
        transition: 0.3s;
        border-radius: 2px;
    }

    /* 3. القائمة المنسدلة */
    nav {
        display: none;
        width: 100%;
        background: rgba(2, 6, 23, 0.98);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 25px;
        border-bottom: 2px solid var(--primary-neon);
        backdrop-filter: blur(15px);
        z-index: 1000;
    }

    nav.active { display: block !important; }

    nav ul {
        flex-direction: column !important;
        gap: 1.2rem !important;
        align-items: center;
    }

    /* 4. إظهار الـ Hero Visual وتنسيقه (وجهة الموقع) */
    .hero {
        padding-top: 100px !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .hero-visual {
        display: flex !important; /* ضمان الظهور */
        justify-content: center;
        width: 100%;
        margin-top: 20px;
        order: 2; /* يظهر تحت النص */
    }

    .visual-placeholder {
        width: 280px !important; /* حجم مناسب للموبايل */
        height: 220px !important;
        transform: scale(0.9);
    }

    .hero-text { order: 1; }
    .hero-text h1 { font-size: 1.6rem !important; }

    /* 5. تصغير شريط الإحصائيات بنسبة 15% مع الحفاظ على الأنميشن */
    .stats-container {
        display: flex !important;
        flex-direction: row !important; /* الحفاظ على الصف */
        justify-content: space-around !important;
        gap: 5px !important;
        padding: 20px 2% !important;
        transform: scale(0.85); /* تقليل الحجم 15% */
        transform-origin: center;
        width: 100% !important;
    }

    .stat-item {
        flex: 1;
        padding: 5px !important;
    }

    .stat-number { font-size: 1.4rem !important; }
    .stat-label { font-size: 0.7rem !important; }

    /* إخفاء الفورم فقط في الموبايل لتقليل الزحام */
    main > section:has(form) {
        display: none !important;
    }
}

/* --- ثالثاً: تنسيق أزرار الاتصال الثابتة (باستخدام صورك) --- */
.fixed-contact {
    position: fixed;
    bottom: 25px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}


html {
    scroll-behavior: smooth;
}

/* منع السكرول العرضي النهائي */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
/* ضمان تناسق الصور في كل الحالات */
.process-icon img, .service-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* --- ثالثاً: اللمسة النهائية لمنع أي سكرول عرضي مجهول --- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}
/* تنسيق رأس الصفحة الفرعية */
.page-header {
    padding: 150px 5% 40px;
    background: radial-gradient(circle at top, rgba(0, 243, 255, 0.05) 0%, transparent 70%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--primary-neon);
    margin-bottom: 10px;
}

/* شبكة الخدمات */
.services-detail-grid {
    padding: 60px 5%;
}

.service-card-full {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    transition: 0.4s;
}

.service-card-full:hover {
    border-color: var(--primary-neon);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
    transform: translateY(-5px);
}

.service-icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex; /* تفعيل نظام الفليكس */
    flex-direction: column; /* جعل العناصر تحت بعضها */
    align-items: center; /* توسيط العناصر أفقياً */
    justify-content: center; /* توسيط العناصر رأسياً (إذا كان للكارت ارتفاع ثابت) */
    text-align: center; /* لتوسيط النصوص أيضاً */
     width: 70px;
    height: 70px;
    margin: 0 auto 20px; /* التوسيط الأفقي مع مسافة أسفله */
    overflow: hidden;
}



.service-features {
    margin-top: 20px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.service-features li::before {
    content: "✔";
    color: var(--primary-neon);
    margin-left: 10px;
}
/* حاوية الخدمات في صفحة services.html */
.services-detail-grid {
    padding: 100px 5%;
}

.services-detail-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.service-card-full {
    background: var(--glass);
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: right; /* لتناسب اللغة العربية */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.service-card-full:hover {
    transform: translateY(-10px);
    border-color: var(--primary-neon);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
    background: rgba(56, 189, 248, 0.05);
}

.service-card-full h2 {
    color: var(--primary-neon);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-card-full p {
    color: var(--text-muted);
    font-size: 1rem;
}
/* ------------------- */
/* تمييز الصفحة الحالية في المنيو */
nav ul li a.active {
    color: var(--primary-neon);
    border-bottom: 2px solid var(--primary-neon);
}

/* تنسيق حاوية المدونة */
.blog-container {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* تصميم كارت المقال */
.blog-card {
    background: var(--glass);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-neon);
    box-shadow: 0 10px 40px rgba(56, 189, 248, 0.1);
}

.post-img {
    position: relative;
    height: 200px;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-neon);
    color: #020617;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
}

.post-content {
    padding: 25px;
}

.post-content h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.post-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.read-more-btn {
    color: var(--primary-neon);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    border: 1px solid var(--primary-neon);
    padding: 8px 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.read-more-btn:hover {
    background: var(--primary-neon);
    color: #020617;
}
/* ضمان تطبيق الخط على كل شيء */
* {
    font-family: 'Cairo', sans-serif !important;
}

/* تنسيق الفوتر الموحد */
footer {
    background-color: #020617; /* نفس لون الخلفية الداكن */
    padding: 60px 5% 30px;
    display: flex;
    flex-wrap: wrap; /* للسماح بالنزول سطر جديد في الموبايل */
    justify-content: space-between;
    gap: 40px;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.footer-col {
    flex: 1;
    min-width: 250px; /* يمنع الأعمدة من أن تصبح نحيفة جداً */
}

.footer-col .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-neon);
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-neon);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-neon);
    padding-right: 5px; /* حركة بسيطة عند الهوفر */
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* للموبايل: اجعل كل شيء في المركز */
@media (max-width: 768px) {
    footer {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }
}
.cta-section {
    padding: 50px 5%;
    display: flex;
    justify-content: center;
}

.cta-card {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: linear-gradient(145deg, #0f172a 0%, #020617 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* تأثير التوهج خلف النص */
.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--primary-neon);
    filter: blur(150px);
    opacity: 0.1;
    pointer-events: none;
}

.cta-card h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta-card h2 .highlight {
    color: var(--primary-neon);
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

.cta-card p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* الأزرار */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.main-btn {
    background: var(--primary-neon);
    color: #020617 !important;
    padding: 18px 40px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.4);
}

.whatsapp-btn {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    padding: 18px 40px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}
.whatsap-btn {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    border-radius: 15px;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    gap: 8px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}


.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25d366;
    color: #25d366;
    transform: translateY(-5px);

}
.whatsap-btn:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25d366;
    color: #25d366;
    transform: scale(1.1) translateY(-5px);
}
.contact-btn {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    border-radius: 15px;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    gap: 8px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    
   
}

/* ضبط الصور داخل الأزرار */
.contact-btn img {
    width: 28px; /* حجم أيقونة الواتساب والاتصال */
    height: 28px;
    object-fit: contain;
}

.whatsapp-btn { background: #ffffff00; }
.phone-btn { background:#ffffff00; }

.contact-btn:hover {
    background: rgba(211, 57, 37, 0.1);
    border-color: hsl(0, 100%, 50%);
    color: hsl(0,100%,50%);
    transform: scale(1.1) translateY(-5px);
}

.service-icon-box img {
    padding-top: 20px;
    max-width: 100%;  /* لضمان عدم خروج الصورة عن عرض الصندوق */
    max-height: 100%; /* لضمان عدم خروج الصورة عن ارتفاع الصندوق */
    object-fit: contain; /* يحافظ على أبعاد الصورة بدون مطّها */
}

/* للموبايل */
@media (max-width: 768px) {
    .cta-card h2 { font-size: 2rem; }
    .cta-buttons { flex-direction: column; }
    .main-btn, .whatsapp-btn { width: 100%; justify-content: center; }
}
/* تمييز الرابط النشط */
.active-link {
    color: var(--primary-neon) !important;
    border-bottom: 2px solid var(--primary-neon);
}
/* --------------------------------- */

