* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

/* -------------------
   Header Section
------------------- */
.header {
  text-align: center;
  margin-bottom: 2rem;
}
.header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
}
.header p {
  font-size: 1.1rem;
  color: #7f8c8d;
}

/* -------------------
   Testimonial Slider
------------------- */
.testimonial-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 40px 0;
}
.slider-wrapper {
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  padding: 0 15px;
}

/* -------------------
   Testimonial Card
------------------- */
.testimonial-card {
  flex: 0 0 100%;
  max-width: 100%;
  margin: 0 15px;
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
  background-color: #f0faff;
  border: 1px solid #3498db;
}
.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 0.8rem;
}
.testimonial-card h3 {
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}
.testimonial-card .role {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.8rem;
}
.testimonial-card .quote {
  font-style: italic;
  color: #555;
}
.testimonial-card .stars {
  margin-top: 0.6rem;
  font-size: 1.2rem;
  color: #f39c12;
}

/* -------------------
   Slider Buttons
------------------- */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #2c3e50;
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s;
}
.slider-btn:hover {
  background: #34495e;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}

/* -------------------
   Scroll-to-Top Button
------------------- */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 10px 15px;
  font-size: 18px;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: background 0.3s;
}
#scrollToTopBtn:hover {
  background-color: #34495e;
}

/* -------------------
   Responsive Design
------------------- */
@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (min-width: 1024px) {
  .testimonial-card {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}
@media (max-width: 767px) {
  .header h1 {
    font-size: 2rem;
  }
  .testimonial-card {
    padding: 1rem;
  }
}