[data-xl-width="3"] {
    flex: 0 0 auto;
    flex-basis: 25%;
    max-width: 25%;
    width: 25%
}

.case-studies-group.our-projects {
    margin-top: -1px
}

.case-studies-group.our-projects.mod-type1 {
    margin-top: 70px
}

.case-studies-group.our-projects.mod-type1 h2 {
    margin-bottom: 100px;
    padding-left: 20px;
    padding-right: 20px
}

.case-studies-group.our-projects .card {
    float: left;
    height: 300px;
    left: 50%;
    margin: -150px;
    perspective: 500px;
    position: absolute;
    top: 50%;
    width: 300px
}

.case-studies-group.our-projects .content {
    box-shadow: 0 0 15px rgba(0, 0, 0, .1);
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 1s;
    width: 100%
}

.case-studies-group.our-projects .card:hover .content {
    transform: rotateY(180deg);
    transition: transform .5s
}

.our-projects .sr-card-inner {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
    position: relative;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d
}

.our-projects .front-card:before {
    background: rgba(0, 0, 0, .35);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transition: all .8s ease;
    width: 100%
}

.body-wrapper .our-projects .masonry .masonry-item:hover .front-card:before {
    opacity: 0
}

.our-projects .front-card:after {
    background: linear-gradient(0deg, #000, transparent);
    bottom: 0;
    content: "";
    height: 272px;
    left: 0;
    position: absolute;
    width: 100%
}

.our-projects .front-card .project-title {
    background: rgba(10 6 17 / 13%);
    border-radius: 5px;
    bottom: 20px;
    color: #b38bf987;
    display: inline-block;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    left: 2px;
    line-height: normal;
    margin-bottom: 12px;
    min-width: 162px;
    padding: 16px 49px 16px 16px;
    position: absolute;
    right: 2px;
    text-align: center;
    z-index: 2
}

.our-projects .front-card img {
    position: relative;
    width: auto !important;
    z-index: 2
}

.our-projects .front-card {
    align-items: center;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    height: 470px;
    justify-content: center;
    padding: 30px;
    position: relative
}

.our-projects .back-card,
.our-projects .front-card {
    min-height: auto;
    overflow: hidden;
    -ms-transition: transform .7s cubic-bezier(.4, .2, .2, 1);
    transition: transform .7s cubic-bezier(.4, .2, .2, 1);
    -webkit-transition: transform .7s cubic-bezier(.4, .2, .2, 1);
    z-index: 5
}

.masonry-item.no-ovelay .front-card:after,
.masonry-item.no-ovelay .front-card:before {
    opacity: 0
}

.our-projects .back-card,
.our-projects .front-card {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

.case-studies-group.our-projects .back-card {
    color: #000;
    font-size: 16px;
    font-size: 32px;
    line-height: 1.6;
    padding: 20px
}

.case-studies-group.our-projects .back-card,
.case-studies-group.our-projects .back-card a {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.case-studies-group.our-projects .front-card svg {
    bottom: 34px;
    position: absolute;
    right: 20px;
    z-index: 9
}

.case-studies-group.our-projects .back-card a {
    height: 100%;
    width: 100%
}

.case-studies-group.our-projects .back-card h3 {
    font-size: 100%;
    position: relative;
    text-align: center
}

.case-studies-group.our-projects .back-card a p {
    color: #000;
    font-size: 15px;
    text-align: center
}

.body-wrapper .our-projects .masonry .masonry-item:nth-child(2n) {
    margin-top: -70px
}

.case-studies-group.our-projects .back-card h3:before {
    background: #000;
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 100%
}

.case-studies-group.our-projects {
    padding: 0;
    position: relative;
    z-index: 6
}

.case-studies-group.our-projects .content-wrapper {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0
}

.case-studies-group.our-projects h2 {
    color: #fff;
    margin-bottom: 40px
}

.body-wrapper .masonry,
.our-projects #content .masonry {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap
}

.body-wrapper .masonry .masonry-item-width,
.our-projects #content .masonry .masonry-item-width {
    width: 8.33333%
}

.body-wrapper .our-projects .masonry .masonry-item svg * {
    transition: all .3s ease
}

.body-wrapper .our-projects .masonry .masonry-item:hover svg path {
    fill: #9354ff
}

.body-wrapper .masonry .masonry-item:hover svg circle {
    stroke: #9354ff
}

#content .our-projects .masonry .masonry-item,
.body-wrapper .our-projects .masonry .masonry-item {
    box-sizing: border-box;
    font-size: 0;
    line-height: 0;
    transition-timing-function: ease
}

.our-projects a.overlay-link {
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 2
}

.body-wrapper .our-projects .masonry .masonry-item {
    padding: 18px
}

.body-wrapper .our-projects .masonry .masonry-item img,
.our-projects #content .masonry .masonry-item img {
    height: auto;
    max-width: 100%;
    width: 100%
}

