body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #0e1117;
  color: #e6e6e6;
}
/* Timeline Experience */
.timeline {
  display: grid;
  gap: 32px;
  margin-top: 10px;
}
.time-item {
  background: #161b22;
  border: 1px solid #30363d;
  padding: 22px 24px 26px;
  border-radius: 14px;
  position: relative;
}
.time-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #e6e6e6;
}
.time-item .meta {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #6e7681;
  text-transform: uppercase;
}
.time-item ul {
  margin: 0 0 10px 18px;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #adb7c0;
}
.time-item ul li {
  margin-bottom: 4px;
}
.sub-blocks {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.sub {
  background: #0d1117;
  border: 1px solid #30363d;
  padding: 14px 16px 16px;
  border-radius: 10px;
}
.sub ul {
  margin: 6px 0 0 18px;
}

/* Buttons */
.btn-inline {
  color: #58a6ff;
  text-decoration: none;
  font-size: 14px;
  position: relative;
}
.btn-inline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: #58a6ff;
  transition: 0.3s;
}
.btn-inline:hover::after {
  width: 100%;
}

/* Skills categories */
.skill-categories {
  display: grid;
  gap: 30px;
}
.skill-cat {
  background: #161b22;
  border: 1px solid #30363d;
  padding: 20px 22px 22px;
  border-radius: 12px;
}
.skill-cat h3 {
  margin: 0 0 14px;
  font-size: 17px;
  color: #e6e6e6;
  letter-spacing: 0.5px;
}
.skill-cat ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.55;
  font-size: 14px;
  color: #adb7c0;
}
.skill-cat ul li {
  margin-bottom: 4px;
}

/* Education */
.education-box {
  background: #161b22;
  border: 1px solid #30363d;
  padding: 18px 22px 20px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

/* Utility */
a {
  color: #58a6ff;
}
a:hover {
  color: #7fb5ff;
}
header {
  background: #161b22;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
}
/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: #1f6feb22;
  border: 1px solid #30363d;
  color: #e6e6e6;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
header a.logo {
  font-size: 20px;
  font-weight: 600;
  color: #58a6ff;
  text-decoration: none;
  letter-spacing: 1px;
}
nav a {
  color: #c9d1d9;
  margin-left: 25px;
  text-decoration: none;
  font-size: 15px;
  position: relative;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #58a6ff;
  transition: 0.3s;
}
nav a:hover::after,
nav a.active::after {
  width: 100%;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 25px;
}
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 20px;
}
.hero-text h1 span {
  color: #58a6ff;
}
.hero-text p {
  font-size: 17px;
  line-height: 1.6;
}
.hero-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
/* Smaller profile photo styling */
.profile-photo-wrap {
  /* Gunakan clamp agar ukuran adaptif antara 260px–340px */
  width: clamp(260px, 30vw, 340px);
  height: clamp(260px, 30vw, 340px);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.55);
  margin: auto;
  border: 2px solid #30363d;
  background: #161b22;
  transition: transform 0.35s;
}
.profile-photo-wrap:hover {
  transform: scale(1.03);
}
.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 700px) {
  .profile-photo-wrap {
    width: 260px;
    height: 260px;
  }
}
section h2 {
  font-size: 30px;
  margin: 0 0 25px;
  position: relative;
  display: inline-block;
}
section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60%;
  height: 3px;
  background: #58a6ff;
  border-radius: 2px;
}
.projects-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.project-card {
  background: #161b22;
  border: 1px solid #30363d;
  padding: 18px 18px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.08), rgba(88, 166, 255, 0.01));
  opacity: 0;
  transition: 0.4s;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: #58a6ff66;
}
.project-card:hover::before {
  opacity: 1;
}
.project-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}
.project-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: #e6e6e6;
  text-decoration: none;
}
.project-card p {
  flex-grow: 1;
  font-size: 14px;
  line-height: 1.5;
  color: #adb7c0;
  text-decoration: none;
}
.tag-wrap {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  background: #1f6feb22;
  color: #58a6ff;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  border: 1px solid #1f6feb66;
}
footer {
  text-align: center;
  padding: 40px 0 60px;
  font-size: 13px;
  color: #6e7681;
}
.skill-bars {
  display: grid;
  gap: 18px;
}
.skill {
  background: #161b22;
  border: 1px solid #30363d;
  padding: 14px 18px 16px;
  border-radius: 10px;
}
.skill h4 {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: 15px;
}
.progress {
  height: 8px;
  background: #30363d;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #238636, #2ea043);
  width: 0;
  animation: grow 1.4s forwards;
  box-shadow: 0 0 0 1px #238636;
}
@keyframes grow {
  to {
    width: var(--w);
  }
}
.contact-info {
  max-width: 600px;
}
.contact-details {
  display: grid;
  gap: 24px;
}
.contact-item {
  background: #161b22;
  border: 1px solid #30363d;
  padding: 20px 24px;
  border-radius: 12px;
  transition: 0.25s;
}
.contact-item:hover {
  border-color: #58a6ff40;
  background: #1c2128;
}
.contact-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #e6e6e6;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-item p {
  margin: 0;
  color: #adb7c0;
  font-size: 14px;
  line-height: 1.5;
}
.contact-item a {
  color: #58a6ff;
  text-decoration: none;
  transition: 0.25s;
}
.contact-item a:hover {
  color: #7fb5ff;
}
.alert {
  background: #1f6feb22;
  border: 1px solid #1f6feb66;
  padding: 12px 16px;
  border-radius: 8px;
  color: #58a6ff;
  font-size: 14px;
}
.breadcrumb {
  font-size: 12px;
  margin-bottom: 18px;
  color: #6e7681;
}
.project-detail-hero {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  align-items: start;
}
.project-detail-hero img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.empty {
  text-align: center;
  padding: 80px 0;
  color: #6e7681;
}
@media (max-width: 700px) {
  .hero-text h1 {
    font-size: 34px;
  }
  header {
    padding: 16px 22px;
  }
  .nav-toggle {
    display: block;
  }
  header nav {
    position: absolute;
    right: 16px;
    top: 62px;
    background: #161b22;
    border: 1px solid #30363d;
    display: flex;
    flex-direction: column;
    padding: 14px 16px 18px;
    gap: 6px;
    border-radius: 12px;
    width: 200px;
    box-shadow: 0 8px 26px -6px rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: 0.25s;
  }
  header nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  header nav a {
    margin: 0;
    font-size: 14px;
    padding: 6px 4px;
  }
  nav a::after {
    bottom: -2px;
  }
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
  .project-detail-hero {
    grid-template-columns: 1fr;
  }
  .timeline {
    gap: 22px;
  }
}
