:root {
    --primary: #38bdf8;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: white;
    overflow-x: hidden;
}

#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
}

/* Glassmorphism Effect */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.highlight {
    color: var(--primary);
}

.role {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tool-item i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.tool-item:hover i {
    transform: translateY(-10px);
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.proj-banner {
    height: 150px;
    background: linear-gradient(45deg, #1e293b, #38bdf8);
    border-radius: 12px;
    margin-bottom: 15px;
}

/* Certificate List */
.cert-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.cert-list li {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cert-list i {
    color: #fbbf24;
}

@media (max-width: 600px) {
    .project-grid { grid-template-columns: 1fr; }
}
.project-img {
    width: 100%;
    height: 200px; /* Sesuaikan tinggi yang diinginkan */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.project-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-link:hover {
    background: #fff;
    color: #000;
}

/* Layout Grid untuk Sertifikat */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.cert-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
}

/* Container Gambar */
.cert-img-container {
    width: 100%;
    height: 180px; /* Atur tinggi kotak gambar */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar gambar memenuhi kotak tanpa distorsi */
    transition: scale 0.3s ease;
}

.cert-item:hover img {
    scale: 1.1; /* Efek zoom saat hover */
}

.cert-item span {
    font-size: 0.9rem;
    display: block;
    margin-top: 10px;
    line-height: 1.4;
}   