body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  transition: background 0.3s, color 0.3s;
}

/* Hero Section with Particles */
.hero {
  position: relative;
  height: 100vh;
  background: radial-gradient(circle at center, #1d4ed8, #111827);
  overflow: hidden;
}

#tsparticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2; /* Supaya konten di atas particles */
}

.profile-img {
  width: 200px; /* atur lebar */
  height: 200px; /* atur tinggi */
  object-fit: cover; /* biar crop rapi */
  border-radius: 50%; /* bikin bulat */
  border: 4px solid white; /* kasih border biar standout */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* efek bayangan */
}

.section-title {
  font-weight: bold;
  margin-bottom: 20px;
  color: #1d4ed8;
}

/* Timeline */
.timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 20px;
  border-left: 3px solid #1d4ed8;
}

.timeline-item {
  margin-bottom: 2rem;
  padding-left: 20px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: #1d4ed8;
  border-radius: 50%;
  border: 2px solid #fff;
}

.card,
.timeline-item {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.card:hover,
.timeline-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact {
  background: linear-gradient(135deg, #3b82f6, #2563eb, #1e40af);
}

.contact .section-title {
  color: #fff !important;   /* jadi putih */
}

/* Scroll Progress Bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, #3b82f6, #9333ea);
  z-index: 9999;
  width: 0%;
  transition: width 0.25s;
}

/* Dark Mode */
.dark-mode {
  background: #111 !important;
  color: #eee !important;
}

.dark-mode .section-title {
  color: #60a5fa;
}

.dark-mode .timeline-item,
.dark-mode .card {
  background: rgba(40, 40, 40, 0.9);
  color: #eee;
}

.dark-mode footer {
  background: #000;
}

/* Toggle Button */
.toggle-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10000;
  border-radius: 50%;
  padding: 12px 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Skill & Certificate Cards */
.card h5, .card h6 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.solution-logo {
  max-width: 120px;
  height: auto;
  filter: grayscale(20%);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.solution-logo:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.certificates-wrapper {
  white-space: nowrap;
}
.certificates-wrapper .card {
  min-width: 220px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.certificates-wrapper .card:hover {
  transform: translateY(-5px);
}
