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

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

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #f0f0f0; /* Fallback background */
  padding: 0; /* Hero content handles its own padding */
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-payment-methods__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-payment-methods__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px 40px;
  border-radius: 10px;
  max-width: 90%;
  box-sizing: border-box;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-payment-methods__hero-button:hover {
  background-color: #e6c200;
  color: #6a0000;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page-payment-methods__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__why-choose-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section,
.page-payment-methods__related-links-section {
  padding: 80px 0;
}

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

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

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

.page-payment-methods__feature-card:hover,
.page-payment-methods__method-card:hover {
  transform: translateY(-10px);
}

.page-payment-methods__feature-icon,
.page-payment-methods__method-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
  margin: 0 auto 20px;
  border-radius: 5px;
}

.page-payment-methods__feature-title,
.page-payment-methods__method-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

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

.page-payment-methods__button {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  background-color: #8B0000;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-payment-methods__button:hover {
  background-color: #6a0000;
}

.page-payment-methods__security-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-payment-methods__security-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  text-align: left;
  font-size: 1.1em;
  color: #555555;
}

.page-payment-methods__security-item {
  background: url('/path/to/check-icon.png') no-repeat left center;
  background-size: 24px;
  padding-left: 35px;
  margin-bottom: 15px;
  position: relative;
}

.page-payment-methods__security-item::before {
  content: '✓'; /* Using a simple checkmark for now */
  color: #FFD700;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-payment-methods__security-text {
  font-size: 1.1em;
  text-align: center;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

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

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
}

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 10px;
}

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

.page-payment-methods__cta-section {
  background-color: #8B0000;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

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

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

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

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
}

.page-payment-methods__cta-button:hover {
  background-color: #e6c200;
  color: #6a0000;
}

.page-payment-methods__cta-button--secondary {
  background-color: #ffffff;
  color: #8B0000;
}

.page-payment-methods__cta-button--secondary:hover {
  background-color: #f0f0f0;
  color: #6a0000;
}

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

.page-payment-methods__details-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}

.page-payment-methods__details-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
}

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

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

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

.page-payment-methods__details-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-payment-methods__details-button:hover {
  background-color: #e6c200;
}

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

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

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

@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-content {
    padding: 20px 30px;
  }

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

  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid,
  .page-payment-methods__details-list {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__security-details {
    flex-direction: column;
  }

  /* Ensure content images are responsive and do not overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
    object-fit: contain;
  }
  .page-payment-methods__hero-image {
    min-height: 300px;
  }
}

@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__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-payment-methods__why-choose-section,
  .page-payment-methods__deposit-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section,
  .page-payment-methods__related-links-section {
    padding: 40px 0;
  }

  .page-payment-methods__feature-card,
  .page-payment-methods__method-card,
  .page-payment-methods__faq-item,
  .page-payment-methods__details-card {
    padding: 20px;
  }

  .page-payment-methods__feature-title,
  .page-payment-methods__method-title {
    font-size: 1.5em;
  }

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