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

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-payment-methods__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  z-index: 1;
}

.page-payment-methods__hero-content {
  background-color: rgba(0, 51, 102, 0.7); /* Semi-transparent main color background */
  padding: 30px;
  border-radius: 10px;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  color: #FFCC00; /* Accent color for title */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #FFCC00; /* Accent color for CTA */
  color: #003366; /* Main color for text on CTA */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #003366; /* Main color for section titles */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-payment-methods__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFCC00; /* Accent underline */
  border-radius: 2px;
}

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

.page-payment-methods__overview-section,
.page-payment-methods__deposit-guide-section,
.page-payment-methods__withdrawal-guide-section,
.page-payment-methods__security-section,
.page-payment-methods__local-options-section,
.page-payment-methods__faq-section,
.page-payment-methods__responsible-gaming-section,
.page-payment-methods__related-links-section,
.page-payment-methods__cta-bottom-section {
  padding: 60px 0;
  background-color: #f9f9f9; /* Light background for sections */
  margin-bottom: 20px;
}

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

.page-payment-methods__features-grid,
.page-payment-methods__guide-steps,
.page-payment-methods__security-features,
.page-payment-methods__local-methods-grid,
.page-payment-methods__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__feature-card,
.page-payment-methods__step-card,
.page-payment-methods__security-item,
.page-payment-methods__method-card,
.page-payment-methods__link-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-payment-methods__feature-icon,
.page-payment-methods__security-icon,
.page-payment-methods__method-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Ensure images are not too small */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-payment-methods__feature-title,
.page-payment-methods__step-title,
.page-payment-methods__security-item-title,
.page-payment-methods__method-title,
.page-payment-methods__link-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

.page-payment-methods__feature-text,
.page-payment-methods__step-text,
.page-payment-methods__security-item-text,
.page-payment-methods__method-text,
.page-payment-methods__link-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-payment-methods__note {
  background-color: #fff8e1; /* Light yellow background */
  border-left: 5px solid #FFCC00; /* Accent color border */
  padding: 20px 30px;
  margin-top: 40px;
  border-radius: 8px;
  color: #333333;
}

.page-payment-methods__note strong {
  color: #003366;
}

.page-payment-methods__note a {
  color: #003366;
  text-decoration: underline;
}

.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #003366;
  padding: 20px 30px;
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #f0f8ff;
  border-bottom: 1px solid #e0e0e0;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  padding: 0 30px 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

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

.page-payment-methods__related-links-section {
  background-color: #e6f7ff; /* Lighter blue background */
}

.page-payment-methods__link-title a {
  color: #003366;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-payment-methods__link-title a:hover {
  color: #FFCC00;
}

.page-payment-methods__view-details-button {
  display: inline-block;
  background-color: #003366; /* Main color for details button */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-payment-methods__view-details-button:hover {
  background-color: #002244;
}

.page-payment-methods__cta-bottom-section {
  background-color: #003366; /* Main color background */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

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

.page-payment-methods__cta-bottom-section .page-payment-methods__section-title::after {
  background-color: #FFCC00;
}

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

.page-payment-methods__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-payment-methods__cta-button--primary {
  background-color: #FFCC00;
  color: #003366;
}

.page-payment-methods__cta-button--primary:hover {
  background-color: #e6b800;
}

.page-payment-methods__cta-button--secondary {
  background-color: #CC0000; /* Emphasis color */
  color: #ffffff;
}

.page-payment-methods__cta-button--secondary:hover {
  background-color: #a30000;
}

/* 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 {
    min-height: 450px;
    padding: 40px 15px;
  }

  .page-payment-methods__hero-content {
    padding: 20px;
  }

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

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

  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

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

  .page-payment-methods__features-grid,
  .page-payment-methods__guide-steps,
  .page-payment-methods__security-features,
  .page-payment-methods__local-methods-grid,
  .page-payment-methods__links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-payment-methods__feature-icon,
  .page-payment-methods__security-icon,
  .page-payment-methods__method-icon {
    max-width: 100%;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
    height: auto; /* For responsive images */
    margin-bottom: 15px;
  }

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

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

  .page-payment-methods__faq-question::after {
    right: 20px;
  }

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

  .page-payment-methods__cta-bottom-section {
    padding: 60px 15px;
  }

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

  /* Ensure all content area images are responsive and not smaller than 200px */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
    min-width: 200px; 
    min-height: 200px; 
  }
}

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

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

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