.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Main text color for dark background */
  background-color: #08160F; /* Background color for the page */
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-payment-methods__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2FFF6;
  line-height: 1.2;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-payment-methods__cta-button--center {
  display: block;
  margin: 30px auto 0;
  max-width: 300px;
}

.page-payment-methods__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-payment-methods__section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A;
}

.page-payment-methods__section:last-of-type {
  border-bottom: none;
}

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

.page-payment-methods__section-title {
  font-size: 2em;
  font-weight: bold;
  color: #F2FFF6;
  text-align: center;
  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: #22C768;
  border-radius: 2px;
}

.page-payment-methods__text-block {
  font-size: 1em;
  color: #A7D9B8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__card {
  background-color: #11271B; /* Card Background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px;
  object-fit: contain; /* Use contain to show full payment icons */
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: #0A4B2C; /* Deep Green background for icons */
  padding: 15px;
}

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

.page-payment-methods__card-text {
  font-size: 0.95em;
  color: #A7D9B8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  text-align: left;
  width: 100%;
  margin-bottom: 0;
}

.page-payment-methods__list li {
  margin-bottom: 10px;
  color: #A7D9B8;
  font-size: 0.9em;
}

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

.page-payment-methods__list--bullet {
  list-style: disc;
  margin-left: 20px;
  text-align: left;
}

.page-payment-methods__list--bullet li {
  color: #A7D9B8;
}

.page-payment-methods__list--bullet li strong {
  color: #F2FFF6;
}

.page-payment-methods__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-payment-methods__step {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 25px;
  position: relative;
  padding-left: 80px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-payment-methods__step-number {
  position: absolute;
  left: 25px;
  top: 25px;
  background-color: #22C768;
  color: #08160F;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-payment-methods__step-title {
  font-size: 1.3em;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-payment-methods__step p {
  color: #A7D9B8;
  margin-bottom: 0;
}

.page-payment-methods__step p a {
  color: #22C768;
  text-decoration: none;
}

.page-payment-methods__step p a:hover {
  text-decoration: underline;
}

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

.page-payment-methods__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #0A4B2C;
  border-bottom: 1px solid #2E7A4E;
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  content: '−';
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8;
}

.page-payment-methods__faq-answer p {
  margin-bottom: 0;
}

.page-payment-methods__faq-answer a {
  color: #22C768;
  text-decoration: none;
}

.page-payment-methods__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 2.2em;
  }

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

  .page-payment-methods__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-payment-methods__hero-image {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-payment-methods__hero-section {
    padding-bottom: 40px;
  }

  .page-payment-methods__hero-image {
    max-height: 400px;
  }

  .page-payment-methods__main-title {
    font-size: 1.8em !important;
    margin-bottom: 15px;
  }

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

  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__cta-button--center {
    max-width: 100% !important;
  }

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

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

  .page-payment-methods__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-payment-methods__text-block {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-payment-methods__card {
    padding: 20px;
  }

  .page-payment-methods__card-image {
    height: 150px;
    padding: 10px;
  }

  .page-payment-methods__step {
    padding: 20px 20px 20px 60px;
  }

  .page-payment-methods__step-number {
    left: 15px;
    top: 20px;
    width: 35px;
    height: 35px;
    font-size: 1em;
  }

  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-payment-methods__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }
  
  /* Button container mobile adaptability */
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-payment-methods__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: 1.5em !important;
  }

  .page-payment-methods__section-title {
    font-size: 1.3em !important;
  }

  .page-payment-methods__hero-image {
    max-height: 300px;
  }
}