.page-payment-methods {
  color: #333333; /* Default text color for light body background */
}

.page-payment-methods__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* For desktop */
  background-color: #0A2E36;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-payment-methods__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  z-index: 1;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 800px;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-payment-methods__hero-button,
.page-payment-methods__cta-button,
.page-payment-methods__card-button,
.page-payment-methods__step-button,
.page-payment-methods__cta-bottom-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2E36;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-payment-methods__hero-button:hover,
.page-payment-methods__cta-button:hover,
.page-payment-methods__card-button:hover,
.page-payment-methods__step-button:hover,
.page-payment-methods__cta-bottom-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

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

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

.page-payment-methods__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-payment-methods__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-payment-methods__introduction-section,
.page-payment-methods__deposit-methods-section,
.page-payment-methods__withdrawal-methods-section,
.page-payment-methods__security-section,
.page-payment-methods__how-to-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-bottom-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-payment-methods__deposit-methods-section,
.page-payment-methods__withdrawal-methods-section {
  background-color: #eef2f5;
}

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

.page-payment-methods__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-payment-methods__card-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__card-title {
  font-size: 1.8em;
  color: #0A2E36;
  margin-bottom: 15px;
}

.page-payment-methods__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.page-payment-methods__card-features li {
  background: url('/path/to/check-icon.svg') no-repeat left center;
  background-size: 18px;
  padding-left: 25px;
  margin-bottom: 8px;
  color: #444444;
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-payment-methods__security-list li {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #333333;
}

.page-payment-methods__security-list li strong {
  color: #0A2E36;
}

.page-payment-methods__security-list li::before {
  content: '✔';
  color: #FFD700;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2em;
}

.page-payment-methods__security-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

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

.page-payment-methods__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

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

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

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

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

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

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #0A2E36;
  cursor: pointer;
  position: relative;
  background-color: #fcfcfc;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

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

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

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #555555;
  border-top: 1px solid #eee;
}

.page-payment-methods__cta-bottom-section {
  background: linear-gradient(135deg, #0A2E36, #1A4E56);
  color: #ffffff;
  text-align: center;
}

.page-payment-methods__cta-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-payment-methods__cta-bottom-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

.page-payment-methods__cta-bottom-text .page-payment-methods__section-title::after {
  background-color: #ffffff;
}

.page-payment-methods__cta-bottom-text .page-payment-methods__paragraph {
  color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px);
    min-height: 400px;
  }
  .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: 1.8em;
    margin-bottom: 30px;
  }
  .page-payment-methods__paragraph {
    font-size: 1em;
  }
  .page-payment-methods__cards-grid,
  .page-payment-methods__step-by-step {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__card-image,
  .page-payment-methods__security-image,
  .page-payment-methods__cta-bottom-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-payment-methods__hero-button,
  .page-payment-methods__cta-button,
  .page-payment-methods__card-button,
  .page-payment-methods__step-button,
  .page-payment-methods__cta-bottom-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  /* Ensure all images within .page-payment-methods do not cause horizontal scroll */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-payment-methods__container {
    padding: 20px;
  }
  .page-payment-methods__cta-bottom-content {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.95em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__paragraph {
    font-size: 0.95em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-payment-methods__faq-question::after {
    right: 20px;
  }
  .page-payment-methods__faq-answer {
    padding: 15px 20px;
  }
}