/* Project Card ---------------------------------- */
.project-card {
    --space: 30px;
    position: relative;
    overflow: hidden;

    .project-img {
        overflow: hidden;
        border-radius: 10px;
        z-index: 2;

        img {
            width: 100%;
            transition: 0.4s ease-in-out;
        }

        &:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            height: 0;
            width: 100%;
            background: linear-gradient(to bottom, rgba(0, 0, 40, 0) 0%, rgba(0, 0, 40, 0.140476) 43.1%, #000028 100%);
            opacity: 0;
            transition: 0.4s ease-in-out;
            z-index: 1;
            border-radius: inherit;
        }
    }

    .project-content-wrap {
        position: absolute;
        left: var(--space);
        bottom: -30px;
        width: 100%;
        max-width: calc(100% - var(--space)*2 - 28px);
        z-index: 3;
        opacity: 0;
        transition: 0.4s ease-in-out;
    }

    .project-content {
        background-color: $theme-color;
        background-size: auto;
        background-position: right center;
        border-radius: 10px;
        position: relative;
        z-index: 2;
        padding: 26px 30px;
    }

    .box-title {
        color: $white-color;
        margin-bottom: 2px;

        a:hover {
            color: $smoke-color2;
        }
    }

    .project-subtitle {
        margin-bottom: -0.5em;
        color: $white-color;
    }

    .icon-btn {
        position: absolute;
        right: -28px;
        top: calc(50% - 28px);
        background-color: $white-color;
        border: none;
        color: $theme-color;
        font-size: 24px;

        &:hover {
            background-color: $title-color;
        }
    }

    &:hover {
        .project-img {
            img {
                transform: scale(1.1);
            }

            &:before {
                height: 100%;
                opacity: 1;
            }
        }

        .project-content-wrap {
            bottom: var(--space);
            opacity: 1;
        }
    }
}

@include vxs {
    .project-card {
        --space: 15px;
    }
}

@media (max-width: 360px) {
    .project-card {
        .box-title {
            font-size: 22px;
        }

        .project-content {
            padding: 26px 20px;
        }
    }
}

/* Project Card 2 start---------------------------------- */
.project-card2 {
    --space: 30px;
    position: relative;
    overflow: hidden;

    .project-img {
        position: relative;
        overflow: hidden;
        border-radius: 20px;
        z-index: 2;

        img {
            width: 100%;
            border-radius: 20px;
            transition: 0.4s ease-in-out;
        }

        &:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            height: 0;
            width: 100%;
            background: linear-gradient(to bottom, rgba(0, 0, 40, 0) 0%, rgba(0, 0, 40, 0.140476) 43.1%, #000028 100%);
            opacity: 0;
            transition: 0.4s ease-in-out;
            z-index: 1;
            border-radius: inherit;
        }
    }

    .project-content-wrap {
        position: absolute;
        left: var(--space);
        bottom: -30px;
        width: 100%;
        max-width: 474px;
        z-index: 3;
        opacity: 0;
        transition: 0.4s ease-in-out;
    }

    .project-content {
        background-repeat: no-repeat;
        mask-repeat: no-repeat;
        mask-position: center;
        mask-size: auto;
        background-color: $white-color;
        background-size: auto;
        background-position: center center;
        position: relative;
        z-index: 2;
        padding: 90px 30px 30px 30px;
    }

    .box-title {
        color: $title-color;
        margin-bottom: 0px;

        a {
            color: inherit;
        }

        &:hover {
            color: $theme-color;
        }
    }

    .project-subtitle {
        font-size: 14px;
        margin-bottom: 5px;
        color: $theme-color;
    }

    .icon-btn {
        position: absolute;
        right: 20px;
        top: 25px;
        border: none;
        --btn-size: auto;
        color: $theme-color;
        font-size: 20px;
    }

    &:hover {
        .project-img {
            img {
                transform: scale(1.1);
            }

            &:before {
                height: 100%;
                opacity: 1;
            }
        }

        .project-content-wrap {
            bottom: var(--space);
            opacity: 1;
        }
    }
}

@include vxs {
    .project-card2 {
        --space: 15px;
    }
}

@media (max-width: 360px) {
    .project-card2 {
        .box-title {
            font-size: 22px;
        }

        .project-content {
            padding: 26px 20px;
        }
    }
}

/* Project Card 2 end---------------------------------- */

