
/* Loader css start */

.fusion-rollover-categories, .fusion-rollover-title{
        color: #333 !important;
}
#p-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* black with 50% opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;  /* make sure it's on top */
}

#p-loader img {
    width: 180px;
    height: auto;
    /* animation: spin 1s linear infinite; */
}

#p-loader.p-loader-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    /* background: rgba(255, 255, 255, 0.85); */
    padding: 20px;
    border-radius: 8px;
}

.p-loader-img {
    width: 60px;
    height: auto;
}

.p-load-more-button{
    text-align: center;
}

.p-load-more{
    background: #fff;
    padding: 10px 18px;
    font-size: 16px;
    color: #707070;
    border-radius: 25px;
    border: 1px solid #707070;
    margin-top: 20px;
    cursor: pointer;
    transition: transform 0.8s ease, box-shadow 0.8s ease;
}
.p-load-more:hover{
    /*color: #add361;*/
    transform: scale(1.1); /* Zoom in by 10% */
    /*border: 1px solid #add361;*/
}

/* Loader css ends */


/* Frontend Grid styles start*/

/* Tabs Styles start */

.p-tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.p-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 10; /* ensures it's above tabs */
}

.p-search-toggle {
    background: #fff;
    border: none;
    padding: 12px 15px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
}
.p-search-toggle:hover{
    box-shadow: 0px 2px 7px #00000040;
}

.p-search-toggle-hover {
    background: #fff;
    border: none;
    padding: 12px 15px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: none;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
}
 


/* Search input is absolutely positioned and hidden initially */
.p-search-input {
    position: absolute;
    right: 0px;
    top: 0%;
    width: 245px;
    padding: 6px 35px 6px 25px!important;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 50px!important;
    background-color: #fff!important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    color: #A19EAD;
    overflow: hidden;
    transition:
        width 0.4s ease,
        opacity 0.4s ease,
        padding 0.4s ease,
        color 0.4s ease,
        visibility 0s linear 0.4s;
    
}



.p-search-wrapper.active .p-search-input {
    position: absolute;
    right: 0px;
    top: 0%;
    opacity: 1;
    /* transform: translate(0, -50%); */
    visibility: visible;
    pointer-events: auto;
    width: 245px;
    padding: 6px 35px 6px 25px!important;
    color: #A19EAD;;
    border: 1px solid #fff;
    border-radius: 50px!important;
    box-shadow: none;
    font-size: 13px;
    background-color: #fff!important;

    transition:
        width 0.4s ease,
        opacity 0.4s ease,
        padding 0.4s ease 0.1s,
        color 0.4s ease 0.1s,
        visibility 0s;

}

.p-search-wrapper.active .p-search-input::placeholder {
  color: #A19EAD;
}


.p-tabs {
    display: flex;
    justify-content: left;
    /* border-bottom: 1px solid #ddd; */
    margin: 0px;
    padding: 0;
    list-style: none;
}

.fusion-rollover-title{
    text-align: left;
}
.fusion-rollover-categories{
    text-align: left;
}
.p-tab-item {
    margin: 0 5px;
}
.fusion-portfolio-1 .fusion-portfolio-wrapper .fusion-col-spacing {
    padding: 15px;
    /*height: 660px;*/
    /*margin-bottom: 20px;*/
}

.p-tab-link {
  position: relative;
  background: none;
  border: none;
  padding: 12px 12px;
  font-weight: normal;
  color: #333;
  cursor: pointer;
  overflow: hidden;
  font-size: 14px;
}

/* Underline animation */
.p-tab-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #707070;
  transition: width 0.3s ease;
}

/* On hover: animate underline from left to right */
.p-tab-link:hover::after,.p-tab-link.p-active::after {
  width: 100%;
}

/* Optional text effect */
.p-tab-link:hover {
  color: #000;
  /*font-weight: bold;*/
}

/* Tabs Styles end */



/* === Image Hover Share Icon Wrapper === */
/* .p-image-link-wrapper {
    position: relative;  Needed to position the share icon absolutely within 
} */

