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

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

.page-payment-methods__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-payment-methods__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-payment-methods__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  font-weight: bold;
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Custom color for CTA */
  color: #FFFF00; /* Custom color for CTA text */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-payment-methods__cta-button:hover {
  background: #E01A1A;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.page-payment-methods__heading {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-payment-methods__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #333333;
}

.page-payment-methods__introduction {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-payment-methods__feature-item {
  background: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__feature-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-payment-methods__feature-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__feature-text {
  font-size: 1em;
  color: #555555;
}

.page-payment-methods__deposit-methods, .page-payment-methods__withdrawal-methods {
  padding: 80px 0;
}

.page-payment-methods__deposit-methods {
  background-color: #017439;
  color: #FFFFFF;
}

.page-payment-methods__deposit-methods .page-payment-methods__heading,
.page-payment-methods__deposit-methods .page-payment-methods__paragraph {
  color: #FFFFFF;
}

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

.page-payment-methods__method-card {
  background: #FFFFFF;
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

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

.page-payment-methods__method-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__method-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-payment-methods__method-description {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #555555;
}

.page-payment-methods__method-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 25px;
  color: #444444;
}

.page-payment-methods__method-list li {
  margin-bottom: 10px;
  font-size: 0.95em;
  line-height: 1.6;
}

.page-payment-methods__method-list li strong {
  color: #017439;
}

.page-payment-methods__cta-deposit-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.page-payment-methods__cta-text {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #FFFFFF;
  font-weight: 500;
}

.page-payment-methods__btn-primary {
  background: #C30808;
  color: #FFFF00;
  padding: 15px 45px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__btn-primary:hover {
  background: #E01A1A;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__withdrawal-methods {
  background-color: #F9F9F9;
}

.page-payment-methods__important-notes {
  margin-top: 60px;
  padding: 40px;
  background: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.page-payment-methods__sub-heading {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.page-payment-methods__note-list {
  list-style-type: disc;
  padding-left: 30px;
  color: #444444;
}

.page-payment-methods__note-list li {
  margin-bottom: 15px;
  font-size: 1em;
  line-height: 1.7;
}

.page-payment-methods__note-list li strong {
  color: #017439;
}

.page-payment-methods__security-guarantee {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-payment-methods__security-guarantee .page-payment-methods__heading,
.page-payment-methods__security-guarantee .page-payment-methods__paragraph {
  color: #FFFFFF;
}

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

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

.page-payment-methods__security-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__security-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-payment-methods__faq-section {
  padding: 80px 0;
  background-color: #F9F9F9;
}

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

.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #fdfdfd;
  color: #555555;
  font-size: 1em;
  line-height: 1.7;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 2000px !important;
  padding: 25px 20px !important;
  opacity: 1;
  background: #fdfdfd;
  border-radius: 0 0 10px 10px;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, border-radius 0.3s ease;
  position: relative;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #017439;
}

.page-payment-methods__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-payment-methods__faq-question:active {
  background: #eeeeee;
}

.page-payment-methods__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #017439;
  pointer-events: none;
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #017439;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

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

  .page-payment-methods__hero-description {
    font-size: 1.2em;
  }

  .page-payment-methods__heading {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

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

  .page-payment-methods__heading {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

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

  .page-payment-methods__features-grid,
  .page-payment-methods__method-card-grid,
  .page-payment-methods__security-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-payment-methods__feature-item,
  .page-payment-methods__method-card,
  .page-payment-methods__security-item {
    padding: 25px;
  }

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

  .page-payment-methods__method-card img,
  .page-payment-methods__feature-item img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods__cta-deposit-section {
    padding: 30px 15px;
  }

  .page-payment-methods__cta-text {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

  .page-payment-methods__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__important-notes {
    padding: 30px 15px;
  }

  .page-payment-methods__sub-heading {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .page-payment-methods__note-list {
    padding-left: 20px;
  }

  .page-payment-methods__faq-section {
    padding: 50px 0;
  }

  .page-payment-methods__faq-question {
    padding: 15px 20px;
  }

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

  .page-payment-methods__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    padding: 20px !important;
  }

  /* Ensure all img elements are responsive */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all containers with images/buttons are responsive */
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .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;
  }

  /* If multiple buttons horizontally arranged, allow wrapping */
  .page-payment-methods__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }

  .page-payment-methods__heading {
    font-size: 1.6em;
  }

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

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