/* style/index-rr88-user-testimonials.css */
.page-index-rr88-user-testimonials {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

.page-index-rr88-user-testimonials__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-rr88-user-testimonials__section--featured {
  background-color: #ffffff;
}

.page-index-rr88-user-testimonials__section--categories {
  background-color: #e9ecef;
}

.page-index-rr88-user-testimonials__section--why-join {
  background-color: #ffffff;
}

.page-index-rr88-user-testimonials__section--faq {
  background-color: #f2f2f2;
}

.page-index-rr88-user-testimonials__hero {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

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

.page-index-rr88-user-testimonials__hero-subtitle {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.8;
  color: #e0e0e0;
}

.page-index-rr88-user-testimonials__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-rr88-user-testimonials__hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.page-index-rr88-user-testimonials__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-index-rr88-user-testimonials__btn--primary {
  background-color: #ffc107;
  color: #333;
}

.page-index-rr88-user-testimonials__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-index-rr88-user-testimonials__btn--secondary {
  background-color: #0056b3;
  color: #fff;
  border: 1px solid #0056b3;
}

.page-index-rr88-user-testimonials__btn--secondary:hover {
  background-color: #004085;
  transform: translateY(-2px);
}

.page-index-rr88-user-testimonials__btn--center-block {
  margin: 40px auto 0 auto;
  display: block;
  width: fit-content;
}

.page-index-rr88-user-testimonials__section-title {
  font-size: 2.2em;
  color: #007bff;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-index-rr88-user-testimonials__section-description {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-rr88-user-testimonials__testimonial-card {
  background-color: #fcfcfc;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-rr88-user-testimonials__testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #007bff;
}

.page-index-rr88-user-testimonials__testimonial-name {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 5px;
}

.page-index-rr88-user-testimonials__testimonial-rating {
  color: #ffc107;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.page-index-rr88-user-testimonials__testimonial-text {
  font-size: 1em;
  color: #444;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index-rr88-user-testimonials__testimonial-date {
  font-size: 0.9em;
  color: #777;
  align-self: flex-end;
}

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

.page-index-rr88-user-testimonials__category-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #ffc107;
}

.page-index-rr88-user-testimonials__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-index-rr88-user-testimonials__category-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-index-rr88-user-testimonials__category-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-index-rr88-user-testimonials__category-text {
  font-size: 0.95em;
  color: #555;
}

.page-index-rr88-user-testimonials__why-join-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  text-align: left;
}

.page-index-rr88-user-testimonials__why-join-list li {
  background-color: #e6f2ff;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index-rr88-user-testimonials__list-icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
}

.page-index-rr88-user-testimonials__why-join-list li strong {
  color: #0056b3;
}

.page-index-rr88-user-testimonials__why-join-text {
  font-size: 1.1em;
  color: #444;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-rr88-user-testimonials__faq-accordion {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-rr88-user-testimonials__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-index-rr88-user-testimonials__faq-question {
  width: 100%;
  padding: 20px 25px;
  background-color: #007bff;
  color: #fff;
  border: none;
  text-align: left;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-index-rr88-user-testimonials__faq-question:hover {
  background-color: #0056b3;
}

.page-index-rr88-user-testimonials__faq-question::after {
  content: '+';
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
}

.page-index-rr88-user-testimonials__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-rr88-user-testimonials__faq-answer {
  padding: 0 25px;
  background-color: #fdfdfd;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index-rr88-user-testimonials__faq-answer.active {
  max-height: 200px; /* Adjust based on expected content */
  padding: 20px 25px;
}

.page-index-rr88-user-testimonials__faq-answer p {
  margin: 0;
  color: #555;
}

.page-index-rr88-user-testimonials__link {
  color: #007bff;
  text-decoration: underline;
}

.page-index-rr88-user-testimonials__link:hover {
  color: #0056b3;
}

.page-index-rr88-user-testimonials__cta-banner {
  background: linear-gradient(90deg, #007bff, #ffc107);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-index-rr88-user-testimonials__cta-banner-subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #eee;
}

.page-index-rr88-user-testimonials__cta-banner-image {
  position: absolute;
  bottom: -20px;
  left: -50px;
  width: 250px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-rr88-user-testimonials__hero-title {
    font-size: 2.2em;
  }
  .page-index-rr88-user-testimonials__section-title {
    font-size: 1.8em;
  }
  .page-index-rr88-user-testimonials__testimonials-grid,
  .page-index-rr88-user-testimonials__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-index-rr88-user-testimonials__why-join-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-index-rr88-user-testimonials__hero {
    padding: 60px 0;
  }
  .page-index-rr88-user-testimonials__hero-title {
    font-size: 1.8em;
  }
  .page-index-rr88-user-testimonials__hero-subtitle {
    font-size: 1em;
  }
  .page-index-rr88-user-testimonials__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-rr88-user-testimonials__btn {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-index-rr88-user-testimonials__section {
    padding: 40px 0;
  }
  .page-index-rr88-user-testimonials__section-title {
    font-size: 1.6em;
  }
  .page-index-rr88-user-testimonials__section-description {
    font-size: 0.95em;
  }
  .page-index-rr88-user-testimonials__faq-question,
  .page-index-rr88-user-testimonials__faq-answer {
    padding: 15px 20px;
  }
  .page-index-rr88-user-testimonials__cta-banner-title {
    font-size: 2em;
  }
  .page-index-rr88-user-testimonials__cta-banner-subtitle {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index-rr88-user-testimonials__hero-title {
    font-size: 1.5em;
  }
  .page-index-rr88-user-testimonials__section-title {
    font-size: 1.4em;
  }
  .page-index-rr88-user-testimonials__testimonial-card,
  .page-index-rr88-user-testimonials__category-card {
    padding: 20px;
  }
  .page-index-rr88-user-testimonials__cta-banner-title {
    font-size: 1.8em;
  }
}