.page-payment-methods {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #2F6BFF; /* Primary color for hero background */
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__hero-image {
  display: block;
  width: 100%;
  height: auto;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-payment-methods__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  color: #FFFFFF; /* White text on primary background */
}

.page-payment-methods__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  /* No fixed font-size, rely on clamp or responsive scaling */
  font-size: clamp(2rem, 5vw, 3.5rem); /* Example clamp for responsive H1 */
}

.page-payment-methods__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #E0EFFF; /* Lighter white for description */
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-payment-methods__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 40px;
  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: #2F6BFF; /* Primary color */
  border-radius: 2px;
}

.page-payment-methods__paragraph {
  font-size: 1.05rem;
  color: #1F2D3D; /* Text Main */
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-payment-methods__methods-overview {
  background-color: #F4F7FB; /* Background */
}

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

.page-payment-methods__method-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #D6E2FF; /* Border */
}

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

.page-payment-methods__card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-payment-methods__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 10px;
}

.page-payment-methods__card-description {
  font-size: 1rem;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take space */
}

.page-payment-methods__card-link {
  display: inline-block;
  color: #2F6BFF; /* Primary color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-payment-methods__card-link:hover {
  color: #6FA3FF; /* Auxiliary color */
}

.page-payment-methods__features {
  background-color: #FFFFFF; /* Card BG */
}

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

.page-payment-methods__feature-item {
  background-color: #F4F7FB; /* Background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #D6E2FF; /* Border */
}

.page-payment-methods__feature-icon {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-payment-methods__feature-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 10px;
}

.page-payment-methods__feature-description {
  font-size: 0.95rem;
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
}

.page-payment-methods__how-to {
  background-color: #F4F7FB; /* Background */
}

.page-payment-methods__process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-payment-methods__process-step {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF; /* Border */
}

.page-payment-methods__process-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #2F6BFF; /* Primary color */
  margin-bottom: 25px;
  text-align: center;
}

.page-payment-methods__process-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  counter-reset: step-counter; /* Initialize counter */
}

.page-payment-methods__process-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #1F2D3D; /* Text Main */
}

.page-payment-methods__process-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: #6FA3FF; /* Auxiliary color */
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  font-weight: bold;
}

.page-payment-methods__process-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 25px;
  border-radius: 50px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__process-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq {
  background-color: #FFFFFF; /* Card BG */
}

.page-payment-methods__faq-item {
  background-color: #F4F7FB; /* Background */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  border: 1px solid #D6E2FF; /* Border */
}

.page-payment-methods__faq-question {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 10px;
  cursor: pointer; /* Indicate clickable */
}

.page-payment-methods__faq-answer {
  font-size: 1rem;
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
}

.page-payment-methods__view-all-faq {
  display: inline-block;
  margin-top: 30px;
  color: #2F6BFF; /* Primary color */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.page-payment-methods__view-all-faq:hover {
  color: #6FA3FF; /* Auxiliary color */
}

.page-payment-methods__call-to-action {
  background-color: #2F6BFF; /* Primary color */
  color: #FFFFFF;
  padding: 80px 20px;
}

.page-payment-methods__call-to-action .page-payment-methods__section-title {
  color: #FFFFFF;
}

.page-payment-methods__call-to-action .page-payment-methods__section-title::after {
  background-color: #FFFFFF; /* White underline for dark background */
}

.page-payment-methods__call-to-action .page-payment-methods__paragraph {
  color: #E0EFFF; /* Lighter white */
  margin-bottom: 50px;
}

.page-payment-methods__cta-button--large {
  padding: 18px 40px;
  font-size: 1.25rem;
  border-radius: 50px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__cta-button--large:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}


/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-bottom: 30px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-payment-methods__description {
    font-size: 1rem;
  }

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

  .page-payment-methods__section {
    padding: 40px 15px;
  }

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

  .page-payment-methods__paragraph {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-payment-methods__method-grid,
  .page-payment-methods__features-grid,
  .page-payment-methods__process-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-payment-methods__card-image,
  .page-payment-methods__feature-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  /* Ensure all content area images are responsive and don't overflow */
  .page-payment-methods__method-card img,
  .page-payment-methods__feature-item img,
  .page-payment-methods__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min-size for content images */
    min-height: 200px;
  }

  .page-payment-methods__process-step {
    padding: 25px;
  }

  .page-payment-methods__process-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .page-payment-methods__process-list li {
    font-size: 0.95rem;
    padding-left: 25px;
  }

  .page-payment-methods__process-list li::before {
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
  }

  .page-payment-methods__faq-question {
    font-size: 1.1rem;
  }

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

  .page-payment-methods__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
}

/* Ensure content area images maintain minimum size at all breakpoints where they are not meant to be icons */
.page-payment-methods__method-card .page-payment-methods__card-image,
.page-payment-methods__feature-item .page-payment-methods__feature-icon {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Ensure images fill their space without distortion */
}

/* Specific rule for img elements within .page-payment-methods to enforce min-size and responsiveness */
.page-payment-methods img {
    min-width: 200px; /* Global minimum for all images within main content */
    min-height: 200px;
    max-width: 100%; /* Ensure responsiveness by default */
    height: auto; /* Maintain aspect ratio */
}

/* Override for hero image to allow larger dimensions but still responsive */
.page-payment-methods__hero-image {
    min-width: unset; /* Hero can be larger, but still responsive */
    min-height: unset;
}