
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1000px;
    z-index: 1;
}

.work-item {
    background-color: #092233;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.work-item:hover {
    transform: translateY(-5px);
}

.work-item h3 {
    color: #f0a400;
    margin-bottom: 10px;
}


.work-item h4 {
    color: #f0a400;
    margin-bottom: 10px;
    
}

.h1 h3 {
    z-index: 10;
}


/* Grid layout for work cards */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;

    /* Make it scrollable vertically */
    max-height: 725px; /* or whatever fits your layout */
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}


.work-grid::-webkit-scrollbar {
    display: none;
}

/* Project Card */
.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, filter 0.4s ease;
    margin-left: 15px;
    margin-right: 15px;
}

/* Hover Zoom + Brighten */
.project-card:hover {
    transform: scale(1.03);
    filter: brightness(1.15);
}

/* Dark overlay for text readability */
.project-overlay {
    background: linear-gradient(to top, rgba(8,27,41,0.9) 70%, rgba(8,27,41,0.4) 100%);
    color: #ededed;
    padding: 15px;
    width: 100%;
}

/* Header (status + link) */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

/* Status text */
.status {
    font-size: 14px;
    font-weight: 600;
}

.status.active {
    color: #00ff6a; /* Green for Active */
}

.status.fixing {
    color: rgb(255, 208, 0);
}

/* Project link styling */
.project-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-link:hover {
    text-decoration: underline;
}

/* Project description text */
.project-overlay p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
} 
