﻿.gallery10 {
    width: 100%;
    /*height: 70%;*/
    min-height: 500px;
    background-size: cover;
    position: relative;
    background-color: #213b52;
    user-select: none;
    -webkit-user-select: none;
    margin-bottom: 50px;
}

    .gallery10 .introdution-container {
        /*        width: 97%;*/
        height: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        max-width: 1400px;
        align-items: center;
        justify-content: space-between;
        /*        gap: 10px;*/
    }

    .gallery10 .left-introduction {
        width: 39%;
        display: flex;
        gap: 15px;
        justify-content: center;
    }

    .gallery10 .introduction-image {
        /*        min-width: 20px;*/
        width: 30%;
        height: 400px;
        position: relative;
        cursor: pointer;
        overflow: hidden;
        transition: width 0.4s ease; /* ← این خط انیمیشن رو اضافه می‌کنه */
        border-radius: 10px;
        border: 1px solid;
    }


        .gallery10 .introduction-image img {
            width: 100%;
            height: 100%;
            border-radius: 10px;
        }

    .gallery10 .uShadow {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 1;
        transition: all 0.7s ease;
        border-radius: 10px;
    }

    .gallery10 .introduction-image:hover .uShadow {
        transform: translateY(100%);
        opacity: 0;
    }

    .gallery10 .right-introduction {
        width: 60%;
        height: 100%;
        display: flex;
        direction: rtl;
        align-items: center;
        justify-content: center;
        padding: 0rem 2rem 0rem 0rem;
    }

    .gallery10 .introduction-content {
        width: 100%;
        height: 100%;
        position: relative;
        display: flex;
        direction: rtl;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .gallery10 .introduction-title {
        direction: rtl;
        color: #d2e0ed;
        font-size: 45px;
        font-weight: 700;
        line-height: 56px;
        word-spacing: -7px;
    }

    .gallery10 .introduction-divider {
        width: 100%;
        display: flex;
        margin: 1rem 0;
        align-items: start;
        border-top: 1px solid #000;
    }

    .gallery10 .introduction-description {
        margin: 8px 0;
        direction: rtl;
        color: #d2e0ed;
        font-size: 22px;
        text-align: start;
        line-height: 38px;
        white-space: pre-wrap;
        overflow: visible;
    }

    /*progress Bar*/
    /* container */
    .gallery10 .progress-container {
        width: 80%;
        margin: 17px auto;
        direction: rtl;
        font-family: sans-serif;
    }

    /* title */
    .gallery10 .progress-title {
        white-space: pre-wrap;
        margin: 0 0 8px 0;
        text-align: end;
        font-size: 16px;
        color: #333;
    }

        .gallery10 .progress-title p {
            margin: 0
        }

    /* track */
    .gallery10 .progress-bar {
        width: 100%;
        height: 6px;
        background: #e6e6e6;
        border-radius: 20px;
        position: relative;
        overflow: visible; /* مهم: لیبل بیرون از نوار قرار می‌گیرد */
    }

    /* fill (the green part) */
    .gallery10 .progress-fill {
        width: 0;
        height: 100%;
        background: #7b927d; /* رنگ سبز ملایم */
        border-radius: 20px;
        position: relative;
        transition: width 1.6s cubic-bezier(.2,.9,.3,1);
        z-index: 1;
        overflow: visible;
    }

    /* لیبل دایره‌ای که روی انتهای fill قرار می‌گیرد */
    .gallery10 .progress-label {
        position: absolute;
        top: -40px; /* فاصله عمودی از نوار */
        /*right: -18px;*/ /* قرارگیری نسبت به انتهای fill */
        width: 36px;
        height: 36px;
        background: #7b927d;
        color: #fff;
        border-radius: 50%;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        box-shadow: 0 2px 4px rgba(0,0,0,0.12);
        opacity: 0;
        transform: translateY(6px) scale(0.98);
        transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.2,.9,.3,1);
        pointer-events: none;
        z-index: 3;
    }

        /* ساقه (خط اتصال دایره به نوار) */
        .gallery10 .progress-label::after {
            content: "";
            position: absolute;
            bottom: -6px; /* داخل نوار جا زده میشه */
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            height: 8px;
            /*            background: #7b927d;*/
            border-radius: 1px;
            z-index: 2;
        }

    /* وقتی می‌خواهیم لیبل را نشان دهیم */
    .gallery10 .progress-fill.show-label .progress-label {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    /* جلوگیری از برش لیبل در درصدهای خیلی کم (تا لیبل از سمت چپ نرود بیرون) */
    .gallery10 .progress-bar {
        min-height: 15px;
    }
    /* برای فضای عمودی کافی */

    /* در صورت نیاز: وقتی درصد خیلی نزدیک به 100 است مطمئن شو لیبل از صفحه بیرون نمیره */
    .gallery10 .progress-fill[data-percent="100"] .progress-label {
        right: -18px;
    }




@media (max-width : 1250px) {
    .gallery10 .introduction-title {
        font-size: 40px;
        font-weight: 700;
        line-height: 50px;
    }

    .gallery10 .introduction-description {
        margin: 8px 0;
        font-size: 20px;
        line-height: 38px;
    }
}


@media(max-width : 992px) {
    .gallery10 {
        height: auto !important;
        min-height: auto;
        margin-top: 50px;
    }

        .gallery10 .introduction-content {
            top: auto !important;
            right: auto !important;
            left: auto !important;
            bottom: auto !important;
            width: 100% !important;
            height: auto !important;
        }

        .gallery10 .introduction-title {
            font-size: 35px;
            text-align: center;
        }

        .gallery10 .introduction-description {
            text-align: center;
        }
}

@media(max-width : 768px) {
    .gallery10 .introdution-container {
        width: 100%;
        flex-direction: column;
        gap: 40px;
    }

    .gallery10 .right-introduction,
    .gallery10 .left-introduction {
        width: 95%;
        justify-content: center;
        align-items: center;
    }

    .gallery10 .progress-container {
        width: 90%;
    }

    .gallery10 .right-introduction {
        padding: 0px;
    }
}

@media(max-width : 576px) {
    .gallery10 .left-introduction {
        /*        width: 95%;*/
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-direction: column;
    }

    .gallery10 .introduction-image {
        width: 100%;
        /*        height: 65px;*/
        transition: height 0.4s ease-out;
    }
}
