.carousel-section {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-track {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  min-height: 320px;
  margin-bottom: 2rem;
  width: 100%;
}

.carousel-card {
  background: var(--soft-green);
  border: 1.5px solid var(--primary-green);
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s cubic-bezier(.4, 2.3, .3, 1),
    box-shadow 0.3s,
    opacity 0.3s;
  cursor: pointer;
  width: 170px;
  height: 260px;
  opacity: 0.6;
  z-index: 1;
  font-size: 1.1rem;
  color: var(--dark-text);
  text-align: center;
  padding: 5px;
}

.carousel-card.center {
  width: 250px;
  height: 370px;
  font-size: 1.3rem;
  opacity: 1;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
  background: var(--neutral-light);
  border-color: var(--primary-green);
  transform: scale(1.08);
  border-width: 2.5px;
}

.carousel-card img {
  width: 100%;
  /* max-height: 140px; */
  object-fit: cover;
  border-radius: 10px;
  /* margin-bottom: 1rem; */
}

.carousel-btn {
  background: var(--primary-pink);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  transition: background 0.2s;
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

.carousel-btn:hover {
  background: var(--soft-pink);
}

.carousel-description {
  text-align: center;
  margin-top: 0.5rem;
  max-width: 600px;
  height: 200px;
}

.carousel-description h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.6rem;
  color: var(--primary-green);
}

.carousel-description p {
  font-size: 1.1rem;
  color: var(--dark-text);
}

/* Responsive */
@media (max-width: 900px) {
  .carousel-section {
    max-width: 98vw;
  }

  .carousel-card {
    width: 120px;
    height: 170px;
    font-size: 0.95rem;
  }

  .carousel-card.center {
    width: 170px;
    height: 240px;
    font-size: 1.1rem;
  }

  .carousel-description h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  body {
    background-color: var(--neutral-light);
  }

  .carousel-track {
    gap: 0.3rem;
    min-height: 120px;
  }

  .carousel-card {
    width: 75px;
    height: 110px;
    font-size: 0.8rem;
    padding: 0.3rem;
  }

  .carousel-card.center {
    width: 110px;
    height: 160px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
  }

  .carousel-description {
    max-width: 90vw;
  }
}