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

.page-payment-methods__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  background-color: #0A2463;
  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;
  padding: 40px 20px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__hero-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #E3B505;
  line-height: 1.2;
}

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

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

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

.page-payment-methods__hero-button--primary {
  background-color: #E3B505;
  color: #0A2463;
  border: 2px solid #E3B505;
}

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

.page-payment-methods__hero-button--secondary {
  background-color: transparent;
  color: #E3B505;
  border: 2px solid #E3B505;
}

.page-payment-methods__hero-button--secondary:hover {
  background-color: rgba(227, 181, 5, 0.1);
  transform: translateY(-3px);
}

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

.page-payment-methods__introduction-section,
.page-payment-methods__deposit-options,
.page-payment-methods__withdrawal-options,
.page-payment-methods__details-pages,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-payment-methods__introduction-section {
  background-color: #f8f8f8;
}

.page-payment-methods__gcash-section {
  background-color: #0A2463;
  padding: 80px 0;
  color: #ffffff;
}

.page-payment-methods__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
}

.page-payment-methods__gcash-section .page-payment-methods__section-title {
  color: #E3B505;
}

.page-payment-methods__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-payment-methods__gcash-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-payment-methods__gcash-image {
  flex: 1;
  min-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__gcash-text-content {
  flex: 2;
  min-width: 300px;
}

.page-payment-methods__gcash-button {
  display: inline-block;
  background-color: #E3B505;
  color: #0A2463;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

.page-payment-methods__option-card,
.page-payment-methods__details-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

.page-payment-methods__option-icon {
  width: 250px; /* Ensure minimum 200px */
  height: 187px; /* Maintain aspect ratio for 250x187 (4:3) */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-payment-methods__option-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-payment-methods__option-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-payment-methods__option-button {
  display: inline-block;
  background-color: #0A2463;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods__option-button:hover {
  background-color: #1a3e7d;
  transform: translateY(-2px);
}

.page-payment-methods__disclaimer-text {
  font-size: 0.95em;
  color: #777777;
  text-align: center;
  margin-top: 40px;
  line-height: 1.5;
}

.page-payment-methods__details-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-payment-methods__details-title a {
  color: #0A2463;
  text-decoration: none;
}

.page-payment-methods__details-title a:hover {
  text-decoration: underline;
  color: #E3B505;
}

.page-payment-methods__details-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-payment-methods__details-button {
  display: inline-block;
  background-color: #E3B505;
  color: #0A2463;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-payment-methods__security-section {
  background-color: #f8f8f8;
}

.page-payment-methods__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap-reverse; /* Image on right, text on left for desktop */
}

.page-payment-methods__security-image {
  flex: 1;
  min-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__security-text-content {
  flex: 2;
  min-width: 300px;
}

.page-payment-methods__security-button {
  display: inline-block;
  background-color: #0A2463;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods__security-button:hover {
  background-color: #1a3e7d;
  transform: translateY(-3px);
}

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

.page-payment-methods__faq-accordion {
  margin-top: 40px;
  border-top: 1px solid #eeeeee;
}

.page-payment-methods__faq-item {
  border-bottom: 1px solid #eeeeee;
}

.page-payment-methods__faq-question {
  font-size: 1.2em;
  font-weight: 600;
  color: #0A2463;
  padding: 20px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  color: #E3B505;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.5em;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
}

.page-payment-methods__faq-question.active::after {
  content: '-';
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 0;
}

.page-payment-methods__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  padding: 10px 0 20px;
}

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

.page-payment-methods__cta-section {
  background-color: #0A2463;
  color: #ffffff;
  text-align: center;
}

.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: #E3B505;
}

.page-payment-methods__cta-section .page-payment-methods__section-text {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #E3B505;
  color: #0A2463;
  padding: 18px 40px;
  border-radius: 10px;
  font-size: 1.3em;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(227, 181, 5, 0.4);
}

.page-payment-methods__cta-button:hover {
  background-color: #f5c72e;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 25px rgba(227, 181, 5, 0.5);
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-payment-methods__gcash-content,
  .page-payment-methods__security-content {
    flex-direction: column;
    text-align: center;
  }

  .page-payment-methods__gcash-image,
  .page-payment-methods__security-image {
    width: 80%;
    margin-bottom: 30px;
  }

  .page-payment-methods__gcash-text-content,
  .page-payment-methods__security-text-content {
    text-align: center;
  }
}

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

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

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

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

  .page-payment-methods__hero-button {
    width: 100%;
    padding: 12px 20px;
  }

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

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

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

  .page-payment-methods__deposit-options,
  .page-payment-methods__withdrawal-options,
  .page-payment-methods__details-pages,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }

  .page-payment-methods__options-grid,
  .page-payment-methods__details-grid {
    grid-template-columns: 1fr;
  }

  /* Ensure images in content area do not overflow */
  .page-payment-methods__gcash-image,
  .page-payment-methods__security-image,
  .page-payment-methods__option-icon {
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .page-payment-methods__option-icon {
    width: 200px; /* Minimum width for small screens */
    height: 150px; /* Maintain aspect ratio */
  }

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

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

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

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

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

  .page-payment-methods__option-title,
  .page-payment-methods__details-title {
    font-size: 1.3em;
  }
}