/* Reset dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

/* Container */
body {
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 900px;
  margin: 30px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Header */
header {
  text-align: center;
  margin-bottom: 30px;
}

.profile-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0077b5; /* warna linkedin */
  margin-bottom: 15px;
}

header h1 {
  font-size: 2rem;
  color: #0077b5;
  margin-bottom: 5px;
}

header p {
  font-size: 1.1rem;
  color: #555;
}

/* Section umum */
section {
  margin-bottom: 25px;
}

section h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #0077b5;
  border-bottom: 2px solid #0077b5;
  display: inline-block;
  padding-bottom: 3px;
}

/* Kontak */
.contact ul {
  list-style: none;
}

.contact li {
  margin-bottom: 10px;
}

.contact a {
  color: #0077b5;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* Tentang saya */
.about p {
  margin-bottom: 12px;
  text-align: justify;
}

/* Skills */
.skills ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px;
  list-style: none;
}

.skills li {
  background: #f0f4f8;
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 4px solid #0077b5;
}

/* Pendidikan */
.education ul {
  list-style: disc;
  padding-left: 20px;
}

.education li {
  margin-bottom: 10px;
}

/* Sertifikat */
.certificates ul {
  list-style: none;
}

.certificates li {
  margin-bottom: 15px;
}

.certificates button {
  background: #0077b5;
  color: #fff;
  border: none;
  padding: 5px 10px;
  margin-top: 5px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.certificates button:hover {
  background: #005983;
}

.sertifikat-container img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Proyek */
.projects ul {
  list-style: none;
}

.projects li {
  margin-bottom: 18px;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 10px;
  border-left: 4px solid #0077b5;
}

.projects li a {
  color: #0077b5;
  text-decoration: none;
  font-weight: bold;
}

.projects li a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
}

/* Responsif */
@media (max-width: 600px) {
  .container {
    padding: 20px;
  }

  header h1 {
    font-size: 1.6rem;
  }

  header p {
    font-size: 1rem;
  }
}