.section.testimonials {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  margin-top: 580px; /* lebih proporsional */
  padding: 60px 20px;
  min-height: auto;
  box-sizing: border-box;
}

.section.testimonials h1 {
  font-size: 3rem; /* bikin besar */
  margin-bottom: 2rem; /* jarak ke card */
  font-weight: bold;
}

/* ===== STACK CONTAINER ===== */
.testimonial-stack {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 420px;
  margin: 0 auto;
}

.card {
  position: absolute;
  width: 400px;
  height: 400px;
  background: #e5e5e5;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-align: left;
  transition: transform 0.3s ease;
}

/* POSISI & ROTASI agar mirip screenshot kanan */
/* kiri atas (Marcus Lee) */
.card:nth-child(1) {
  top: 36px;
  left: 0;
  z-index: 2;
}

/* kiri bawah (Anna Roberts) */
.card:nth-child(2) {
  top: 240px;
  left: 40px;
  z-index: 5;
}

/* tengah (Sophia) - lebih besar dan di depan */
.card:nth-child(3) {
  top: 36px;
  left: calc(50% - 210px);   /* pusat relatif container */
  width: 420px;              /* lebih lebar dari kartu lain */
  background: #bfb6b6;       /* sedikit berbeda agar menonjol */
  z-index: 4;
}

/* kanan atas (Daniel Foster) */
.card:nth-child(4) {
  top: 36px;
  right: 0;
  z-index: 5;
}

/* kanan bawah (Emily Carter) */
.card:nth-child(5) {
  top: 240px;
  right: 40px;
  z-index: 5;
}

/* Hover effect — naik dan menonjolkan */
.card:hover {
  transform: translateY(-8px) scale(1.02);
  z-index: 10 !important;
  box-shadow: 0 26px 60px rgba(0,0,0,0.18);
}

/* Saat lurus */
.testimonial-stack.straight .card {
  transform: rotate(0deg);
}

/* Atur posisi lurus */
.testimonial-stack.straight .card:nth-child(1) { top: 69; left: 0; }
.testimonial-stack.straight .card:nth-child(2) { top: 0; left: 270px; }
.testimonial-stack.straight .card:nth-child(3) { top: 0; left: 540px; }
.testimonial-stack.straight .card:nth-child(4) { top: 0; left: 810px; }
.testimonial-stack.straight .card:nth-child(5) { top: 0; left: 1080px; }

/* Isi */
.stars {
  color: #7b5cff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.author {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  font-size: 24px;
}

p{
  font-size: 18px;
  text-align: justify;
}