.Project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
    max-width: 900px;
    width: 100%;
}

.Card-Project {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    overflow: hidden; /* supaya gambar tidak keluar dari border radius */
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
  
}

.Card-Project:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card-preview {
    width: 100%;
    height: 180px;
    object-fit: cover; /* gambar crop rapi */
    display: block;
}

.card-body {
    padding: 15px;
}

.Card-Project h5 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    padding: 5px;
}

.Card-Project p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    line-height: 22px;
    padding: 5px;
}

.card-icons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding: 5px;
}

.card-icons img {
    height: 28px;
    width: 28px;
    object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .Project-list {
        grid-template-columns: 1fr; /* 1 kolom di mobile */
    }

    .card-preview {
        height: 150px;
    }
}