.project-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(52, 152, 219, 0.5);
}

.project-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.7) 100%);
}

.project-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.project-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #3498db;
}

.project-title span {
    color: #fff;
    transition: color 0.3s ease;
}

.project-card:hover .project-title span {
    color: #3498db;
}

.project-description {
    margin-bottom: 20px;
    color: #ccc;
    flex-grow: 1;
    line-height: 1.6;
}

.project-links {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.project-link {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

.project-link:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.tech-tag {
    background-color: rgba(52, 152, 219, 0.2);
    color: #3498db;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

/* Animation for project cards */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.projects-container .project-card {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.projects-container .project-card:nth-child(1) { animation-delay: 0.1s; }
.projects-container .project-card:nth-child(2) { animation-delay: 0.2s; }
.projects-container .project-card:nth-child(3) { animation-delay: 0.3s; }
.projects-container .project-card:nth-child(4) { animation-delay: 0.4s; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px;
    color: #777;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #3498db;
}

/* Project filter */
.project-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-button {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button:hover, .filter-button.active {
    background-color: #3498db;
    border-color: #3498db;
}

/* Add styles for project category badge */
.project-category-badge {
    display: inline-block;
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 12px;
    border: 1px solid rgba(52, 152, 219, 0.3);
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Update filter button styles */
.filter-button {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.filter-button:hover, .filter-button.active {
    background-color: #3498db;
    border-color: #3498db;
}

/* Style for clickable links in project descriptions */
.project-description a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.project-description a:hover {
    color: #2980b9;
    text-decoration: underline;
}
