.page-payment-methods {
  color: #333333; /* Dark text for light body background */
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #0056b3; /* Darker blue for hero background */
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
}

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

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

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc107;
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #ffc107;
  color: #0056b3;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-payment-methods__introduction-section,
.page-payment-methods__types-section,
.page-payment-methods__deposit-guide-section,
.page-payment-methods__withdrawal-guide-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__details-list-section,
.page-payment-methods__final-cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__introduction-section,
.page-payment-methods__withdrawal-guide-section,
.page-payment-methods__faq-section {
  background-color: #f9f9f9;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #007bff;
}

.page-payment-methods__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-payment-methods__card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

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

.page-payment-methods__card-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-payment-methods__cta-button,
.page-payment-methods__final-cta-button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 40px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__cta-button:hover,
.page-payment-methods__final-cta-button:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

.page-payment-methods__numbered-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
}

.page-payment-methods__numbered-list li {
  background-color: #ffffff;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  counter-increment: step-counter;
  position: relative;
  padding-left: 70px;
}

.page-payment-methods__numbered-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 25px;
  top: 25px;
  background-color: #ffc107;
  color: #0056b3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  font-weight: bold;
}

.page-payment-methods__list-item-title {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
}

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

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

.page-payment-methods__feature-item {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.page-payment-methods__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  padding: 25px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__faq-answer {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  display: none; /* Hidden by default, toggled by JS */
}

.page-payment-methods__faq-question.active + .page-payment-methods__faq-answer {
  display: block;
}

.page-payment-methods__details-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  max-width: 700px;
  margin: 40px auto;
}

.page-payment-methods__details-card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-payment-methods__details-card-title a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-payment-methods__details-card-title a:hover {
  color: #ffc107;
}

.page-payment-methods__details-card-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 20px;
}

.page-payment-methods__details-card-button {
  display: inline-block;
  background-color: #ffc107;
  color: #0056b3;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods__details-card-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-payment-methods__final-cta-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 80px 20px;
}

.page-payment-methods__final-cta-section .page-payment-methods__section-title {
  color: #ffc107;
}

.page-payment-methods__final-cta-section .page-payment-methods__section-text {
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 100px); /* Adjust for mobile header offset */
  }

  .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__introduction-section,
  .page-payment-methods__types-section,
  .page-payment-methods__deposit-guide-section,
  .page-payment-methods__withdrawal-guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__details-list-section,
  .page-payment-methods__final-cta-section {
    padding: 40px 0;
  }

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

  .page-payment-methods__section-text {
    font-size: 0.95em;
    text-align: justify;
  }

  .page-payment-methods__cards-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__card img {
    
  }

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

  .page-payment-methods__numbered-list li {
    padding-left: 60px;
  }

  .page-payment-methods__numbered-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
    left: 15px;
    top: 20px;
  }

  .page-payment-methods__list-item-title {
    font-size: 1.2em;
  }

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

  .page-payment-methods__feature-item img {
    
    
  }

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

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

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

  .page-payment-methods__details-card-description {
    font-size: 0.95em;
  }

  /* Critical: prevent content overflow on mobile */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }

  .page-payment-methods__container {
    padding: 0 15px;
  }
}