.portfolio-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: #ff001b; /* Red Pill Header[cite: 1] */
    padding: 12px 16px;
    border-radius: 30px;
    margin-bottom: 30px;
    justify-content: flex-start;
}

.portfolio-filter-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.portfolio-filter-btn.active, .portfolio-filter-btn:hover {
    background: #000;
    color: #fff;
}

/* Cards Grid[cite: 1] */
.portfolio-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.portfolio-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eaeaea;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.card-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    background: #e0e0e0;
}

.card-category-tag {
    display: inline-block;
    background: #000;
    color: #fff;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    margin: 12px 0 8px 0;
    align-self: flex-start;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.card-excerpt {
    font-size: 12px;
    color: #666;
    margin-bottom: 16px;
    flex-grow: 1;
}

.view-project-btn {
    background: #ff001b;
    color: #fff;
    border: none;
    padding: 8px 0;
    border-radius: 20px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
}

/* Pagination[cite: 1] */
.portfolio-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.portfolio-page-btn {
    border: 1px solid #ccc;
    background: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.portfolio-page-btn.active {
    background: #ff001b;
    color: #fff;
    border-color: #ff001b;
}

/* Detail View Layout[cite: 2] */
.project-banner img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.project-gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.project-feedback-section {
    margin-top: 40px;
}

.feedback-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 16px;
    border-radius: 8px;
}