.page-payment-methods {
  color: #f0f0f0; /* Mặc định chữ nhạt trên nền tối của body */
}

.page-payment-methods__hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 120px; /* Điều chỉnh cho thanh điều hướng cố định */
  background: linear-gradient(135deg, #1A2A44, #0d1e3a); /* Nền tối đậm */
  color: #ffffff;
}

.page-payment-methods__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFCC00; /* Tiêu đề nổi bật */
  line-height: 1.2;
}

.page-payment-methods__description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #FFCC00, #FFA500);
  color: #1A2A44;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-payment-methods__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, #FFCC00);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__section {
  padding: 60px 20px;
}

.page-payment-methods__dark-bg {
  background: #1A2A44;
  color: #ffffff;
}

.page-payment-methods__light-bg {
  background: #f8f9fa;
  color: #333333;
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-payment-methods__heading {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  color: inherit; /* Kế thừa màu từ section */
  position: relative;
  padding-bottom: 15px;
}

.page-payment-methods__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #FFCC00;
  border-radius: 2px;
}

.page-payment-methods__sub-heading {
  font-size: 24px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: inherit;
}

.page-payment-methods__text-block {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-payment-methods__highlight {
  font-weight: bold;
  color: #FFCC00; /* Nổi bật các từ khóa */
}

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

.page-payment-methods__card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__card-image {
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #1A2A44;
}

.page-payment-methods__card-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-payment-methods__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(135deg, #1A2A44, #3a4a66);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(135deg, #3a4a66, #1A2A44);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #f0f0f0;
  color: #1A2A44;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  border: 1px solid #1A2A44;
  transition: all 0.3s ease;
}

.page-payment-methods__btn-secondary:hover {
  background: #e0e0e0;
  color: #0d1e3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__ordered-list, .page-payment-methods__unordered-list {
  font-size: 17px;
  line-height: 1.7;
  margin-left: 20px;
  margin-bottom: 20px;
  list-style-position: outside;
  color: inherit;
}

.page-payment-methods__ordered-list li, .page-payment-methods__unordered-list li {
  margin-bottom: 10px;
}

.page-payment-methods__ordered-list strong, .page-payment-methods__unordered-list strong {
  color: #1A2A44;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 60px 20px;
  background: #1A2A44;
  color: #ffffff;
}

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

.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

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

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #0d1e3a; /* Nền tối hơn cho câu trả lời */
  border-radius: 0 0 5px 5px;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a3d5b; /* Nền câu hỏi */
  border: 1px solid #3c5171;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-payment-methods__faq-question:hover {
  background: #3c5171;
  border-color: #4d6688;
}

.page-payment-methods__faq-question:active {
  background: #4d6688;
}

.page-payment-methods__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFCC00; /* Màu chữ câu hỏi */
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFCC00;
  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-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__title {
    font-size: 36px;
  }
  .page-payment-methods__heading {
    font-size: 30px;
  }
  .page-payment-methods__sub-heading {
    font-size: 22px;
  }
  .page-payment-methods__text-block, .page-payment-methods__ordered-list li, .page-payment-methods__unordered-list li {
    font-size: 16px;
  }
  .page-payment-methods__card-title {
    font-size: 20px;
  }
  .page-payment-methods__card-text {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-payment-methods__hero-banner {
    padding-top: 100px !important; /* Mobile: Adjust for fixed nav */
    padding-bottom: 40px;
  }

  .page-payment-methods__hero-image {
    max-width: 100%;
    border-radius: 8px;
  }

  .page-payment-methods__title {
    font-size: 28px;
  }

  .page-payment-methods__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-payment-methods__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }

  .page-payment-methods__section {
    padding: 40px 15px;
  }

  .page-payment-methods__heading {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .page-payment-methods__sub-heading {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-payment-methods__text-block, .page-payment-methods__ordered-list li, .page-payment-methods__unordered-list li {
    font-size: 15px;
  }

  .page-payment-methods__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__card {
    padding: 20px;
  }

  .page-payment-methods__card-image {
    max-width: 120px;
  }

  .page-payment-methods__card-title {
    font-size: 18px;
  }

  .page-payment-methods__card-text {
    font-size: 14px;
  }

  .page-payment-methods__btn-primary, .page-payment-methods__btn-secondary {
    padding: 10px 20px;
    font-size: 15px;
  }

  .page-payment-methods__faq-section {
    padding: 40px 15px;
  }

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

  /* Force responsive images */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}