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

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

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #f5f5f5;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-payment-methods__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
}

.page-payment-methods__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
}

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

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

.page-payment-methods__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-payment-methods__button--primary {
  background-color: #FFD700;
  color: #1E90FF;
  border: 2px solid #FFD700;
}

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

.page-payment-methods__button--secondary {
  background-color: #1E90FF;
  color: #ffffff;
  border: 2px solid #1E90FF;
}

.page-payment-methods__button--secondary:hover {
  background-color: #1565b3;
  color: #f0f0f0;
}

.page-payment-methods__button--link {
  color: #1E90FF;
  text-decoration: underline;
}

.page-payment-methods__button--link:hover {
  color: #FFD700;
}

.page-payment-methods__button--tertiary {
  background-color: #f0f0f0;
  color: #1E90FF;
  border: 1px solid #ddd;
}

.page-payment-methods__button--tertiary:hover {
  background-color: #e0e0e0;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #1E90FF; /* Royal blue for section titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

.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__related-resources {
  padding: 60px 0;
  background-color: #ffffff;
}

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

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

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

.page-payment-methods__feature-card:hover {
  transform: translateY(-10px);
}

.page-payment-methods__feature-icon {
  width: 200px; /* Min width */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-payment-methods__feature-text {
  color: #666666;
}

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

.page-payment-methods__method-card {
  background-color: #f0f8ff; /* Light blue background */
  border-left: 5px solid #1E90FF;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__method-title {
  font-size: 1.4em;
  color: #1E90FF;
  margin-bottom: 10px;
}

.page-payment-methods__method-description {
  color: #555555;
}

.page-payment-methods__cta-deposit,
.page-payment-methods__cta-withdrawal,
.page-payment-methods__cta-security,
.page-payment-methods__cta-faq {
  text-align: center;
  margin-top: 40px;
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto;
}

.page-payment-methods__security-item {
  background-color: #fffaf0; /* Light gold background */
  border-left: 4px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #444444;
  font-size: 1.05em;
}

.page-payment-methods__faq-item {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.page-payment-methods__faq-question {
  font-size: 1.3em;
  color: #1E90FF;
  margin-bottom: 10px;
}

.page-payment-methods__faq-answer {
  color: #666666;
}

.page-payment-methods__details-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

.page-payment-methods__details-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.page-payment-methods__details-title {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-payment-methods__details-title a {
  color: #1E90FF;
  text-decoration: none;
}

.page-payment-methods__details-title a:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-payment-methods__details-description {
  color: #666666;
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .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-content {
    padding: 15px;
  }

  .page-payment-methods__hero-title {
    font-size: 2em;
  }

  .page-payment-methods__hero-description {
    font-size: 1em;
  }

  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__button {
    padding: 10px 20px;
    width: 100%;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
  }

  .page-payment-methods__section-description {
    font-size: 0.95em;
  }

  .page-payment-methods__features,
  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
  }

  /* Ensure content area images are responsive and do not overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }

  .page-payment-methods__hero-image {
    position: relative;
    width: 100%;
    height: 300px; /* Fixed height for mobile hero */
  }

  .page-payment-methods__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.5em;
  }

  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }

  .page-payment-methods__section-title {
    font-size: 1.5em;
  }

  .page-payment-methods__feature-icon {
    width: 200px; /* Maintain min width */
    height: auto;
  }
}