/* style/index-review-fabet.css */
:root {
  --primary-color: #0056b3;
  --secondary-color: #ffc107;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --card-bg-light: #ffffff;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --bg-color-main: #0a0a0a; /* From shared.css body background */
}

.page-index-review-fabet {
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--bg-color-main);
  padding-bottom: 60px; /* Space above footer */
}

/* Fixed header padding adjustment */
.page-index-review-fabet__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, var(--primary-color), #003366);
  color: var(--text-color-dark-bg);
}

.page-index-review-fabet__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-review-fabet__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-review-fabet__hero-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-fabet__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-review-fabet__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-dark-bg);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-review-fabet__hero-description {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark-bg);
}

.page-index-review-fabet__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--text-color-light-bg);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
}

.page-index-review-fabet__cta-button:hover {
  background: #e6b000;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.page-index-review-fabet__content-section {
  padding: 40px 20px;
  line-height: 1.7;
}

.page-index-review-fabet__content-section.page-index-review-fabet__dark-bg {
  background-color: #0d0d0d;
  color: var(--text-color-dark-bg);
}

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

.page-index-review-fabet__review-card {
  background: var(--card-bg-light);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  padding: 40px;
  color: var(--text-color-light-bg);
}

.page-index-review-fabet__review-card.page-index-review-fabet__dark-bg-card {
  background: var(--card-bg-dark);
  color: var(--text-color-dark-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-fabet__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-color-light-bg); /* Default for light card */
}

.page-index-review-fabet__dark-bg .page-index-review-fabet__section-title,
.page-index-review-fabet__dark-bg-card .page-index-review-fabet__section-title {
  color: var(--secondary-color); /* Title color for dark background */
}

.page-index-review-fabet__review-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.page-index-review-fabet__review-card.page-index-review-fabet__dark-bg-card .page-index-review-fabet__review-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.page-index-review-fabet__item-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  color: var(--text-color-light-bg); /* Default for light card */
}

.page-index-review-fabet__dark-bg-card .page-index-review-fabet__item-title {
  color: var(--secondary-color); /* Title color for dark background */
}

.page-index-review-fabet__item-content {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.page-index-review-fabet__item-image {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.page-index-review-fabet__review-item p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 10px;
  color: var(--text-color-light-bg); /* Default for light card */
}

.page-index-review-fabet__dark-bg-card .page-index-review-fabet__review-item p {
  color: var(--text-color-dark-bg);
}

.page-index-review-fabet__review-item p a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

.page-index-review-fabet__review-item p a:hover {
  text-decoration: underline;
}

.page-index-review-fabet__cta-bottom {
  margin-top: 40px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-fabet__instruction-list,
.page-index-review-fabet__advice-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-index-review-fabet__instruction-list li,
.page-index-review-fabet__advice-list li {
  background: var(--card-bg-light);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 17px;
  color: var(--text-color-light-bg);
  display: flex;
  align-items: center;
}

.page-index-review-fabet__dark-bg-card .page-index-review-fabet__instruction-list li,
.page-index-review-fabet__dark-bg-card .page-index-review-fabet__advice-list li {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color-dark-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-index-review-fabet__instruction-list li strong,
.page-index-review-fabet__advice-list li strong {
  color: var(--primary-color);
  font-size: 18px;
  margin-right: 10px;
}

.page-index-review-fabet__dark-bg-card .page-index-review-fabet__instruction-list li strong,
.page-index-review-fabet__dark-bg-card .page-index-review-fabet__advice-list li strong {
  color: var(--secondary-color);
}

/* FAQ Styles */
.page-index-review-fabet__faq-list {
  margin-top: 30px;
}

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

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

.page-index-review-fabet__dark-bg-card .page-index-review-fabet__faq-question {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-index-review-fabet__dark-bg-card .page-index-review-fabet__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

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

.page-index-review-fabet__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-light-bg);
}

.page-index-review-fabet__dark-bg-card .page-index-review-fabet__faq-question h3 {
  color: var(--text-color-dark-bg);
}

.page-index-review-fabet__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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: 32px;
  height: 32px;
}

.page-index-review-fabet__dark-bg-card .page-index-review-fabet__faq-toggle {
  color: var(--secondary-color);
}

.page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Plus to X */
}

