.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin: 40px 0;
}

.project {
    background: linear-gradient(135deg, #e3f2fd 0%, #fff 100%);
    /* border-radius: 18px; */
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    width: 320px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.project:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
}

.project-header {
    background: linear-gradient(90deg, var(--ice-color) 0%, var(--fire-color) 100%);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-header img {
    max-height: 100px;
    max-width: 90%;
    object-fit: contain;
    /* border-radius: 8px; */
    background: rgba(255,255,255,0.2);
    padding: 8px;
}

.project-content {
    padding: 24px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-content h2 {
    font-size: 1.3rem;
    color: #1565c0;
    margin: 0 0 8px 0;
    text-align: left;
}

.project-content p {
    font-size: 1rem;
    color: #333;
    margin: 0;
    text-align: left;
}