/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    color: white;
}

.projects .section-title {
    color: white;
}

.projects .section-title::after {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.2rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    color: #fbbf24;
    text-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
}

.project-card p {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.8;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-tech span {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: auto;
}

.metric {
    text-align: center;
}

.metric strong {
    display: block;
    font-size: 1.25rem;
    color: #fbbf24;
    margin-bottom: 0.4rem;
    font-weight: 800;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.metric span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
