/*grid style  */
.project-style-1 .project-grid {
    margin-bottom: 4em;
}

.project-style-1 .col-lg-12 .project-grid {
    margin-bottom: 8.75em;
}

.project-style-1 .project-grid .project-info-main {
    margin-top: 1.5em;
}

.project-style-1 .project-grid .project-info-main a i {
    font-size: 2.5em;
    color: var(--global-font-color);
}

.project-style-1 .portfolio-title:hover {
    color: var(--color-theme-primary);
}

.project-style-1 .project-grid .portfolio-category {
    display: inline-block;
    color: var(--global-font-color);
    text-transform: uppercase;
    margin-bottom: 0.625em;
}

.project-style-1 .project-grid .portfolio-category:hover {
    color: var(--color-theme-primary);
}

.project-style-1 .project-grid .project-img-box {
    position: relative;
    overflow: hidden;
}

.project-style-1 .project-grid .project-img {
    -webkit-clip-path: inset(0 0 100% 0);
    clip-path: inset(0 0 100% 0);
    -webkit-transition: 1.2s cubic-bezier(.63, .25, .25, 1);
    -o-transition: 1.2s cubic-bezier(.63, .25, .25, 1);
    transition: 1.2s cubic-bezier(.63, .25, .25, 1);
}

.project-style-1 .project-grid .project-img.animated {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

.project-style-1 .project-grid .project-img-box img {
    width: 100%;
    -webkit-transform: scale(1.01);
    -ms-transform: scale(1.01);
    transform: scale(1.01);
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    height: auto;
    object-fit: cover;
}

.project-style-1 .project-grid:hover .project-img-box img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.project-style-1 .project-grid .project-img .project-category {
    color: var(--global-font-color);
    text-transform: uppercase;
}

.project-style-1 .col-lg-12:last-child .project-grid {
    margin-bottom: 0;
}

.project-style-1 .col-lg-12 .project-grid .project-img-box img {
    object-fit: cover;
}

@media(max-width:1024px) {
    .project-style-1 .col-lg-12 .project-grid .project-img-box img {
        height: auto;
    }

    .project-style-1 .col-lg-12 .project-grid {
        margin-bottom: 6.25em;
    }
}

@media(max-width:991px) {
    .project-container .details-box {
        margin-top: 1.25em;
    }
}

@media(max-width:767px) {
    .project-style-1 .project-grid {
        margin-bottom: 2.5em;
    }

    .project-style-1 .col-lg-12 .project-grid {
        margin-bottom: 3.125em;
    }

    .project-container .iqonic-navigation {
        text-align: center;
    }

    .project-style-1 .project-grid .project-img {
        padding-right: 0;
    }

    .project-container .swiper-button-next,
    .project-container .swiper-button-prev {
        margin-top: 1em;
    }

    .project-container .details-box {
        margin-top: 1em;
    }

    .project-style-1 .project-detail-main {
        padding-right: 0;
    }

    .project-style-1 .project-info-main .project-title {
        padding-right: 0;
    }
}


/* *****************************************
***************** project style 2***************************
******************************************** */
/*====================
tabs
===========================*/
.project-style-2 .container {
    padding: 0 1em;
}

.project-style-2 .makerz-title-box {
    margin-bottom: 0;
}

.project-style-2 .tab-content {
    margin-top: 3.125em;
}

.project-style-2 .iq-amazing-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
}

.project-style-2 .iq-amazing-tab .left {
    margin-right: 1em;
}

.project-style-2 .iq-amazing-tab .right {
    order: 3;
    margin-left: 1rem;
}

.project-style-2 .makerz-portfolio-tab-container {
    overflow-x: auto;
    white-space: nowrap;
}

.project-style-2 .makerz-portfolio-tab-container::-webkit-scrollbar {
    display: none;
}

.project-style-2 .makerz-portfolio-tab-container {
    scrollbar-width: none;
}

.project-style-2 .nav-tabs {
    border: none;
    display: block;
    text-align: right;
}

.project-style-2 .nav-item {
    margin: 0 1.4063em;
    display: inline-block;
}

.project-style-2 .nav-item:nth-child(1) {
    margin-left: 0;
}

.project-style-2 .nav-item:last-child {
    margin-right: 0;
}

.project-style-2 .nav-item .nav-link {
    color: var(--global-font-color);
    padding: 0;
    border: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    text-decoration: underline;
    transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
}

.project-style-2 .nav-item .nav-link:hover,
.project-style-2 .nav-item .nav-link.active {
    color: var(--global-font-title);
    text-decoration: underline;
}

.project-style-2 .nav-item .nav-link:focus {
    text-decoration: underline !important;
}

/*======================
content-slider
===========================*/
.project-style-2 .tab-content .tab-pane {
    min-height: 100%;
}

.project-style-2 .tab-pane .swiper {
    width: 100%;
    height: 100%;
}

.project-style-2 .tab-pane .swiper-slide {
    width: 80%;
}

.project-style-2 .tab-pane .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-style-2 .porfolio-inner {
    height: 100%;
    width: 100%;
}

.project-style-2 .tab-pane .swiper-slide:nth-child(2n) {
    width: 80%;
}

.project-style-2 .tab-pane .swiper-slide:nth-child(3n) {
    width: 80%;
}

.project-style-2 .tab-pane .first-col {
    height: 100%;
    position: relative;
}

.project-style-2 .makerz-portfolio-custom-grid {
    display: grid;
    width: 100%;
}

.project-style-2 .first-col .portfolio-card-wrapper:nth-child(1) {
    grid-area: 1;
}

