.page-payment-methods {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-payment-methods__hero-section {
  background-color: #0A1931; /* Main brand color for hero background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-payment-methods__hero-content {
  max-width: 800px;
  text-align: center;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E0B700; /* Auxiliary brand color for emphasis */
  line-height: 1.2;
}

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

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #E0B700; /* Auxiliary brand color for CTA */
  color: #0A1931;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #E0B700;
}

.page-payment-methods__hero-button:hover {
  background-color: #f0c720;
  transform: translateY(-2px);
}

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

.page-payment-methods__section {
  padding: 60px 0;
  border-bottom: 1px solid #eeeeee;
}

.page-payment-methods__section:last-of-type {
  border-bottom: none;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #0A1931;
  text-align: center;
  margin-bottom: 20px;
  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: #E0B700;
  border-radius: 2px;
}

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

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

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

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

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

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

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

.page-payment-methods__method-card {
  background-color: #0A1931; /* Dark background for method cards */
  color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.page-payment-methods__method-title {
  font-size: 1.6em;
  color: #E0B700;
  margin-bottom: 15px;
}

.page-payment-methods__method-description {
  font-size: 1em;
  margin-bottom: 20px;
  opacity: 0.9;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__method-details li {
  margin-bottom: 10px;
  font-size: 0.95em;
}

.page-payment-methods__method-details strong {
  color: #E0B700;
}

.page-payment-methods__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #E0B700;
  color: #0A1931;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #E0B700;
}

.page-payment-methods__cta-button:hover {
  background-color: #f0c720;
  transform: translateY(-2px);
}

.page-payment-methods__cta-button--large {
  font-size: 1.3em;
  padding: 18px 40px;
}

.page-payment-methods__process-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-payment-methods__process-step {
  flex: 1 1 45%;
  min-width: 300px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-payment-methods__step-title {
  font-size: 1.8em;
  color: #0A1931;
  margin-bottom: 20px;
  text-align: center;
}

.page-payment-methods__step-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin: 0;
}

.page-payment-methods__step-list li {
  margin-bottom: 12px;
  color: #444444;
  font-size: 1.05em;
}

.page-payment-methods__step-list li strong {
  color: #0A1931;
}

.page-payment-methods__transaction-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.page-payment-methods__transaction-table th,
.page-payment-methods__transaction-table td {
  padding: 15px;
  border: 1px solid #e0e0e0;
  text-align: left;
}

.page-payment-methods__transaction-table th {
  background-color: #0A1931;
  color: #E0B700;
  font-weight: bold;
  font-size: 1.1em;
}

.page-payment-methods__transaction-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

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

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

.page-payment-methods__security-item {
  background-color: #0A1931; /* Dark background for security items */
  color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__security-title {
  font-size: 1.6em;
  color: #E0B700;
  margin-bottom: 15px;
}

.page-payment-methods__security-text {
  opacity: 0.9;
}

.page-payment-methods__support-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.page-payment-methods__support-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

.page-payment-methods__support-options {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-payment-methods__support-options li {
  background-color: #E0B700;
  color: #0A1931;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__faq-items {
  margin-top: 40px;
  display: grid;
  gap: 25px;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #0A1931;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

.page-payment-methods__section-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

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

  .page-payment-methods__method-card,
  .page-payment-methods__process-step,
  .page-payment-methods__security-item,
  .page-payment-methods__feature-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    padding-top: var(--header-offset, 120px);
  }
  .page-payment-methods__hero-section {
    flex-direction: column;
    padding: 60px 15px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-payment-methods__features-grid,
  .page-payment-methods__method-cards,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-payment-methods__process-step {
    flex: 1 1 100%;
  }
  .page-payment-methods__transaction-table th,
  .page-payment-methods__transaction-table td {
    padding: 10px;
    font-size: 0.9em;
  }
  .page-payment-methods__transaction-table {
    overflow-x: auto;
    display: block;
  }
  .page-payment-methods__transaction-table thead, .page-payment-methods__transaction-table tbody, .page-payment-methods__transaction-table th, .page-payment-methods__transaction-table td, .page-payment-methods__transaction-table tr {
    display: block;
  }
  .page-payment-methods__transaction-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .page-payment-methods__transaction-table tr {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
  }
  .page-payment-methods__transaction-table td {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding-left: 50%;
    text-align: right;
  }
  .page-payment-methods__transaction-table td::before {
    position: absolute;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
    color: #0A1931;
  }
  .page-payment-methods__transaction-table td:nth-of-type(1)::before { content: "Method:"; }
  .page-payment-methods__transaction-table td:nth-of-type(2)::before { content: "Type:"; }
  .page-payment-methods__transaction-table td:nth-of-type(3)::before { content: "Min Amount:"; }
  .page-payment-methods__transaction-table td:nth-of-type(4)::before { content: "Max Amount:"; }
  .page-payment-methods__transaction-table td:nth-of-type(5)::before { content: "Processing Time:"; }
  .page-payment-methods__transaction-table td:nth-of-type(6)::before { content: "Fees:"; }

  .page-payment-methods__section-image {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }
  .page-payment-methods__faq-answer {
    font-size: 0.95em;
  }
  .page-payment-methods__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-payment-methods__cta-button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-payment-methods__support-options {
    flex-direction: column;
  }
  .page-payment-methods__support-options li {
    width: 100%;
  }

  /* Ensure all images within .page-payment-methods are not too small */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum display size for content images */
    min-height: 200px; /* Enforce minimum display size for content images */
  }
  .page-payment-methods__hero-image img {
    width: 100%;
    height: auto;
    min-width: auto; /* Hero image can be wider */
    min-height: auto;
  }

}