﻿.gallery9 {
    width: 100%;
    /*height: 70%;*/
    min-height: 500px;
    background-size: cover;
    position: relative;
    background-color: #213b52;
    user-select: none;
    -webkit-user-select: none;
}

    .gallery9 .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;*/
    }

    .gallery9 .left-introduction {
        width: 59%;
        display: flex;
        gap: 15px;
        justify-content: center;
    }

    .gallery9 .introduction-image {
        min-width: 20px;
        width: 70px;
        height: 400px;
        position: relative;
        cursor: pointer;
        overflow: hidden;
        transition: width 0.4s ease; /* ← این خط انیمیشن رو اضافه می‌کنه */
        border-radius: 10px;
        border: 1px solid;
    }

        .gallery9 .introduction-image.active {
            width: 77%;
        }

        .gallery9 .introduction-image img {
            width: 100%;
            height: 100%;
            border-radius: 10px;
        }

    .gallery9 .uShadow {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 1;
        transition: all 0.7s ease;
        border-radius: 10px;
    }

    .gallery9 .introduction-image:hover .uShadow {
        transform: translateY(100%);
        opacity: 0;
    }

    .gallery9 .right-introduction {
        width: 40%;
        height: 100%;
        display: flex;
        direction: rtl;
        align-items: center;
        justify-content: center;
        /*        padding: 2rem 2rem 0rem 2rem;*/
    }

    .gallery9 .introduction-content {
        width: 100%;
        height: 100%;
        position: relative;
        display: flex;
        direction: rtl;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .gallery9 .introduction-title {
        direction: rtl;
        color: #d2e0ed;
        font-size: 45px;
        font-weight: 700;
        line-height: 56px;
        word-spacing: -7px;
    }

    .gallery9 .introduction-divider {
        width: 100%;
        display: flex;
        margin: 1rem 0;
        align-items: start;
        border-top: 1px solid #000;
    }

    .gallery9 .introduction-description {
        margin: 8px 0;
        direction: rtl;
        color: #d2e0ed;
        font-size: 22px;
        text-align: start;
        line-height: 38px;
        white-space: pre-wrap;
        overflow: visible;
    }



@media (max-width : 1250px) {
    .gallery9 .introduction-title {
        font-size: 40px;
        font-weight: 700;
        line-height: 50px;
    }

    .gallery9 .introduction-description {
        margin: 8px 0;
        font-size: 20px;
        line-height: 38px;
    }
}


@media(max-width : 992px) {
    .gallery9 {
        height: auto !important;
        min-height: auto;
    }

        .gallery9 .introduction-content {
            top: auto !important;
            right: auto !important;
            left: auto !important;
            bottom: auto !important;
            width: 100% !important;
            height: auto !important;
        }

        .gallery9 .introduction-title {
            font-size: 35px;
            text-align: center;
        }

        .gallery9 .introduction-description {
            text-align: center;
        }

        .gallery9 .introduction-image.active {
            width: 90%;
        }
}

@media(max-width : 768px) {
    .gallery9 .introdution-container {
        width: 100%;
        flex-direction: column-reverse;
    }

    .gallery9 .right-introduction,
    .gallery9 .left-introduction {
        width: 95%;
        justify-content: center;
        align-items: center;
    }
}

@media(max-width : 576px) {
    .gallery9 .left-introduction {
        /*        width: 95%;*/
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-direction: column;
    }

    .gallery9 .introduction-image {
        width: 100%;
        height: 65px;
        transition: height 0.4s ease-out;
    }

        .gallery9 .introduction-image.active {
            width: 100%;
            height: 250px;
        }
}
