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

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background-color: #007BFF; /* Primary brand color */
  color: #ffffff;
}

.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;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFC107; /* Auxiliary color for highlight */
}

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

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #FFC107; /* Auxiliary color for buttons */
  color: #007BFF; /* Primary color for text on auxiliary button */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #007BFF; /* Primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  border-bottom: 3px solid #FFC107;
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-payment-methods__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__method-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 25px;
}

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

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

.page-payment-methods__card-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
  color: #444444;
}

.page-payment-methods__card-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-payment-methods__card-list li::before {
  content: '✓';
  color: #FFC107;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__card-button {
  display: inline-block;
  background-color: #007BFF; /* Primary color for buttons */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-payment-methods__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  text-align: center;
}

.page-payment-methods__feature-item {
  background-color: #f9f9f9;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__feature-icon {
  width: 150px; /* Enforcing minimum size */
  height: 100px; /* Enforcing minimum size */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-payment-methods__feature-title {
  font-size: 1.6em;
  color: #007BFF;
  margin-bottom: 10px;
}

.page-payment-methods__feature-description {
  color: #666666;
  font-size: 0.95em;
}

.page-payment-methods__tips-list {
  max-width: 900px;
  margin: 0 auto 60px;
  padding-left: 25px;
  list-style: disc;
  color: #444444;
}

.page-payment-methods__tips-list li {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-payment-methods__tips-list strong {
  color: #007BFF;
}

.page-payment-methods__faq-container {
  max-width: 900px;
  margin: 0 auto 60px;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

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

.page-payment-methods__faq-answer {
  color: #666666;
  font-size: 1em;
}

.page-payment-methods__cta-section {
  background-color: #007BFF; /* Primary color */
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 15px;
  margin-top: 60px;
}

.page-payment-methods__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFC107;
}

.page-payment-methods__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #FFC107; /* Auxiliary color */
  color: #007BFF; /* Primary color for text */
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 0 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-payment-methods__cta-button--secondary {
  background-color: #ffffff;
  color: #007BFF;
}

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

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

  .page-payment-methods__hero-section {
    padding: 60px 15px;
  }

  .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__content-area {
    padding: 40px 15px;
  }

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

  .page-payment-methods__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__method-card {
    padding: 25px;
  }

  .page-payment-methods__method-image {
    height: 200px;
  }

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

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

  .page-payment-methods__feature-icon {
    width: 120px;
    height: 80px;
  }

  .page-payment-methods__feature-title {
    font-size: 1.4em;
  }

  .page-payment-methods__tips-list {
    font-size: 1em;
  }

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

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

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

  .page-payment-methods__cta-button {
    display: block;
    margin: 15px auto;
    width: 80%;
    max-width: 300px;
  }

  /* Ensure all content area images are responsive and don't overflow */
  .page-payment-methods__content-area img {
    max-width: 100%;
    height: auto;
  }
}