.carousel-wrapper {
  background: #FAFAFA;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(74,74,74,0.07);
  padding: 32px 0 38px 0;
  margin: 0 auto;
  width: 100%;
  max-width: 1280px;
}

.swiper-wrapper {
  padding-bottom: 10px;
}

.carousel-item, .swiper-slide.carousel-item {
  background: #fff;
  border-radius: 18px;
  min-width: 320px;
  max-width: 380px;
  box-shadow: 0 2px 16px rgba(212,175,55,0.10);
  padding: 24px 20px 20px 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid #C17082;
  color: #4A4A4A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 12px;
  overflow: hidden;
  box-sizing: border-box;
  word-wrap: break-word;
}

.carousel-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 36px rgba(212,175,55,0.15);
  border-color: #D4AF37;
}

.carousel-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  background: #F4C2C2;
  max-width: 100%;
  box-sizing: border-box;
}

.carousel-item h3,
.carousel-item p {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.carousel-item h3 {
  margin: 0 0 8px 0;
  font-size: 1.3em;
  color: #4A4A4A;
  font-family: 'Montserrat', 'Source Sans Pro', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.carousel-item p {
  color: #555;
  font-size: 1em;
  margin: 0 0 10px 0;
}

.carousel-tech {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 10px;
}

.carousel-item a {
  background-color: #C17082;
  color: #ffffff;
  border: 1.5px solid #C17082;
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
  min-width: 100px;
  min-height: 38px;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.carousel-item a:hover {
  background-color: #D4AF37;
  color: #ffffff;
  border-color: #D4AF37;
}

/* Swiper navigation styles */
.swiper-button-next,
.swiper-button-prev {
  color: #C17082;
}

.swiper-pagination-bullet-active {
  background: #C17082;
}

@media (max-width: 900px) {
  .carousel-item {
    min-width: 240px;
    font-size: 0.98em;
  }
}

@media (max-width: 600px) {
  .carousel-item {
    min-width: 180px;
    padding: 16px 8px 14px 8px;
  }
  .carousel-item img {
    height: 120px;
  }
  .carousel-item h3 {
    font-size: 1em;
  }
}
