body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #fff;
}

.testimonycarousel-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 2rem;
}

.text-section {
  flex: 1;
}

.text-section h3 {
  font-weight: 700;
  margin: 0;
  color: #0a2540;
}

.text-section p.role {
  color: #555;
  margin-top: 4px;
  font-size: 0.95rem;
}

.text-section blockquote {
  margin-top: 1.5rem;
  font-size: 1.3rem;
  color: #0a2540;
  line-height: 1.5;
}

.discover-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.7rem 1.5rem;
  border: none;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  color: white;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.discover-btn:hover {
  opacity: 0.8;
}

.testimonycarousel-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonycarousel {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 350px;
  /* fixed frame for consistent layout */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
}

.testimonycarousel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* ensures full image is visible */
  opacity: 0;
  position: absolute;
  transition: opacity 0.6s ease;
}

.testimonycarousel img.active {
  opacity: 1;
  position: relative;
}

.testimonycontrols {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.testimonycontrols button {
  background: none;
  color: #00338D;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonycontrols button:hover {
  background: #00338D;
  color: white;
}

@media (max-width: 768px) {
  .testimonycarousel-container {
    flex-direction: column;
    text-align: center;
  }

  .testimonycontrols {
    margin-top: 1rem;
  }
}

blockquote.big-quote {
  position: relative;
  padding-left: 2.5em;
}

blockquote.big-quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.2em;
  font-size: 4em;
  color: rgb(172, 234, 255);
  line-height: 1;
  font-family: serif;
  opacity: 0.8;
  /* Subtle effect */
  pointer-events: none;
}