.page-index-review-fabet__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 25px;
  opacity: 0;
}

.page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page-index-review-fabet__dark-bg-card .page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color-dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: none;
}

.page-index-review-fabet__faq-answer p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color-light-bg);
}

.page-index-review-fabet__dark-bg-card .page-index-review-fabet__faq-answer p {
  color: var(--text-color-dark-bg);
}

.page-index-review-fabet__final-cta-section {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.page-index-review-fabet__cta-final {
  margin-top: 40px;
  font-size: 24px;
  padding: 20px 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-fabet__main-title {
    font-size: 36px;
  }
  .page-index-review-fabet__hero-description {
    font-size: 18px;
  }
  .page-index-review-fabet__section-title {
    font-size: 28px;
  }
  .page-index-review-fabet__item-title {
    font-size: 22px;
  }
  .page-index-review-fabet__item-image {
    max-width: 250px;
  }
  .page-index-review-fabet__review-item p {
    font-size: 16px;
  }
  .page-index-review-fabet__review-card {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-index-review-fabet__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-fabet__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-index-review-fabet__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-index-review-fabet__cta-button {
    padding: 15px 35px;
    font-size: 18px;
    margin-top: 20px;
  }
  .page-index-review-fabet__content-section {
    padding: 25px 15px;
  }
  .page-index-review-fabet__review-card {
    padding: 25px;
  }
  .page-index-review-fabet__section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
  .page-index-review-fabet__review-item {
    flex-direction: column;
    align-items: center;
  }
  .page-index-review-fabet__item-content {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-review-fabet__item-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 15px;
  }
  .page-index-review-fabet__item-title {
    font-size: 20px;
    text-align: center;
    margin-top: 15px;
  }
  .page-index-review-fabet__review-item p {
    font-size: 15px;
    text-align: justify;
  }
  .page-index-review-fabet__instruction-list li,
  .page-index-review-fabet__advice-list li {
    font-size: 15px;
    padding: 12px 15px;
  }
  .page-index-review-fabet__instruction-list li strong,
  .page-index-review-fabet__advice-list li strong {
    font-size: 16px;
  }
  .page-index-review-fabet__faq-question {
    padding: 15px 20px;
  }
  .page-index-review-fabet__faq-question h3 {
    font-size: 16px;
  }
  .page-index-review-fabet__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-index-review-fabet__faq-answer {
    padding: 0 20px;
  }
  .page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
    padding: 15px 20px !important;
  }
  .page-index-review-fabet__faq-answer p {
    font-size: 15px;
  }
  .page-index-review-fabet__cta-final {
    font-size: 20px;
    padding: 15px 40px;
  }
  /* Ensure all images are responsive and don't overflow */
  .page-index-review-fabet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-review-fabet__section,
  .page-index-review-fabet__card,
  .page-index-review-fabet__container,
  .page-index-review-fabet__review-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-review-fabet__main-title {
    font-size: 24px;
  }
  .page-index-review-fabet__hero-description {
    font-size: 15px;
  }
  .page-index-review-fabet__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index-review-fabet__section-title {
    font-size: 20px;
  }
  .page-index-review-fabet__item-title {
    font-size: 18px;
  }
  .page-index-review-fabet__review-card {
    padding: 20px 15px;
  }
  .page-index-review-fabet__instruction-list li,
  .page-index-review-fabet__advice-list li {
    font-size: 14px;
    padding: 10px 12px;
  }
  .page-index-review-fabet__instruction-list li strong,
  .page-index-review-fabet__advice-list li strong {
    font-size: 15px;
  }
  .page-index-review-fabet__faq-question h3 {
    font-size: 15px;
  }
  .page-index-review-fabet__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
  }
  .page-index-review-fabet__cta-final {
    font-size: 18px;
    padding: 12px 30px;
  }
}