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

@media (max-width: 768px) {
  .page-payment-methods {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header height */
  }
}

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 0; /* Content padding handled by hero-content */
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-payment-methods__hero-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Minimum height for hero section */
  padding: 40px 20px;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  background: rgba(10, 36, 99, 0.7); /* Main color with transparency */
  border-radius: 10px;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color 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;
  color: #f0f0f0;
}

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color for CTA */
  color: #0A2463; /* Main color for text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.page-payment-methods__introduction-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__call-to-action-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__introduction-title,
.page-payment-methods__deposit-title,
.page-payment-methods__withdrawal-title,
.page-payment-methods__security-title,
.page-payment-methods__faq-title,
.page-payment-methods__cta-title {
  font-size: 2.5em;
  color: #0A2463; /* Main color for titles */
  margin-bottom: 25px;
  text-align: center;
}

.page-payment-methods__introduction-text,
.page-payment-methods__deposit-description,
.page-payment-methods__withdrawal-description,
.page-payment-methods__security-description,
.page-payment-methods__faq-answer {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 20px;
  text-align: center;
}

.page-payment-methods__secondary-cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  background-color: #0A2463;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-payment-methods__secondary-cta-button:hover {
  background-color: #1a3e83;
}

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

.page-payment-methods__method-card,
.page-payment-methods__process-step-card,
.page-payment-methods__feature-card {
  background-color: #f9f9f9;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__method-card:hover,
.page-payment-methods__process-step-card:hover,
.page-payment-methods__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__method-icon,
.page-payment-methods__process-icon,
.page-payment-methods__feature-icon {
  width: 100%; /* Ensure images are responsive within their containers */
  max-width: 400px; /* Max width for content images */
  height: auto;
  border-radius: 5px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* IMPORTANT: NO CSS FILTERS TO CHANGE IMAGE COLOR */
.page-payment-methods__method-icon,
.page-payment-methods__process-icon,
.page-payment-methods__feature-icon,
.page-payment-methods__cta-image {
  filter: none; /* Ensure no CSS filters are applied to change image colors */
}

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

.page-payment-methods__method-details,
.page-payment-methods__process-text,
.page-payment-methods__feature-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 15px;
}

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

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

.page-payment-methods__method-features li::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__method-cta {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2463;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-payment-methods__method-cta:hover {
  background-color: #e6c200;
}

.page-payment-methods__deposit-footer-text,
.page-payment-methods__withdrawal-footer-text {
  text-align: center;
  font-style: italic;
  color: #777777;
  margin-top: 40px;
  font-size: 0.95em;
}

.page-payment-methods__learn-more-link {
  display: block;
  text-align: center;
  margin-top: 30px;
  color: #0A2463;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-payment-methods__faq-item {
  background-color: #f0f5fa; /* Light blueish background */
  border-left: 5px solid #0A2463;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 15px;
  text-align: left;
}

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

.page-payment-methods__call-to-action-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 0;
  margin-bottom: 60px;
}

.page-payment-methods__cta-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6);
}

.page-payment-methods__cta-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 40px 20px;
}

.page-payment-methods__cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px;
  background: rgba(10, 36, 99, 0.7);
  border-radius: 10px;
}

.page-payment-methods__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-payment-methods__cta-button--primary {
  background-color: #FFD700;
  color: #0A2463;
}

.page-payment-methods__cta-button--primary:hover {
  background-color: #e6c200;
}

.page-payment-methods__cta-button--secondary {
  background-color: #0A2463;
  color: #ffffff;
}

.page-payment-methods__cta-button--secondary:hover {
  background-color: #1a3e83;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__introduction-title,
  .page-payment-methods__deposit-title,
  .page-payment-methods__withdrawal-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-content {
    padding: 20px;
  }
  .page-payment-methods__introduction-section,
  .page-payment-methods__deposit-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__call-to-action-section {
    padding: 20px 15px;
    margin: 20px auto;
  }
  .page-payment-methods__introduction-title,
  .page-payment-methods__deposit-title,
  .page-payment-methods__withdrawal-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 1.8em;
  }
  .page-payment-methods__deposit-methods-grid,
  .page-payment-methods__withdrawal-process-grid,
  .page-payment-methods__security-features-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__method-name,
  .page-payment-methods__process-title,
  .page-payment-methods__feature-name {
    font-size: 1.4em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Mobile content area images must be responsive */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}

@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__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-payment-methods__introduction-title,
  .page-payment-methods__deposit-title,
  .page-payment-methods__withdrawal-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 1.5em;
  }
  .page-payment-methods__method-name,
  .page-payment-methods__process-title,
  .page-payment-methods__feature-name {
    font-size: 1.2em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
  }
}