
.section-subtitle{
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.project-grid{
  display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.project-card{
    position: relative;
    background:var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
    0 8px 20px rgba(0, 0, 0,0.08),
    0 2px 6px rgba(0,0,0, .05)
    ;
    transition: transform .3s ease,box-shadow .3s ease;
}

.featured-badge{
    position: absolute;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    top: 16px;
    right: 16px;
    z-index: 100;
    font-weight: bold;
    background: gold;
    color: #000;


}

.project-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0, .15);
}

.project-image{
    margin-top: 30px;
    width: 100%;
    display: block;
    transition: transform .4s ease;
}

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

}

.project-content{
    padding: 24px;
}

.project-title{
font-size: 24px;
margin-bottom: 12px;
color: var(--text-primary);
}

.project-description{
    color:var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-status{
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0;
    font-weight: 600;
    color: #16a34a;
}

.status-dot{
    width: 10px;
    height: 10px;
    background: #16a34a;
    border-radius: 50%;
    animation: pulse 1.8s infinite;
    gap: 10px;
}

@keyframes pulse {
    0%{
        transform: scale(1);
        opacity: 1;
    }
    50%{
        transform: scale(1.5);
        opacity: .6;
    }
    100%{
        transform: scale(1);
        opacity: 1;

    }
}

.tech-stack{
    display: flex;
    flex-wrap: wrap;
    gap:10px;
    margin: 20px 0;
}
.tech-chip{
    background:var(--chip-bg);
    color:var(--text-primary);
    padding:8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;

}

.project-buttons{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.live-demo-btn,
 .github-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.live-demo-btn{
    background: hwb(120 2% 33% / 0.933);
    color:var(--white);
}
.live-demo-btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0,.15);
}

.github-btn{
    background: transparent;
    color:var(--text-primary);
    border: 1px solid var(--border-color);
}

.github-btn:hover{
    background:var(--white);
    color: var(--text-primary);
    transform: translateY(-3px);
}

@media (min-width: 768px) {
    .project-buttons{
        flex-direction: row;
    }
    .live-demo-btn,
    .github-btn {
        flex: 1;
    }
    
}

@media (min-width:768px) {
    .project-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

.timeline{
    margin-top: 40px;
}

.timeline-item{
    display: flex;
    align-items: flex-start;
    gap:20px;
    margin-bottom: 40px;
    position: relative;

}

.timeline-item::before{
    content:"";
    position: absolute;
    left: 7px;
    top:22px;
    width: 2px;
    height: calc(100% + 40px);
    background: #d1d5db;

}

.timeline-item:last-child::before{
    display: none;
}

.timeline-dot{
    width: 16px;
    height: 16px;
    background: #16a34a;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.milestone-year{
    display: inline-block;
    color:#16a34a;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content{
    padding-bottom: 10px;
}


.timeline-content h3{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color:var(--text-primary);
}

.timeline-content p{
    color: var(--text-secondary);
    line-height: 1.6;
}

[data-theme="dark"] .timeline-content h3{
    color:#f8fafc;
}

[data-theme="dark"] .timeline-content p{
    color:#cbd5e1;
}

[data-theme="dark"] .timeline-item::before{
    background:#475569;
}

