.project-sidebar {
    box-shadow: 0px 0px 20px #dddddd59;
    border: 1px solid #dddddda6;
    border-radius: 20px;
    padding: 15px;
}
.project-sidebar h4 {
    background: #fff;
    color: #000;
    padding: 10px;
    font-weight: bold;
}
.project-cat-list {
    list-style: none;
    padding-left: 0;
}
.project-cat-list li {
    padding: 0;
    border-bottom: none;
    position: relative;
}
.project-cat-list li.main-cat:hover .cat-toggle {
    color: #fff;
}
.project-cat-link {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px;
    border-radius: 12px;
}
.project-cat-link:hover {
    background: #00bcd4;
    color: #fff;
}
.cat-toggle {
    position: absolute;
    right: 0;
    cursor: pointer;
    color: #00bcd4;
    font-size: 50px;
    height: 100%;
    top: 7px;
    display: flex;
    width: 30px;
    justify-content: center;
}

.sub-cat-list {
    display: none;
    padding-left: 8px;
}
.project-card {
    border: 1px solid #ddd;
    padding: 0;
    margin-bottom:40px;
    /* height: 360px; */
    height: 290px;
    display: flex;
    align-items: end;
    position: relative;
    /* overflow: hidden; */
    width: 96%;
}
.project-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 35%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 65%);
    transform: rotate(0deg);
    pointer-events: none;
    transition: none;
    opacity: 0;
    z-index: 2;
}

.project-card:hover::before {
    animation: flashDiagonal 1s ease forwards;
    opacity: 1;
}

@keyframes flashDiagonal {
    0% {
        transform: translate(-100%, -100%);
    }
    100% {
        transform: translate(100%, 100%);
    }
}
.project-card:after {
    content: "";
    height: 100%;
    width: 100%;
    border: 1px solid #ddd;
    position: absolute;
    top: 15px;
    right: -15px;
    z-index: -1;
    transition: 0.4s;
}
.project-card:hover::after {
    background: #00c7d2;
    border: none;
}
.project-card-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    width: 100%;
}
.project-card-title {
    color: #fff;
    font-family: 'Anybody';
    font-size: 20px;
    line-height: 30px;
    /* height: 60px; */
    min-height: 60px;
    height: 110%;
}
.project-thumb img {
    width: 100%;
    height: auto;
}
.project-cat {
    font-size: 12px;
    color: #00bcd4;
    display: block;
    margin-bottom: 5px;
}
.pagination-wrapper {
    margin-top: 30px;
    text-align: center;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 8px;
}

.pagination-wrapper .page-numbers li {
    display: inline-block;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background-color: #f9f9f9;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers a:hover {
    background-color: #07b6d0;
    color: #fff;
    border-color: #07b6d0;
}

.pagination-wrapper .page-numbers .current {
    background-color: #07b6d0;
    color: #fff;
    border-color: #07b6d0;
}
@media (max-width: 480px) {
    .pagination-wrapper .page-numbers a,
    .pagination-wrapper .page-numbers span {
        padding: 6px 10px;
        font-size: 14px;
    }
}
/* ul.project-cat-list .main-cat:first-child .project-cat-link {
    background: #07b5cf;
    color: #fff;
} */
/* ul.project-cat-list .main-cat:first-child span.cat-toggle {
    color: #fff;
} */
/* ul.sub-cat-list .project-cat-link {
    background: #00bcd4 !important;
    color: #fff !important;
} */
ul.sub-cat-list .project-cat-link:hover {
    background: #50cfdf !important;
    color: #fff !important;
}
ul.project-cat-list ul.sub-cat-list {
    margin-top: 15px;
}
.project-cat-link.active {
    background: #50cfdf !important;
    color: #fff !important;
}
.cat_filter.active-cat {
    font-weight: bold;
    color: #0073aa;
  }
  
  .sub-cat-dropdown.active-sub {
    border: 2px solid #0073aa;
  }
  

  /* Initially hide sub-categories */
.sub-cat-list {
    display: none;
  }
  
  /* When the category is active, show its subcategories */
  .main-cat.active .sub-cat-list {
    display: block;
  }
  
  /* Highlight the active main category */
  .main-cat.active > a {
    background: #00bcd4;
    color: #fff;
  }
  li.main-cat.active span.cat-toggle {
    color: #fff;
}