/* Projects page styles */

.project_d_about p {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* filter start */

.filter_wraper .filter_search {
    margin-bottom: 80px;
}

.search-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #7D7D7D;
    padding-bottom: 0px;
}

.search-field .icon_search {
    cursor: pointer;
    background: none;
    width: 30px;
    position: absolute;
    top: 0px;
    z-index: 1;
}

.search-field .icon_search img {
    margin-right: 10px;
    width: 20px;
}

.icon_search,
.icon_search:focus,
.icon_search:active:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.search-field input {
    border: none;
    outline: none;
    width: 100%;
    text-transform: uppercase;
    color: #000;
}


.category-field {
    width: 37%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.select_cate {
    position: relative;
    width: 100%;
    border-bottom: 1px solid #7D7D7D;
}

/* Native select reset */
.select_cate select,
.search-field input,
.search-field input::placeholder {
    font-size: 15px;
    letter-spacing: 1.5px;
    font-family: "RivieraNights-Regular";
}

.search-field input::placeholder {
    text-transform: uppercase;
    color: #000;
}

.select_cate select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 0px solid transparent;
    padding: 25px 30px 25px 0;
    margin: 0px;
    letter-spacing: 1.5px;
    cursor: pointer;
}

.select_cate select option {
    font-size: 15px;
    letter-spacing: 1.5px;
    font-family: "RivieraNights-Regular";
    margin-bottom: 10px;
}

.select_cate select:focus,
.select_cate select:active:focus {
    box-shadow: none;
    outline: none;
    border: none;
}

/* SVG arrow */
.select_cate .select-arrow {
    position: absolute;
    right: 0;
    top: 46%;
    pointer-events: none;
}

.select-arrow img {
    width: 15px;
}

/* Remove default arrow (IE) */
.select_cate select::-ms-expand {
    display: none;
}

.search-field .icon_search {
    padding: 25px 0px;
}

.search-field input {
    padding: 25px 30px;
    position: relative;
}

/* filter ends */


.category_flex,
.project_listing_wrap .search-bar {
    gap: 30px;
}

.project_listing_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 80px;
    column-gap: 25px;
}

.project_title {
    font-size: 20px;
    margin-bottom: 15px;
    font-family: "RivieraNights-Regular";
    text-transform: uppercase;
}

.project_grid_box {
    display: block;
    transition: all 0.4s linear;
}

.project_gird_img {
    overflow: hidden;
    margin-bottom: 40px;
    height: 334px;
    position: relative;
}

.project_gird_img img {
    transition: all 0.4s linear;
    height: 100%;
    object-fit: cover;
}

.project_grid_box:hover .project_gird_img img {
    transform: scale(1.13);
}

.project_pills {
    background: #fff;
    padding: 0px 20px;
    border-radius: 100px;
    font-size: 16px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "RivieraNights-Regular";
}

.pro_pill_top {
    position: absolute;
    top: 20px;
    left: 20px;
}

