
.project-section {
    .section-title {
       
        h2 {
            font-size: 400px;
            font-weight: 700;
            text-transform: uppercase;
            line-height: 1;
            margin-left: 50px;

            @include breakpoint (max-xl){
                margin-left: 0;
                font-size: 200px;
            }

            @include breakpoint (max-lg){
                font-size: 150px;
            }

            @include breakpoint (max-md){
                font-size: 120px;
            }

            @include breakpoint (max-sm){
                font-size: 90px;
            }
        }
    }
}

.project-box-items {
    margin-top: 30px;
    position: relative;
    z-index: 99;

    .thumb {
        position: relative;
        z-index: 9;
        @include transition;

        @include breakpoint (max-xl){
            height: 500px;
        }


        img {
            @include imgw;
            border-radius: 10px;
            @include transition;
            border: 2px solid transparent;
            object-fit: cover;
        }

        .content {
            position: absolute;
            bottom: 20px;
            left: 40px;
            opacity: 0;
            visibility: hidden;
            @include transition;
            z-index: 1;
            right: 40px;

            p {
                font-size: 18px;
                font-weight: 500;
            }

            h3 {
                font-size: 32px;
                font-weight: 700;
                margin-top: 8px;

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

        .circle-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            background-color: $theme-color;
            width: 54px;
            height: 54px;
            line-height: 54px;
            text-align: center;
            border-radius: 50%;
            color: #060606;
            opacity: 0;
            visibility: hidden;
            @include transition;
            z-index: 1;
        }

        &:hover {
            .content {
                opacity: 1;
                visibility: visible;
            }

            .circle-icon {
                opacity: 1;
                visibility: visible;
            }
        }
    }

    &:hover {
        .thumb {
            img {
                border: 2px solid $theme-color;
                border-radius: 10px;
            }
        }
    }
}

.project-box-items-2 {
    margin-top: 30px;
    position: relative;
    z-index: 9;

    .thumb {
        img {
            @include imgw;
            border-radius: 10px;
        }
    }

    .project-content-items {
        @include flex;
        justify-content: space-between;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        position: absolute;
        top: 20%;
        left: -6%;
        gap: 100px;


        .content {
             p {
                font-size: 18px;
                font-weight: 500;
            }

            h3 {
                font-size: 32px;
                font-weight: 700;
                margin-top: 8px;

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

        .circle-icon {
            @include transition;
            background-color: $theme-color;
            width: 54px;
            height: 54px;
            line-height: 54px;
            text-align: center;
            border-radius: 50%;
            color: #060606;
            display: inline-block;

            &:hover {
                background-color: #060606;
                border: 1px solid $theme-color;
                color: $white;
            }
        }
    }
}

.project-area-one {
    position: relative;
    z-index: 1;

    @include breakpoint (max-xl){
        margin-bottom: -120px;
    }

    .section-title {
        h2 {
            font-size: 400px;
            font-weight: 700;
            text-transform: uppercase;
            line-height: 1;
            margin-left: 50px;

            @include breakpoint (max-xl){
                margin-left: 0;
                font-size: 220px;
            }

            @include breakpoint (max-lg){
                font-size: 170px;
            }

            @include breakpoint (max-md){
                font-size: 140px;
            }

            @include breakpoint (max-sm){
                font-size: 100px;
            }
        }
    }

    .project-wrapper {
        .wrapper-rolling-text {
            white-space: nowrap;
            font-family: $heading-font;
            margin-bottom: 75px;
        }

        .rolling-text {
            display: inline-block;

            .marquee-text {
                color: $black;
                font-family: $heading-font;
                font-size: 120px;
                font-style: normal;
                font-weight: 400;
                line-height: 120px;
                letter-spacing: -1.2px;
                text-transform: uppercase;

                span {
                    color: $theme-color;
                    margin: 0 43px;
                }
            }
        }

        // .project-card-wrapper {
        //     // background: $white;
        // }

        .card-items {
            position: relative;
            z-index: 99;
            margin-top: 30px;
            background-color: #060606;

            .card-single-item {
                display: flex;
                gap: 50px;
                margin-top: 30px;

                @include breakpoint (max-xl){
                    display: block;
                }

                .card-text-content {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    flex-direction: column;
                    gap: 20px;

                    @include breakpoint (max-xl){
                      display: block;
                      margin-top: 20px;
                    }

                    .card-btn {
                        width: 44px;
                        height: 44px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        background: $theme-color;
                        border-radius: 100%;
                        transition: 150ms ease-in-out;
                        margin-left: -30px;

                         @include breakpoint (max-xl){
                           margin-left: 0;
                           margin-bottom: 15px;
                        }

                        svg path {
                            transition: 150ms ease-in-out;
                        }

                        &:hover {
                            background: $theme-color;

                            // svg path {
                            //     fill: $white;
                            // }
                        }
                    }

                    .card-content {
                        writing-mode: vertical-rl;
                        transform: rotate(180deg);

                        @include breakpoint (max-xl){
                            transform: initial;
                            writing-mode: initial;
                            margin-bottom: 25px;
                        }

                        .title {
                            color: $white;
                            font-family: $heading-font;
                            font-size: 32px;
                            font-weight: 700;
                            text-transform: uppercase;
                            text-align: start;

                            @include breakpoint (max-md){
                                font-size: 28px;
                            }

                             @include breakpoint (max-sm){
                                font-size: 24px;
                            }

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

                        .text {
                            color: $text-color;
                            font-size: 18px;
                            font-weight: 500;
                            letter-spacing: -0.1px;
                            text-transform: uppercase;
                        }
                    }
                }

                .project-image {
                    &.project-image-fast {
                        margin-left: 105px;

                        @include breakpoint (max-xl){
                            margin-left: 0;
                        }
                    }

                    &.project-image-last {
                        margin-right: 105px;

                         @include breakpoint (max-xl){
                            margin-right: 0;
                        }
                    }

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

.project-item-style-3 {
    margin-top: 30px;
    position: relative;
    z-index: 99;

     &.style-margin {
        margin-top: 100px;

        @include breakpoint (max-xl){
            margin-top: 30px;
        }
    }

    .thumb {
        max-width: 300px;
        position: relative;
        overflow: hidden;

        @include breakpoint (max-xl){
           max-width: initial;
        }

        &.style-width {
            max-width: initial;
        }

        .arrow-icon {
            display: inline-block;
            position: absolute;
            top: -200px;
            left: 50%;
            transform: translate(-50%,-50%);
            width: 60px;
            height: 60px;
            line-height: 60px;
            text-align: center;
            border-radius: 50%;
            background-color: $theme-color;
            color: #060606;
            opacity: 0;
            visibility: hidden;

            &:hover {
                background-color: #060606;
                color: $theme-color;
            }
        }

        img {
            @include imgw;
            border-radius: 10px;
        }
    }

    .content {
        margin-top: 20px;

        span {
            display: inline-block;
            font-size: 16px;
            font-weight: 500;
            letter-spacing: -0.1px;
            text-transform: uppercase;
            margin-bottom: 5px;
            line-height: 1;
        }

        h3 {
            font-size: 24px;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;

            a {
                 color: #888;

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

    &:hover {
        .thumb {
            .arrow-icon {
                opacity: 1;
                visibility: visible;
                top: 50%;
            }
        }
    }
}

.project-inner-image {
    position: relative;
        z-index: 9;
        @include transition;

        &::before {
            @include before;
            background-color: #060606;
            opacity: 0;
            @include transition;
            visibility: hidden;

        }

        @include breakpoint (max-xxl){
            height: 500px;
        }

        img {
            @include imgw;
            border-radius: 6px;
            @include transition;
            object-fit: cover;
        }

        .content {
            position: absolute;
            bottom: 20px;
            left: 40px;
            opacity: 0;
            visibility: hidden;
            @include transition;
            z-index: 1;
            right: 40px;

            p {
                font-size: 18px;
                font-weight: 500;
                color: $theme-color;
            }

            h3 {
                font-size: 32px;
                font-weight: 700;
                margin-top: 8px;

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

        .circle-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            background-color: $theme-color;
            width: 54px;
            height: 54px;
            line-height: 54px;
            text-align: center;
            border-radius: 50%;
            color: #060606;
            opacity: 0;
            visibility: hidden;
            @include transition;
            z-index: 1;
        }

      &:hover {
        &::before {
            opacity: 1;
            visibility: visible;
             opacity: .3;
        }
            .content {
                opacity: 1;
                visibility: visible;
            }

            .circle-icon {
                opacity: 1;
                visibility: visible;
            }
        }
}

.project-details-wrapper {
    .top-image-items {
        text-align: center;

        .list-items {
            @include flex;
            gap: 20px;
            justify-content: center;
            margin-bottom: 30px;

            @include breakpoint (max-xl){
                flex-wrap: wrap;
                margin-top: 15px;
            }
        }

        .project-details-image {
            margin-top: 30px;
             border-radius: 10px;

            img {
                @include imgw;
                border-radius: 10px;
            }
        }
    }

    .bottom-content-items {
        max-width: 930px;
        margin: 0 auto;
        margin-top: 40px;

        h2 {
            font-size: 50px;

            @include breakpoint (max-sm){
                font-size: 36px;
            }
        }

        p {
            margin-top: 15px;
        }

        h3 {
            font-size: 30px;
            font-weight: 700;
            margin-top: 30px;
        }

        .project-image {
            margin-top: 30px;
             border-radius: 8px;
            img {
                @include imgw;
                border-radius: 8px;
            }
        }

        .text-list {
            margin-top: 20px;
            @include flex;
            gap: 80px;

            @include breakpoint (max-xl){
                flex-wrap: wrap;
                gap: 30px;
            }

            ul {
                li {
                    margin-top: 40px;
                    font-size: 20px;
                    font-weight: 700;
                    color: $white;
                    font-family: $heading-font;

                    b {
                        font-size: 20px;
                        font-weight: 700;
                        color: $text-color;
                        margin-right: 6px;
                        font-family: $heading-font;
                    }

                    p {
                        font-size: 16px;
                        font-weight: 400;
                        color: $text-color;
                        font-family: $body-font;
                        max-width: 330px;
                    }
                }
            }
        }
    }
}

.project-section-555 {
    .section-title-area {
        .section-title {
            h2 {
                font-size: 100px;
                font-weight: 700;

                 @include breakpoint (max-xl){
                    font-size: 70px;
                }

                @include breakpoint (max-lg){
                    font-size: 55px;
                }

                 @include breakpoint (max-md){
                    font-size: 42px;
                }

                @include breakpoint (max-sm){
                    font-size: 36px;
                }
            }
        }

         .array-button {
        @include flex;
        gap: 14px;

        .array-prev {
            width: 48px;
            height: 48px;
            line-height: 48px;
            display: inline-block;
            border-radius: 50%;
            border: 1.5px solid rgba(255, 255, 255, 0.20);
            color: $theme-color;
            background-color: transparent;
            @include transition;

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

        .array-next {
            width: 48px;
            height: 48px;
            line-height: 48px;
            display: inline-block;
            border-radius: 50%;
            border: 1.5px solid rgba(255, 255, 255, 0.20);
            color: $theme-color;
            background-color: transparent;
            @include transition;

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

.project-box-items-555 {
    margin-top: 30px;

    .thumb {
        img {
            @include imgw;
            border-radius: 10px;
        }
    }

    .content {
        margin-top: 20px;
        p {
            color: $theme-color;
            font-weight: 500;
        }

        h3 {
            margin-top: 8px;
            a {
                font-weight: 700;

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

.project-inner-page-wrapper {
    h1 {
        color: $white;
        text-align: center;
        font-size: 100px;
        font-weight: 700;
        text-transform: uppercase;

        @include breakpoint (max-xl){
            font-size: 70px;
        }

        @include breakpoint (max-lg){
            font-size: 55px;
        }

            @include breakpoint (max-md){
            font-size: 42px;
        }

        @include breakpoint (max-sm){
            font-size: 36px;
        }
    }

    .project-inner-page-box {
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.20);
        background: #060606;
        padding: 30px 35px;
        margin-top: 60px;
        @include flex;
        gap: 50px;

        @include breakpoint (max-xl){
            display: block;
            margin-top: 30px;
            padding: 28px;
        }

        .thumb {
            max-width: 847px;
            width: 100%;

              @include breakpoint (max-xl){
                max-width: initial;
                margin-bottom: 25px;
            }

            &.style-2 {
                @include breakpoint (max-xl){
                    margin-top: 25px;
                    margin-bottom: 0;
                }
            }

            img {
                border-radius: 10px;
                @include imgw;
            }
        }

        .content {
            max-width: 430px;
            width: 100%;

              @include breakpoint (max-xl){
                max-width: 700px;
            }

            span {
                color: $theme-color;
                font-size: 16px;
                font-weight: 500;
                letter-spacing: -0.1px;
                text-transform: uppercase;
                display: inline-block;
                margin-bottom: 10px;
            }

            h3 {
                font-size: 24px;
                font-weight: 700;
                margin-bottom: 20px;

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

            .arrow-icon {
                display: inline-block;
                width: 60px;
                height: 60px;
                line-height: 60px;
                text-align: center;
                border-radius: 50%;
                color: $black;
                background-color: $theme-color;
                margin-top: 40px;

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

.project-grid-section {
    padding: 160px 0 120px;

    h1 {
        color: $white;
        text-align: center;
        font-size: 100px;
        font-weight: 700;
        text-transform: uppercase;
        line-height: 1;

         @include breakpoint (max-xl){
            font-size: 70px;
        }

        @include breakpoint (max-lg){
            font-size: 55px;
        }

            @include breakpoint (max-md){
            font-size: 42px;
        }

        @include breakpoint (max-sm){
            font-size: 36px;
        }
        
    }

    .nav {
        @include flex;
        justify-content: center;
        margin-top: 40px;

        .nav-item {
            .nav-link {
                color: #888;
                font-size: 16px;
                font-weight: 500;
                letter-spacing: 0.5px;
                text-transform: uppercase;

                &.active {
                    color: $theme-color;
                }
            }
        }
    }
}

.project-section {
    .project-btn-all {
        @include flex;
        justify-content: center;
        border-radius: 100px;
        background: #1A1A1A;
        max-width: 530px;
        padding: 12px 16px;
        gap: 20px;
        margin: 50px auto 0;
        position: relative;
        z-index: 99;

        @include breakpoint (max-xl){
            flex-wrap: wrap;
        }

        .theme-btn {
            border-radius: 100px;
            border: 1px solid rgba(255, 255, 255, 0.20);
            background: #060606;
        }
    }
}

.project-section-4 {
    .container {
        max-width: 1700px;
    }

    h2 {
        font-size: 300px;
        line-height: 1;
        text-transform: uppercase;
        color: $white;
        font-family: $heading-font;

         @include breakpoint (max-xxl){
            font-size: 210px;
        }

         @include breakpoint (max-xl){
            font-size: 170px;
        }

        @include breakpoint (max-md){
            font-size: 140px;
        }

         @include breakpoint (max-sm){
            font-size: 100px;
        }
    }
}

.project-box-items-4 {
    background-color: $white;
    padding: 20px;
    border-radius: 20px;

    &.style-2 {
        max-width: initial;

        .project-content {
            h3 {
                font-size: 34px;
            }

             .circle-icon {
                width: 48px;
                height: 48px;
                line-height: 48px;
             }
        }
    }

    .thumb {
        img {
            @include imgw;
        }
    }

     .project-content {
        padding: 30px 0 20px;
        position: relative;

       span {
            font-size: 16px;
            font-weight: 500;
            display: inline-block;
            margin-bottom: 5px;
                color: $black;
        }
    
        h3 {
            font-size: 42px;
            font-weight: 700;

            a {
                color: $black;

            }
        }

         .circle-icon {
            background-color: $black;
            width: 60px;
            height: 60px;
            line-height: 60px;
            text-align: center;
            border-radius: 50%;
            color: $theme-color;
            @include transition;
            z-index: 1;
            display: inline-block;
            position: absolute;
            right: 0;
            top: 50px;
        }
    }
}

.project-box-items-wrap4 {
    margin-bottom: 200px;
    position: relative;
    z-index: 99;

    @include breakpoint (max-xl){
        margin-bottom: 30px;
    }
}

.portfolio {
    width: 100vw;
    height: 100vh;

    &__item {
        width: 100vw;
        height: 100vh;
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        transition: .8s cubic-bezier(.37, .23, 0, .96);
    }

    &__content {
        z-index: 9;
        left: 50px;
        bottom: 200px;
        position: absolute;

       

        &-title {
            opacity: 0;
            font-size: 100px;
            line-height: 1.05;
            color: var(--white);
            transform: translateY(-130px);

            a {
                &:hover {
                    color: var(--white);
                }
            }

          
        }
    }

    &__list {
        opacity: 0;
        display: flex;
        margin-top: 40px;
        align-items: center;
        transform: translateY(-150px);

        li {
            a {
                font-size: 14px;
                border-radius: 20px;
                padding: 10px 17px;
                border-radius: 20px;
                color: var(--white);
                text-transform: uppercase;
                border: 1px solid rgba(255, 255, 255, 0.20);
            }
        }
    }

    .swiper-slide {
        overflow: hidden;
    }

    &-activ {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
    }

    .slide-inner {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 1;
        background-size: cover;
        background-position: center;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: left;
    }

    .swiper-slide-active {

        .portfolio {

            &__item {
                animation-name: qodef-animate-slide-out;
                animation-duration: 1.3s;
                animation-fill-mode: forwards
            }

            &__content {

                &-title {
                    opacity: 1;
                    transform: translatey(0px);
                    transition: all 2200ms ease;
                }
            }

            &__list {
                opacity: 1;
                transform: translatey(0px);
                transition: all 2000ms ease;
            }
        }
    }

    &__slider {

        &__arrow {
            gap: 40px;
            right: 50px;
            bottom: 50px;
            z-index: 99;
            display: flex;
            position: absolute;
            align-items: center;

           
            &-prev,
            &-next {
                gap: 8px;
                display: flex;
                font-size: 14px;
                font-weight: 600;
                align-items: center;
                color: var(--white);
            }
        }
    }

    .portfolio-pagination {
        position: absolute;
        bottom: 50px;
        left: 50px;
        z-index: 9;
        display: inline-block;

       
    }

    .swiper-pagination-bullet {
        width: 150px;
        height: 10px;
        display: inline-block;
        margin: 0 5px;
        overflow: hidden;
        transition: 0.4s;
        position: relative;
        border-radius: 5px;
        background: rgba(255, 255, 255, 0.30);

      
    }

    .swiper-pagination-bullet::before {
        content: "";
        width: 150px;
        height: 100%;
        position: absolute;
        transition: 0.6s;
        z-index: 9;
        left: 0;
        border-radius: 5px;
        background: rgba(255, 255, 255, 0.30);
    }

    .swiper-pagination-bullet::after {
        content: "";
        width: 0;
        height: 100%;
        position: absolute;
        transition: 0.6s;
        z-index: 8;
        left: 0;
        background-color: white;
    }

    .swiper-pagination-bullet-active::after {
        opacity: 1;
        width: 100%;
    }
}

// .portfolio-4 {
//     .slider {
//         min-height: 50vh;

//         .swiper-slide {
//             overflow: hidden;
//             position: relative;
//             height: 100%;
//             display: flex;
//             justify-content: center;

//             .slide-inner {
//                 position: absolute;
//                 width: 100%;
//                 height: 100vh;
//                 left: 0;
//                 top: 0;

//                 img {
//                     position: absolute;
//                     width: 100vw;
//                     height: 100vh;
//                     object-fit: cover;
//                     left: 0;
//                     top: 0;
//                     bottom: 0;
//                     margin: auto;
//                 }
//             }
//         }
//     }

//     .swiper-container {
//         width: 100%;
//         height: 100vh;
//         position: relative;
//     }

//     &__content {
//         z-index: 9;
//         left: 50px;
//         bottom: 200px;
//         position: absolute;

       

//         &-title {
//             opacity: 0;
//             font-size: 100px;
//             line-height: 1.05;
//             color: var(--white);
//             transform: translateY(-130px);

//             a {
//                 &:hover {
//                     color: var(--white);
//                 }
//             }

           
//         }

//     }

//     &__list {
//         opacity: 0;
//         display: flex;
//         margin-top: 40px;
//         align-items: center;
//         transform: translateY(-150px);

//         li {
//             a {
//                 font-size: 14px;
//                 border-radius: 20px;
//                 padding: 10px 17px;
//                 border-radius: 20px;
//                 color: var(--white);
//                 text-transform: uppercase;
//                 border: 1px solid rgba(255, 255, 255, 0.20);
//             }
//         }
//     }

//     .swiper-slide-active {
//         .portfolio-4 {

//             &__item {
//                 animation-name: qodef-animate-slide-out;
//                 animation-duration: 1.3s;
//                 animation-fill-mode: forwards
//             }

//             &__content {

//                 &-title {
//                     opacity: 1;
//                     transform: translatey(0px);
//                     transition: all 2200ms ease;
//                 }
//             }

//             &__list {
//                 opacity: 1;
//                 transform: translatey(0px);
//                 transition: all 2000ms ease;
//             }
//         }
//     }

//     &__slider {
//         width: 100vw;
//         height: 100vh;

//         &__arrow {
//             gap: 40px;
//             right: 50px;
//             bottom: 50px;
//             z-index: 99;
//             display: flex;
//             position: absolute;
//             align-items: center;


//             &-prev,
//             &-next {
//                 gap: 8px;
//                 display: flex;
//                 font-size: 14px;
//                 font-weight: 600;
//                 align-items: center;
//                 color: var(--white);
//             }
//         }
//     }

//     .portfolio-4-pagination {
//         position: absolute;
//         bottom: 50px;
//         left: 50px;
//         z-index: 9;
//         display: flex;
//         gap: 15px;
//         top: inherit;
//         right: 0;
//         transform: inherit;

       
//     }

//     .swiper-pagination-bullet {
//         width: 150px;
//         height: 10px;
//         display: inline-block;
//         margin: 0 5px;
//         overflow: hidden;
//         transition: 0.4s;
//         position: relative;
//         border-radius: 5px;
//         background: rgba(255, 255, 255, 0.30);

       
//     }

//     .swiper-pagination-bullet::before {
//         content: "";
//         width: 150px;
//         height: 100%;
//         position: absolute;
//         transition: 0.6s;
//         z-index: 9;
//         left: 0;
//         border-radius: 5px;
//         background: rgba(255, 255, 255, 0.30);
//     }

//     .swiper-pagination-bullet::after {
//         content: "";
//         width: 0;
//         height: 100%;
//         position: absolute;
//         transition: 0.6s;
//         z-index: 8;
//         left: 0;
//         background-color: white;
//     }

//     .swiper-pagination-bullet-active::after {
//         opacity: 1;
//         width: 100%;
//     }
// }