.page-payment-methods {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #1A237E;
  padding: 60px 0;
}

.page-payment-methods__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 800px;
}

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

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

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A237E;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #1A237E;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-payment-methods__overview-section,
.page-payment-methods__methods-section,
.page-payment-methods__detail-pages-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 80px 0;
}

.page-payment-methods__overview-section {
  background-color: #f9f9f9;
}

.page-payment-methods__overview-image {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__method-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-payment-methods__card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-payment-methods__card-button {
  display: inline-block;
  background-color: #1A237E;
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods__card-button:hover {
  background-color: #0d125e;
  transform: translateY(-2px);
}

.page-payment-methods__detail-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-payment-methods__detail-item {
  background-color: #f0f3f8;
  border-left: 5px solid #FFD700;
  padding: 25px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-payment-methods__detail-title {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-payment-methods__detail-title a {
  color: #1A237E;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-payment-methods__detail-title a:hover {
  color: #FFD700;
}

.page-payment-methods__detail-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-payment-methods__detail-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A237E;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods__detail-button:hover {
  background-color: #e5c100;
  transform: translateY(-2px);
}

.page-payment-methods__security-section {
  background-color: #1A237E;
  color: #ffffff;
}

.page-payment-methods__security-section .page-payment-methods__section-title {
  color: #FFD700;
}

.page-payment-methods__security-section .page-payment-methods__section-description {
  color: #f0f0f0;
}

.page-payment-methods__security-image {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-section {
  background-color: #f9f9f9;
}

.page-payment-methods__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
}

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #1A237E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-payment-methods__cta-section {
  text-align: center;
  background: linear-gradient(135deg, #1A237E, #3f4a9b);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.page-payment-methods__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A237E;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-bottom: 40px;
}

.page-payment-methods__cta-button:hover {
  background-color: #e5c100;
  transform: translateY(-5px);
}

.page-payment-methods__cta-image {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

  .page-payment-methods__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .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__section-title {
    font-size: 1.8em;
  }

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

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

  .page-payment-methods__method-card {
    padding: 25px;
  }

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

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

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

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

  .page-payment-methods__cta-description {
    font-size: 1em;
  }

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

  .page-payment-methods__hero-image,
  .page-payment-methods__overview-image,
  .page-payment-methods__security-image,
  .page-payment-methods__cta-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content images do not overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }

  .page-payment-methods {
    overflow-x: hidden;
  }
}

@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__cta-title {
    font-size: 1.8em;
  }

  .page-payment-methods__hero-section,
  .page-payment-methods__overview-section,
  .page-payment-methods__methods-section,
  .page-payment-methods__detail-pages-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }

  .page-payment-methods__hero-container {
    padding: 15px;
  }

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

  .page-payment-methods__hero-image {
    margin-bottom: 20px;
  }

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