.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    /* width: 60%; */
  }



  @keyframes slides {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }

  .logos {
    overflow: hidden;
    padding: 30px 0px;
    white-space: nowrap;
    position: relative;
  }

  .logos:before, .logos:after {
    position: absolute;
    top: 0;
    content: '';
    width: 250px;
    height: 100%;
    z-index: 2;
  }

  .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255));
  }

  .logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255));
  }

  .logo_items {
    display: inline-block;
    animation: 35s slides infinite linear;
  }

  .logos:hover .logo_items {
    animation-play-state: paused;
  }

  .logo_items img{
    height: 100px;
  }



/* charbel code */







.cards {
    margin: 10px 10px;

}

input[type='checkbox'] {
    display: none;
}

/* Flip Cards CSS */
.cards-container {
    display: grid;
    perspective: 700px;
}

.cards-flip {
    display: grid;
    grid-template: 1fr / 1fr;
    grid-template-areas: "frontAndBack";
    transform-style: preserve-3d;
    transition: all 0.7s ease;
}

.cards-flip div {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.front1 {
    grid-area: frontAndBack;
}

.back1 {
    grid-area: frontAndBack;
    transform: rotateY(-180deg);
}

input[type='checkbox']:checked + .cards-container .cards-flip {
    transform: rotateY(180deg);
}

.card-image {
  border-radius: 1px ;
  width: 240px;
  height: 423px; /* Maintain aspect ratio */
  border-radius: 2%;
}


@media screen and (max-width: 768px) {
  .card-image {
    width: 100%; /* Make it take the full width of the container */
    height: auto; /* Allow the height to adjust automatically */
    border-radius: 0;
  }
}



.ftco-section1{
    background-color: black;

}

.ftco-counter1{
    color: white;
}



.img-2 {
    position: relative;
  }

  @media (max-width: 767.98px) {
    .img-2 {
        height: 459px;
        margin-top: 116px;
    }
  }


.img-2 {
    position: relative;
}













.card {
    border: none;
  }

  .card-img {
    border-radius: 0;
  }

  .vgr-cards .card {
    display: flex;
    flex-flow: wrap;
    flex: 100%;
    margin-bottom: 40px;
  }
  .vgr-cards .card:nth-child(even) .card-img-body {
    order: 2;
  }
  .vgr-cards .card:nth-child(even) .card-body {
    padding-left: 0;
    padding-right: 1.25rem;
  }
  @media (max-width: 576px) {
    .vgr-cards .card {
      display: block;
    }
  }
  .vgr-cards .card-img-body {
    flex: 1;
    overflow: hidden;
    position: relative;
  }
  @media (max-width: 576px) {
    .vgr-cards .card-img-body {
      width: 100%;
      height: 200px;
      margin-bottom: 20px;
    }
  }
  .vgr-cards .card-img {
    width: 100%;
    height: auto;
    position: absolute;
    margin-left: 50%;
    transform: translateX(-50%);
  }
  @media (max-width: 1140px) {
    .vgr-cards .card-img {
      margin: 0;
      transform: none;
      width: 100%;
      height: auto;
    }
  }
  .vgr-cards .card-body {
    flex: 2;
    padding: 0 0 0 1.25rem;
  }
  @media (max-width: 576px) {
    .vgr-cards .card-body {
      padding: 0;
    }
  }



  .vgr-cards .card-imgs {
    width: 50%;
    height: auto;
    position: absolute;
    margin-left: 50%;
    transform: translateX(-50%);
  }
