/* style/payment-methods.css */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #1a1a2e, so use light text */
  background-color: #1a1a2e; /* Inherited from shared, but defining for clarity */
}

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

.page-payment-methods__section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  text-align: center;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-payment-methods__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

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

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

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

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-payment-methods__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-payment-methods__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #C30808;
  color: #ffffff;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-payment-methods__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-payment-methods__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-payment-methods__features-grid,
.page-payment-methods__methods-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__method-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
}

.page-payment-methods__feature-card h3,
.page-payment-methods__method-card h3 {
  color: #FFFF00;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-payment-methods__feature-card p,
.page-payment-methods__method-card p {
  color: #f0f0f0;
}

.page-payment-methods__method-icon {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-payment-methods__method-details {
  list-style-type: disc;
  margin-left: 20px;
  margin-top: 15px;
  color: #f0f0f0;
}

.page-payment-methods__method-details li {
  margin-bottom: 5px;
}

.page-payment-methods__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}

.page-payment-methods__guide-step {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-payment-methods__step-number {
  font-size: 2em;
  font-weight: bold;
  color: #FFFF00; /* Register/Login font color */
  margin-bottom: 10px;
  background-color: #C30808; /* Register/Login color */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.page-payment-methods__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__important-notes {
  background-color: #125c2f; /* A darker shade of the main color */
}

.page-payment-methods__notes-list {
  list-style-type: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-payment-methods__notes-list li {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #FFFF00; /* Accent color */
  border-radius: 8px;
  color: #ffffff;
  font-size: 1.1em;
}

.page-payment-methods__notes-list li strong {
  color: #FFFF00;
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-payment-methods__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00;
  background-color: #017439;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-payment-methods__faq-item summary:hover {
  background-color: #005a2e;
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
}

.page-payment-methods__cta-bottom {
  padding: 80px 0;
  background-color: #C30808; /* Register/Login color */
  color: #ffffff;
}

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

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

/* 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 {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-payment-methods__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__features-grid,
  .page-payment-methods__methods-grid,
  .page-payment-methods__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__feature-card,
  .page-payment-methods__method-card,
  .page-payment-methods__guide-step,
  .page-payment-methods__faq-item {
    padding: 20px;
  }
  .page-payment-methods__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-payment-methods__faq-answer {
    padding: 15px 20px;
  }
  .page-payment-methods__cta-title {
    font-size: 2em;
  }
  .page-payment-methods__cta-description {
    font-size: 1em;
  }
  /* Mobile image and video responsive adaptation */
  .page-payment-methods img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods video,
  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-payment-methods__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-payment-methods__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@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;
  }
  .page-payment-methods__cta-title {
    font-size: 1.6em;
  }
}

/* Ensure no CSS filters on images */
.page-payment-methods img {
  filter: none; /* Explicitly disable any filters */
}

/* Additional color contrast fixes */
.page-payment-methods p a, .page-payment-methods li a {
  color: #FFFF00; /* Ensure link text is visible on dark backgrounds */
  text-decoration: underline;
}

.page-payment-methods p a:hover, .page-payment-methods li a:hover {
  color: #C30808;
}