/* Carousel Styles */
.carousel-wrapper {
  position: relative;
  margin: 2rem 0;
}

.carousel-container {
  overflow: hidden;
  width: 100%;
}

.carousel-container .process-grid {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 2rem;
}

/* Responsive carousel item widths based on grid class */
.process-grid.grid-cols-1 .carousel-item {
  min-width: 100%;
  flex-shrink: 0;
}

.process-grid.grid-cols-2 .carousel-item {
  min-width: calc(50% - 1rem);
  flex-shrink: 0;
}

.process-grid.grid-cols-3 .carousel-item {
  min-width: calc(33.333% - 1.33rem);
  flex-shrink: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-color, #000);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: -25px;
}

.carousel-btn-next {
  right: -25px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary-color, #000);
  width: 30px;
  border-radius: 6px;
}

.carousel-dot:hover {
  background: var(--primary-color, #000);
  opacity: 0.7;
}


/* Responsive */
@media (max-width: 768px) {
  .carousel-item {
    min-width: 100%;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-btn-prev {
    left: -10px;
  }

  .carousel-btn-next {
    right: -10px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .carousel-item {
    min-width: calc(50% - 1rem);
  }
}
