 
/*--------------------------------------------------------------
# Project Two
--------------------------------------------------------------*/
.project-two {
    position: relative;
    display: block;
    padding: 60px 0 60px;
    z-index: 1;
}

.project-two__top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}

.project-two__top .section-title {
    margin-bottom: 0px;
}

.project-two__carousel {
    position: relative;
    display: block;
}

.project-two__single {
    position: relative;
    display: block;
}

.project-two__img-box {
    position: relative;
    display: block;
}

.project-two__img {
    position: relative;
    display: block;
    border-radius: 17px;
    overflow: hidden;
    z-index: 1;
}

.project-two__img img {
    width: 100%;
    border-radius: 5px;
    transition: all 500ms ease;
    object-fit: cover;
    height: 420px;
}
.height img {
     height: 350px;
}

.project-two__single:hover .project-two__img img {
    transform: scaleY(1.05);
}

.project-two__img::before {
    position: absolute;
    content: "";
    top: 0%;
    left: 0%;
    right: 0%;
    width: 100%;
    height: 100%;
    -webkit-transform: translate(0%, 0%);
    -moz-transform: translate(0%, 0%);
    -ms-transform: translate(0%, 0%);
    -o-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
    background-color: var(--fixpro-black);
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    opacity: 0;
    z-index: 1;
}

.project-two__single:hover .project-two__img::before {
    opacity: 0.8;
}

.project-two__btn-box {
    position: relative;
    display: block;
}

.project-two__content {
    position: absolute;
    right: 38px;
    bottom: 0px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    z-index: 2;
}

.project-two__single:hover .project-two__content {
    bottom: 43px;
    opacity: 1;
    visibility: visible;
}

.project-two__img-box::before {
    position: absolute;
    top: 0;
    right: 23px;
    bottom: 0;
    width: 2px;
    background: var(--fixpro-base);
    content: "";
    transition: -webkit-transform 2.0s ease;
    transition: transform 2.0s ease;
    transition: transform 2.0s ease, -webkit-transform 2.0s ease;
    transform-origin: bottom right;
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
    z-index: 2;
}

.project-two__single:hover .project-two__img-box::before {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    transform-origin: top center;
}

.project-two__img-box::after {
    position: absolute;
    right: 0px;
    bottom: 23px;
    left: 45%;
    height: 2px;
    background: var(--fixpro-base);
    content: "";
    transition: transform 2000ms ease;
    transform: scale(0, 1);
    transform-origin: left center;
    z-index: 1;
}

.project-two__single:hover .project-two__img-box::after {
    transform: scale(1, 1);
    transform-origin: left center;
}

.project-two__title {
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
    margin: 0 0 7px;
}

.project-two__title a {
    color: var(--fixpro-white);
}

.project-two__title a:hover {
    color: var(--fixpro-base);
}

.project-two__sub-title {
    color: rgba(var(--fixpro-white-rgb), .80);
}

.project-two__arrow {
    position: absolute;
    top: 30px;
    left: 38px;
    -webkit-transform: scale(0) rotate(80deg);
    transform: scale(1) rotate(0deg);
    opacity: 1;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    z-index: 2;
}

.project-two__single:hover .project-two__arrow {
    -webkit-transform: scale(1) rotate(0deg);
    transform: scale(1) rotate(0deg);
    transition-delay: 200ms;
    opacity: 1;
}

.project-two__arrow a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    background-color: var(--fixpro-white);
    border-radius: 10px;
    font-size: 16px;
    color: var(--fixpro-black);
    transform: scaleX(-1);
}

.project-two__arrow a:hover {
    background-color: var(--fixpro-base);
    color: var(--fixpro-white);
}

.project-two__carousel.owl-carousel .owl-dots {
    position: relative;
    text-align: center;
    margin: 30px 0 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

.project-two__carousel.owl-carousel .owl-dots .owl-dot {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 16px;
    border: 2px solid rgba(var(--fixpro-black-rgb), .70);
    background-color: transparent;
    margin: 0px 7px;
    padding: 0px;
    transition: all 100ms linear;
    transition-delay: 0.1s;
}

.project-two__carousel.owl-carousel .owl-dot.active {
    border: 2px solid var(--fixpro-base);
}

.project-two__carousel.owl-carousel .owl-dots .owl-dot:before {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    content: "";
    background-color: rgba(var(--fixpro-black-rgb), .70);
    border-radius: 2px;
    transform: scale(1);
    transition: all 100ms linear;
    transition-delay: 0.1s;
}

.project-two__carousel.owl-carousel .owl-dot.active:before {
    transform: scale(1);
    background-color: var(--fixpro-base);
}

.project-two__carousel.owl-carousel .owl-dot:focus {
    outline: none;
}

.project-two__carousel.owl-carousel .owl-dots .owl-dot span {
    display: none;
}
 .project-page {
    position: relative;
    display: block;
    padding: 120px 0 90px;
    z-index: 1;
}

.project-page .project-one__single {
    margin-bottom: 30px;
}

 .videobox1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: all 500ms 
ease;
    z-index: 2;
}
/*--------------------------------------------------------------
# Project Page
--------------------------------------------------------------*/
 
  .projects-grid {
    padding: 60px 0;
}

.project-card {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all .3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.project-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: all .4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgb(0 0 0 / 85%), rgb(0 0 0 / 3%));
    color: #fff;
}

.project-title {
    /* font-size: 20px; */
    font-weight: 700;
    margin: 0;
    color: #fff;
    margin-bottom: 15px;
}
.project-title a {
     color: #fff;
 }
 .project-title a:hover {
     color: var(--fixpro-base);
 }
.project-category {
    max-height: 60px;      
    overflow: hidden;
    transition: max-height .4s ease;
    display: block;
}

/* في حالة كان فقرة طويلة */
.project-card:hover .project-category {
    max-height: 300px;   
}
