.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF;
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, #017439, #005a2e);
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.page-payment-methods__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
  padding-bottom: 30px;
}

.page-payment-methods__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFF00; /* Register/Login font color */
}

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

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

.page-payment-methods__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(100%); /* Example: subtle background effect, no color change */
}

.page-payment-methods__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
  font-weight: bold;
}

.page-payment-methods__dark-section .page-payment-methods__section-title {
  color: #FFFFFF;
}

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

.page-payment-methods__dark-section {
  background-color: #017439;
  color: #FFFFFF;
}

.page-payment-methods__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-payment-methods__text-block {
  font-size: 1.05em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: inherit;
}

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

.page-payment-methods__card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

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

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

.page-payment-methods__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #017439;
  font-weight: bold;
}

.page-payment-methods__card-description {
  font-size: 0.95em;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-payment-methods__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-payment-methods__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

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

.page-payment-methods__step-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #FFFFFF;
}

.page-payment-methods__step-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00;
  font-weight: bold;
}

.page-payment-methods__step-description {
  font-size: 0.95em;
  line-height: 1.7;
}

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

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-payment-methods__list-item {
  background: #f9f9f9;
  border-left: 5px solid #017439;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-payment-methods__list-item h3 {
  color: #017439;
  margin-top: 0;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-payment-methods__list-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-payment-methods__faq-section {
  padding: 60px 20px;
  background-color: #017439;
  color: #FFFFFF;
}

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

.page-payment-methods__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-payment-methods__faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: #FFFFFF;
}

.page-payment-methods__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFFFFF;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px 25px 25px;
}

.page-payment-methods__faq-answer p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.6;
}

.page-payment-methods__contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 60px 20px;
  background-color: #FFFFFF;
  color: #333333;
  text-align: center;
}

.page-payment-methods__contact-content {
  max-width: 700px;
}

.page-payment-methods__contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-payment-methods__contact-image-wrapper {
  max-width: 800px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__contact-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__conclusion-section {
  padding: 60px 20px;
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__card-image {
    height: 180px;
  }
  .page-payment-methods__step-image {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__text-block {
    font-size: 0.95em;
  }
  .page-payment-methods__cards-grid,
  .page-payment-methods__process-steps {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__card,
  .page-payment-methods__step-item {
    padding: 20px;
  }
  .page-payment-methods__card-image,
  .page-payment-methods__step-image {
    height: 200px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-payment-methods__hero-buttons,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__contact-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* Image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__contact-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-payment-methods__hero-image-wrapper, .page-payment-methods__contact-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  /* Video responsiveness (if any, though not explicitly used in this content) */
  .page-payment-methods video,
  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-title {
    font-size: 1.6em;
  }
  .page-payment-methods__faq-question h3 {
    font-size: 1em;
  }
  .page-payment-methods__faq-toggle {
    font-size: 1.5em;
  }
}