* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

.header {
  text-align: center;
  padding: 2rem 1rem;
}

.header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.header p {
  font-size: 1rem;
  color: #666;
}

.testimonial-section {
  max-width: 900px;
  margin: auto;
  position: relative;
  overflow: hidden;
  padding: 2rem 1rem;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  min-width: 100%;
  background: white;
  margin: 0 0.5rem;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.testimonial-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.role {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.review {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #555;
}

.stars {
  color: gold;
}

.controls {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 45%;
  width: 100%;
  padding: 0 1rem;
}

.controls button {
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.controls button:hover {
  background-color: rgba(0,0,0,0.7);
}

.dots {
  text-align: center;
  margin-top: 1rem;
}

.dots span {
  height: 10px;
  width: 10px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
}

.dots .active {
  background-color: #333;
}


@media (min-width: 768px) {
  .testimonial-card {
    min-width: 50%;
  }
}
