/* style/index-user-testimonials.css */
.page-index-user-testimonials {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f4f7f6;
}

.page-index-user-testimonials__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-user-testimonials__hero {
  background: linear-gradient(135deg, #007BFF, #4da3ff); /* Sử dụng biến thể sáng hơn của màu chính */
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-user-testimonials__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-user-testimonials__hero-subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-index-user-testimonials__btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  border: none;
}

.page-index-user-testimonials__btn--primary {
  background-color: #FFC107; /* Màu phụ trợ */
  color: #0056b3; /* Màu chữ tương phản với màu vàng */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-user-testimonials__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-user-testimonials__section {
  padding: 60px 0;
}

.page-index-user-testimonials__section:nth-child(odd) {
  background-color: #fcfcfc;
}

.page-index-user-testimonials__section-title {
  font-size: 2.2em;
  color: #0056b3; /* Màu chữ tương phản với nền sáng */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-index-user-testimonials__section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background-color: #FFC107;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-index-user-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-index-user-testimonials__feature-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #007BFF;
}

.page-index-user-testimonials__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-index-user-testimonials__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.3));
}

.page-index-user-testimonials__card-title {
  font-size: 1.4em;
  color: #0056b3;
  margin-bottom: 10px;
}

.page-index-user-testimonials__testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-user-testimonials__testimonial-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  border-left: 5px solid #FFC107;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-user-testimonials__testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-index-user-testimonials__rating {
  color: #FFC107;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-index-user-testimonials__testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-index-user-testimonials__author {
  font-weight: bold;
  color: #007BFF;
  text-align: right;
}

.page-index-user-testimonials__cta-banner {
  background: linear-gradient(90deg, #007BFF, #0056b3); /* Nền gradient cho CTA */
  color: #fff;
  padding: 60px 0;
  text-align: center;
  border-radius: 15px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-user-testimonials__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.page-index-user-testimonials__cta-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-index-user-testimonials__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  color: #e0e0e0;
}

.page-index-user-testimonials__btn--secondary {
  background-color: #FFC107;
  color: #0056b3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-user-testimonials__btn--secondary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-user-testimonials__cta-image {
  display: none; /* Ẩn ảnh trên mobile */
  max-width: 100%;
  height: auto;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-user-testimonials__submit-review {
  text-align: center;
  background-color: #f4f7f6;
}

.page-index-user-testimonials__submit-review-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555;
}

.page-index-user-testimonials__btn--tertiary {
  background-color: #007BFF;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-user-testimonials__btn--tertiary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-user-testimonials__faq-item {
  background-color: #fff;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  border-left: 4px solid #007BFF;
}

.page-index-user-testimonials__faq-question {
  font-size: 1.25em;
  color: #0056b3;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-user-testimonials__faq-answer {
  color: #666;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-index-user-testimonials__cta-banner .page-index-user-testimonials__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .page-index-user-testimonials__cta-content {
    align-items: flex-start;
    text-align: left;
    flex: 1;
    padding-right: 40px;
  }

  .page-index-user-testimonials__cta-image {
    display: block;
    flex-shrink: 0;
    width: 350px;
  }
}

@media (max-width: 767px) {
  .page-index-user-testimonials__hero-title {
    font-size: 2em;
  }

  .page-index-user-testimonials__hero-subtitle {
    font-size: 1em;
  }

  .page-index-user-testimonials__section-title {
    font-size: 1.8em;
  }

  .page-index-user-testimonials__testimonial-grid {
    grid-template-columns: 1fr;
  }

  .page-index-user-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .page-index-user-testimonials__cta-title {
    font-size: 1.8em;
  }

  .page-index-user-testimonials__cta-description {
    font-size: 0.95em;
  }

  .page-index-user-testimonials__btn {
    padding: 10px 25px;
    font-size: 1em;
  }

  .page-index-user-testimonials__testimonial-card {
    border-left: none;
    border-top: 5px solid #FFC107;
  }
}