.page-payment-methods {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A2463; /* Dark blue background for hero */
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly transparent to let content stand out */
  z-index: 0;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

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

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

.page-payment-methods__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure buttons are not too small */
}

.page-payment-methods__button--primary {
  background-color: #FFD700;
  color: #0A2463;
}

.page-payment-methods__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-payment-methods__button--secondary {
  background-color: #0A2463;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-payment-methods__button--secondary:hover {
  background-color: #1a3c7a;
  transform: translateY(-2px);
}

/* General Section Styling */
.page-payment-methods__overview-section,
.page-payment-methods__deposit-guide,
.page-payment-methods__withdrawal-guide,
.page-payment-methods__security-section,
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-payment-methods__overview-section,
.page-payment-methods__withdrawal-guide,
.page-payment-methods__faq-section {
  background-color: #ffffff;
}

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

.page-payment-methods__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555;
}

/* Features Grid */
.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-card {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__feature-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px;
}

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

.page-payment-methods__feature-description {
  color: #666;
  font-size: 1em;
}

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

.page-payment-methods__step-card {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #FFD700;
}

.page-payment-methods__step-title {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__step-description {
  color: #666;
}

.page-payment-methods__step-description a {
  color: #0A2463;
  text-decoration: underline;
  font-weight: bold;
}

.page-payment-methods__step-description a:hover {
  color: #FFD700;
}

.page-payment-methods__info-block {
  background-color: #0A2463;
  color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  margin-top: 50px;
  text-align: center;
}

.page-payment-methods__info-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-payment-methods__info-text {
  font-size: 1.1em;
  margin-bottom: 25px;
  line-height: 1.8;
}

/* Security Section */
.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__security-item {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__security-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px;
}

.page-payment-methods__security-heading {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__security-text {
  color: #666;
}

.page-payment-methods__call-to-action {
  text-align: center;
  font-size: 1.2em;
  margin-top: 50px;
  color: #0A2463;
}

.page-payment-methods__call-to-action a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  background-color: #0A2463;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-payment-methods__call-to-action a:hover {
  background-color: #1a3c7a;
}

/* FAQ Section */
.page-payment-methods__faq-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__faq-question {
  font-size: 1.3em;
  color: #0A2463;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__faq-answer {
  color: #555;
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.2em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 60px 20px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-guide,
  .page-payment-methods__withdrawal-guide,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section {
    padding: 40px 0;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-intro {
    font-size: 0.95em;
  }
  .page-payment-methods__feature-card,
  .page-payment-methods__step-card,
  .page-payment-methods__security-item {
    padding: 25px 20px;
  }
  .page-payment-methods__feature-icon,
  .page-payment-methods__security-icon {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area images do not cause horizontal scroll */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__hero-image {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-payment-methods__feature-title,
  .page-payment-methods__step-title,
  .page-payment-methods__security-heading,
  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }
  .page-payment-methods__info-title {
    font-size: 1.5em;
  }
  .page-payment-methods__info-text {
    font-size: 1em;
  }
}