/* style/payment-methods.css */
.page-payment-methods {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px);
}

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

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px; /* Adjust as needed, hero-image will fill space */
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Ensure content has enough space */
}

.page-payment-methods__hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  max-width: 800px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #000080;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-payment-methods__hero-button--secondary {
  background-color: #000080;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(0, 0, 128, 0.4);
}

.page-payment-methods__hero-button--secondary:hover {
  background-color: #0000a6;
  border-color: #ffe033;
}

.page-payment-methods__introduction-section,
.page-payment-methods__deposit-methods-section,
.page-payment-methods__withdrawal-methods-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__more-info-section,
.page-payment-methods__cta-bottom-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections */
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-payment-methods__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  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: #FFD700;
  border-radius: 2px;
}

.page-payment-methods__section-paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #e0e0e0;
}

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

.page-payment-methods__method-card,
.page-payment-methods__feature-item,
.page-payment-methods__detail-card {
  background-color: rgba(0, 0, 128, 0.4); /* Dark blue with transparency */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__method-card:hover,
.page-payment-methods__feature-item:hover,
.page-payment-methods__detail-card:hover {
  transform: translateY(-5px);
  background-color: rgba(0, 0, 128, 0.6);
}

.page-payment-methods__method-icon,
.page-payment-methods__feature-icon {
  width: 200px;
  height: 150px; /* Ensure minimum size 200x200 for content images */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
}

.page-payment-methods__method-title,
.page-payment-methods__feature-title,
.page-payment-methods__detail-title {
  font-size: 1.7rem;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

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

.page-payment-methods__method-description,
.page-payment-methods__feature-description,
.page-payment-methods__detail-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #c0c0c0;
  flex-grow: 1;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
  width: 100%;
}

.page-payment-methods__method-details li {
  margin-bottom: 8px;
  color: #e0e0e0;
  font-size: 0.95rem;
}

.page-payment-methods__method-details li strong {
  color: #FFD700;
}

.page-payment-methods__call-to-action {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 10px;
  border: 1px solid #FFD700;
}

.page-payment-methods__call-to-action-text {
  font-size: 1.3rem;
  color: #FFD700;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-payment-methods__main-button {
  display: inline-block;
  background-color: #FFD700;
  color: #000080;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-payment-methods__secondary-button {
  display: inline-block;
  background-color: transparent;
  color: #FFD700;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  border: 2px solid #FFD700;
}

.page-payment-methods__secondary-button:hover {
  background-color: #FFD700;
  color: #000080;
  transform: translateY(-3px);
}

.page-payment-methods__faq-item {
  background-color: rgba(0, 0, 128, 0.3); /* Dark blue with transparency */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
  font-size: 1.4rem;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-payment-methods__faq-answer {
  font-size: 1rem;
  line-height: 1.7;
  color: #e0e0e0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
  padding-top: 0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 200px; /* Adjust based on content */
  padding-top: 15px;
}

.page-payment-methods__detail-button {
  display: inline-block;
  background-color: #FFD700;
  color: #000080;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-payment-methods__hero-content {
    padding: 80px 20px;
    min-height: 300px;
  }

  .page-payment-methods__hero-title {
    font-size: 2.5rem;
  }

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

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

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

  .page-payment-methods__section-paragraph {
    font-size: 1rem;
  }

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

  .page-payment-methods__method-icon,
  .page-payment-methods__feature-icon {
    width: 200px;
    height: 150px; /* Ensure minimum size for mobile */
  }

  .page-payment-methods__call-to-action-text {
    font-size: 1.1rem;
  }

  .page-payment-methods__main-button,
  .page-payment-methods__secondary-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }

  /* Ensure all images within main content are responsive and not smaller than 200px */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px;
    object-fit: contain; /* Adjust as needed for specific images */
  }
  .page-payment-methods__hero-image { /* Hero image should fill width */
    min-width: unset;
    min-height: unset;
    object-fit: cover;
  }
}