/* Reset dan dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #333;
}


/* Navbar */
header {
    background: #222;
    color: #fff;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #00bcd4;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(to right, #0215e3, #5e1620);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-content .btn {
    background: #fff;
    color: #00bcd4;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
}

/* Sections */
section {
    padding: 100px 50px;
}

.about, .projects, .contact {
    background: #f9f9f9;
}

.projects .project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-item:hover {
    transform: translateY(-5px);
}

/* Contact Form */
.contact form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact input, .contact textarea {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact .btn {
    background: #00bcd4;
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-weight: bold;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    background: #222;
    color: white;
    margin-top: 2rem;
}

/* ...CSS sebelumnya tetap... */

/* Tambahan untuk foto profil di hero */
.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Projects img */
.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Skills Section */
.skills {
    background: #fff;
    padding: 100px 50px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.skill-item {
    text-align: center;
}

.skill-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Certificates Section */
.certificates {
    background: #f9f9f9;
    padding: 100px 50px;
}

.certificate-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.certificate-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.certificate-item p {
    text-align: center;
    font-weight: bold;
}
