:root {
        --primary-navy: #001f3f;
        --secondary-navy: #00152b;
        --deep-blue: #0b132b; /* درجة أعمق للارتباط مع الفوتر */
        --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F2D06B 50%, #B8860B 100%);
        --gold-text: #D4AF37;
        --soft-bg: #f8fafd; /* خلفية ناعمة جداً تكسر حدة الأبيض */
        --glass-white: rgba(255, 255, 255, 0.9);
    }

    body {
        font-family: 'Tajawal', sans-serif;
        background-color: var(--soft-bg); /* تغيير الخلفية العامة */
        color: #2d3436;
    }
/* قسم الإحصائيات - رفعه وتعديل ظله ليبدو طافياً */
    .stats-bar {
        background: white;
        padding: 40px;
        border-radius: 30px;
        margin-top: -100px; /* رفعه أكثر قليلاً */
        box-shadow: 0 20px 60px rgba(0, 31, 63, 0.1); 
        border: 1px solid rgba(212, 175, 55, 0.2);
        position: relative;
        z-index: 20;
    }

  /* تحسين شعار الوزارة ليطفو بنعومة */
.ministry-logo {
    position: absolute;
    top: 30px;
    right: 50px;
    z-index: 1000;
}
.ministry-logo img {
    height: 80px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
    transition: 0.3s;
}
.ministry-logo img:hover { transform: scale(1.05); }

/* تأثير الزجاج المتطور لمدخل السوق */
.market-gateway-container {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(0, 31, 63, 0.4) !important; /* لون كحلي شفاف */
    box-shadow: 0 10px 40px rgba(0,0,0,0.3) !important;
}

/* حركة الـ Counter في الإحصائيات */
.stat-item h3 {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    font-size: 3rem !important;
    margin-bottom: 5px;
}

/* تأثير الـ Overlay في الهيرو لجعل النص مقروءاً */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--soft-bg), transparent);
    z-index: 1;
}



/* خط التزيين الذهبي تحت العنوان */
.section-title .divider {
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    margin: 15px auto;
    border-radius: 10px;
}
    

    /* قسم "عرصة ركائز" - هنا السحر الاحترافي */
    .latest-market {
        padding: 100px 0;
        background: var(--primary-navy); /* تحويل القسم للون الداكن */
        background: linear-gradient(150deg, var(--secondary-navy) 0%, var(--primary-navy) 100%);
        color: white; /* تغيير الخط للأبيض ليبرز */
        /* الحواف العلوية البيضاوية */
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
        margin-top: 50px;
    }
    
    .latest-market h2 { color: white !important; }
    .latest-market .text-muted { color: #cbd5e0 !important; }

    /* تعديل بطاقات المنتجات داخل القسم الداكن */
    .latest-market .card {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        transition: all 0.4s ease;
    }
    
    .latest-market .card:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-10px);
        border-color: var(--gold-text) !important;
    }

    /* قسم التسجيل - العودة للون الفاتح بأسلوب ناعم */
    #register {
        background: white;
        padding: 120px 0;
        border-radius: 0 0 60px 60px; /* انحناء سفلي */
        box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    }



/* بطاقات المنتجات - إضافة حواف ناعمة وظلال عميقة */
.hover-zoom {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.03) !important;
}

.hover-zoom:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.12) !important;
}


/* تحسينات عامة لقسم الهيرو */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, rgba(0, 21, 43, 0.95) 0%, rgba(0, 31, 63, 0.85) 100%), 
                url('bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* حركة الضوء الخفي خلف النص */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    z-index: -1;
}