.project-style-2 .first-col .portfolio-card-wrapper:nth-child(2) {
    grid-area: 3 / 2;
    margin-left: -15em;
}

.project-style-2 .first-col .portfolio-card-wrapper:nth-child(3) {
    grid-area: 2 / 3;
    margin: -13em 0 2em 4em;
}

.project-style-2 .portfolio-card-wrapper {
    min-width: 31.25em;
    width: 31.25em;
}

.project-style-2 .portfolio-card {
    height: max-content;
    position: relative;
    border: none;
}

.project-style-2 .portfolio-card .portfolio-category {
    color: var(--global-font-color);
    text-transform: uppercase;
    letter-spacing: 0;
    display: inline-block;
    margin-bottom: 1em;
}

.project-style-2 .portfolio-card .portfolio-category:hover {
    color: var(--color-theme-primary);
}

.project-style-2 .portfolio-card .portfolio-card-body {
    width: calc(100% - 10em);
    position: absolute;
    left: 0;
    bottom: 0;
    text-align: left;
    -moz-transform: translateX(-50%) translateY(-4.0625em);
    -webkit-transform: translateX(-50%) translateY(-4.0625em);
    -o-transform: translateX(-50%) translateY(-4.0625em);
    -ms-transform: translateX(-50%) translateY(-4.0625em);
    transform: translateX(-50%) translateY(-4.0625em);
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.project-style-2 .portfolio-card-wrapper:first-child .portfolio-card .portfolio-card-body {
    left: auto;
    bottom: auto;
    right: 0;
    top: 0;
    -moz-transform: translateX(75%) translateY(4.0625em);
    -webkit-transform: translateX(75%) translateY(4.0625em);
    -o-transform: translateX(75%) translateY(4.0625em);
    -ms-transform: translateX(75%) translateY(4.0625em);
    transform: translateX(75%) translateY(4.0625em);
}

.project-style-2 .portfolio-card .portfolio-card-body .card-title {
    font-size: var(--font-size-h3);
    color: var(--global-font-title);
    font-weight: var(--font-weight-h3);
}

.project-style-2 .portfolio-card .portfolio-card-body .card-title:hover {
    color: var(--color-theme-primary);
}

.project-style-2 .swiper-pagination-portfolio.swiper-pagination-bullets {
    padding-top: 3em;
}

/*=============================
responsive
=================================*/
@media (max-width: 1699px) {
    .project-style-2 .first-col .portfolio-card-wrapper:nth-child(3) {
        grid-area: 2 / 3;
        margin: -18em 0 2em 2em;
    }

    .project-style-2 .portfolio-card-wrapper {
        min-width: 27em;
        width: 27em;
    }

    .project-style-2 .portfolio-card .portfolio-card-body .card-title {
        font-size: var(--font-size-h4);
    }

    .project-style-2 .portfolio-card .portfolio-card-body,
    .project-style-2 .portfolio-card-wrapper:first-child .portfolio-card .portfolio-card-body {
        position: static;
        -moz-transform: none;
        -webkit-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
        margin-top: 1em;
    }
}

@media (max-width: 1366px) {
    .project-style-2 .container {
        padding: 0;
    }

    .project-style-2 .tab-pane .swiper-slide,
    .project-style-2 .tab-pane .swiper-slide:nth-child(2n),
    .project-style-2 .tab-pane .swiper-slide:nth-child(3n) {
        width: 100%;
    }

    .project-style-2 .portfolio-card .portfolio-card-body {
        width: 100%;
    }

    .project-style-2 .portfolio-card-wrapper {
        min-width: 25em;
        width: 25em;
    }
}

@media (max-width: 1024px) {
    .project-style-2 .portfolio-card-wrapper {
        min-width: 23em;
        width: 23em;
    }

    .project-style-2 .first-col .portfolio-card-wrapper:nth-child(2) {
        margin-top: -3em;
    }

    .project-style-2 .first-col .portfolio-card-wrapper:nth-child(3) {
        margin: -13em 0 2em 2em;
    }
}

@media (max-width: 991px) {
    .project-style-2 .makerz-title-box {
        margin-bottom: 2em;
        text-align: center;
    }

    .project-style-2 .iq-amazing-tab {
        justify-content: center;
    }
}

@media (max-width: 899px) {
    .project-style-2 .portfolio-card-wrapper {
        min-width: 19em;
        width: 19em;
    }
}

@media (max-width: 767px) {
    .project-style-2 .portfolio-card-wrapper {
        min-width: auto;
        width: auto;
    }

    .project-style-2 .first-col .portfolio-card-wrapper:nth-child(1) {
        margin-bottom: 2em;
    }

    .project-style-2 .first-col .portfolio-card-wrapper:nth-child(2) {
        grid-area: 3 / 1;
        margin-left: 0;
        margin-top: 0;
    }

    .project-style-2 .first-col .portfolio-card-wrapper:nth-child(3) {
        grid-area: 2 / 3;
        margin: 0 0 2em;
    }
}

@media (max-width: 479px) {
    .project-style-2 .makerz-portfolio-custom-grid {
        display: block;
    }

    .project-style-2 .portfolio-card-wrapper {
        width: 100%;
    }

    .project-style-2 .first-col .portfolio-card-wrapper:nth-child(1),
    .project-style-2 .first-col .portfolio-card-wrapper:nth-child(2),
    .project-style-2 .first-col .portfolio-card-wrapper:nth-child(3) {
        grid-area: none;
    }

    .project-style-2 .first-col .portfolio-card-wrapper:nth-child(2) {
        margin: 0 0 2em;
    }

    .project-style-2 .first-col .portfolio-card-wrapper:nth-child(3) {
        margin: 0;
    }

}