jQuery(document).ready(function($){
  $(document).on('mousemove', '.sifency-hover-reveal-active .sifency-award-item', function(e){
    var $img = $(this).find('.sifency-award-hover-img');
    if($img.length){
      var x = e.clientX + 20;
      var y = e.clientY + 20;
      $img.css({
        top: y + 'px',
        left: x + 'px',
        opacity: 1,
        transform: 'scale(1)',
        transition: 'opacity 0.2s ease, transform 0.2s ease'
      });
    }
  });

  $(document).on('mouseleave', '.sifency-hover-reveal-active .sifency-award-item', function(){
    var $img = $(this).find('.sifency-award-hover-img');
    if($img.length){
      $img.css({
        opacity: 0,
        transform: 'scale(0.8)',
        transition: 'opacity 0.3s ease, transform 0.3s ease'
      });
    }
  });

});
