/* header fix  */
.tax-work-categories header.et-l--header .et_pb_menu__logo-wrap {
    height: fit-content;
}

.tax-work-categories ul#menu-header-menu li {
    padding-left: 33px !important;
    color: red !important;
}

.container.text-center {
    margin-top: 9px;
}

.et-db #et-boc header.et-l .et_pb_section {
    padding: 0px !important;
}

.latest-work {
    padding: 0px 0 90px;
}

.latest-work h1.page-title,
.latest-work h2.page-title {
    font-weight: 900;
    /* font-size: 30px; */
    letter-spacing: -1.5px;
    line-height: 1.3;
    color: #ffffff;
    padding-bottom: 30px;
    text-transform: uppercase !important;
}

.latest-work h1.page-title span.title-seperator,
.latest-work h2.page-title span.title-seperator {
    font-weight: 200;
    margin-inline: 5px;
}

.latest-work-list .work-img {
    cursor: pointer;
}

/* styling for listing images column */
.motion-work-list.list-unstyled {
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    gap: 1.875rem 2.5rem;
    margin-top: 0;
}

.motion-work-list .work-img {
    width: 32.7%;
    position: relative;
    height: 100%;
    border: 3px solid #fff;
    height: 12rem;
    opacity: 1;
    transform: translateY(40px);
    transition: all 1s ease-in-out;
}

.motion-work-list .work-img img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: all 0.4s ease-in-out;
    position: absolute;
    z-index: 5;
    opacity: 1 !important;
}

.motion-work-list .work-img a {
    text-decoration: none;
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff !important;
    opacity: 1;
    z-index: 9;
    display: grid;
    place-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    /* -webkit-transition: opacity 0.8s, -webkit-transform 0.8s;
  transition: opacity 0.8s, -webkit-transform 0.8s;
  -o-transition: opacity 0.8s, transform 0.8s;
  transition: opacity 0.8s, transform 0.8s;
  transition: opacity 0.8s, transform 0.8s, -webkit-transform 0.8s; */
    transition: opacity .3s ease-in-out;
}

.work-img a .video-content:before {
    content: "";
    display: block;
    opacity: 0;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .702));
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    transition: opacity .3s ease-in-out;
}

.work-img a:hover .video-content:before {
    opacity: 1;
}

/* .work-img a:hover .video-content:before {
  content: "";
  display: block;
  opacity: 1;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .702));
  height: 100%;
  width: 100%;
} */

.video-content h3 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 300 !important;
    letter-spacing: -1px;
    position: relative;
    z-index: 9;
    text-transform: uppercase;
}

.video-content p {
    color: #fff;
    font-size: 20px;
    font-weight: 100;
}

.motion-work-list .work-img img {
    width: 100%;
    height: auto;
}

.product-pagination {
    text-align: center;
    color: #fff;
    font-family: "Poppins";
    font-size: 0.8rem;
    font-weight: 500;
    margin: 25px 0 10px;
}

.product-pagination a {
    text-decoration: none;
    padding: 0 8px;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

.product-pagination .page-numbers.current {
    background: #fff;
    padding: 5px 15px;
    border-radius: 50%;
    color: #000;
    font-weight: 700;
    font-size: 1.2rem;
}

.product-pagination a:hover {
    opacity: 0.8;
}

/* Icons */
.fa-angle-right:before {
    font-size: 1.5rem;
}

.fa-angle-left:before {
    font-size: 1.5rem;
}

/*  work video css 23-10-30 starts  */
.work-img .work-video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

/* styling for listing images column */

/* container fluid max width overwrite  */
/* .container-fluid {
  max-width: 90%;
} */
/* header footer width set by divi builder  */

/* //--------------------------mycss--------------- */
.work-img .work-video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

.latest-work h1,
.latest-work h2 {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-left: 4.5%;
    margin-bottom: 0;
    padding: 0;
    /* margin-top: 1rem; */
    font-family: 'poppins', sans-serif;
    font-weight: lighter;
    letter-spacing: -1px;
    text-transform: uppercase;
    font-weight: 300 !important;
}

.latest-work h1 span,
.latest-work h2 span {
    color: var(--black);
    letter-spacing: -1px;
}

.one,
.two,
.three {
    color: white;
    font-weight: bolder;
}

.text-gaping {
    animation: mymove;
    animation-duration: 3s;
    color: white;
    margin-left: 5px;
    margin-right: 5px;
    font-weight: 200;
}

.modal-backdrop {
    z-index: 0 !important
}

body:has(.modal-backdrop.fade.show) header {
    position: relative;
    z-index: 1 !important;
}

@keyframes text {
    from {
        margin-top: 100px;
    }

    to {
        margin-top: 32px;
    }
}

@keyframes mymove {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (min-width: 1600px) {
    .motion-work-list .work-img {
        height: 15rem !important;
    }
}

@media (min-width: 1400px) {
    .latest-work .container {
        max-width: 1320px;
    }

    .latest-work h1,
    .latest-work h2 {
        margin-top: 1.5rem;
        font-size: 5rem;

    }

    /* .motion-work-list {
    gap: 10px;
  } */
    .motion-work-list .work-img {
        width: 29%;
        height: 12rem;
    }
}

@media (min-width: 1200px) {
    .latest-work .container {
        max-width: 1200px;
    }
}


@media (max-width: 1400px) {
    .motion-work-list .work-img {
        /* width: 32%; */
        /* width: 31%; */
        width: 29%;
    }

    .motion-work-list.list-unstyled {
        justify-content: center;
    }
}

@media screen and (min-width: 990px) and (max-width:1439px) {

    .latest-work h1,
    .latest-work h2 {
        font-size: 4.5rem;
    }
}


@media (max-width: 990px) {
    .video-content h3 {
        font-size: 2.5rem;
    }

    .video-content p {
        font-size: 0.8rem;
    }

    .latest-work h1,
    .latest-work h2 {
        font-size: 4rem;
    }

    .motion-work-list .work-img {
        width: 44%;
    }


}

@media (max-width: 980px) {
    .latest-work {
        padding: 0px 0 40px;
    }
}

@media (max-width: 580px) and (min-width: 768px) {
    .motion-work-list .work-img {
        height: 180px;
    }


}

@media (max-width: 767.5px) {
    .motion-work-list .work-img {
        /* width: 45%; */
        width: 46%;
        height: 180px;
    }

    .featured-porject-wrapper .container-fluid {
        padding: 0 4.5% !important;
    }

    .motion-work-list {
        column-gap: 10px;
        justify-content: center;
    }

    .video-content h3 {
        font-size: 1.8rem;
    }

    .video-content p {
        font-size: 1rem;
    }

    .latest-work h1,
    .latest-work h2 {
        font-size: 3rem;
        margin-left: 0;
    }
}

@media (max-width: 580px) {
    .motion-work-list .work-img {
        width: 100%;
        height: 200px;
    }



    .motion-work-list {
        text-align: center;
    }

    .video-content h3 {
        font-size: 2.4rem;
    }

    .video-content p {
        font-size: 2rem;
    }
}

@media screen and (max-width:513px) {

    .latest-work h1,
    .latest-work h2 {
        display: block;
        animation-name: text;
        animation-duration: 2s;
        /* margin-top: 2rem; */
    }
}

@media only screen and (max-width: 480px) {
    .latest-work-list .work-img img {
        width: 100%;
    }

    .latest-work {
        background-size: auto;
        background-position: top;
    }

    p.work-subtitle {
        line-height: 100%;
    }


}