/* Gaya CSS khusus untuk halaman testimoni */
.testimoni-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.testimoni-title,
.form-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #333;
}

/* Styling untuk Swiper Slider Testimoni */
.testimoni-slider {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 40px;
}

.testimoni-slider .swiper-wrapper {
  transition-timing-function: linear;
}

.testimoni-slider .swiper-slide {
  width: 320px;
  /* Lebar setiap kartu testimoni */
  margin: 0 15px;
}

/* Styling untuk Kartu Testimoni */
.testimoni-card {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.testimoni-card .rating {
  margin-bottom: 15px;
  color: #f39c12;
}

.testimoni-card .rating .fa-solid {
  margin-right: 2px;
}

.testimoni-card p {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
  overflow-wrap: break-word;
  white-space: normal;
}

.testimoni-card .author {
  font-weight: bold;
  color: #34495e;
  text-align: right;
}

/* Form Styling */
.form-testimoni {
  max-width: 600px;
  margin: 60px auto 40px;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #34495e;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-submit:hover {
  background-color: blue;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  text-align: center;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