.pill_pro_bottom {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.result_found {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.result_found p {
    font-family: "RivieraNights-Light";
    font-size: 16px;
}

.result_found .project_pills {
    border: 1px solid #000;
}

.project_pills.clear_filter {
    background: #000;
    color: #fff;
    cursor: pointer;
}

.service_difference {
    position: relative;
}

.service_difference .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

/* project detail */
.news_d_slider.project_d_slider {
    max-width: 80%;
    margin: 0 auto;
}

/* slider dots */

.news_d_slider .slick-dots li button {
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 0px;
    transition: all 0.2s linear;
    position: relative;
}

.news_d_slider .slick-dots li button:before {
    background: #000;
    opacity: 1;
    width: 6px;
    height: 6px;
    border-radius: 50px;
    content: '';
    transition: all 0.2s linear;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.news_d_slider .slick-dots li.slick-active button {
    border: 1px solid #000;
}

.news_d_slider .slick-dots li.slick-active button:before {
    width: 4px;
    height: 4px;
}

.news_d_slider .slick-dots {
    bottom: -80px;
}

.product_project h2.f_56 {
    margin-bottom: 40px;
}

.bg_grey {
     background: #F5F5F5 !important;
}

/* additional_info */

.additional_info {
     background: #F5F5F5 !important;
}

.additional_box ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.additional_box ul li {
    margin-bottom: 20px;
    row-gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.additional_box ul li:last-child {
    margin-bottom: 0px;
}

.additional_box ul li p {
    font-size: 16px;
    width: 260px;
    font-family: "RivieraNights-Regular";
}

.additional_box ul li p:first-child {
    font-family: "RivieraNights-Bold";
}

.additional_box {
    max-width: 713px;
    margin-left: auto;
    margin-right: 0px;
}

.additional_title {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-family: "RivieraNights-Light";
    border-bottom: 1px solid #CFCFCF;
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.reviewer {
    margin-top: 40px;
}

.reviewer_name {
    font-size: 20px;
    color: #fff;
    font-family: "RivieraNights-Regular";
}

.reviewer_designation {
    font-size: 17px;
    color: #fff;
    margin-top: 5px;
    font-family: "RivieraNights-Light";
}

.testimonial_main .card_body {
    height: 447px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* realted project_dark */

.related_dark_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 80px;
    column-gap: 25px;
}

.related_dark {
    background: #000    !important;
    overflow: hidden;
}

.related_dark_col h2 {
    color: #fff;
    font-size: 24px;
    font-family: "RivieraNights-Light";
    margin-bottom: 15px;
}

.related_dark_col p {
    color: #fff;
    font-size: 16px;
}

.related_dark_img {
    position: relative;
     aspect-ratio: 435/338;
    transition: 0.4s linear;
    display: block;
    overflow: hidden;
    &::after{
        position: absolute;
        content: '';
        top: 0;
        z-index: 1;
        left: 0;
        width: 100%;
        height: 100%;
       /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+100;Neutral+Density */
background: linear-gradient(to bottom,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

    }
}

.related_dark_img img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    transition: 0.4s linear;
}

.related_dark_img:hover img {
    transform: scale(1.13);
}

.related_dark_img h4 {
    color: #fff;
    line-height: 1.2;
    font-size: 18px;
    font-family: "RivieraNights-Regular";
    position: absolute;
    padding: 30px 30px;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 4;
}


.projectdetail_top_row{ width: 100%; display: flex; justify-content: space-between; align-items: center;
  
}

  .link_txt{  position: relative; }
  .link_txt::after{ position: absolute; bottom: -2px;  display: block; content: ''; width: 100%; height: 1px; background: #dfdfdf; position: absolute; bottom: -3px; left: 0;}

 
.project_d_about_txt_new p{ max-width: unset !important; font-weight: 600; }
.project_d_about h3{ font-weight: 600 !important; } 

.project_d_about_new{ border-bottom: solid 1px #dfdfdf;}

    .project_d_bottom_section{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;}
.detail_dis_left_list{ margin: 0; padding: 0;}
.detail_dis_left_list li{ margin: 0; padding: 0; list-style: none; font-weight: 600; margin-bottom: 10px; font-size: 15px; padding-bottom: 10px; }



/* ============ responsive ============ */

@media only screen and (min-width: 1680px) {

    .service_about p {
        max-width: 1342px;
    }

    .project_title {
        font-size: 22px;
    }

    .project_pills {
        font-size: 18px;
        height: 36px;
    }

    .result_found p {
        font-size: 17px;
    }

    .project_gird_img {
        height: 434px;
    }

    .news_d_slider.project_d_slider {
        max-width: 1238px;
    }

    .additional_box ul li p {
        font-size: 20px;
    }

    .project_d_about p {
        max-width: 1100px;
    }

    /* realted project_dark */

    .related_dark_col p {
        font-size: 18px;
    }

    /* .related_dark_img {
        height: 604px;
    } */

    .related_dark_col h2 {
        font-size: 36px;
    }

    .related_dark_img h4 {
        font-size: 22px;
    }

}

@media only screen and (min-width: 1920px) {
    .related_dark_grid {
        width: calc(100% + 100px);
    }
}

@media only screen and (max-width: 1365px) {
    .additional_box {
        max-width: 533px;
    }

    .testimonial_main .card_body {
        height: 400px;
    }

    /* realted project_dark */

    /* .related_dark_img {
        height: 400px;
    } */
}

@media only screen and (max-width: 1199px) {

    /* realted project_dark */

    .related_dark_img h4 {
        line-height: 1.5;
        font-size: 17px;
        padding: 20px 20px;
    }

    .related_dark_grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 60px;
    }

}


@media only screen and (max-width: 991px) {
    .category-field {
        width: 50%;
    }

    .project_gird_img {
        height: 290px;
    }

    .project_listing_grid {
        row-gap: 60px;
    }

    .search-field input {
        padding: 17px 30px;
    }

    .select_cate select {
        padding: 17px 30px 17px 0px;
    }

    .search-field .icon_search {
        padding: 17px 0px;
    }

}

@media only screen and (max-width: 767px) {

    .category-field,
    .search-field {
        width: 100%;
    }

    .project_title {
        font-size: 18px;
    }

    .project_pills {
        font-size: 14px;
    }

    .category-field {
        flex-wrap: wrap;
    }

    .project_d_about p {
        max-width: 100%;
    }

    .news_d_slider.project_d_slider {
        max-width: 100%;
    }

    .additional_box {
        max-width: 533px;
        margin-left: 0px;
    }

    .additional_box ul li p {
        width: 50%;
    }

    .news_d_slider .slick-dots {
        bottom: -60px;
    }

    /* realted project_dark */

    .related_dark_grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }
}

@media only screen and (max-width: 575px) {

    .project_listing_grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .project_listing_grid {
        row-gap: 40px;
    }

    .filter_wraper .filter_search {
        margin-bottom: 50px;
    }

    .pro_pill_top {
        top: 15px;
        left: 15px;
    }

    .pill_pro_bottom {
        bottom: 15px;
        left: 15px;
    }

    .service_difference {
        height: 270px;
    }

    .news_d_slider .slick-dots {
        bottom: -50px;
    }

    .testimonial_main .card_body {
        height: 330px;
    }

    /* realted project_dark */

    .related_dark_grid {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 40px;
    }

    .additional_box ul li p {
        font-size: 15px;
    }
}

/* Share Project Popup Styles */






.news_detail_share_list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 0;
}

.news_detail_share_list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 1px solid #424242;
    color: #050505;
    text-decoration: none;
}


.news_detail_share_list li img { width: auto;  height:  auto;}

.news_detail_share_list li a:hover {
    background: #d6d6d5;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .news_detail_share_list {
        gap: 3px;
    }

    .news_detail_share_list li a {
        width: 30px;
        height: 30px;
    }
}






.share-project-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.share-project-popup.active {
    opacity: 1;
    visibility: visible;
}

.share-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.share-popup-content {
    position: relative;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    z-index: 10000;
    max-width: 500px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.share-project-popup.active .share-popup-content {
    transform: scale(1);
}

.share-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #000;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.share-popup-close:hover {
    color: #666;
}

.share-popup-content .news_detail_share_list {
    position: relative;
    top: auto;
    right: auto;
    justify-content: center;
    margin-top: 20px;
}

@media screen and (max-width: 768px) {
    .share-popup-content {
        padding: 30px 20px;
    }
    
    .share-popup-close {
        top: 10px;
        right: 10px;
        font-size: 28px;
    }
}