/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

/* Header styles */
header {
  background-color: #fff;
  padding: 20px 40px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #007BFF;
}

/* Main content */
main {
  padding: 40px 20px;
}

.testimonials-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-section h1 {
  margin-bottom: 30px;
  font-size: 2.5em;
  color: #007BFF;
}

/* Carousel styles */
.carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial {
  min-width: 100%;
  padding: 20px;
  display: none;
  flex-direction: column;
  align-items: center;
}

.testimonial.active {
  display: flex;
}

.testimonial img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.testimonial h3 {
  margin-bottom: 5px;
  color: #333;
}

.position {
  font-style: italic;
  color: #777;
  margin-bottom: 15px;
}

.feedback {
  font-size: 1.1em;
  color: #555;
}

/* Carousel navigation */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.1);
  border: none;
  font-size: 2em;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.prev:hover,
.next:hover {
  background-color: rgba(0,0,0,0.2);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Call to action */
.cta {
  margin-top: 40px;
}

.cta p {
  margin-bottom: 10px;
  font-size: 1.2em;
}

.btn {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #0056b3;
}

/* Footer styles */
footer {
  background-color: #fff;
  padding: 20px 0;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

.testimonial {
  display: none;
  transition: all 0.5s ease-in-out;
  text-align: center;
}

.testimonial.active {
  display: block;
}