/* Project Grid ---------------------------------- */
.project-grid {
    background-color: $white-color;
    box-shadow: 0px 10px 15px rgba(8, 14, 28, 0.06);
    border-radius: 10px;

    &_img {
        position: relative;
        z-index: 2;
        border-radius: 10px 10px 0 0;
        overflow: hidden;

        &:before {
            content: '';
            position: absolute;
            inset: 0;
            background-color: $black-color2;
            opacity: 0.8;
            transition: 0.4s ease-in-out;
            transform: scaleX(0);
            z-index: 1;
        }

        img {
            width: 100%;
            transition: 0.4s ease-in-out;
        }

        .play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);

            >i {
                font-size: 24px;
            }
        }
    }

    &_text {
        margin-bottom: -0.5em;
    }

    &_content {
        padding: 40px;
    }

    &:hover {
        .project-grid {
            &_img {
                &:before {
                    transform: scaleX(1);
                }

                img {
                    transform: scale(1.1);
                }

                .play-btn {
                    transform: translate(-50%, -50%) scale(1);
                }
            }
        }
    }
}

/* Project Box ---------------------------------- */
.project-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;

    &.style2 {
        border-radius: 20px;

        .project-img {
            border-radius: 20px;
            margin-bottom: 30px;

            img {
                border-radius: 20px;
            }
        }

        .project-box_desc {
            font-size: 14px;
            margin-bottom: 7px;

        }

        .box-title {
            font-weight: 600;
        }
    }

    .project-img {
        overflow: hidden;
        border-radius: 10px 10px 0 0;

        img {
            width: 100%;
            transition: 0.4s ease-in-out;
        }
    }

    .project-content {
        background-color: $white-color;
        padding: 22px 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .box-title {
        margin-bottom: 3px;
    }

    .project-subtitle {
        margin-bottom: -0.5em;
        color: $theme-color;
    }

    .icon-btn {
        background-color: $theme-color;
        border: none;
        color: $white-color;
        font-size: 24px;
        border-radius: 8px;

        &:hover {
            background-color: $title-color;
        }
    }

    &:hover {
        .project-img {
            img {
                transform: scale(1.1);
            }
        }
    }
}

@media (max-width: 360px) {
    .project-box {
        .box-title {
            font-size: 22px;
        }

        .project-content {
            padding: 26px 20px;
        }
    }
}


/* Project Box 4---------------------------------- */
.project-box4 {
    position: relative;
    --space: 40px;
    border-radius: 35px;
    margin-bottom: 0px;
    overflow: hidden;

    .project-content {
        position: absolute;
        left: var(--space);
        bottom: -30px;
        width: calc(100% - var(--space)*2);
        z-index: 3;
        opacity: 0;
        overflow: hidden;
        transition: all 0.4s ease-in-out;
    }

    .box-title {
        color: $white-color;
        border-bottom: 1px solid rgba(255, 255, 255, 0.20);
        margin-bottom: 15px;
        padding-bottom: 15px;

        a {
            color: inherit;

        }

        &:hover {
            color: $white-color;
        }
    }

    .project-tags {
        display: flex;
        gap: 5px;

        a {
            font-size: 14px;
            font-weight: 500;
            letter-spacing: -0.28px;
            background-color: $white-color;
            color: $title-color;
            border-radius: 100px;
            padding: 4px 20px;
            transition: all 0.4s ease-in-out;

            &:hover {
                background-color: $theme-color;
                color: $white-color;
            }

        }

    }

    .project-img {
        overflow: hidden;
        position: relative;
        z-index: 2;
        border-radius: 30px;
        transition: 0.4s ease-in-out;

        &:before,
        &:after {
            content: '';
            height: 100%;
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
            border-radius: 30px;
            visibility: hidden;
            opacity: 0;
            transition: 0.4s ease-in-out;
        }

        &:before {
            background: $theme-color;
            mix-blend-mode: multiply;
            z-index: 4;
        }

        &:after {
            background: rgba(64, 102, 242, 0.92);
            z-index: 3;
        }

        img {
            width: 100%;
            border-radius: 20px;
            transition: all 0.4s ease;
        }
    }

    &:hover {
        .project-img {
            img {
                filter: grayscale(50%);
                transform: scale(1);
            }

            &:before {
                opacity: 1;
                visibility: visible;
            }
        }

        .project-content {
            bottom: var(--space);
            opacity: 1;
            visibility: visible;
        }
    }
}

