nav {
  background-color: rgba(6, 8, 19, 0.52);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  padding: 10px 100px;
  border-radius: 40px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 1);
}

.excelent {
  background: linear-gradient(135deg, #0d0d2b, #1a1a40, #000000);
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* biar efek parallax saat scroll */
  color: #fff;
  position: relative;
  z-index: 1;
  font-family: "Poppins", sans-serif;
}

.excelent::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: 0.3;
  z-index: -1;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  color: white;
}

.txt-primary {
  color: rgba(165, 0, 215, 1) !important;
}

.primary {
  background-color: rgb(141, 0, 184) !important;
  color: white !important;
}

.secondary {
  background-color: rgba(163, 172, 179, 1) !important;
}

.primary:hover {
  background-color: rgba(159, 2, 206, 1) !important;
}

.secondary:hover {
  background-color: rgba(215, 223, 230, 1) !important;
  color: black !important;
}

.transparent {
  background-color: rgba(6, 8, 19, 0.52);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.blob {
  width: 300px;
  height: 400px;
  overflow: hidden;
  background: url(img/foto.png);
  background-size: cover;
  background-position: top;
  border-radius: 42% 56% 72% 28% / 42% 42% 56% 48%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  animation: blob 3s infinite;
  background-color: rgb(141, 0, 184);
}

@keyframes blob {
  0%,
  100% {
    border-radius: 42% 56% 72% 28% / 42% 42% 56% 48%;
  }

  33% {
    border-radius: 42% 28% 50% 50% / 28% 28% 70% 70%;
  }

  66% {
    border-radius: 60% 36% 75% 66% / 42% 42% 56% 48%;
  }
}

.timeline {
  list-style: none;
  padding: 0;
  position: relative;
  margin-left: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #0d6efd; /* warna garis */
}

.timeline li {
  position: relative;
  margin-bottom: 20px;
  padding-left: 30px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0d6efd; /* warna titik */
  border: 2px solid white;
  box-shadow: 0 0 0 2px #0d6efd;
}

#services {
  /* background: #0a0f1c; warna gelap seperti contoh */
  color: #fff;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  text-align: left;
  position: relative;
  transition: 0.3s ease-in-out;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 6px;
  border-radius: 10px;
  background: linear-gradient(to bottom, #3b82f6, #9333ea);
  opacity: 0.5;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 15px #3b82f6;
}

.service-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 15px;
}

.service-card h5 {
  font-weight: bold;
  margin-bottom: 10px;
}

.service-card a {
  display: inline-block;
  margin-top: 10px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

#projects {
  background: #0a0f1c; /* background gelap */
  color: #fff;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.project-img img {
  max-height: 700px;
  object-fit: cover;
}

.project-card h5 {
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.95rem;
  color: #ccc;
}

.project-card .btn {
  font-size: 0.85rem;
}

.badge {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff;
  font-weight: 400;
}

#contact {
  /* background: #0a0f1c; background gelap */
  height: 60vh;
  color: #fff;
}

#contact p {
  color: #ccc;
}

.contact-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7b8cff;
  font-size: 1.2rem;
  transition: 0.3s;
  text-decoration: none;
}

.contact-icon:hover {
  background: #3b82f6;
  color: #fff;
  transform: translateY(-5px);
}

#scrollToTopButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* awalnya disembunyikan */
  z-index: 9999; /* biar selalu di atas */
}

[data-aos] {
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}

/* sembunyikan konten asli kalau JS mati */
noscript {
  display: flex;
  background: #f8d7da;
  color: #721c24;
  font-family: Poppins, sans-serif;
  text-align: center;
  padding: 50px;
  height: 100vh;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

noscript h2 {
  margin-bottom: 10px;
}
