.gallery-container {
  position: relative;
  width: 500px;
  height: 300px;
  margin: auto;
  overflow: hidden;
  border: 2px solid #004466;
  border-radius: 8px;
}

.gallery-container .service-card {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.gallery-container .service-card.active {
  display: flex;
}

.arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-80%);
  font-size: 2rem;
  color: white;
  background-color: rgba(0, 0, 0, 0);
  padding: 0.5rem 1rem;
  cursor: pointer;
  user-select: none;
  border-radius: 4px;
  animation-name: shake;
  animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.arrow-left {
  border-radius: 4px;
  animation-name: shake;
  animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
}
@keyframes shake {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(10px);
  }
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}
@media (max-width: 768px) {
  .gallery-container {
 
  min-width: 100%;
   width: 100%;
  max-width: 100%;
  
  height: max-content;
 
}
}