$(document).ready(function() {

$('#card1').click(function(){
    $('.ph_anim1').attr('src', '/assets/images/details.mp4');
    });
   $('#card2').click(function(){
    $('.ph_anim1').attr('src', '/assets/images/records.mp4');
    });
    $('#card3').click(function(){
    $('.ph_anim1').attr('src', '/assets/images/payroll-calc.mp4');
    });
     $('#card4').click(function(){
    $('.ph_anim2').attr('src', '/assets/images/payments.mp4');
    });
      $('#card5').click(function(){
    $('.ph_anim2').attr('src', '/assets/images/return.mp4');
    });
       $('#card6').click(function(){
    $('.ph_anim2').attr('src', '/assets/images/accounting-6.mp4');
    });

});