/* style/resources-reward-exchange-process-faq.css */

/* Cấu hình chung cho trang, đảm bảo tương phản màu sắc */
.page-resources-reward-exchange-process-faq {
  color: #ffffff; /* Văn bản sáng trên nền tối của body */
  background-color: transparent; /* Body đã có nền đen */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Đảm bảo nội dung không bị che bởi header cố định */
.page-resources-reward-exchange-process-faq__hero-banner {
  padding-top: 120px; /* Khoảng cách cho header cố định */
  background: linear-gradient(135deg, #FFD700, #8B0000); /* Màu nền chủ đạo */
  text-align: center;
  padding-bottom: 60px;
}

.page-resources-reward-exchange-process-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-reward-exchange-process-faq__main-title {
  font-size: 42px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-reward-exchange-process-faq__subtitle {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-reward-exchange-process-faq__btn-primary {
  display: inline-block;
  background: #FFD700; /* Màu vàng kim */
  color: #000000; /* Chữ đen để tương phản cao */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-reward-exchange-process-faq__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-reward-exchange-process-faq__section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Nền hơi sáng hơn body */
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-resources-reward-exchange-process-faq__section:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.1); /* Xen kẽ nền để dễ đọc */
}

.page-resources-reward-exchange-process-faq__section-title {
  font-size: 32px;
  color: #FFD700; /* Tiêu đề màu vàng kim */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-resources-reward-exchange-process-faq__description {
  font-size: 17px;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-resources-reward-exchange-process-faq__content-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.page-resources-reward-exchange-process-faq__text-block {
  flex: 2;
  font-size: 16px;
  color: #ffffff;
}

.page-resources-reward-exchange-process-faq__text-block p {
  margin-bottom: 15px;
}

.page-resources-reward-exchange-process-faq__image-block {
  flex: 1;
  text-align: center;
}

.page-resources-reward-exchange-process-faq__image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-reward-exchange-process-faq__step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-reward-exchange-process-faq__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Đảm bảo chiều cao đồng đều */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-resources-reward-exchange-process-faq__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-reward-exchange-process-faq__step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px auto;
}

.page-resources-reward-exchange-process-faq__step-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-reward-exchange-process-faq__step-text {
  font-size: 16px;
  color: #f0f0f0;
  flex-grow: 1; /* Đảm bảo văn bản chiếm đủ không gian */
}

.page-resources-reward-exchange-process-faq__reward-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-reward-exchange-process-faq__reward-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-resources-reward-exchange-process-faq__reward-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.25);
}

.page-resources-reward-exchange-process-faq__reward-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 20px auto;
}

.page-resources-reward-exchange-process-faq__reward-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-reward-exchange-process-faq__reward-text {
  font-size: 16px;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-resources-reward-exchange-process-faq__problem-solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-reward-exchange-process-faq__problem-card {
  background-color: rgba(139, 0, 0, 0.4); /* Màu đỏ sẫm */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-resources-reward-exchange-process-faq__problem-card:hover {
  transform: translateY(-5px);
  background-color: rgba(139, 0, 0, 0.6);
}

.page-resources-reward-exchange-process-faq__problem-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-reward-exchange-process-faq__problem-text,
.page-resources-reward-exchange-process-faq__solution-text {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-resources-reward-exchange-process-faq__tip-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 900px;
}

.page-resources-reward-exchange-process-faq__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 17px;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-reward-exchange-process-faq__tip-item strong {
  color: #FFD700;
}

.page-resources-reward-exchange-process-faq__image-block--center {
    text-align: center;
    margin-top: 30px;
}

.page-resources-reward-exchange-process-faq__image--large {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-resources-reward-exchange-process-faq__faq-area {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-reward-exchange-process-faq__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-reward-exchange-process-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-resources-reward-exchange-process-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-reward-exchange-process-faq__faq-question:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFD700;
}

.page-resources-reward-exchange-process-faq__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff; /* Chữ trắng */
  pointer-events: none;
}

.page-resources-reward-exchange-process-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Dấu + màu vàng kim */
  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-resources-reward-exchange-process-faq__faq-item.active .page-resources-reward-exchange-process-faq__faq-toggle {
  color: #8B0000; /* Dấu - màu đỏ sẫm */
  transform: rotate(45deg);
}

.page-resources-reward-exchange-process-faq__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;
  font-size: 16px;
  color: #f0f0f0;
}

.page-resources-reward-exchange-process-faq__faq-item.active .page-resources-reward-exchange-process-faq__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 8px 8px;
}

