.team {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    
  }
  
  .heading {
    text-align: center;
    color: #002458;
    width: 100%;
  }
  
  .paragraph {
    text-align: center;
    width: 100%;
    font-size: 20px;
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    
    justify-content: center;
  }
  
  .card {
    width: calc(20% - 20px);
    height: 350px;
    perspective: 1000px;
    margin: 10px;
  }
  
  .card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.9s;
    transform-style: preserve-3d;
  }
  
  .card:hover .card-inner {
    transform: rotateY(180deg);
  }
  
  .card-front,
  .card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    object-fit: cover;

  }
  
 
  
  .card-front img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    
  }
  
  .card-back {
    background-color: #FAC02E;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: rotateY(180deg);
  }
  
  .card-back h2 {
    margin: 5px;
    justify-content: center;
    align-items: center;
    font-size: 15px;
  }
  
  .card-back p {
    margin: 5px;
    font-size: 24px;
    text-align:center;
    justify-content: center;
    align-items: center;
    font-weight: bold;
  }
  
  .card-back blockquote {
    margin-top: 70px;
    align-content: center;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
  }

  .teamButton{
    right: 0%;
   margin-left: 100%;
   margin-top: 50px;
  }
  /* For desktop screens */
@media (min-width: 1024px) {
    .team {
      margin: 40px auto;
      max-width: 1024px;
      padding: 0 20px;
    }
  
    .row {
      justify-content: space-between;
    }
  
    .card {
      width: calc(25% - 20px);
    }
  }
  
  /* For tablet screens */
  @media (max-width: 1023px) {
    .card {
      width: calc(50% - 20px);
    }
  }
  
  /* For phone screens */
  @media (max-width: 767px) {
    .card {
      width: calc(80% - 10px);
    }
    .teamButton{
      right: 0%;
     margin-left: 75%;
     margin-top: 50px;
    }
  }
  