.project-slider4 {
    margin-left: 40px;

    @include lg {
        margin: 50px 0 0 0;
    }
}

.project-btn {
    @include sm {
        text-align: center;
    }
}


/* Project 5---------------------------------- */
.project-area-5 {
    background: #1C1C25;
}

.project-card5 {
    position: relative;
    border-radius: 20px;
    border: 1px solid #2E3039;
    background-color: #1C1C25;
    padding: 20px;
    overflow: hidden;

    .project-img {
        overflow: hidden;
        border-radius: 20px;
        z-index: 2;

        img {
            width: 100%;
            border-radius: 20px;
            transition: 0.4s ease-in-out;
        }
    }

    .project-content {
        padding: 30px 20px 20px;

        @include xl {
            padding: 30px 0px 20px;
        }
    }

    .box-title {
        font-size: 22px;
        color: $white-color;
        margin-bottom: 14px;
        letter-spacing: -0.22px;
    }

    &_desc {
        margin-bottom: 22px;
    }

    .line-btn {
        font-family: $body-font;

        &:hover {
            color: $white-color;

            &:before {
                background-color: $white-color;
            }
        }
    }

    &:hover {
        .project-img {
            img {
                transform: scale(1.1);
            }
        }
    }
}


@media (max-width: 360px) {
    .project-card5 {
        .box-title {
            font-size: 22px;
        }

        .project-content {
            padding: 26px 20px;
        }
    }
}

/*project-card3 start --------------------------*/
.project-card3 {
    text-align: center;

    .project-img {
        position: relative;
        z-index: 2;
        overflow: hidden;

        &:after {
            content: '';
            position: absolute;
            inset: 0;
            background: $theme-color;
            mix-blend-mode: normal;
            opacity: 0;
            border-radius: 20px;
            transition: 0.4s ease-in-out;
            transform: scale(0.3);
        }

        img {
            width: 100%;
            border-radius: 20px;
        }
    }

    .shape {
        position: absolute;
        inset: 30px;
        border: 1px solid $white-color;
        z-index: 2;
        border-radius: 12px;
        transition: 0.4s ease-in-out;
        transform: scaleY(0);

        @include md {
            inset: 20px;
        }

        @include vxs {
            inset: 10px;
        }
    }

    .project-content {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        mix-blend-mode: normal;
        border-radius: 12px;
        transition: 0.4s ease-in-out;
        visibility: hidden;
        opacity: 0;
        z-index: 3;
        transform: translateY(40px);
    }

    .icon-btn {
        background-color: $white-color;
        border-radius: 50%;
        border: none;
        color: $theme-color;
        font-size: 18px;
        margin-bottom: 15px;

        &:hover {
            background-color: $title-color;
            color: $white-color;
        }
    }

    .project-subtitle {
        font-weight: 400;
        font-size: 16px;
        line-height: 26px;
        color: $white-color;
        margin-bottom: 0;
    }

    .box-title {
        font-weight: 600;
        font-size: 20px;
        line-height: 30px;
        text-transform: capitalize;
        color: $white-color;
        margin-bottom: 0;

        a {
            color: inherit;
        }
    }

    &:hover {
        .project-img {
            &:after {
                opacity: 0.89;
                transform: scale(1);
            }
        }

        .shape {
            transform: scaleY(1);
        }

        .project-content {
            visibility: visible;
            opacity: 1;
            transform: translateY(-50%);
        }
    }
}

/*project-card start --------------------------*/
.project-area9 {
    background-color: #EFF1F9;
}

.project-card {
    &.style2 {
        .project-img {
            border-radius: 20px;

            &:before {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                height: 0;
                width: 100%;
                border-radius: 20px;
                background-color: $theme-color;
                opacity: 0;
                -webkit-transition: 0.4s ease-in-out;
                transition: 0.4s ease-in-out;
                z-index: 1;
                border-radius: inherit;
            }
        }

        .project-content-wrap {
            max-width: calc(100% - var(--space)*2 - 111px);

            @media(max-width: 1699px) {
                max-width: calc(100% - var(--space)*2 - 30px);
            }
        }

        .project-content {
            background-color: $white-color;
            padding: 11px 23px;
            border-radius: 10px;
        }

        .project-subtitle {
            color: $theme-color;
        }

        .box-title {
            font-size: 18px;
            color: $title-color;

            a {
                &:hover {
                    color: $theme-color;
                }
            }
        }

        .icon-btn {
            --btn-size: 70px;
            background-color: $theme-color;
            border-radius: 50%;
            color: $white-color;
            top: 0;
        }

        &:hover {
            .project-img {
                &:before {
                    height: 100%;
                    opacity: 0.6;
                }
            }
        }
    }
}