/* Share Icon Styling */
.p-hover-share-icon {
    position: absolute;
    bottom: 20px;
    right: 15px;
    width: 30px!important;
    height: 30px!important;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease; /* Smooth fade-in effect */
    z-index: 10;
    cursor: pointer;
}

/* Show the share icon on hover */
.fusion-image-wrapper:hover .p-hover-share-icon {
    opacity: 1;
}

/* === Lightbox Overlay === */
.p-lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark background overlay */
    text-align: center;
    align-items: center;
    justify-content: center;
}

/* Lightbox Content Container */
.p-lightbox-content-wrapper {
    position: relative;
    display: inline-block;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 600px;
    height: 700px;
}

/* Displayed Image Inside Lightbox */
.p-lightbox-img {
    width: 100%;
    height: 90%;
    border-radius: 8px;
}

/* Close Button for Lightbox */
.p-lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: pointer;
    font-weight: bold;
    line-height: 23px;
    font-size: 15px;
    text-align: center;
}

/* === Lightbox Social Share Icons === */
.p-lightbox-icons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Each Icon Container */
.p-lightbox-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.3s ease, transform 0.3s ease;
    transform: scale(1); /* Default scale */
}

/* Scale icon slightly on hover */
.p-lightbox-icons a:hover {
    transform: scale(1.15);
}

/* SVG Icon Sizing and Transition */
.p-lightbox-icons svg {
    width: 100%;
    height: 100%;
    transition: fill 0.3s ease;
}

/* === Social Platform Hover Effects === */

/* Facebook Hover Fill */
.p-lightbox-icons a.p-icon-facebook:hover svg path,
.p-lightbox-icons a.p-icon-facebook:hover svg g path {
    fill: #1877F2; /* Facebook Blue */
}

/* Instagram Hover Fill */
.p-lightbox-icons a.p-icon-instagram:hover svg path,
.p-lightbox-icons a.p-icon-instagram:hover svg g path {
    fill: #E1306C; /* Instagram Pink */
}

/* YouTube Hover Fill */
.p-lightbox-icons a.p-icon-youtube:hover svg path,
.p-lightbox-icons a.p-icon-youtube:hover svg g path {
    fill: #FF0000; /* YouTube Red */
}

/* LinkedIn Hover Fill */
.p-lightbox-icons a.p-icon-linkedin:hover svg path,
.p-lightbox-icons a.p-icon-linkedin:hover svg g path {
    fill: #0077B5; /* LinkedIn Blue */
}


/* Frontend Grid styles End*/

/* Frontend Project Details Page styles End*/

.p-project-deatils-page{
    padding: 40px 30px 30px;
    background: #fff;
    margin: 0px 180px 150px;
}

.p-project-deatils-page .p-admin-project-details-page{
    margin-bottom: 20px;
}

.p-project-deatils-page .p-newspaper-layout {
    /* column-count: 1;
    column-gap: 30px; */
    font-family: 'segoe ui';
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
    max-width: 100%;
    margin: 30px auto 0px;
    padding: 0 0px 0px 2px;
    
    overflow: hidden;
    transition: max-height 0.4s ease;
}

/* Longer side starts collapsed */
.clamp-text {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}

.right-side .clamp-text::after {
  content: "... See more";
  position: absolute;
  right: 0;
  bottom: 0;
  padding-left: 6px;
  background: #fff;
  color: green;
  font-weight: 500;
  cursor:pointer;
}

.right-side .clamp-text.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.right-side .clamp-text.expanded::after {
  content: "";
}

.right-side .see-less {
  color: green;
  font-weight: 500;
  display: inline;
  white-space: nowrap;
  cursor: pointer;
}

.no-toggle {
  cursor: default; /* disable pointer */
}


.left-side .clamp-text.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.p-project-deatils-page .p-newspaper-layout p {
    margin-bottom: 1em;
    break-inside: avoid;
}


.p-project-deatils-page .p-title {
    text-align: center;
    margin-bottom: 20px;
}

