.footer-phone-icon {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  cursor: pointer;
  overflow: visible;
}

/* Ripple behind icon */
.phone-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%) scale(0.2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

/* Phone icon */
.phone-icon {
  position: absolute;
  inset: 0;
  background-image: url('https://immetrica.com/images/contact_icons/phone.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

/* Animations */
@keyframes phoneHueCycle {
  0%   { filter: hue-rotate(0deg); }
  50%  { filter: hue-rotate(30deg); }
  100% { filter: hue-rotate(0deg); }
}

@keyframes ripplePulse {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0.7;
    box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.9),
                0 0 0 0 rgba(120, 220, 255, 0.8),
                0 0 0 0 rgba(180, 240, 255, 0.7);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0.35;
    box-shadow: 0 0 0 16px rgba(0, 255, 255, 0.8),
                0 0 0 32px rgba(120, 220, 255, 0.7),
                0 0 0 48px rgba(180, 240, 255, 0.6);
  }
  100% {
    transform: translate(-50%, -50%) scale(2.6);
    opacity: 0;
    box-shadow: 0 0 0 32px rgba(0, 255, 255, 0),
                0 0 0 64px rgba(120, 220, 255, 0),
                0 0 0 96px rgba(180, 240, 255, 0);
  }
}

/* Hover animations */
.footer-phone-icon:hover .phone-icon {
  animation: phoneHueCycle 4s ease-in-out infinite;
}
.footer-phone-icon:hover .phone-ripple {
  animation: ripplePulse 4s ease-out infinite;
}