/* خلفية عامة للسيكشن */
.msahem-feasibility {
    padding: 80px 0;
    background: #f2f4f0;
}

/* هيدر السيكشن داخل صندوق غامق */
.feas-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 40px;
    background: linear-gradient(135deg, #0d1e1e 0%, #081212 50%, #000000 100%);
    padding: 40px 35px;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    color: #f8f8f8;
}

/* الكيكر أعلى العنوان */
.feas-kicker {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(212,175,55,0.18);   /* ذهبي خفيف */
    color: #d4af37;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* عنوان السيكشن */
.feas-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

/* الفقرة التعريفية */
.feas-intro {
    font-size: 15px;
    line-height: 1.9;
    color: #e6e6e6;
    margin-bottom: 8px;
}

/* الملاحظة السفلية */
.feas-note {
    font-size: 13px;
    color: #c7c7c7;
}

/* غلاف الخارطة */
.feas-map-wrapper {
    margin-top: 30px;
    padding: 40px 35px 45px;
    border-radius: 22px;
    position: relative;
    background: #f6f7f4;
    box-shadow: 0 18px 45px rgba(0,0,0,0.04);
    overflow: hidden;
}

/* مسار أفقي من اليمين لليسار */
.feas-map-track {
    display: flex;
    flex-direction: row-reverse;   /* يبدأ من اليمين */
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding-top: 40px;
}

/* الخط الرئيسي (خارطة الطريق) */
.feas-map-track::before {
    content: "";
    position: absolute;
    top: 40px;
    right: 6%;
    left: 6%;
    border-top: 2px dashed #b5b8b3;
    z-index: 1;
}

/* كل محطة */
.feas-map-step {
    position: relative;
    width: 23%;
    text-align: center;
}

/* عقدة المسار (الدائرة على الخط) */
.feas-map-node {
    position: relative;
    z-index: 2;
    width: 46px;
    height: 46px;
    margin: 0 auto;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #2f6b3f;   /* أخضر مساهم */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* رقم الخطوة */
.feas-map-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f29a36;          /* برتقالي */
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

/* خط نازل من الدائرة للكرت */
.feas-map-node::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 18px;
    border-left: 2px dashed #c3c6c0;
}

/* الكرت النصي لكل خطوة */
.feas-map-card {
    margin-top: 40px;              /* تحت الدائرة والخط النازل */
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 22px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-top: 4px solid #f29a36;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* هوفر */
.feas-map-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.16);
}

/* العنوان داخل الكرت */
.feas-map-card h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #016b6b;
}

/* النص */
.feas-map-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

/* نلغي أي تأثيرات قديمة لـ top/bottom أو الأسهم */
.feas-map-step.top .feas-map-card,
.feas-map-step.bottom .feas-map-card,
.feas-map-step.bottom .feas-map-node {
    transform: none;
    margin-top: 40px;
}

.feas-map-step::after {
    content: none;
}

/* استجابة للموبايل */
@media (max-width: 768px) {
    .msahem-feasibility {
        padding: 60px 0;
    }

    .feas-map-wrapper {
        padding: 25px 15px 30px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.05);
    }

    .feas-map-track {
        flex-direction: column-reverse;
        align-items: center;
        padding-top: 10px;
    }

    .feas-map-track::before {
        display: none;   /* نلغي الخط الأفقي في الموبايل */
    }

    .feas-map-step {
        width: 100%;
        margin-bottom: 35px;
    }

    .feas-map-node::after {
        height: 14px;
    }

    .feas-map-card {
        max-width: 100%;
        margin-top: 32px;
    }
}