.p-project-deatils-page .p-info-text.p-go-back-button {
    position: fixed;
    left: 40px;
    top: 35px;
    z-index: 9999;
    color: #707070;
}

.p-project-deatils-page .p-heading {
    margin-bottom: 40px;
}

.p-project-deatils-page .project-name {
    font-size: 40px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
}

.p-project-deatils-page .project-location {
    font-size: 17px;
    color: #555;
    margin-top: 5px;
    margin-bottom: 10px;
}

.p-project-deatils-page .p-info-text {
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    margin: 5px 0;
}

.p-project-deatils-page .p-section-title {
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    display: none;
}

.p-project-deatils-page .p-images-row {
    align-items: flex-start;
}

.p-project-deatils-page .p-masonry-container {
    column-count: 2;
    column-gap: 25px; /* remove gap between columns */
    padding: 0px 20px;
}

.p-project-deatils-page .p-masonry-item {
    width: 100%;
    break-inside: avoid;
    margin-bottom: 25px; /* optional: reduce gap */
}

.p-project-deatils-page .p-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

.p-project-deatils-page .p-logo-image {
    width: 90px;
    border-radius: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    max-height: 205px;
    margin-bottom: 25px;
}

.p-project-deatils-page .p-portfolio-image {
    width: 100%;
    border-radius: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    max-height: 800px;
}

.p-project-deatils-page .p-side-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.p-project-deatils-page .p-side-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.p-project-deatils-page .p-video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    margin-top: 15px;
}

.p-project-deatils-page .p-video-wrapper video,
.p-project-deatils-page .p-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0px;
}
/* Frontend Project Details Page styles End*/


/* New Concept section in Frontend Project Details Page styles Start*/
  .two-column-wrapper {
    max-width: 100%;
    margin: 30px auto;
    font-family: sans-serif;
    line-height: 1.5;
    position: relative;
    text-align: justify;
}

.two-column-text {
    column-count: 2;
    column-gap: 1.5rem;
    column-fill: balance;
    overflow: hidden;
    transition: max-height 0.3s ease;
    position: relative;
}

.collapsed {
    max-height: calc(1.5em * 6); /* collapsed height */
}

.expanded {
    max-height: 400vh; /* expanded height */
}

/* Toggle link styling */
.inline-toggle {
    cursor: pointer;
    color: green;
    background: white;
    z-index: 10;
}

/* Collapsed = Show more → absolute at bottom-right */
#toggleLink.show-more {
    position: absolute;
    bottom: 8px;
    right: 0;
    padding-left: 5px;
}

/* Expanded = Show less → inline at end of last paragraph */
#toggleLink.show-less {
    position: static;
    display: inline;
    margin-left:10px;
}

#twoColumnText p:first-child {
    margin-top: 0px;
}
/* New Concept section in Frontend Project Details Page styles End*/











/* Container row with consistent height */
.p-images-row {
    min-height: 500px; /* Adjust as needed */
}

/* Ensure all images fill container and crop properly */
.p-img-full {
    height: 100%;
    object-fit: cover;
}

/* Right-side images split evenly */
.p-side-img-wrapper {
    flex: 1;
    margin-bottom: 30px;
}
.p-side-img-wrapper img{
    width:100%;
    max-height: 385px;
}
.p-side-img-wrapper:last-child {
    margin-bottom: 0;
}

/* Video section spacing */
.p-video-section {
    margin-top: 30px;
}

.p-video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.p-video-wrapper video.p-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}


/* Home Page Slider Styles Start */
.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 800px;
    overflow: hidden;
  }

  .slider__img {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .slider__img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.2);
    transition: all 1s ease-in-out;
  }

  .slider__img img.current {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
  }

  .slider__img img.prev,
  .slider__img img.next {
    z-index: 1;
  }

  .slider__btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    display: flex;
    gap: 10px;
  }

  .slider__btn button, .slider__btn button:hover {      
      cursor: pointer;
      transition: background 0.3s;
      border: none;
      background-color: transparent;
  }

  .slider__btn button:hover {
      background: transparent;
  }

  .slider__img img {
    display: none;
    width: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
  }
  .slider__img img.current {
    display: block;
  }

  /* Home Page Slider Styles End */

