.stages {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
}

.stages h1 {
    text-align: center;
    color: #0057B7;
    margin: 2rem 0 0.5rem;
    font-size: 2.2rem;
    font-weight: 700;
}

.intro-paragraph {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.5rem;
}

.stage-block {
    background: #fff;
    border: 1px solid #e4e9f0;
    border-top: 4px solid #0057B7;
    border-radius: 10px;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 3px 12px rgba(0, 87, 183, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.stage-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 87, 183, 0.14);
}

.stage-block h3 {
    color: #0057B7;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.stage-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stage-meta-item {
    font-size: 0.75rem;
    background: #eef3fb;
    color: #0057B7;
    border-radius: 20px;
    padding: 2px 10px;
    font-weight: 600;
}

.stage-block p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.stage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.stage-tag {
    font-size: 0.74rem;
    background: #e8f4fd;
    color: #1E90FF;
    border-radius: 20px;
    padding: 2px 10px;
    font-weight: 600;
}

.stage-block .btn-explore {
    align-self: flex-start;
    margin-top: 0.4rem;
}

.btn-explore {
    display: inline-block;
    background: linear-gradient(135deg, #0057B7 0%, #1E90FF 100%);
    color: white !important;
    padding: 9px 22px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 87, 183, 0.25);
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 87, 183, 0.35);
    color: white !important;
}

.btn-explore::after { content: none !important; }

.stages a:not(.btn-explore) {
    color: #1E90FF;
    text-decoration: none;
    transition: color 0.3s ease;
}
.stages a:not(.btn-explore):hover {
    color: #0057B7;
}

@media (max-width: 640px) {
    .project-list { grid-template-columns: 1fr; }
}
