* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f0f2f5;
  font-family: "General Sans", sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  position: relative;
}

.arrow {
  background: #000;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.arrow:hover {
  background: #333;
}

.carousel {
  position: relative;
  width: 900px;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.card {
  position: absolute;
  width: 350px;
  height: 400px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.6s ease;
  opacity: 0;
  transform: scale(0.8) translateX(0);
  z-index: 0;
}

.card.center {
  opacity: 1;
  transform: scale(1) translateX(0);
  z-index: 3;
}

.card.left {
  opacity: 0.6;
  transform: scale(0.65) translateX(-480px);
  z-index: 2;
}

.card.right {
  opacity: 0.6;
  transform: scale(0.65) translateX(480px);
  z-index: 2;
}

.card.hidden {
  opacity: 0;
  z-index: 0;
}

.quote {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.5;
  flex: 1;
  display: flex;
  align-items: center;
}

.author {
  text-align: center;
  margin-top: 20px;
}

.author-name {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 5px;
}

.author-title {
  font-size: 16px;
  opacity: 0.8;
}
