/* style/index-review-fa88.css */

:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-on-dark-bg: #ffffff;
  --text-on-light-bg: #333333;
  --light-gray-bg: #f1f3f5;
  --border-color: #e0e0e0;
}

.page-index-review-fa88 {
  color: var(--text-on-dark-bg); /* Default text color for dark body background */
  background-color: #000; /* Assuming body background is black from shared.css */
}

/* Fixed navigation bar spacing */
.page-index-review-fa88__review-content-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 40px;
  background: #000; /* Section background matches body for seamless look */
}

.page-index-review-fa88__review-content-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-review-fa88__review-content-card {
  background: #ffffff; /* White background for card */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
  color: var(--text-on-light-bg); /* Dark text on white background */
}

.page-index-review-fa88__main-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.3;
}

.page-index-review-fa88__intro-paragraph,
.page-index-review-fa88__conclusion-paragraph {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 24px;
  text-align: justify;
}

.page-index-review-fa88__sub-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 36px;
  margin-bottom: 18px;
  line-height: 1.4;
}

.page-index-review-fa88__review-content-card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  text-align: justify;
}

.page-index-review-fa88__review-content-card p strong {
  color: var(--secondary-color);
}

.page-index-review-fa88__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-index-review-fa88__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

.page-index-review-fa88__image-caption {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

.page-index-review-fa88__cta-section {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.page-index-review-fa88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--primary-color), #FFA500);
  color: var(--text-on-dark-bg);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 380px;
  width: 100%;
}

.page-index-review-fa88__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-fa88__cta-button--secondary {
  background: #f0f0f0;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: none;
}

.page-index-review-fa88__cta-button--secondary:hover {
  background: var(--secondary-color);
  color: var(--text-on-dark-bg);
  border-color: var(--secondary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.page-index-review-fa88__faq-section {
  padding: 40px 20px;
  background: #000; /* Matches body background */
  color: var(--text-on-dark-bg);
}

.page-index-review-fa88__faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-index-review-fa88__faq-main-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
}

.page-index-review-fa88__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-index-review-fa88__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-on-light-bg);
}

.page-index-review-fa88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-on-light-bg);
}

.page-index-review-fa88__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-review-fa88__faq-question:active {
  background: #eeeeee;
}

.page-index-review-fa88__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-index-review-fa88__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-toggle {
  color: var(--secondary-color);
}

.page-index-review-fa88__faq-answer p a {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-index-review-fa88__faq-answer p a:hover {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-fa88__main-title {
    font-size: 32px;
  }

  .page-index-review-fa88__sub-title {
    font-size: 24px;
  }

  .page-index-review-fa88__review-content-card {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-index-review-fa88__review-content-section {
    padding-top: 140px; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 30px;
  }

  .page-index-review-fa88__review-content-container {
    padding: 0 15px;
  }

  .page-index-review-fa88__review-content-card {
    padding: 25px;
  }

  .page-index-review-fa88__main-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-index-review-fa88__intro-paragraph,
  .page-index-review-fa88__conclusion-paragraph {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-index-review-fa88__sub-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-index-review-fa88__review-content-card p {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .page-index-review-fa88__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100%;
  }

  .page-index-review-fa88__faq-section {
    padding: 30px 15px;
  }
  
  .page-index-review-fa88__faq-main-title {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .page-index-review-fa88__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-index-review-fa88__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-index-review-fa88__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-index-review-fa88__faq-answer {
    padding: 0 15px;
  }
  
  .page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-index-review-fa88__main-title {
    font-size: 24px;
  }

  .page-index-review-fa88__sub-title {
    font-size: 20px;
  }

  .page-index-review-fa88__review-content-card {
    padding: 20px;
  }
  
  .page-index-review-fa88__cta-section {
    gap: 10px;
  }

  .page-index-review-fa88__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
  
  .page-index-review-fa88__faq-main-title {
    font-size: 24px;
  }
}