.testimonials {
  margin: 15px 0;
  background: #777777;
  padding: 15px ;
}

.testimonial {
  padding: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
  margin-left: 10px;
  margin-right: 10px;
  border-left: 8px solid #f91;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(255,200,80,0.75);
  box-shadow: 0 2px 36px rgba(0,0,0,0.75);
  text-align: left;
  background: #bbbbbb;
  color: black;
  font-family: Garamond, serif ;
  font-size: clamp(0.8rem, 0.8rem + 0.5vw, 1.3rem);  /* replaces 4.0vw */
  font-style: italic;
  line-height: 1.0;
}

.testimonial span {
  display: block;
  text-align: right;
  font-style: italic;
  margin-top: 10px;
  background: #bbbbbb;
  color: black;
  line-height: 0.9;
}

.form-container {
  font-family: sans-serif;
  background: #777777;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 800px;
  width: 90%;
  justify-content: center;
  align-items: center;
  color: gray;
}
.form-container2 {
  font-family: sans-serif;
/*  background: #000000; */
  padding: 1.0rem;
  border: 3px solid #04aa6d;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  max-width: 800px;
/*  width: 90%; */
  justify-content: center;
  align-items: left;
/*  color: white; */
}
input, textarea {
  width: 90%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border-radius: 4px;
  border: 1px solid #ccc;
}
button {
  padding: 0.5rem 1rem;
  background: #28a745;
  color: blue;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.thanks {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}


/* universal box sizing so padding doesn't cause overflow */
*, *::before, *::after { box-sizing: border-box; }

/* constrain width & wrap long content to avoid horizontal scroll */
.testimonials {
  max-width: 900px;
  width: min(92vw, 900px);
  margin: 0 auto;            /* center it */
  padding: 12px;
}

.testimonial {
  overflow-wrap: anywhere;    /* wrap long words/links if any */
}

/* Tighten and size testimonials sensibly */
.testimonial p {
  line-height: 1.35;         /* tighter than your global 1.5 */
}

/* slightly smaller on phones + a touch tighter */
@media (max-width: 700px) {
  .testimonial { font-size: 0.95rem; }
  .testimonial p { line-height: 1.3; }
}
@media (max-width: 600px) {
  .testimonial {
    box-shadow:
      0 1px 2px rgba(0,0,0,.55),
      0 6px 16px rgba(0,0,0,.50);
  }
}