/*project-card end --------------------------*/

/*project-card3 end --------------------------*/
/* Project Details ---------------------------------- */
.project-inner-box {
    background-color: $smoke-color;
    border-radius: 5px;
    padding: 30px;

    @include vxs {
        padding: 20px;
    }
}


/*project-card start --------------------------*/
.project-card {
    &.style3 {
        --space: 0px;
        border-radius: 30px;

        .project-img {
            border-radius: 20px;

            &:before {
                display: none;
            }
        }

        .project-content {
            position: relative;
            background-color: transparent;
            border-radius: 0px;
            padding: 20px 40px;
            z-index: 2;

            &:before {
                content: "";
                position: absolute;
                inset: 0;
                background: linear-gradient(180deg, #3E66F3 0%, #0031DD 100%);
                clip-path: path("M-13.0656 17.2667C-8.12633 6.72988 2.46095 0 14.098 0H222.716C236.147 0 247.941 8.92694 251.589 21.8532L267.253 77.3697C272.939 97.5197 256.758 117.149 235.893 115.413L-5.01712 95.3679C-25.8475 93.6347 -38.565 71.6641 -29.6932 52.7379L-13.0656 17.2667Z");
                z-index: -1;
            }
        }

        .project-subtitle {
            color: $white-color;
            margin-bottom: 3px;
        }

        .box-title {
            font-size: 18px;
            font-weight: 600;
            color: $white-color;

            a {
                &:hover {
                    color: $title-color;
                }
            }
        }

        .icon-btn {
            --btn-size: 70px;
            background-color: $white-color;
            border-radius: 50%;
            color: $theme-color;
            top: 30px;
            right: 30px;
            transition: all 0.4s ease-in-out;
            opacity: 0;
            visibility: hidden;

            &:hover {
                background-color: $title-color;
                color: $white-color;
            }

            @include md {
                --btn-size: 50px;
                top: 20px;
            }

            right: 20px;
        }

        &:hover {
            .icon-btn {
                opacity: 1;
                visibility: visible;
            }
        }
    }
}

/*project-card end --------------------------*/

/* project-card4 start ----------------------*/
.project-card4 {
    background: #EFF1F9;
    border-radius: 24px;
    padding: 24px;

    .project-img {
        margin-bottom: 24px;

        img {
            border-radius: 24px;
        }
    }

    .project-content {
        span {
            position: relative;
            font-weight: 400;
            font-size: 16px;
            line-height: 30px;
            color: #1C1C25;
            border-radius: 24px;
            padding: 3px 20px;
            display: inline-block;
            background: linear-gradient(89.96deg, #5484FF 17.55%, #642CDC 87.6%);
            z-index: 2;

            @include vxs {
                margin-bottom: 3px;
            }

            &:before {
                content: "";
                position: absolute;
                inset: 1px;
                border-radius: inherit;
                background: #EFF1F9;
                z-index: -1;
            }
        }
    }

    .box-title {
        font-size: 36px;
        font-weight: 600;
        margin-top: 20px;
        margin-bottom: 0;

        @include sm {
            font-size: 25px;
        }
    }

}

/*project area start --------------------------*/
.projectSlider12 {
    margin-right: -45% !important;

    @include sm {
        margin-right: 0 !important;
    }

}

.projectSlider12 {
    .slider-controller {
        width: 1380px;

        @include ml {
            width: 1100px;
        }

        @include lg {
            width: 700px;
        }
    }

    .slider-arrow {
        position: relative;
        --pos-x: 84px;
        min-width: 30px;
        max-width: 30px;
        height: 40px;
        line-height: 40px;
        left: 0;
        border-radius: 0;
        border: none;
        background-color: transparent;
        color: $title-color;
        margin: 0;
        transition: all 0.4s ease-in-out;

        @include xxl {
            display: block !important;
        }

        @include sm {
            display: none !important;
        }

        &.slider-next {
            &:before {
                content: "";
                position: absolute;
                inset: 0;
                background-color: #F3F6FF;
                mask-image: url("../img/shape/arrow-left.png");
                mask-repeat: no-repeat;
                mask-size: 100% 100%;
                margin: 0;
                transform: rotate(90deg);
                z-index: -1;
            }
        }

        &.slider-prev {
            &:before {
                content: "";
                position: absolute;
                inset: 0;
                background-color: #F3F6FF;
                mask-image: url("../img/shape/arrow-right.png");
                mask-repeat: no-repeat;
                mask-size: 100% 100%;
                transform: rotate(90deg);
                margin: 0;
                z-index: -1;
            }
        }

        &:hover {

            &:before,
            &:after {
                background-color: #00E3DB;
            }
        }
    }

    .swiper-pagination-progressbar.swiper-pagination-horizontal {
        margin: 0;
    }

    .slider-pagination2 {
        display: flex;
        gap: 15px;

    }

    .total-slides {
        position: relative;
        font-family: $title-font;
        font-weight: 400;
        font-size: 16px;
        color: $theme-color;
        z-index: 2;


        &:before {
            content: "/";
            position: absolute;
            left: -10px;
            top: 0;
        }
    }

    .slider-pagination2 {
        font-family: $title-font;
        font-weight: 600;
        font-size: 24px;
        color: $theme-color;

    }

    .swiper-pagination-progressbar {
        background: #E2E8F6;

        .swiper-pagination-progressbar-fill {
            background: var(--theme-color2);
        }
    }

}

.project-card6 {
    position: relative;
    z-index: 2;

    .project-img {
        position: relative;
        z-index: 2;
        margin-bottom: 32px;

        img {
            mask-image: url("../img/project/project-shape.png");
        }

        .icon {
            position: absolute;
            top: 0;
            right: 0;
            width: 172px;
            height: 80px;
            line-height: 80px;
            display: block;
            margin: auto;
            text-align: center;
            background: #00E3DB;
            padding-left: 60px;
            clip-path: polygon(100% 0, 100% 100%, 47% 100%, 20% 0);
            transition: all 0.4s ease-in-out; 

            &:hover {
                background-color: $theme-color;

                i {
                    color: $white-color;
                }
            }

            i {
                font-size: 40px;
                color: $title-color;
                transition: all 0.4s;
            }

        }
    }

    .box-title {
        font-size: 32px;
        font-weight: 500;
        margin-bottom: 5px;

        @include vxs {
            font-size: 24px;
        }
    }

    .box-text {
        margin-bottom: 0;
    }
}

/* project-item2 -------------------*/
.project-area13 {
    background-color: $theme-color;
    border-radius: 40px;
    padding: 48px;

    @include sm {
        padding: 25px; 
    }

    .project-image {
        img {
            border-radius: 24px;
        }
    }
}

.project-item2 {
    &_wrapper {
        &:first-child {
            .project-item2-details {
                direction: rtl;
                margin-right: 100px;

                @include xl {
                    margin-right: 30px;
                }

                @include md {
                    margin-right: 0;
                }
            }
        }

        .sec-title {
            max-width: 400px;
        }

        .box-text {
            font-weight: 400;
            font-size: 20px;
            line-height: 30px;
            color: #FFFFFF;
            max-width: 500px;

        }
    }

    .project-item2-details {
        margin-left: 100px;

        @include xl {
            margin-left: 30px;

            @include md {
                margin-left: 0;
            }
        }
    }
}

.scenarios-item {
    position: relative;
    border-radius: 24px;
    z-index: 2;
    overflow: hidden;

    &_wrap {
        &:last-child {
            .scenarios-item {
                .box-content {
                    mask-image: url("../img/project/shape-1.png");
                    width: 670px;
                }
            }
        }
    }

    .box-content {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        mask-image: url("../img/project/shape-1-1.png");
        mask-repeat: no-repeat;
        background-color: $theme-color;
        padding: 30px 62px;
        width: 554px;
        text-align: center;
    }

    .box-img {
        border-radius: 24px;

        img {
            border-radius: 24px;
        }
    }

    .box-title {
        font-family: $body-font;
        font-size: 30px;
        margin-bottom: 0;

        @include sm {
            font-size: 20px;
        }


    }
}