/* Styling Tombol WhatsApp Melayang */
.float-wa {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px; /* Jarak dari bawah */
  right: 30px; /* Jarak dari kanan */
  background-color: #25d366; /* Hijau WhatsApp */
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000; /* Pastikan berada di atas elemen lain */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-green 2s infinite; /* Animasi berdenyut */
}

.float-wa:hover {
  background-color: #128c7e; /* Hijau lebih gelap saat disentuh */
  color: #fff;
  transform: scale(1.1); /* Efek membesar sedikit */
}

/* Penyesuaian untuk Layar HP (Mobile) */
@media (max-width: 768px) {
  .float-wa {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }
}

/* Animasi Denyut (Pulse) */
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
