
html {
scroll-behavior: smooth;
}


/* الأساسيات */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; }
body { background-color: #0056FF; color: white; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.navbar { padding: 30px 0; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 40px; display: block; }

.desktop-nav ul { display: flex; list-style: none; gap: 25px; }
.desktop-nav ul li a { color: white; text-decoration: none; font-weight: 500; }
.menu-icon { cursor: pointer; font-size: 24px; }

/* Sidebar */
.sidebar { position: fixed; right: -350px; top: 0; width: 300px; height: 100%; background: white; color: #333; padding: 30px; transition: 0.4s ease; z-index: 1000; box-shadow: -5px 0 15px rgba(0,0,0,0.1); }
.sidebar.active { right: 0; }
.close-btn { cursor: pointer; font-size: 30px; float: right; margin-bottom: 20px; }
.sidebar-content { margin-top: 50px; }
.sidebar .logo { margin-bottom: 20px; }
.sidebar .logo img { height: 50px; }
.sidebar ul { list-style: none; margin: 20px 0; }
.sidebar ul li a { display: block; padding: 15px 0; border-bottom: 1px solid #f0f0f0; text-decoration: none; color: #333; font-weight: 600; }

/* Hero Section */
.hero { padding: 100px 0; }
.hero-container { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.hero-content { flex: 1; min-width: 300px; }
.hero-content h1 { font-size: 48px; margin-bottom: 20px; line-height: 1.2; }
.btn-primary { background: white; color: #0056FF; padding: 15px 30px; border: none; cursor: pointer; font-weight: bold; margin-top: 20px; }

/* إصلاح الصورة */
.hero-image { flex: 1; min-width: 300px; height: 400px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; }

@media (max-width: 768px) {
    .desktop-nav { display: none; }
}

/* إصلاح الشعار في القائمة الجانبية */
.sidebar .logo img {
    height: 40px; 
    width: auto; 
    display: block; 
    margin-bottom: 20px;
}

/* تنسيق زر Watch Intro */
.btn-video {
    background: transparent;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    margin-left: 20px;
}

/* تنسيق الـ Modal للفيديو */
.video-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2000; align-items: center; justify-content: center; }
.video-modal.active { display: flex; }
.modal-content { width: 80%; max-width: 800px; background: white; padding: 20px; position: relative; }
.close-video { position: absolute; top: -30px; right: 0; color: white; cursor: pointer; font-size: 30px; }

/* أيقونات التواصل */
.social-icons a { margin-right: 15px; text-decoration: none; color: #0056FF; font-weight: bold; }


/* إصلاح الشعار في السايد بار (تحويل الأبيض لأسود) */
.logo-sidebar img {
    height: 50px;
    filter: brightness(0); /* يحول الشعار الأبيض إلى أسود */
}

/* تنسيق الأيقونات (SVG) */
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { color: #0056FF; transition: 0.3s; }
.social-icons a:hover { color: #003bb3; }


.desktop-nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 5px; /* مساحة للخط */
    border-bottom: 2px solid transparent; /* خط شفاف مخفي */
    transition: 0.3s; /* تأثير ناعم */
}

.desktop-nav ul li a:hover {
    border-bottom: 2px solid #FF9800; /* لون برتقالي عند التمرير */
}


.sidebar ul li a:hover {
    color: #FF9800; /* فقط يتغير لون النص للون الأزرق */
}


.social-icons a {
    color: #333; /* اللون الافتراضي (رمادي داكن) */
    transition: color 0.3s ease;
}

/* الألوان الافتراضية عند تمرير الماوس */
.social-icons a.facebook:hover { color: #1877f2; } /* أزرق فيسبوك */
.social-icons a.twitter:hover  { color: #1da1f2; } /* أزرق تويتر */
.social-icons a.linkedin:hover { color: #0077b5; } /* أزرق لينكد إن */
.social-icons a.youtube:hover  { color: #ff0000; } /* أحمر يوتيوب */

/* About Section Styles */
.about-section { padding: 100px 0; background: #fff; color: #333; }
.about-container { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }

.about-image { flex: 1; min-width: 300px; }
.about-image img { width: 100%; border-radius: 10px; }

.about-content { flex: 1; min-width: 300px; }
.about-content h5 { color: #0056FF; font-weight: bold; margin-bottom: 10px; }
.about-content h2 { font-size: 36px; margin-bottom: 20px; line-height: 1.3; }

/* Tabs */
.tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.tab-btn { padding: 10px 20px; border: 1px solid #ddd; background: #f9f9f9; cursor: pointer; border-radius: 5px; transition: 0.3s; }
.tab-btn.active { background: #0056FF; color: white; border-color: #0056FF; }
.tab-btn:hover { background: #e0e0e0; }

.about-content p { color: #666; line-height: 1.6; }
/* About Section end */



/* --- تنسيق القسم العام --- */
.services-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* شكل الكبسولة للعنوان الفرعي */
.sub-title {
    display: inline-block;
    padding: 8px 25px;
    border: 1px solid #0056FF;
    color: #0056FF;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- شبكة الخدمات --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- تنسيق البطاقة (الوضع الافتراضي) --- */
.service-card {
    background: white;
    padding: 50px 30px;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    position: relative;
}

.service-card .icon {
    color: #0056FF;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #222;
    transition: color 0.3s;
}

.service-card p {
    color: #777;
    line-height: 1.6;
    transition: color 0.3s;
}

/* --- تأثير الـ Hover الاحترافي (الذي يطابق الصورة) --- */
.service-card:hover {
    background-color: #0056FF; /* الخلفية الزرقاء */
    border-color: #0056FF;
    /* الظل العميق عند التمرير */
    box-shadow: 0 20px 40px rgba(0, 86, 255, 0.3);
    transform: translateY(-10px);
}

.service-card:hover .icon,
.service-card:hover h3,
.service-card:hover p {
    color: #ffffff; /* تغيير كل شيء للأبيض */
}
.tit{
    color: #000;
    padding: 10px;
}
.pra{
    color: #666; line-height: 1.6; 
}


/* هذا الكود يتحكم في توزيع البطاقات بناءً على عرض الشاشة */

/* للشاشات المتوسطة (مثل التابلت) - ستظهر بطاقتين في كل صف */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* للشاشات الصغيرة (مثل الموبايل) - ستظهر بطاقة واحدة في كل صف */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* بطاقة واحدة بعرض الشاشة */
        gap: 20px;
    }
    
    .services-section {
        padding: 50px 0; /* تقليل المساحة للفراغات */
    }

    .section-title h2 {
        font-size: 28px; /* تصغير الخط قليلاً ليتناسب مع الموبايل */
    }
}


/* تنسيق القسم */
.pricing-section {
    padding: 100px 0;
    background-color: #f8faff;
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.pill-tag {
    display: inline-block;
    padding: 5px 22px;
    border: 1px solid #0056FF;
    color: #0056FF;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* شبكة البطاقات */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto;
}

/* تنسيق البطاقة */
.pricing-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 15px;
    border: 1px solid #eee;
    transition: 0.3s;
    text-align: center;
}

.pricing-card.active {
    box-shadow: 0 15px 45px rgba(0, 86, 255, 0.1);
    border-color: #e0e7ff;
}

/* تسمية الخطة */
.plan-label {
    display: inline-block;
    padding: 6px 25px;
    background: #eef2ff;
    color: #0056FF;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 25px;
}

.plan-label.featured {
    background: #0056FF;
    color: #fff;
}

.plan-desc {
    font-size: 15px;
    color: #777;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* السعر */
.price-value {
    font-size: 54px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.price-value sup {
    font-size: 24px;
    top: -0.7em;
    margin-right: 2px;
}

.price-value sub {
    font-size: 16px;
    color: #999;
    font-weight: 400;
}

/* الأزرار */
.btn-outline, .btn-solid {
    width: 100%;
    padding: 14px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 35px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #0056FF;
    color: #0056FF;
}

.btn-outline:hover {
    background: #0056FF;
    color: #fff;
}

.btn-solid {
    background: #0056FF;
    border: 1px solid #0056FF;
    color: #fff;
}

.btn-solid:hover {
    background: #0046cc;
}

/* قائمة المميزات */
.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list li {
    margin-bottom: 12px;
    color: #555;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.feature-list li .circle {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin-right: 12px;
}

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2563eb, #1e40af); /* تدرج أزرق */
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden; /* لإخفاء أطراف الدوائر الزخرفية */
}

/* إضافة الدوائر الزخرفية في الخلفية */
.cta-section::before, .cta-section::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.cta-section::before { top: -100px; left: -50px; }
.cta-section::after { bottom: -100px; right: -50px; }

.cta-section .container { position: relative; z-index: 2; max-width: 700px; }

.cta-section h2 { font-size: 36px; margin-bottom: 20px; color: white; }

.cta-section p { color: rgba(255, 255, 255, 0.8); line-height: 1.6; margin-bottom: 30px; }

.cta-btn {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.cta-btn:hover {
    background: white;
    color: #2563eb;
}



.contact-section { padding: 80px 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 350px 1fr; gap: 50px; }

/* تنسيق معلومات الاتصال */
.info-item { display: flex; align-items: flex-start; margin-bottom: 30px; }
.info-item .icon { width: 50px; height: 50px; background: #eef2ff; color: #0056FF; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-right: 15px; }
.info-item h3 { font-size: 18px; margin: 0 0 5px; }
.info-item p { color: #666; font-size: 14px; }

/* تنسيق النموذج */
.contact-form-box h2 { margin: 10px 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 5px; }
.contact-form textarea { height: 150px; margin-bottom: 20px; }

.btn-solid { background: #0056FF; color: white; padding: 15px 30px; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; }

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* تأكد من أن النصوص داخل قسم الاتصال واضحة */
.contact-form-box h2 { 
    color: #1a1a1a; /* لون أسود للعنوان */
    font-size: 32px; 
}

.contact-form-box p { 
    color: #666; /* لون رمادي للنص الفرعي */
    margin-bottom: 30px; 
}

.footer { padding: 80px 0 40px; background: #fff; border-top: 1px solid #eee; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 40px; }
.footer-col h3 { margin-bottom: 20px; font-size: 18px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #666; text-decoration: none; }

/* نموذج الاشتراك */
.subscribe-form { display: flex; margin-top: 15px; }
.subscribe-form input { padding: 10px; border: 1px solid #ddd; width: 100%; border-radius: 4px 0 0 4px; }
.subscribe-form button { padding: 10px 15px; background: #0056FF; color: white; border: none; border-radius: 0 4px 4px 0; cursor: pointer; }

/* زر العودة للأعلى */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0056FF;
    color: white;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* التجاوب */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}


/* تنسيق عام لنصوص الفوتر لضمان ظهورها */
.footer { 
    background-color: #ffffff; 
    color: #444; /* لون رمادي داكن للنصوص بدلاً من الفاتح */
    padding: 80px 0 40px; 
}

.footer-col h3 { 
    color: #1a1a1a; /* العناوين بالأسود */
    font-weight: 700;
}

.footer-col p, .footer-col .copyright { 
    color: #777; /* النصوص الوصفية بلون واضح */
    line-height: 1.8;
}

