/* Container for the whole testimonials section */
.testimonials-section {
  padding: 50px 20px;
  background-color: #fff8f0; /* soft cream background */
  text-align: center;
  font-family: 'Arial', sans-serif;
}

/* Section title */
.testimonials-section h2 {
  font-size: 2rem;
  color: #7b1e1e; /* deep maroon accent */
  margin-bottom: 30px;
}


/* Carousel wrapper */
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto 40px;
  overflow: hidden;
  border-radius: 12px;
}

/* Carousel track */
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 300px; 
    min-width: 300px;
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: justify; /* <-- Justified text */
  }
/* Each testimonial card */
.testimonial-card {
  min-width: 100%;
  box-sizing: border-box;
  padding: 25px 20px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 10px;
  margin: 0 10px;
}

/* Text inside each testimonial */
.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 15px;
}

/* Author name */
.testimonial-author {
  font-weight: bold;
  color: #a33a3a;
}

/* Carousel arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #7b1e1e;
  color: #fff;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50%;
  z-index: 10;
}

.carousel-btn:hover {
  background: #a33a3a;
}

.carousel-btn.prev {
  left: 15px;
}

.carousel-btn.next {
  right: 15px;
}

/* FORM STYLING */
.testimonial-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.testimonial-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #7b1e1e;
}

.testimonial-form input,
.testimonial-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
}

.testimonial-form textarea {
  min-height: 100px;
  resize: vertical;
}

.testimonial-form button {
  background-color: #7b1e1e;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.testimonial-form button:hover {
  background-color: #a33a3a;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .testimonial-text {
    font-size: 1rem;
  }

  .carousel-btn {
    font-size: 18px;
    padding: 8px 12px;
  }
}

.btn-primary {
  background-color: #1d4ed8; /* blue */
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #2563eb;
}
.honeypot {
  display: none; /* completely hides the field */
}
