.carousel-item {
  position: absolute;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.circle-container {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-inner {
  border-radius: 50%;
  background: white;
  padding: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.circle-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  pointer-events: none;
}

/* Active (Center) Item */
.active-item {
  transform: translateX(0) scale(1);
  z-index: 20;
  opacity: 1;
}

.active-item .circle-container {
  width: 240px;
  height: 240px;
}

.active-item .circle-inner {
  box-shadow: 0 20px 40px rgba(200, 16, 46, 0.4);
}

.active-item .circle-inner::before {
  opacity: 0;
}

.active-item .item-title {
  font-size: 1.125rem;
}

.active-item .item-subtitle {
  font-size: 1.5rem;
}

/* Left Item */
.left-item {
  transform: translateX(-380px) scale(0.75);
  z-index: 10;
  opacity: 0.6;
}

.left-item .circle-container {
  width: 180px;
  height: 180px;
}

.left-item .item-title {
  font-size: 0.875rem;
}

.left-item .item-subtitle {
  font-size: 1.125rem;
}

/* Right Item */
.right-item {
  transform: translateX(380px) scale(0.75);
  z-index: 10;
  opacity: 0.6;
}

.right-item .circle-container {
  width: 180px;
  height: 180px;
}

.right-item .item-title {
  font-size: 0.875rem;
}

.right-item .item-subtitle {
  font-size: 1.125rem;
}

/* Far Left Item */
.far-left-item {
  transform: translateX(-650px) scale(0.6);
  z-index: 5;
  opacity: 0.3;
}

.far-left-item .circle-container {
  width: 150px;
  height: 150px;
}

.far-left-item .item-title {
  font-size: 0.75rem;
}

.far-left-item .item-subtitle {
  font-size: 1rem;
}

/* Far Right Item */
.far-right-item {
  transform: translateX(650px) scale(0.6);
  z-index: 5;
  opacity: 0.3;
}

.far-right-item .circle-container {
  width: 150px;
  height: 150px;
}

.far-right-item .item-title {
  font-size: 0.75rem;
}

.far-right-item .item-subtitle {
  font-size: 1rem;
}

/* Hidden Items */
.hidden-item {
  transform: translateX(0) scale(0.3);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.hidden-item .circle-container {
  width: 120px;
  height: 120px;
}

/* Hover Effects */
.active-item:hover .circle-inner {
  box-shadow: 0 24px 48px rgba(200, 16, 46, 0.5);
  transform: translateY(-4px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .active-item .circle-container {
    width: 200px;
    height: 200px;
  }

  .left-item,
  .right-item {
    transform: translateX(0) scale(0.5);
    opacity: 0.3;
  }

  .left-item {
    transform: translateX(-160px) scale(0.5);
  }

  .right-item {
    transform: translateX(160px) scale(0.5);
  }

  .left-item .circle-container,
  .right-item .circle-container {
    width: 140px;
    height: 140px;
  }

  .far-left-item,
  .far-right-item,
  .hidden-item {
    opacity: 0;
    pointer-events: none;
  }
}
