 @keyframes wa-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
  }
  
  @keyframes wa-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
  }
  
  @keyframes wa-popup-in {
    0% { opacity: 0; transform: translateX(10px) scale(0.8); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
  }
  
  @keyframes wa-popup-out {
    0% { opacity: 1; transform: translateX(0) scale(1); }
    100% { opacity: 0; transform: translateX(10px) scale(0.8); }
  }
  
  #wa-btn {
    display: none;
    position: fixed;
    bottom: 35px;
    right: 35px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(37,211,102,0.5);
    align-items: center;
    justify-content: center;
    animation: wa-float 3s ease-in-out infinite;
    text-decoration: none;
  }
  
  #wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.7);
  }
  
  /* Red Notification Badge */
  #wa-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background-color: #ff3b3b;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255,59,59,0.6);
    animation: wa-pulse 1.5s ease-in-out infinite;
    border: 2px solid white;
  }
  
  /* Popup Message Bubble */
  #wa-popup {
    position: absolute;
    bottom: 8px;
    right: 70px;
    background-color: white;
    color: #333;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px) scale(0.8);
  }
  
  #wa-popup.show {
    animation: wa-popup-in 0.3s ease forwards;
  }
  
  #wa-popup.hide {
    animation: wa-popup-out 0.3s ease forwards;
  }
  
  /* Popup Arrow */
  #wa-popup::after {
    content: '';
    position: absolute;
    right: -8px;
    bottom: 18px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid white;
  }
  
  /* Popup Header */
  #wa-popup-header {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
  }
  
  #wa-popup-avatar {
    width: 32px;
    height: 32px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
  }
  
  #wa-popup-name {
    font-weight: bold;
    color: #333;
  }
  
  #wa-popup-time {
    font-size: 11px;
    color: #999;
    margin-left: 8px;
  }
  
  #wa-popup-message {
    color: #555;
    line-height: 1.4;
  }


  @media (max-width: 768px) {
    .vs-nav-phone {
      width: 40px; height: 40px;
      border-radius: 50%;
      background: transparent;
      border: 2px solid #1F96CD;
      display: flex; align-items: center; justify-content: center;
      text-decoration: none;
      position: relative;
      flex-shrink: 0;
    }
    .vs-nav-phone::before {
      content: '';
      position: absolute; inset: -5px;
      border-radius: 50%;
      border: 1.5px solid #1F96CD;
      opacity: 0;
      animation: vs-pulse 2.2s ease-out infinite;
    }
    @keyframes vs-pulse {
      0%   { transform: scale(1);   opacity: .7; }
      70%  { transform: scale(1.7); opacity: 0;  }
      100% { transform: scale(1.7); opacity: 0;  }
    }
    .vs-nav-phone svg {
      width: 18px; height: 18px;
      animation: vs-ring 3s ease infinite;
    }
    @keyframes vs-ring {
      0%,80%,100% { transform: rotate(0deg); }
      83% { transform: rotate(-16deg); }
      86% { transform: rotate(16deg); }
      89% { transform: rotate(-10deg); }
      92% { transform: rotate(8deg); }
    }
  }
  @media (min-width: 769px) {
    .vs-nav-phone { display: none !important; }
  }