
/* Container */
.icon-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}

/* Toggle Button */
.icon-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.icon-toggle:hover {
  transform: scale(1.1);
}

/* Popup Menu (UPWARD POSITION) */
.icon-menu {
  position: absolute;
  bottom: 75px; /* THIS makes it open upward */
  right: 0;

  display: flex;
  flex-direction: column;
  gap: 12px;

  opacity: 0;
  transform: translateY(40px) scale(0.95);
  pointer-events: none;
  transition: all 0.4s ease;
}

/* Active State */
.icon-menu.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Icon Buttons */
.icon-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transform: translateX(30px);
  opacity: 0;
  transition: all 0.4s ease;
}

/* Slide Animation */
.icon-menu.active .icon-btn {
  transform: translateX(0);
  opacity: 1;
}

/* Stagger Animation */
.icon-menu.active .icon-btn:nth-child(1) { transition-delay: 0.1s; }
.icon-menu.active .icon-btn:nth-child(2) { transition-delay: 0.2s; }
.icon-menu.active .icon-btn:nth-child(3) { transition-delay: 0.3s; }

/* Colors */
.whatsapp { background: #25D366; }
.viber { background: #7360F2; }
.call { background: #ff5722; }

/* Hover */
.icon-btn:hover {
  transform: scale(1.15);
}
