/* Container umum */
#comment-form {
  background: #fff;
  max-width: 640px;
  margin: 0 auto 3rem;
  padding: 2.5rem 3rem;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#comment-form h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 2rem;
  text-align: center;
}

#comment-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #475569;
}

#comment-form input[type="text"],
#comment-form input[type="email"],
#comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  font-size: 1rem;
  color: #334155;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
  box-sizing: border-box;
}

#comment-form input[type="text"]:focus,
#comment-form input[type="email"]:focus,
#comment-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 12px #2563ebaa;
}

#comment-form textarea {
  min-height: 140px;
}

/* Rating stars container */
#comment-form .flex.space-x-1 {
  justify-content: flex-start;
}

#comment-form label.cursor-pointer svg {
  width: 28px;
  height: 28px;
  fill: #606150;
}

#comment-form input[type="radio"]:checked + svg,
#comment-form label.cursor-pointer:hover svg,
#comment-form label.cursor-pointer:hover ~ label svg {
  fill: #000000;
}

/* Submit button */
#comment-form button[type="submit"] {
  background-color: #2563eb;
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 18px;
  cursor: pointer;
  width: 100%;
  margin-top: 1.8rem;
  transition: background-color 0.3s ease;
}

#comment-form button[type="submit"]:hover {
  background-color: #1e40af;
}

/* Testimonials Section */
#testimonials {
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#testimonials h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 2rem;
  text-align: center;
}

/* Testimonial cards grid */
#testimonials-list {
  display: grid;
  gap: 2rem;
}

/* Testimonial card */
.testimonial-item {
  background: white;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.testimonial {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}



.testimonial-name {
  font-weight: 700;
  font-size: 1.rem;
  color: #1e40af;
}

.testimonial-email {
  font-size: 0.875rem;
  color: #6d6e70;
  font-style:italic;
}

.testimonial-rating {
  margin-top: 0.25rem;
}

.testimonial-rating svg {
  width: 22px;
  height: 22px;
  margin-right: 3px;
}

.testimonial-message {
  font-size: 1rem;
  line-height: 1.6;
  color: #000000;
  white-space: pre-line;
  margin-top: 1rem;
  flex-grow: 1;
}

/* Responsive */
@media (max-width: 768px) {
  #comment-form {
    padding: 2rem 2rem;
  }
  #comment-form h2 {
    font-size: 1.75rem;
  }
  #testimonials h2 {
    font-size: 1.75rem;/* Container umum */
#comment-form {
  background: #fff;
  max-width: 640px;
  margin: 0 auto 3rem;
  padding: 2.5rem 3rem;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#comment-form h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 2rem;
  text-align: center;
}

#comment-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #475569;
}

#comment-form input[type="text"],
#comment-form input[type="email"],
#comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  font-size: 1rem;
  color: #334155;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
  box-sizing: border-box;
}

#comment-form input[type="text"]:focus,
#comment-form input[type="email"]:focus,
#comment-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 12px #2563ebaa;
}

#comment-form textarea {
  min-height: 140px;
}

/* Rating stars container */
#comment-form .flex.space-x-1 {
  justify-content: flex-start;
}

#comment-form label.cursor-pointer svg {
  width: 28px;
  height: 28px;
  fill: #000000;
}

#comment-form input[type="radio"]:checked + svg,
#comment-form label.cursor-pointer:hover svg,
#comment-form label.cursor-pointer:hover ~ label svg {
  fill: #615c5c;
}

/* Submit button */
#comment-form button[type="submit"] {
  background-color: #2563eb;
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 18px;
  cursor: pointer;
  width: 100%;
  margin-top: 1.8rem;
  transition: background-color 0.3s ease;
}

#comment-form button[type="submit"]:hover {
  background-color: #1e40af;
}

/* Testimonials Section */
#testimonials {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#testimonials h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 2rem;
  text-align: center;
}

/* Testimonial cards grid */
#testimonials-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Testimonial card */
.testimonial-item {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-header img.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid #2563eb;
  object-fit: cover;
  margin-right: 1.25rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1.25rem;
  color: #1e40af;
}

.testimonial-email {
  font-size: 0.875rem;
  color: #64748b;
  margin-left: auto;
  font-style: italic;
}

.testimonial-rating {
  margin-top: 0.25rem;
}

.testimonial-rating svg {
  width: 22px;
  height: 22px;
  margin-right: 3px;
}

.testimonial-message {
  font-size: 1rem;
  line-height: 1.6;
  color: #000000;
  white-space: pre-line;
  margin-top: 1rem;
  flex-grow: 1;
}

/* Responsive */
@media (max-width: 768px) {
  #comment-form {
    padding: 2rem 2rem;
  }
  #comment-form h2 {
    font-size: 1.75rem;
  }
  #testimonials h2 {
    font-size: 1.75rem;
  }
  .testimonial-header img.avatar {
    width: 48px;
    height: 48px;
  }
  .testimonial-name {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  #comment-form {
    padding: 1.5rem 1.5rem;
  }
  #comment-form h2 {
    font-size: 1.5rem;
  }
  #testimonials h2 {
    font-size: 1.5rem;
  }
}

  }
  .testimonial-header img.avatar {
    width: 48px;
    height: 48px;
  }
  .testimonial-name {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  #comment-form {
    padding: 1.5rem 1.5rem;
  }
  #comment-form h2 {
    font-size: 1.5rem;
  }
  #testimonials h2 {
    font-size: 1.5rem;
  }
}
.back-link {
  display: inline-block;
  text-align: center;
  padding: 0.6rem 1.5rem;
  max-width: 220px;
  margin: 2rem auto;
  font-weight: 600;
  font-size: 1rem;
  color: #2563eb;
  border: 2px solid #2563eb;
  border-radius: 12px;
  background-color: transparent;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.back-link:hover,
.back-link:focus {
  background-color: #2563eb;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
  outline: none;
}

