<style>
    /* WhatsApp Floating Button */
.wa-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}
.wa-btn:hover {
    background-color: #1ebe5d;
    transform: scale(1.05);
}
.wa-btn i {
    font-size: 20px;
}
    #wa-chat-button {
      position: fixed;
      bottom: 20px;
      left: 20px; /* posisi kiri bawah */
      z-index: 9999;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .wa-button {
      background-color: #25D366;
      color: #fff;
      padding: 12px 16px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      display: flex;
      align-items: center;
      gap: 8px;
      animation: shake 2s infinite;
      transition: transform 0.2s;
    }

    .wa-button:hover {
      transform: scale(1.05);
    }

    .wa-label {
      color: white;
      font-size: 14px;
    }

    #wa-greeting {
      display: none;
      background: #ffffff;
      color: #333;
      font-size: 13px;
      padding: 8px 12px;
      border-radius: 8px;
      margin-bottom: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    @keyframes shake {
      0% { transform: translate(0, 0); }
      20% { transform: translate(1px, -1px); }
      40% { transform: translate(-1px, 1px); }
      60% { transform: translate(1px, 1px); }
      80% { transform: translate(-1px, -1px); }
      100% { transform: translate(0, 0); }
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', sans-serif;
      background-color: #f5f7fa;
      color: #333;
      line-height: 1.6;
    }

    header {
      background-color: #152132;
      color: white;
      padding: 80px 20px;
      text-align: center;
    }

    header h1 {
      font-size: 2.5rem;
    }

    header p {
      font-size: 1.2rem;
      margin-top: 10px;
    }

    .btn {
      display: inline-block;
      margin-top: 20px;
      background-color: #00aaff;
      color: white;
      padding: 12px 24px;
      text-decoration: none;
      border-radius: 8px;
      transition: background 0.3s;
    }

    .btn:hover {
      background-color: #0088cc;
    }

    section {
      padding: 60px 20px;
      max-width: 900px;
      margin: auto;
    }

    h2 {
      margin-bottom: 20px;
      color: #152132;
    }

    ul.skills {
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    ul.skills li {
      background: #e0e0e0;
      padding: 8px 16px;
      border-radius: 20px;
    }

    footer {
      background: #152132;
      color: white;
      text-align: center;
      padding: 20px;
      font-size: 0.9rem;
    }

    a {
      color: #00aaff;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }
/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #152132;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
  color: white;
  opacity: 1;
  transition: opacity 1s ease, visibility 1s ease;
}

.loader-container {
  text-align: center;
}

.loader-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #00aaff;
  animation: spin-right 1.5s linear infinite;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
}

/* Animasi Putar */
@keyframes spin-right {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Efek Ketik */
.typing-text {
  font-size: 1.1rem;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #00aaff;
  width: 0;
  animation: typing 3s steps(30, end) forwards, blink 0.75s step-end infinite;
}

/* Efek mengetik */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 190px;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
</style>
