.service-stats-mini .stats-row {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.service-stats-mini .stat-item {
    text-align: center;
}

.service-stats-mini .stat-item strong {
    display: block;
    font-family: "Josefin Sans", sans-serif;
    text-transform: uppercase;
    font-size: 15px;
    color: #f74500;
}

.service-stats-mini .stat-item span {
    font-family: "Josefin Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #9f9e9e;
    color: rgba(20, 35, 90, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    text-transform: uppercase;
}

.service-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.service-badges .badge {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.service-meta {
    margin: 10px 0;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.swiper-progress {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.2);
    margin-top: 15px;
    border-radius: 2px;
    overflow: hidden;
}

.swiper-progress .progress-bar {
    height: 100%;
    background: var(--theme-color);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .service-stats-mini .stats-row {
        gap: 10px;
    }
    
    .service-stats-mini .stat-item strong {
        font-size: 18px;
    }
}

.project-stats-summary {
    margin-top: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: "Josefin Sans", sans-serif;
  text-transform: uppercase;
  font-size: 20px;
  color: #f74500;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-label {
  display: inline-block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 26px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(20, 35, 90, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 1rem;
}

.project-filters {
    margin: 40px 0 30px;
    text-align: center;
}

.filter-container {
    display: inline-flex;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 5px;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--theme-color, #007bff);
    color: white;
    transform: translateY(-2px);
}

.trgz-cate-item {
    position: relative;
    /* border-radius: 12px; */
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8)); */
    opacity: 1;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    color: white;
}

.trgz-cate-item-link:hover .project-overlay {
    opacity: 1;
}

.meta-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.project-category {
    background: var(--theme-color, #007bff);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.project-status-badge {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.project-status-badge.status-completed {
    background: #28a745;
}

.project-status-badge.status-ongoing {
    background: #ffc107;
    color: #000;
}

.project-status-badge.status-planned {
    background: #17a2b8;
}

.project-location,
.project-date {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
}

.project-actions {
    text-align: center;
    margin-top: auto;
}

.view-project {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.view-project:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.project-description {
    font-size: 14px;
    color: #666;
    margin: 15px 0;
    line-height: 1.5;
}

.project-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
    padding-top: 15px;
    margin-right: 1rem;
    border-top: 1px solid #fff3;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 12px;
    color: #fffafaff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 14px;
    font-weight: 800;
      font-family: "DM Sans Medium";
    color: #ffffffff;
}

.info-value.status-completed {
  /* background: rgba(40, 167, 69,0.8); */
  padding: 10px 20px;
    padding: 3px 5px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  /* width: 35%; */
  /* backdrop-filter: blur(10px); */
  transition: all 0.3s ease;
}

.info-value.status-completed {
    color: rgba(40, 167, 69, 1);
      color: rgb(78, 255, 119);
    /* color: rgba(255, 255, 255, 1); */
}

.info-value.status-ongoing {
    color: #ffc107;
}

.info-value.status-planned {
    color: #17a2b8;
}

.project-media-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 3rem;
    gap: 8px;
}

.media-count {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-link a {
    color: var(--theme-color, #ffffffff);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.view-link a:hover {
    color: var(--theme-color-hover, #ffffffff);
    transform: translateX(5px);
}

.projects-view-more {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.01);
}

.view-more-content p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 16px;
}

.view-all-projects-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--theme-color, #007bff);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.2);
}

.view-all-projects-btn:hover {
    background: var(--theme-color-hover, #0056b3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.3);
    color: white;
}

/* Animations for filtering */
.project-article {
    transition: all 0.5s ease;
    transform: scale(1);
    opacity: 1;
}

.project-article.filtered-out {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    margin: 0;
    height: 0;
    overflow: hidden;
}

/* Hover effects */
.project-article:hover .trgz-cate-item {
    /* transform: translateY(-5px); */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.project-article img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

@media only screen and (max-width: 1420px){
    .project-info-grid{
        /* grid-template-columns: 1fr 1fr; */
        grid-template-columns: repeat(1, 1fr);
        gap: 0px;
    }
    .project-media-stats {
  flex-direction: column;
  align-items: flex-start;
  margin-right: 0rem;
}
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .filter-container {
        flex-direction: column;
        border-radius: 12px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .project-media-stats {
        align-items: flex-start;
    }
    
    .meta-top {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .project-overlay {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .project-article img {
        height: 450px;
    }
}

@media (max-width: 480px) {
    .filter-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .project-stats-summary {
        padding: 15px;
    }
    
    .view-all-projects-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

<!-- CSS for better styling -->
.trgz-blog .post-item {
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trgz-blog .post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.trgz-blog .entry-media {
    position: relative;
    overflow: hidden;
    /* border-radius: 8px; */
}

.trgz-blog .entry-media img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.trgz-blog .post-item:hover .entry-media img {
    transform: scale(1.05);
}

.trgz-blog .entry-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.trgz-blog .entry-title a:hover {
    color: #007bff;
}

.trgz-blog .the-excerpt {
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trgz-blog .entry-meta a {
    color: #999;
    text-decoration: none;
    font-size: 0.9em;
}

.trgz-blog .entry-meta a:hover {
    color: #007bff;
}

.no-blog-posts {
    padding: 60px 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
}

.no-blog-posts h4 {
    color: #bf5600ff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
    color: #333;
    margin-bottom: 15px;
}

.no-blog-posts p {
    font-family: "DM Sans Medium";
  font-weight: 500;
  color: #010056;
  font-size: 1.55rem;
  line-height: 1.5;
  width: 100%;
  padding: 0.4rem 0px;
  word-wrap: break-word;
    color: #666;
    margin-bottom: 25px;
}

.no-blog-posts .btn {
    font-family: "Dosis", sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1.1rem;
      font-weight: 800;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    background-color: #bf5700;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.no-blog-posts .btn:hover {
    background-color: #0056b3;
    background-color: #af4f01ff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .trgz-blog .entry-media img {
        height: 200px;
    }
    
    .no-blog-posts {
        padding: 40px 15px;
    }
}