/* Gallery Images Slider Styles Start */
.p-project-gallery-slider-page {
    margin: 0px 0px;
}

.p-owl-slider {
    overflow: hidden;
}

.p-owl-slider img {
    width: 100% !important;
    height: 600px !important;
    max-height: 600px;
    max-width: none !important;
    display: block;
    object-fit: contain;
    cursor: zoom-in;
}

.owl-carousel.single-item .owl-stage {
    display: flex !important;
    justify-content: center;
  }
 
.owl-carousel.single-item .owl-item {
    width: 100% !important;
}

/* Navigation buttons */
.p-owl-carousel {
  position: relative;
  padding: 0 25px; /* give some space on both sides for arrows */
}

.p-owl-carousel .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: #fff;
  border: none;
  padding: 6px 12px;
  font-size: 18px;
  z-index: 10;
  transition: all 0.3s ease;
}

.p-owl-carousel .owl-nav button.owl-prev { left: 0; }
.p-owl-carousel .owl-nav button.owl-next { right: 0; }
.p-owl-carousel .owl-nav button:focus {
    outline: none;
}
.p-owl-carousel .owl-nav .nav-text {
    /*background: #d6d6d6;*/
    color: #d6d6d6;
    padding: 6px 12px;
    border-radius: 4px;
}

/* Dots */
.p-owl-carousel .owl-dots {
    text-align: center;
    padding-top: 15px;
}
.p-owl-carousel .owl-dots button.owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d6d6d6;
    margin: 5px 7px;
    border: none;
}
.p-owl-carousel .owl-dots button.owl-dot.active {
    background-color: #000;
}
.p-owl-carousel .owl-dots button.owl-dot:focus {
    outline: none;
}

/* Zoom overlay */
.medium-zoom-overlay {
    background: #fff !important;
    z-index: 10000 !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
  }

/* Zoomed image */
.medium-zoom-image {
    z-index: 10001 !important;
    width: auto !important;
    height: auto !important;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}


/* Close button */
.p-zoom-close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10003 !important;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
    pointer-events: auto;
}

.p-zoom-close-btn svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.p-zoom-close-btn.show {
    display: block;
    opacity: 1;
    z-index: 10003;
}


/* Gallery Images Slider Styles End */

/* Gallery Images Slider Modal Styles Start */

.p-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.85);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
}

.p-modal-dialog {
background: #fff;
max-width: 100%;
width: 90%;
border-radius: 8px;
overflow: hidden;
position: relative;
}

.p-modal-content {
display: flex;
flex-direction: column;
}

.p-modal-header,
.p-modal-footer {
padding: 1rem;
background: #f1f1f1;
display: flex;
align-items: center;
justify-content: space-between;
}

.p-modal-title {
margin: 0;
font-size: 1.25rem;
}

.p-modal-close {
background: none;
border: none;
font-size: 1.5rem;
color: #000;
cursor: pointer;
}

.p-modal-body {
padding: 1rem;
background: #fff;
height: 678px;
}

.p-modal-footer {
justify-content: flex-end;
}

.p-modal-close-btn {
background: #333;
color: #fff;
border: none;
padding: 0.5rem 1rem;
cursor: pointer;
border-radius: 4px;
}
.p-modal-close-btn:hover {
background: #000;
}
.p-tab-scroll.p-tab-scroll-right{
    display: none;
}

/* Gallery Images Modal Slider Styles End */

