
.service{
    position: relative;
    padding: 4rem 6%;
  }
  .top-background{
    background: url("../src/assets/clients-background.jpg") no-repeat top center/cover;
}
  .audit{
    background: url("../src/assets/audit-background.jpg") no-repeat center center/cover;
  }

  .business{
    background: url("../src/assets/business-background.jpg") no-repeat center center/cover;
  }

  .finance{
    background: url("../src/assets/finance-background.jpg") no-repeat top center/cover;
  }

  .tax{
    background: url("../src/assets/tax-background.jpg") no-repeat center center/cover;
  }
 .service .content,
 .service .content2{
    display: flex;
    min-height: 80%;
    width: 100% ;
    line-height: 1.6 ;
    font-size: 14px ;
    column-gap: 2rem ;
    justify-content: center !important;
    align-items: center !important;
  }

 .service .content .profilep,
 .service .content2 .profilep{
    flex: none;
    display: flex;
    align-items:center;
    position: relative;
    height: 100%;
    overflow: hidden !important;
  }

  .profilep img{
    position: relative;
    max-width: 20rem;
}

  .content .companies-list,
  .content2 .companies-list{
    height: 100%;
    padding:0 1rem;
  }

  .companies-list h1{
    line-height: 1;
    font-size: clamp(1rem, 2.5vw, 3rem);
    margin-block-end: 1rem;
    text-align: left;
    color: #0b1c59;
    padding: 0 0rem !important;
  }
  .companies-list h2{
    color: #0b1c59;
    margin-block-end: 1rem;
    text-align: center;
  }

  .companies-list ul{
    padding-right: 2rem;
    max-height: 20rem;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .companies-list ul li,
  .companies-list p{
    font-size: 1.2em;
    line-height: 1.5;
    text-align: justify;
    margin-block-end: 0.5rem;
  }

  .paragraph2{
    margin-block-start: 2.3rem;
  }

  .companies-list ul li{
    margin-block-end: 0.4rem;
    list-style: none;
    position: relative;
  }

  .companies-list ul li::before{
    content: "";
    display: inline-flex;
    width: 8px;
    transform: translateY(-2px);
    height: 8px;
    margin-right: 0.6rem;
    background-color: #0b1c59;
    
  }

  .services{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 4%;
}

.wrapper{
    margin-block-start: 0rem !important;
}

.head-title{
  color: #0b1c59;
  font-weight: normal;
  font-size: 3em;
  text-align: center;
  margin-block-start: 1rem;
  margin-block-end: 2rem;
}

.img-slider {
  margin-bottom: 3rem;
  width: 100vw;
  overflow: hidden;
}
.img-slider ul {
  display: flex;
  padding: 0;
  animation: slide 80s infinite linear;
}
.img-slider li {
  padding: 0 4rem;
  list-style: none;
}
.img-slider img {
  width: auto;
  max-height: 7rem;
}
@keyframes slide {
  from {
    margin-left: 0%;
  }
  to {
    margin-left: -100%;
  }
}


   /* ================================================= 
                      responsive 
  ==================================================*/

 @media screen and (max-width: 777px) {
    .service{
        padding: 1rem 3%;
    }
    .service .content,
    .service .content2{
        display: flex;
        min-height: 90%;
        width: 100%;
        line-height: 1.6;
        font-size: 14px;
        opacity: 1;
    }
    .service .content{
      flex-direction: column;
    }
    .service .content2 {
      flex-direction: column-reverse;
  }

    .profilep{
        margin: 3rem 0 0rem;
        display: flex;
        justify-content: center;
    }
    .profilep img{
        position: relative;
        width: 100%;
    }

    .companies-list{
        height: 100%;
        display: block;
        padding: none !important;
      }

      .companies-list h1{
        line-height: 1;
        padding: 0 1rem;
        font-size: 2rem;
        margin-block-end: 1rem;
        text-align: center;
      }
      .companies-list ul li,
      .companies-list p{
        font-size: 1em;
        text-align: left;
      }

       /* ================================================= 
                vision mission value 
        ==================================================*/
        .cards{
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            grid-template-columns: none;
        }
        
        .img-slider ul {
          animation: slide 25s infinite linear;
        }

        .img-slider li {
          padding: 0 2rem;
          list-style: none;
        }

        .img-slider img {
          width: auto;
          max-height: 5rem;
        }
 }



 @media screen and (max-width: 425px){
    .companies-list h1{
        line-height: 1;
        padding: 0 0rem;
        font-size: 1.5rem;
        margin-block-start: 1rem;
        margin-block-end: 1rem;
      }

      .profilep img{
        position: relative;
        width: 80%;
    }

    .img-slider li {
      padding: 0 2rem;
      list-style: none;
    }

    .img-slider img {
      width: auto;
      max-height: 3rem;
    }
    .img-slider ul {
      animation: slide 12s infinite linear;
    }
    .head-title{
      font-size: 2em;
      margin-block-start: 3rem;
      margin-block-end: 0rem;
    }
    
 }

