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

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

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

.page-payment-methods__dark-bg {
  background-color: #0A2342;
  color: #ffffff;
}

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

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

.page-payment-methods__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-payment-methods__dark-bg .page-payment-methods__section-title {
  color: #FFD700;
}

.page-payment-methods__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

.page-payment-methods__image-full {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* HERO Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #0A2342, #1A3F6C);
  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: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.page-payment-methods__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  line-height: 1.5;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 18px 45px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 19px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.page-payment-methods__btn-primary {
  background: #FFD700;
  color: #0A2342;
  border-color: #FFD700;
}

.page-payment-methods__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__btn-secondary {
  background: #0A2342;
  color: #FFD700;
  border-color: #FFD700;
}

.page-payment-methods__btn-secondary:hover {
  background: #1A3F6C;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__btn-center {
  display: block;
  margin: 40px auto 0 auto;
  text-align: center;
  max-width: 300px;
}

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

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

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

.page-payment-methods__feature-heading {
  font-size: 24px;
  color: #0A2342;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-payment-methods__feature-item p {
  font-size: 16px;
  color: #555555;
}

/* Method Grid & Cards */
.page-payment-methods__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__method-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__card-title {
  font-size: 26px;
  color: #0A2342;
  margin-bottom: 15px;
  font-weight: 700;
}

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

.page-payment-methods__card-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #555555;
  display: flex;
  align-items: center;
}

.page-payment-methods__list-icon {
  color: #FFD700;
  font-size: 20px;
  margin-right: 10px;
  font-weight: bold;
}

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

.page-payment-methods__step-item {
  text-align: center;
  background: #1A3F6C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__step-icon {
  width: 60px;
  height: 60px;
  background: #FFD700;
  color: #0A2342;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__step-heading {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-payment-methods__step-item p {
  font-size: 16px;
  color: #e0e0e0;
}

/* Info Cards Grid (Limits & Fees) */
.page-payment-methods__info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__info-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
}

.page-payment-methods__info-card .page-payment-methods__card-title {
  color: #0A2342;
  font-size: 24px;
  margin-bottom: 15px;
}

.page-payment-methods__info-card p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 10px;
}

.page-payment-methods__info-card p strong {
  color: #0A2342;
}

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

.page-payment-methods__security-item {
  background: #1A3F6C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__security-heading {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-payment-methods__security-item p {
  font-size: 16px;
  color: #e0e0e0;
}

.page-payment-methods__security-item a {
  color: #FFD700;
  text-decoration: underline;
}

.page-payment-methods__security-item a:hover {
  color: #e6c200;
}

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

.page-payment-methods__channel-item {
  background: #fdfdfd;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-payment-methods__channel-heading {
  font-size: 24px;
  color: #0A2342;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-payment-methods__channel-item p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
}

.page-payment-methods__channel-item .page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 6px;
  background: #FFD700;
  color: #0A2342;
  border-color: #FFD700;
}

.page-payment-methods__channel-item .page-payment-methods__btn-secondary:hover {
  background: #e6c200;
  border-color: #e6c200;
  color: #0A2342;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
}

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

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

.page-payment-methods__faq-question:hover {
  background: #1A3F6C;
  border-color: #1A3F6C;
}

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

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

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: #FFD700;
  transform: rotate(180deg);
}

.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, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #f0f0f0;
  color: #333333;
  border-radius: 0 0 8px 8px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

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

  .page-payment-methods__hero-description {
    font-size: 18px;
  }

  .page-payment-methods__section-title {
    font-size: 32px;
  }

  .page-payment-methods__section-description {
    font-size: 16px;
  }

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

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

  .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-image img {
    border-radius: 8px;
  }

  .page-payment-methods__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-payment-methods__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-payment-methods__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__cta-button,
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 14px 25px;
    font-size: 17px;
  }
  
  .page-payment-methods__btn-center {
    max-width: 100% !important;
  }

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

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

  .page-payment-methods__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-payment-methods__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-payment-methods__feature-grid,
  .page-payment-methods__method-grid,
  .page-payment-methods__steps-grid,
  .page-payment-methods__info-cards-grid,
  .page-payment-methods__security-features,
  .page-payment-methods__support-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-payment-methods__feature-heading,
  .page-payment-methods__card-title,
  .page-payment-methods__step-heading,
  .page-payment-methods__security-heading,
  .page-payment-methods__channel-heading {
    font-size: 20px;
  }

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

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

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

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

  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-container,
  .page-payment-methods__hero-content,
  .page-payment-methods__hero-image,
  .page-payment-methods__hero-cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}