/* CTA Section */
.page-resources-reward-exchange-process-faq__cta-section {
  background: linear-gradient(135deg, #8B0000, #FFD700);
  text-align: center;
  padding: 80px 0;
}

.page-resources-reward-exchange-process-faq__cta-section .page-resources-reward-exchange-process-faq__section-title {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-reward-exchange-process-faq__cta-section .page-resources-reward-exchange-process-faq__description {
  color: #f0f0f0;
}

.page-resources-reward-exchange-process-faq__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-reward-exchange-process-faq__btn-secondary {
  display: inline-block;
  background: none;
  color: #ffffff; /* Chữ trắng */
  border: 2px solid #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.page-resources-reward-exchange-process-faq__btn-secondary:hover {
  background-color: #ffffff;
  color: #8B0000; /* Nền trắng chữ đỏ sẫm */
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-reward-exchange-process-faq__main-title {
    font-size: 36px;
  }
  .page-resources-reward-exchange-process-faq__section-title {
    font-size: 28px;
  }
  .page-resources-reward-exchange-process-faq__content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .page-resources-reward-exchange-process-faq__image-block {
    margin-top: 30px;
  }
  .page-resources-reward-exchange-process-faq__step-grid,
  .page-resources-reward-exchange-process-faq__reward-cards,
  .page-resources-reward-exchange-process-faq__problem-solution-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-reward-exchange-process-faq__hero-banner {
    padding-top: 100px; /* Điều chỉnh cho mobile header */
    padding-bottom: 40px;
  }
  .page-resources-reward-exchange-process-faq__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-resources-reward-exchange-process-faq__subtitle {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-resources-reward-exchange-process-faq__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-resources-reward-exchange-process-faq__section {
    padding: 40px 0;
    margin-bottom: 15px;
  }
  .page-resources-reward-exchange-process-faq__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-resources-reward-exchange-process-faq__description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-resources-reward-exchange-process-faq__step-card,
  .page-resources-reward-exchange-process-faq__reward-card,
  .page-resources-reward-exchange-process-faq__problem-card {
    padding: 20px;
  }
  .page-resources-reward-exchange-process-faq__step-icon,
  .page-resources-reward-exchange-process-faq__reward-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
  .page-resources-reward-exchange-process-faq__step-title,
  .page-resources-reward-exchange-process-faq__reward-title,
  .page-resources-reward-exchange-process-faq__problem-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .page-resources-reward-exchange-process-faq__step-text,
  .page-resources-reward-exchange-process-faq__reward-text,
  .page-resources-reward-exchange-process-faq__problem-text,
  .page-resources-reward-exchange-process-faq__solution-text {
    font-size: 14px;
  }
  .page-resources-reward-exchange-process-faq__tip-item {
    font-size: 15px;
    padding: 12px 15px;
  }
  .page-resources-reward-exchange-process-faq__faq-question {
    padding: 15px 20px;
  }
  .page-resources-reward-exchange-process-faq__faq-question h3 {
    font-size: 16px;
  }
  .page-resources-reward-exchange-process-faq__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-resources-reward-exchange-process-faq__faq-item.active .page-resources-reward-exchange-process-faq__faq-answer {
    padding: 15px 20px !important;
  }
  .page-resources-reward-exchange-process-faq__cta-section {
    padding: 60px 0;
  }
  .page-resources-reward-exchange-process-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-reward-exchange-process-faq__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
  /* Mobile image adaptation */
  .page-resources-reward-exchange-process-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-reward-exchange-process-faq__section,
  .page-resources-reward-exchange-process-faq__container,
  .page-resources-reward-exchange-process-faq__step-card,
  .page-resources-reward-exchange-process-faq__reward-card,
  .page-resources-reward-exchange-process-faq__problem-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}