.project-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.filter-btn {
    border: none;
    background: none;
    padding: 10px 25px;
    font-size: 1.1rem;
    color: #333;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #f7a442;
    transition: width 0.3s ease;
}

.filter-btn.active {
    color: #f7a442;
}

.filter-btn.active::after {
    width: 80%;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 3px solid #f7a442; /* Add border */
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(247, 164, 66, 0.2);
    border-color: #ffd700; /* Change border color on hover */
}

.project-card img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Adjust image height for mobile */
@media (max-width: 768px) {
    .project-card img {
        height: 250px;
    }
}

.project-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0,0,0,0.8);
    color: white;
    transition: bottom 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card:hover .project-overlay {
    bottom: 0;
}

.project-overlay h4 {
    margin-bottom: 10px;
}

.project-item {
    display: none;
}

.project-item.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.subtitle {
    font-size: 18px;
    color: #f7a442;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px; /* Increased letter spacing */
    margin-bottom: 15px;
    display: block;
    font-family: 'Work Sans', sans-serif;
}

/* Remove the ::after pseudo-element that created the underline */
.subtitle::after {
    display: none;
}