* {
  box-sizing: border-box;
}

.carousel-container {
  position: relative;
  width: 90%;
  height: 350px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  text-align: center;
}

.carousel-item img {
  width: 300px;
  margin: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.carousel-item h2 {
  margin: 10px 0 5px;
}

.carousel-item p {
  font-size: 16px;
  color: #0000ff;
  font-weight: bold;
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 24px;
  height: 50px;
  width: 50px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.carousel-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  text-align: center;
  padding: 10px 0;
  background: #f5f5f5;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #808080;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
  border: none;
}

.dot.active {
  background-color: #008000;
}