@media (max-width: 1400px) and (min-width:1300px) {
    /* .p-tabs-container {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
    }

    .p-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 10px;
        padding: 0;
        list-style: none;
    }

    
    .p-tab-item {
        margin: 5px;
    } */
    
    .p-tab-link {
        padding: 12px 6px!important;
        font-size: 13px!important;
    }

    /* .p-tab-link {
  position: relative;
  background: none;
  border: none;
  padding: 12px 13px;
  font-weight: normal;
  color: #333;
  cursor: pointer;
  overflow: hidden;
} */

    
    /* .p-search-wrapper {
        position: relative;
        display: flex;
        justify-content: flex-end;
        width: 100%;
        max-width: 1320px;
        padding-right: 20px;
    }

    .p-search-toggle,
    .p-search-toggle-hover {
        display: flex !important;
        z-index: 2;
        box-shadow: none;
    }

    .p-search-input {
        display: block;
        position: absolute;
        right: 45px;
        top: 50%;
        transform: translateY(-50%);
        width: 170px !important;
        padding: 6px 10px !important;
        font-size: 14px !important;
        border-radius: 50px 0 0 50px !important;
        background-color: #fff !important;
        color: #000 !important;
        border: 1px solid #ccc;
        box-shadow: none;
    }

    .p-search-wrapper.active .p-search-input {
        display: block;
    } */
}

@media (max-width: 1300px) and (min-width: 768px) {
    .p-tabs-container {
        flex-direction: column;
        align-items: center;
    }

    .p-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 10px;
        padding: 0;
        list-style: none;
    }

    .p-tab-item {
        margin: 5px;
    }

    .p-search-wrapper {
        position: relative;
        display: flex;
        justify-content: flex-end;
        width: 100%;
        max-width: 1320px;
        padding-right: 20px!important;
    }

    .p-search-toggle,
    .p-search-toggle-hover {
        display: flex !important;
        z-index: 2;
        box-shadow: none;
    }

    .p-search-input {
        position: absolute;
        right: 0px;
        top: 0%;
        opacity: 1!important;
        visibility: visible!important;
        width: 245px!important;
        padding: 6px 35px 6px 25px!important;
        font-size: 14px !important;
        border-radius: 50px!important;
        background-color: #fff !important;
        color: #000 !important;
        border: 1px solid #ccc;
        box-shadow: none;
        transform: background 0.3s ease;
        margin-right: 20px;
    }

    /* .p-search-wrapper.active .p-search-input {
        position: absolute;
        right: 0px;
        top: 0%;
        opacity: 1!important;
        visibility: visible!important;
        width: 245px;
        padding: 6px 35px 6px 25px!important;
        transform: background 0.3s ease;
    } */
}
    

  /* ✅ Responsive tweaks */
  @media (max-width: 768px) {
    .slider {
      height: 70vh;
    }

    .slider__btn {
      bottom: 10px;
      right: 10px;
    }

    .slider__btn button {
      padding: 8px 12px;
      font-size: 12px;
    }
  }

  @media (max-width: 480px) {
    .slider {
      height: 60vh;
    }

    .slider__btn {
      flex-direction: column;
      right: 10px;
    }
  }


