
.ourclients{
    position: relative;
  }
  .top-background{
    background: url("../src/assets/background-clients.jpg") no-repeat center center/cover;
}

  .slider {
    width: 100vw;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
  }
  .slide {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    opacity: 0;
    padding: 3rem 10%;
    transition: all 0.5s ease;
    background: #fff;
  }
  
  .current {
    opacity: 1;
  }
  
  /* ================================================= 
                      slide content
  ==================================================*/
  .slide .content {
    display: grid;
    min-height: 80%;
    width: 100%;
    line-height: 1.6;
    font-size: 14px;
    opacity: 0;
    grid-template-columns: 35% 1fr;
    column-gap: 2rem;
    transition: all 0.7s ease-in-out 0.3s;
  }
  
  .slide.current .content {
    opacity: 1;
  }

  .content .profile{
    flex: 1 ;
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
    overflow: hidden !important;
  }

  .profile img{
    position: relative;
    width: 100%;
}

  .content .side-info{
    flex: 1.3 ;
    height: 100%;
    display: flex;
    padding: 1rem;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .side-info h1{
    line-height: 1;
    padding: 0 2rem;
    font-size: clamp(1rem, 2.5vw, 3rem);
    margin-block-end: 1rem;
    color: #0b1c59;
  }

  .side-info p{
    font-size: 1.3em;
  }

  /* ================================================= 
                  section for companies
  ==================================================*/
  .head-title{
    margin-top: 3rem;
    text-align: center;
  }

  /* ================================================= 
                      buttons
  ==================================================*/
  .buttons {
    position: absolute;
    display: block;
    top: 45%;
    left: 0;
    right: 0;
  }
  .next-btn,
  .prev-btn {
    width: 50px;
    height: 50px;
    color: #0b8df867;
    font-size: 40px;
    cursor: pointer;
    border: transparent !important;
    background: transparent;
    transition: all 0.2s ease;
  }
  .next-btn {
    position: absolute;
    right: 15px;
  }
  .prev-btn {
    position: absolute;
    left: 15px;
  }
  .next-btn:hover,
  .prev-btn:hover {
  color: #0b8df8;
  }
  
  /* ================================================= 
                      responsive 
  ==================================================*/
 @media screen and (max-width: 777px) {
    .slide{
        padding: 2rem 3%;
    }
    .slide .content {
        display: block;
        min-height: 90%;
        width: 100%;
        line-height: 1.6;
        font-size: 14px;
        opacity: 0;
        transition: all 0.7s ease-in-out 0.3s;
    }
    .slider .profile{
        margin: 3rem 0 0rem;
        display: flex;
        justify-content: center;
    }
    .profile img{
        position: relative;
        width: 40%;
    }
      .content .side-info{
        flex: 1.3 ;
        height: 100%;
        display: block;
        padding: none !important;
      }

      .side-info h1{
        line-height: 1;
        padding: 0 1rem;
        font-size: 2rem;
        margin-block-end: 1rem;
      }

      .side-info p{
        font-size: 1em;
      }
 }

 @media screen and (max-width: 425px){
      .slide {
        min-height: 100%;
      }
      .slide .content {
        display: block;
        min-height: fit-content;
      }
    .side-info h1{
        line-height: 1;
        padding: 0 0rem;
        font-size: 2rem;
        margin-block-start: 1rem;
        margin-block-end: 1rem;
      }

      .profile img{
        position: relative;
        width: 60%;
    }
 }

 @media screen and (max-width: 415px){
  .slider {
    min-height: 110vh;
  }
}

@media screen and (max-width: 380px){
  .slider {
    min-height: 120vh;
  }
}