/* تنسيق عنوان "رِكـــــاز" */
.hero-title {
    font-family: 'Tajawal', sans-serif;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

/* تنسيق النص الوصفي */
.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.text-gold {
    color: var(--gold-text);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* بطاقة السنة (النسخة المطورة) */
.edition-label {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 20px 40px;
    border-radius: 20px;
    display: inline-block;
    margin: 30px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.edition-year {
    display: block;
    line-height: 1;
    margin-top: 5px;
}

/* زر "سجل هنا" الاحترافي */
.btn-hero-start {
    background: var(--gold-gradient);
    color: var(--primary-navy) !important;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 15px 50px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero-start:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
    background: #f2d06b; /* تفتيح خفيف عند الهوفر */
}


    @keyframes pulse-gold {
        0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
        70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
        100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
    }


/* شعار الرؤية داخل الحاوية */
.vision-logo-inside {
    height: 40px;
    filter: brightness(0) invert(1); /* جعل الشعار أبيض ليتناسب مع الخلفية الداكنة */
    padding-left: 15px;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.market-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-box {
    width: 35px;
    height: 35px;
    background: var(--gold-gradient); /* جعل الأيقونة ذهبية لتبرز */
    color: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-box .top-txt {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7); /* نص أبيض شفاف */
}

.text-box .main-txt {
    font-size: 1rem;
    color: #FFFFFF; /* نص أبيض ناصع */
    font-weight: 700;
}

.icon-box {
    width: 35px;
    height: 35px;
    background: var(--navy-dark);
    color: var(--oman-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.text-box {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.top-txt {
    font-size: 0.7rem;
    color: #666;
    font-weight: bold;
}

.main-txt {
    font-size: 1rem;
    color: var(--navy-dark);
    font-weight: 700;
}

.arrow-box {
    color: var(--oman-gold);
    animation: slideArrow 1.5s infinite;
}

/* حركة السهم لجذب الانتباه */
@keyframes slideArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
}

/* الحاوية الرئيسية */
.market-gateway-container {
    position: absolute;
    top: 25px;
    left: 40px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 6px 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
/* تأثيرات التمرير */
.market-gateway-container:hover {
    transform: translateY(-3px);
    border-color: var(--gold-text);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.market-entry-link:hover .market-badge-new {
    filter: brightness(1.1);
}

/* ضبط شعار الرؤية */
.vision-side {
    padding-left: 15px;
    margin-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.vision-logo-inside {
    height: 35px;
    filter: brightness(0) invert(1); /* تحويله للون الأبيض */
}

/* تصميم زر "عرصة ركائز" الجديد */
.market-badge-new {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gold-gradient);
    padding: 5px 18px;
    border-radius: 40px;
    color: var(--primary-navy);
    transition: 0.3s;
}

.text-box {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.1;
}

.text-box .top-txt {
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.8;
    text-transform: uppercase;
}

.text-box .main-txt {
    font-size: 0.95rem;
    font-weight: 800;
}

.icon-circle {
    width: 30px;
    height: 30px;
    background: rgba(0, 31, 63, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* حركة السهم */
.arrow-box {
    font-size: 0.8rem;
    animation: bounceLeft 1.5s infinite;
}

@keyframes bounceLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-4px); }
}



        
    /* تنسيق حاوية أزرار الدخول لضمان التوسط المطلق */
.auth-portal-nav {
    position: absolute;
    top: 130px; /* المسافة من الأعلى */
    left: 0;
    right: 0; /* تمتد من اليمين للياسر */
    display: flex;
    justify-content: center; /* توسيط الأزرار أفقياً */
    align-items: center;
    gap: 20px; /* المسافة بين الزرين */
    z-index: 1000;
    pointer-events: none; /* لمنع الحاوية من حجب العناصر خلفها */
}

/* التنسيق الخاص بالأزرار نفسها */
.btn-portal {
    pointer-events: auto; /* إعادة تفعيل النقرات للأزرار فقط */
    border: 1.5px solid var(--gold-text);
    color: white !important;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    background: rgba(0, 31, 63, 0.7); /* خلفية داكنة لزيادة وضوح النص */
    backdrop-filter: blur(8px);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-portal:hover { 
    background: var(--gold-gradient); 
    color: var(--primary-navy) !important; 
    transform: translateY(-3px); /* حركة خفيفة للأعلى عند التمرير */
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* تحسين الظهور في شاشات الجوال */
@media (max-width: 768px) {
    .auth-portal-nav { 
        top: 100px; /* تقريبها للأعلى قليلاً في الجوال */
        flex-direction: column; /* جعل الأزرار تحت بعضها */
        gap: 10px;
    }
    .btn-portal {
        padding: 8px 25px;
        font-size: 0.85rem;
        width: 80%; /* تأخذ عرض أكبر في الجوال */
        text-align: center;
    }
}

    

    

        .stat-item h3 { color: var(--primary-navy); font-weight: bold; font-size: 2.5rem; }
        .stat-item p { color: var(--gold-text); font-weight: 600; margin-bottom: 0; }



 /* الفوتر - تصميم كحلي مع حواف علوية بيضاوية */
footer {
    background: var(--primary-navy); /* اللون الكحلي */
    color: white;
    padding: 80px 0 40px !important;
    margin-top: 50px;
    position: relative;
    border-top: 2px solid var(--gold-text);
    /* الحواف السفلية البيضاوية */
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    text-align: center;
}

/* إضافة لمسة إضافية إذا أردت أن يكون الفوتر عائماً قليلاً */
footer p {
    margin-bottom: 0;
    opacity: 0.8;
}

/* تنسيقات قسم الراعي المطور */
    .main-sponsor-section {
        padding: 80px 0;
        background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    }

    .reqaz-card {
        background: white;
        border-radius: 40px;
        padding: 50px 30px;
        box-shadow: 0 25px 50px rgba(0, 31, 63, 0.08);
        border: 1px solid rgba(212, 175, 55, 0.15);
        position: relative;
        max-width: 800px;
        margin: 0 auto;
        overflow: hidden;
    }

    /* شارة التميز */
    .reqaz-badge {
        background: var(--gold-gradient);
        color: var(--primary-navy);
        padding: 8px 30px;
        border-radius: 50px;
        font-weight: 800;
        font-size: 0.9rem;
        position: absolute;
        top: 25px;
        right: 25px;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    }

    /* شعار ركاز - صغير وأنيق في الأعلى */
    .reqaz-wrapper {
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 40px;
        padding-bottom: 20px;
    }
    .reqaz-logo {
        max-height: 200px; /* تصغير حجم ركاز */
        filter: grayscale(1);
        opacity: 0.7;
        transition: 0.3s;
    }
    .reqaz-logo:hover {
        filter: grayscale(0);
        opacity: 1;
    }

    /* شعار السبونسر - البطل الرئيسي */
    .sponsor-focus-wrapper {
        padding: 20px 0;
        perspective: 1000px;
    }
    .sponsor-logo {
        max-height: 300px; /* حجم كبير جداً بارز */
        width: auto;
        
        filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
        transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .sponsor-logo:hover {
        transform: scale(1.1) rotate(2deg); /* تأثير حركي عند المرور */
    }

    /* خلفية ضوئية خلف شعار السبونسر */
    .glow-effect {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
        z-index: -1;
    }

    .edition-label {
        background: #f8fafd;
        display: inline-block;
        padding: 15px 35px;
        border-radius: 20px;
        border: 1px solid rgba(0, 31, 63, 0.05);
    }

        .floating-action {
            animation: bounce 2s infinite;
        }
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
            40% {transform: translateY(-10px);}
            60% {transform: translateY(-5px);}
        }
       /* تنسيق شعار الوزارة - يمين */
.ministry-logo {
    position: absolute;
    top: 20px;
    right: 40px;
    text-align: right;
    z-index: 100;
}
.ministry-logo img { 
    width: 140px;      /* العرض المطلوب */
    height: auto;     /* هذا السطر سيمنع التمطيط ويحافظ على النسبة والتناسب */
    object-fit: contain; /* يضمن احتواء الصورة داخل المساحة بدون قص أو شد */
    filter: brightness(0) invert(1); 
}



   /* تنسيق خطوات التسجيل */
.step-item {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6c757d;
    transition: 0.4s;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #e9ecef;
    z-index: 2;
}

.step-item.active {
    background: var(--primary-navy);
    color: white;
    box-shadow: 0 0 0 2px var(--primary-navy);
}

.step-item.finish {
    background: var(--gold-text);
    color: var(--primary-navy);
    box-shadow: 0 0 0 2px var(--gold-text);
}

.step-line {
    position: absolute;
    top: 22px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

/* حركة النموذج */
.form-step {
    display: none;
    animation: fadeInSlide 0.5s ease forwards;
}

.form-step.active {
    display: block;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* تحسين المدخلات */
.form-control:focus, .form-select:focus {
    border-color: var(--gold-text);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.1);
}

.btn-outline-gold {
    color: var(--gold-text);
    border-color: var(--gold-text);
}

.btn-outline-gold:hover {
    background: var(--gold-gradient);
    color: var(--primary-navy);
}
/* تأثيرات عرصة ركائز */
.product-card {
    transition: all 0.4s ease;
    border-radius: 20px !important;
    overflow: hidden;
    background: #fff;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
}

.product-card img {
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.market-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(212, 175, 55, 0.9);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}

.team-name-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-navy);
    padding: 10px;
    background: #f8f9fa;
    text-align: center;
    border-top: 1px solid #eee;
}

.btn-arasa {
    background: var(--primary-navy);
    color: white;
    border: none;
    transition: 0.3s;
}

.btn-arasa:hover {
    background: var(--gold-text);
    color: var(--primary-navy);
    transform: scale(1.05);
}
  /* تصميم المسار الزمني المطور */
.award-timeline {
    position: relative;
    padding: 100px 0;
    background: #ffffff;
}

/* الخط الواصل بين المراحل */
.timeline-track {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 2px;
    background: rgba(212, 175, 55, 0.2);
    z-index: 1;
}

.timeline-card-modern {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 31, 63, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    height: 100%;
}

.timeline-card-modern:hover {
    transform: translateY(-15px);
    border-color: var(--gold-text);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.phase-tag {
    background: var(--gold-gradient);
    color: var(--primary-navy);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
}

.date-badge {
    display: block;
    margin-top: 15px;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.9rem;
}

/* النقاط الذهبية */
.timeline-dot {
    width: 15px;
    height: 15px;
    background: var(--gold-gradient);
    border-radius: 50%;
    margin: 20px auto;
    box-shadow: 0 0 15px var(--gold-text);
}

@media (max-width: 768px) {
    .timeline-track { display: none; }
}
    /* تنسيق القسم العام */
.info-contact-section {
    background: var(--primary-navy);
    color: white;
    padding: 80px 0;
}

/* حاوية الشروط المخفية */
.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); /* حركة سلسة */
    opacity: 0;
}

.collapsible-content.show {
    max-height: 1000px; /* رقم كافٍ لاحتواء النص */
    opacity: 1;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease;
}

.useful-link {
    color: #cbd5e0;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    transition: 0.3s;
}

.useful-link:hover {
    color: var(--gold-text);
    padding-right: 5px;
}

.condition-item {
    color: #cbd5e0;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.hover-zoom { transition: all 0.3s ease; }
.hover-zoom:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important; }