.section2{
    min-height:100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 4%;
}

.sub-title{
    margin-block-start: 1rem;
    width: calc(100% - 5vw);
    font-size: 1.3em;
    color: #3d3d3d;
    text-align: center;
}

.wrapper{
    margin-block-start: 3rem;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
}

.cards{
    width: 100%;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2,1fr);
}

.card{
    border-radius: 8px;
    background: #ffffff;
    box-shadow:  0px 5px 9px #5e5e5e,
                 0px -5px 9px #ffffff;
    overflow: hidden;
    height: 350px;
}

  .card .thumb1,
  .card .thumb2,
  .card .thumb3,
  .card .thumb4 {
    width: auto;
    height: 260px;
    border-radius: 8px;
  }

  .card .thumb1{
    background: url("../src/assets/auditcard.webp") no-repeat center center/cover;
  }
  .card .thumb2{
    background: url("../src/assets/taxcard.webp") no-repeat center center/cover;
  }
  .card .thumb3{
    background: url("../src/assets/consultingcard.webp") no-repeat center center/cover;
  }
  .card .thumb4{
    background: url("../src/assets/servicescard.webp") no-repeat center center/cover;
  }
  .card .infos {
    width: auto;
    height: 350px;
    position: relative;
    padding: 14px 24px;
    background: #fff;
    transition: 0.4s 0.15s cubic-bezier(0.17, 0.67, 0.5, 1.03);
  }
  .card .infos .title {
    position: relative;
    margin: 10px 0;
    letter-spacing: 3px;
    color: #152536;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    text-shadow: 0 0 0px #32577f;
  }


  .card .infos .txt {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    text-align: justify;
    font-size: 1rem;
    color: rgba(21, 37, 54, 0.7);
    opacity: 0;
    transition: 0.5s 0.25s cubic-bezier(0.17, 0.67, 0.5, 1.03);
  }
  .card .infos .details {
    position: absolute;
    left: 0;
    left: 0;
    bottom: 0;
    margin: 10px 0;
    padding: 20px 24px;
    letter-spacing: 1px;
    color: #008000;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transition: 0.5s 0.25s cubic-bezier(0.17, 0.67, 0.5, 1.03);
  }
  .card:hover .infos {
    transform: translateY(-260px);
  }
  .card:hover .infos .seats,
  .card:hover .infos .txt, 
  .card:hover .infos .details {
    opacity: 1;
  }

  @media screen and (max-width:1343px) {
    .wrapper{
      padding: 0 7%;
      grid-template-columns: repeat(1,1fr);
      gap: 2rem;
    }

    .cards{
      gap: 2rem;
    }
    
  }

  @media screen and (max-width:781px) {
    .wrapper{
      padding: 0 3%;
    }
    .card{
      height: 370px;
    }
  }


  @media screen and (max-width:425px) {

    .cards{
      grid-template-columns: repeat(1,1fr);
      gap: 2rem;
    }

    .card{
      height: 360px;
    }

    .card .infos .txt {
      font-family: Arial, Helvetica, sans-serif;
      line-height: 1.5;
      text-align: justify;
      font-size: 0.9rem;
    }
  }
  