
.container .cards {
    position: relative;
    width: 300px;
    height: 400px;
    background: linear-gradient(#2196f3, #2196f3 30%, #1d3548 30%, #1d3548);
    margin: 10px;
    border-radius: 20px;
    overflow: hidden;
  }
  .container .cards .imgBx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    
    transform-origin: top;
  }
  .container .cards:hover .imgBx {
    transform: translateY(30px) scale(0.5);
  }
  .container .cards .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .container .cards .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 30px;
    transform: translateY(100%);
    transition: 0.5s;
  }
  .container .cards:hover .content {
    transform: translateY(0);
  }
  .container .cards .content .details h2 {
    color: #fff;
    font-size: 1.5em;
    font-weight: 500;
  }
  .container .cards .content .details h2 span {
    font-size: 0.8em;
    font-weight: 400;
    color: #03a9f4;
  }
  .social_icons {
    position: relative;
    display: flex;
    margin-top: 5px;
  }
  .social_icons li {
    list-style: none;
    margin: 4px;
  }
  .social_icons li a {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.5em;
    color: #fff;
    text-decoration: none;
    transition: 0.5s;
  }
  .social_icons li a:hover {
    transform: rotate(360deg);
    background: #03a9f4;
  }
  

  /* JFK card styles */

  .profile-card{
    width:250px;
    height:250px;
    border-radius:50%;
    background-color:#3A67B1;
    padding:25px;
    transition:all 0.3s;
  }
  
  .profile-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
    position:relative;
    z-index:10;
    transition: all 0.3s;
  }
  
  .profile-details{
    text-align:center;
    text-transform:capitalize;
    transform:translateY(-80%);
    opacity:0;
    transition:all 0.3s;
  }
  
  .profile-details h3{
    font-size:20px;
  }
  
  .profile-details p{
    font-size:14px;
    margin:5px 0 10px;
  }
  
  .profile-details a{
    color:#555;
    font-size:20px;
  }
  
  .profile-details a:not(:last-child){
    margin-right:10px;
  }
  
  .profile-card:hover{
    height:270px;
    border-radius:15px;
    background-color:#EDBE38;
  }
  
  .profile-card:hover img{
    width:200px;
    height:200px;
    border-radius:15px;
    transform:translateY(-50%);
  }
  
  .profile-card:hover .profile-details{
    opacity:1;
  }

  /* JFE team style */

  /* .profile-container:hover */
.profile-container {
    width: 300px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
    transition: 1s all ease;
    
  }
  
  .profile-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    z-index: -1;
    opacity: 1;  
    transition: all .5s ease-in;
  }
  
  .profile-container:hover:before {
    opacity: 0;
    transition: all .5s ease;
  }
  
  
  /* Profile Card Wrapper */
  .profile-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  .profile-wrapper::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #2371ae 0%, #bb47d4 100%);
    transform: skew(30deg) translateX(125%);
    opacity: 0.9;
    transition: all 0.6s ease;
  }
  
  .profile-wrapper::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #2371ae 0%, #bb47d4 100%);
    transform: skew(30deg) translateX(-125%);
    opacity: 0.9;
    transition: all 0.6s ease;
  }
  
  .profile-container:hover .profile-wrapper::after{
    transform: skew(30deg) translateX(125%);
    background: linear-gradient(to right, #bb47d4 0%, #2371ae 100%);
    
  }
  .profile-container:hover .profile-wrapper::before{
    transform: skew(30deg) translateX(-125%);
    background: linear-gradient(to right, #bb47d4 0%, #2371ae 100%);
  }
  
  /* Profile Card */
  .profile-card2 {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 10px;
    position: relative;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .profile-container:hover .profile-card2 {
    opacity: 1;
    transition: all 0.6s ease;
    transition-delay: 0.2s;
    background-color: #FFFFFF;
  }
  
  .profile-card2 .fav-icon {
    color: #ec0e0e;
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 21px;
    cursor: pointer;
  } 
  
  /* Profile Picture */
  .profile-card2 img {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 1rem 0;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), 
                      linear-gradient(to right, green, gold);
    background-origin: border-box;
    background-clip: content-box, border-box;
    /* border: 2px solid #1999; */
    position: relative;
  }
  
  .profile-card2  h2 {
    line-height: 1.2;
    color: #222;
  }
  .profile-card2  h4 {
    line-height: 1.5;
    color: #444;
  }
  
  .profile-card2  p {
    line-height: 1.2;
    color: #333;
    margin: 10px 0;
  }
  
  /* Profile Icons */
  .profile-card2 .icons {
    display: flex;
    color: #333;
    width: 90%;
    justify-content: space-evenly;
    font-size: 1.4rem;
    margin: 5px 0;
  }
  
  .profile-card2 .icons i:hover {
    background-image: linear-gradient(to right, #bb47d4 0%, #2371ae 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
  }
  
  /* Profile Button */
  .profile-card2 a {
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    padding: 8px 20px;
    margin-top: 1rem;
    background: #2371ae;
    border-radius: 50px;
    background: linear-gradient(to right, #bb47d4 0%, #2371ae 100%);
  }


  /* JFJ CARD STYLE */
  .box{
    width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 15px;
    margin: 0 auto;
  }
  .card3{
    position: relative;
    width: 300px;
    height: 350px;
    background: #fff;
    
    margin: 0 auto;
    border-radius: 4px;
    box-shadow:0 2px 10px rgba(0,0,0,.2);
  }
  .card3:before,
  .card3:after
  {
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: #fff;
    transition: 0.5s;
    z-index:-1;
  }
  .card3:hover:before{
  transform: rotate(20deg);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  background:  #56BDA3;
  }
  .card3:hover:after{
  transform: rotate(10deg);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  background: #EDBE38;
  } 
  .card3 .imgBx2{
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: 10px;
  right: 10px;
  background: #222;
  transition: 0.5s;
  z-index: 1;
  }
  
  .card3:hover .imgBx2
  {
    bottom: 80px;
  }

  .card3 .imgBx2 img{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .card3 .details{
      position: absolute;
      left: 10px;
      right: 10px;
      bottom: 10px;
      height: 60px;
      text-align: center;
  }

  .card3 .details h2{
   margin: 0;
   padding: 0;
   font-weight: 600;
   font-size: 20px;
   color: #777;
   text-transform: uppercase;
  } 

  .card3 .details h2 span{
  font-weight: 500;
  font-size: 16px;
  color: #f38695;
  display: block;
  margin-top: 5px;
   } 