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

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

.page-payment-methods__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px 60px; /* Adjust padding to look good with image */
  background-color: #0A2342; /* Main brand color */
  overflow: hidden;
}

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

.page-payment-methods__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-payment-methods__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #E5B80B; /* Accent color for button */
  color: #0A2342;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #E5B80B;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-payment-methods__subtitle {
  font-size: 1.8em;
  color: #E5B80B;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-payment-methods__text-content {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

.page-payment-methods__method-card,
.page-payment-methods__security-item,
.page-payment-methods__feature-item {
  background-color: rgba(10, 35, 66, 0.7); /* Slightly transparent main color */
  border: 1px solid rgba(229, 184, 11, 0.3);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-payment-methods__method-card:hover,
.page-payment-methods__security-item:hover,
.page-payment-methods__feature-item:hover {
  transform: translateY(-5px);
}

.page-payment-methods__method-icon,
.page-payment-methods__security-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  min-height: 200px; /* Enforce minimum size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-payment-methods__card-title,
.page-payment-methods__item-title {
  font-size: 1.6em;
  color: #E5B80B;
  margin-bottom: 15px;
}

.page-payment-methods__card-description,
.page-payment-methods__item-description {
  color: #cccccc;
  font-size: 1em;
  margin-bottom: 20px;
}

.page-payment-methods__card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-payment-methods__card-features li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-payment-methods__card-features li::before {
  content: '✔️'; /* Checkmark icon */
  color: #E5B80B;
  position: absolute;
  left: 0;
}

.page-payment-methods__card-button,
.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #E5B80B;
  color: #0A2342;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-payment-methods__list {
  list-style: decimal;
  color: #f0f0f0;
  margin-left: 25px;
  margin-bottom: 30px;
}

.page-payment-methods__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-payment-methods__list strong {
  color: #E5B80B;
}

.page-payment-methods__faq-item {
  background-color: rgba(10, 35, 66, 0.5);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #E5B80B;
  margin-bottom: 10px;
}

.page-payment-methods__faq-answer {
  color: #cccccc;
  font-size: 1.05em;
}

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

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

  .page-payment-methods__method-grid,
  .page-payment-methods__security-grid,
  .page-payment-methods__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 60px 15px 40px;
  }

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

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

  .page-payment-methods__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-payment-methods__text-content {
    font-size: 0.95em;
  }

  .page-payment-methods__method-grid,
  .page-payment-methods__security-grid,
  .page-payment-methods__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__method-icon,
  .page-payment-methods__security-icon {
    max-width: 200px;
    min-height: 200px; /* Maintain minimum size */
    margin-left: auto;
    margin-right: auto;
  }

  .page-payment-methods__card-title,
  .page-payment-methods__item-title {
    font-size: 1.4em;
  }

  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }

  .page-payment-methods__faq-answer {
    font-size: 0.9em;
  }

  /* Ensure all content area images are responsive and not smaller than 200px */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }
}

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

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

  .page-payment-methods__subtitle {
    font-size: 1.3em;
  }

  .page-payment-methods__hero-button,
  .page-payment-methods__card-button,
  .page-payment-methods__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}