@media (max-width: 992px) {
    .fusion-portfolio-post {
        width: 50%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .p-card {
        flex-direction: column;
    }
    .p-right {
        min-width: 100%;
        margin-top: 20px;
    }
    .p-details-left{
        min-width: 100%;
    }
    .p-details-right{
        min-width: 100%;
        margin-top: 20px;
    }
    .p-details-image-grid {
        grid-template-columns: 1fr; /* 1 column for smaller devices */
    }

      .p-modal-dialog {
        width: 95%;
      }
    
      .p-modal-body {
        height: auto;
        padding: 0.5rem;
      }
    
      .p-owl-slider img {
        height: 280px !important;
        max-height: 280px !important;
        object-fit: contain;
      }
    
      .p-modal-header,
      .p-modal-footer {
        padding: 0.75rem;
        flex-wrap: wrap;
      }
    
      .p-modal-title {
        font-size: 1rem;
      }
    
      .p-modal-close {
        font-size: 1.25rem;
      }
    
      .p-zoom-close-btn {
        top: 10px;
        right: 10px;
        padding: 6px;
        z-index: 10004 !important;
      }
    
      .p-zoom-close-btn svg {
        width: 20px;
        height: 20px;
      }
    
      .p-owl-carousel .owl-nav button {
        font-size: 14px;
        padding: 4px 8px;
      }
    
      .p-owl-carousel .owl-nav .nav-text {
        padding: 4px 8px;
        font-size: 0.85rem;
      }
    
      .medium-zoom-image--opened {
        max-width: 90vw !important;
        max-height: 80vh !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
      }
}

@media (max-width: 600px) {

    .p-tab-link {
        padding: 8px 18px!important;
    }
    .fusion-portfolio-post {
        width: 100%;
    }

    .p-tabs-container {
        flex-direction: column;
        align-items: center;
    }

    .p-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px 0px;;
        margin: 0;
        list-style: none;
    }

    .p-tab-item {
        margin: 5px;
    }

    .p-search-wrapper {
        display: flex !important;
        justify-content: center;
        width: 100%;
        margin-top: 15px;
        position: relative;
    }

    /* .p-search-toggle, */
    .p-search-toggle-hover {
        display: none !important;
    }

    .p-search-toggle{
        display: flex !important;
        position: absolute!important;
        right: 90px!important;
        top: 3px!important;
        align-items: center!important;
        justify-content: center!important;
        padding: 9px 15px!important;
        box-shadow: none!important;
    }

    .p-search-input {
        /* display: block !important; */
        opacity: 1!important;;
        visibility: visible!important;
        position: static;
        width: 70% !important;
        max-width: 300px;
        border-radius: 50px !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        margin: 0 auto;
        background-color: #fff !important;
        color: #000 !important;
        padding: 8px 50px 8px 15px!important;
    }

    .p-search-wrapper.active .p-search-input {
        opacity: 1!important;
        visibility: visible!important;
    }
}

@media (max-width: 480px) {
    .p-owl-slider img {
      height: 220px !important;
      max-height: 220px !important;
    }
  
    .p-modal-dialog {
      width: 98%;
    }
  
    .p-modal-title {
      font-size: 0.95rem;
    }
    .p-project-deatils-page .p-masonry-container{
        column-count: 1;
    }
    .p-project-deatils-page .project-name {
    font-size: 28px!important;
        
    }
    .p-project-deatils-page .p-newspaper-layout {
        padding: 0 5px;
    }
    .p-project-deatils-page .p-newspaper-layout p {
    text-align: left;
        
    }
    
}
@media (max-width: 425px) {
    .p-search-toggle {
        right: 60px !important;
    }
 
   
    .p-tab-scroll.p-tab-scroll-right{
        display: block;
    }
 
    .p-tab-scroll {
        background: #7f7a7a;
        color: #fff;
        cursor: pointer;
        border: none;
        font-size: 24px;
        z-index: 1;
        /* position: absolute;
        top: 50%;
        transform: translateY(-50%); */
    }
 
    .p-tab-scroll-left {
        left: 0;
    }
 
    .p-tab-scroll-right {
        right: 0;
    }
 
    .p-tabs-scroll-container {
        position: relative;
        display: flex;
        align-items: center;
        overflow: hidden;
        width: 100%;
    }
 
    .p-tabs-wrapper {
        overflow: hidden;
        flex: 1;
    }
 
    .p-tabs {
        display: flex!important;
        flex-wrap: nowrap; /* Prevent items from wrapping */
        transition: transform 0.3s ease;
        margin: 0;
        padding: 0;
        list-style: none;
        will-change: transform;
        justify-content: start!important;
    }
 
    .p-tab-item {
        flex: 0 0 auto;
        padding: 0 10px;
        white-space: nowrap;
        margin: 0px!important;
    }
 
    .p-tab-link {
        white-space: nowrap;
        padding: 0px!important;
        border: none;
        background: none;
        cursor: pointer;
    }
}

@media (max-width: 424px) {
    .p-search-toggle {
        right: 60px !important;
    }
    .p-project-deatils-page .project-name {
    font-size: 22px!important;
        
    }
    .p-project-deatils-page .p-newspaper-layout {
        padding: 0 5px;
    }
    .p-project-deatils-page .p-newspaper-layout p {
    text-align: left;
        
    }
}

.p-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.p-admin-project-details-page .p-field-group {
    flex: 1;
}
