/* style/testimonials.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* General page styling based on body background */
.page-testimonials {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: var(--background-color, #1a1a2e); /* Inherit from shared.css */
}

.page-testimonials__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-testimonials__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #017439, #005f2f); /* Dark gradient for hero */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.page-testimonials__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFF00; /* Use custom color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-testimonials__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-testimonials__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-testimonials__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-testimonials__btn-primary,
.page-testimonials__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-testimonials__btn-primary {
  background: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid transparent;
}

.page-testimonials__btn-primary:hover {
  background: #a10707;
  transform: translateY(-2px);
}

.page-testimonials__btn-secondary {
  background: #017439; /* Brand main color */
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-testimonials__btn-secondary:hover {
  background: #005f2f;
  border-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Content Sections */
.page-testimonials__content-area {
  padding: 60px 0;
}

.page-testimonials__light-bg {
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for contrast */
}

.page-testimonials__dark-section {
  background-color: #017439; /* Dark brand color background */
  color: #ffffff; /* Light text for contrast */
}

.page-testimonials__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

.page-testimonials__sub-title {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-testimonials__mini-title {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit; /* Inherit color from parent section */
}

.page-testimonials__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  color: inherit; /* Inherit color from parent section */
}

.page-testimonials__paragraph a {
  color: #C30808; /* Link color for promotion */
  text-decoration: underline;
}

.page-testimonials__paragraph a:hover {
  color: #a10707;
}

.page-testimonials__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-testimonials__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-testimonials__list--ordered {
  list-style: decimal;
}

.page-testimonials__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: inherit;
}

/* Video Section */
.page-testimonials__video-section {
  position: relative;
  padding: 60px 0;
  background: #000000; /* Dark background for video */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Explicitly required */
}

.page-testimonials__video-container {
  text-align: center;
}

.page-testimonials__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-testimonials__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-testimonials__video-description {
  font-size: 1em;
  margin-top: 15px;
}

/* FAQ Section */
.page-testimonials__faq-section {
  padding: 60px 0;
  background-color: #017439; /* Dark brand color background */
  color: #ffffff; /* Light text for contrast */
}

.page-testimonials__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-testimonials__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-testimonials__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-testimonials__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-testimonials__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #ffffff;
}

.page-testimonials__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFF00; /* Custom color for toggle icon */
  transition: transform 0.3s ease;
}