.body-wrapper .masonry .pg-lazy-load,
.our-projects #content .masonry .pg-lazy-load {
    transform: translateY(30px)
}

.body-wrapper .our-projects .masonry .masonry-filter-transition,
.our-projects #content .masonry .masonry-filter-transition {
    transition: all .5s ease
}

section.case-studies-group.our-projects.mod-type2 .masonry .masonry-item:nth-child(2n) {
    margin: 0
}

section.case-studies-group.our-projects.mod-type2 .project-title,
section.case-studies-group.our-projects.mod-type2 svg {
    display: none
}

section.case-studies-group.mod-type2.our-projects .front-card {
    border-radius: 5px;
    height: 344px
}

section.case-studies-group.mod-type2.our-projects .sr-card-inner {
    border-radius: 5px
}

section.case-studies-group.mod-type2.our-projects .masonry-item {
    flex-basis: 33.3333%;
    max-width: 33.3333%;
    width: 33.3333%
}

.case-studies-group.mod-type2.our-projects .content-wrapper {
    max-width: 1300px
}

section.case-studies-group.mod-type2.our-projects .front-card:before {
    background: rgba(0, 0, 0, .4);
    bottom: 0;
    height: 100%;
    top: 0
}

html[lang=ar] .case-studies-group.our-projects .front-card svg {
    left: 20px;
    right: auto
}

html[lang=ar] .our-projects .front-card .project-title {
    text-align: right
}

@media(max-width:767px) {

    .body-wrapper .our-projects .masonry .masonry-item:nth-child(2n),
    .body-wrapper .our-projects .masonry .masonry-item:nth-child(odd) {
        margin-top: 0
    }

    .case-studies-group.our-projects h2 {
        color: #fff;
        margin-bottom: 10px
    }

    .case-studies-group.our-projects {
        padding: 30px 0 50px
    }

    .body-wrapper .our-projects .masonry .masonry-item {
        padding: 10px
    }

    .our-projects [data-xl-width="3"] {
        flex-basis: 50%;
        max-width: 50%;
        width: 50%
    }

    .case-studies-group.our-projects .back-card {
        font-size: 12px;
        line-height: 1.4;
        overflow-y: auto
    }

    .case-studies-group.our-projects .back-card h3 {
        font-size: 24px;
        margin: 0;
        padding: 0
    }

    .case-studies-group.our-projects .content-wrapper {
        padding-left: 5px;
        padding-top: 5px
    }
}

@media(min-width:401px) and (max-width:600px) {
    .case-studies-group.our-projects .back-card {
        font-size: 10px;
        line-height: 1;
        overflow-y: auto;
        padding: 15px
    }

    .case-studies-group.our-projects .back-card a p {
        font-size: 11px;
        margin-top: 9px
    }

    .case-studies-group.our-projects .back-card h3 {
        font-size: 16px
    }

    .case-studies-group.our-projects .back-card h3:before {
        height: 2px
    }
}

@media(max-width:400px) {
    .our-projects [data-xl-width="3"] {
        flex-basis: 100%;
        max-width: 100%;
        width: 100%
    }
}