.page-payment-methods {
  color: #333333; /* Dark text for default white body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A2463; /* Primary dark blue background */
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6;
  filter: brightness(0.8); /* Slight darkening for text readability */
}

.page-payment-methods__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-payment-methods__hero-content {
  position: absolute;
  text-align: center;
  color: #ffffff;
  padding: 20px;
  max-width: 800px;
  z-index: 1;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-payment-methods__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-payment-methods__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-payment-methods__button--primary {
  background-color: #FFD700; /* Gold */
  color: #0A2463; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-payment-methods__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-payment-methods__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-payment-methods__button--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-payment-methods__button--center {
  display: block;
  margin: 40px auto 0;
  width: fit-content;
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-payment-methods__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-payment-methods__image-content {
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
}

.page-payment-methods__why-choose-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
}

.page-payment-methods__why-choose-section {
  background-color: #f9f9f9;
}

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

.page-payment-methods__feature-card,
.page-payment-methods__method-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__feature-card:hover,
.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.page-payment-methods__feature-title,
.page-payment-methods__method-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-payment-methods__feature-description,
.page-payment-methods__method-description {
  color: #666666;
  font-size: 1em;
}

.page-payment-methods__note {
  text-align: center;
  font-style: italic;
  color: #777777;
  margin-top: 30px;
  font-size: 0.95em;
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-payment-methods__security-item {
  background-color: #eaf1f8; /* Light blue background */
  border-left: 5px solid #0A2463;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__security-item strong {
  color: #0A2463;
}

.page-payment-methods__faq-accordion {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__faq-question {
  display: block;
  width: 100%;
  padding: 20px;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  color: #0A2463;
  background-color: #f5f5f5;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-payment-methods__faq-question:hover {
  background-color: #e0e0e0;
}

.page-payment-methods__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-payment-methods__faq-answer p {
  padding-bottom: 20px;
  color: #555555;
}

.page-payment-methods__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
  padding-top: 10px;
}

.page-payment-methods__cta-section {
  background-color: #0A2463; /* Primary dark blue background */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: #FFD700;
}

.page-payment-methods__cta-section .page-payment-methods__section-title::after {
  background-color: #FFD700;
}

.page-payment-methods__cta-section .page-payment-methods__section-intro {
  color: #f0f0f0;
  margin-bottom: 50px;
}

.page-payment-methods__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-container {
    min-height: 400px;
  }
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-intro {
    font-size: 0.95em;
  }
  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__security-list {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile content area image constraint */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__feature-title,
  .page-payment-methods__method-title {
    font-size: 1.5em;
  }
}