.mobile-portfolioImg-container {
  display: none;
  width: 100%;
  max-width: 1400px;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  gap: 24px;
  width: fit-content;
}

.card {
  flex-shrink: 0;
  width: 300px;
  height: 550px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* Gradient overlays */
.gradient-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 100%;
  background: linear-gradient(to right, #16213e, transparent);
  pointer-events: none;
  z-index: 10;
}

.gradient-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 100%;
  background: linear-gradient(to left, #16213e, transparent);
  pointer-events: none;
  z-index: 10;
}

@media (max-width: 767px) {
  .mobile-portfolioImg-container {
    display: block;
  }
}