/* Filter Buttons Section */
.projects-filter {
    text-align: center;
    margin-bottom: 30px;
}

.projects-filter .filter-btn {
    background: none;
    border: none;
    padding: 10px 32px;
    margin: 5px;
    cursor: pointer;
    font-weight: 600;
    color: #000;
    border-radius: 100px;
    font-size: 19px;
    transition: all 0.3s ease;
}

.projects-filter .filter-btn.active, 
.projects-filter .filter-btn:hover {
    background: #292765;
    color: #fff;
}

/* Grid Container */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Individual Project Card */
.project-card {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* Image Container & Overlay */
.project-images {
    position: relative;
    height: 400px !important;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    display: block;
}

.project-images:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.project-card:hover .project-images {
    transform: scale(1.05);
}

/* Project Title */
.project-title {
    position: absolute;
    top: 35px;
    left: 45px;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    z-index: 10;
    font-family: "Cormorant Garamond", Sans-serif !important;
}

/* Category Tags Wrapper - YEH OVERLAP FIX KAREGA */
.project-status-wrapper {
    position: absolute;
    bottom: 30px;
    left: 45px;
    display: flex; /* Tags ko side-by-side laane ke liye */
    flex-wrap: wrap; /* Agar jagah kam ho toh niche aa jayein */
    gap: 8px; /* Tags ke beech ka space */
    z-index: 10;
    max-width: 80%; /* Screen se bahar na jaye */
}

/* Individual Tag Style */
.project-status {
    background: #ac2e35; /* Aapka red color */
    color: #fff;
    border-radius: 50px;
    font-size: 20px;
	font-weight: 700 !important;
    padding: 8px 18px;
    font-family: "Cormorant Garamond", Sans-serif !important;
    white-space: nowrap; /* Text break na ho */
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    display: inline-block;
}

/* Status Specific Colors (Optional) */
.project-status.completed { background: #1172b8; }

/* Arrow Icon */
.project-icon {
    position: absolute;
    top: 40px;
    right: 25px;
    z-index: 10;
}

.project-icon img {
    width: 45px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .project-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .project-title { font-size: 24px; left: 25px; }
    .project-status-wrapper { left: 25px; }
}