/* style/payment-methods.css */
.page-payment-methods {
  color: #333333; /* Dark text for 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__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 40px 20px; /* Add some padding for smaller screens */
}

.page-payment-methods__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px; /* Max width for the content container */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.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); /* Slightly dim the background image for text readability */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff; /* White text on dimmed background */
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for better readability */
  border-radius: 10px;
}

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

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

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text on gold button */
  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; /* Slightly darker gold on hover */
  color: #6a0000;
}

.page-payment-methods__overview-section,
.page-payment-methods__methods-section,
.page-payment-methods__guide-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Deep red for main section titles */
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #FFD700;
}

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

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

.page-payment-methods__feature-card {
  background-color: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

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

.page-payment-methods__feature-icon {
  width: 200px; /* Minimum 200px */
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-payment-methods__feature-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 10px;
}

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

.page-payment-methods__method-category {
  margin-bottom: 50px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}

.page-payment-methods__category-title {
  font-size: 2em;
  color: #FFD700; /* Gold for category titles */
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__category-description {
  font-size: 1.05em;
  margin-bottom: 30px;
  line-height: 1.7;
  color: #444;
  text-align: center;
}

.page-payment-methods__method-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-payment-methods__method-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__method-logo {
  width: 300px; /* Minimum 200px */
  height: auto;
  max-height: 187px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-payment-methods__method-name {
  font-size: 1.3em;
  color: #8B0000;
  margin-bottom: 8px;
}

.page-payment-methods__method-details {
  font-size: 0.95em;
  color: #777;
}

.page-payment-methods__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-payment-methods__step-card {
  background-color: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-payment-methods__step-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 20px;
  text-align: center;
}

.page-payment-methods__step-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 25px;
}

.page-payment-methods__step-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #444;
}

.page-payment-methods__step-list li strong {
  color: #333;
}

.page-payment-methods__guide-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background-color: #FFD700;
  color: #8B0000;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

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

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

.page-payment-methods__security-item {
  text-align: center;
  padding: 20px;
  background-color: #fcfcfc;
  border-radius: 8px;
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-payment-methods__security-icon {
  width: 150px; /* Minimum 200px, but these are more illustrative, so smaller is allowed if it's an 'icon' type */
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

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

.page-payment-methods__security-item-text {
  font-size: 0.95em;
  color: #666;
}

.page-payment-methods__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

.page-payment-methods__faq-item {
  background-color: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-item:hover {
  background-color: #f5f5f5;
}

.page-payment-methods__faq-question {
  font-size: 1.2em;
  color: #8B0000;
  margin-bottom: 10px;
  position: relative;
  padding-right: 30px;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFD700;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-question::after {
  content: '-';
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #555;
  display: none; /* Hidden by default */
  padding-top: 10px;
  border-top: 1px dashed #eee;
  margin-top: 10px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  display: block; /* Shown when active */
}

.page-payment-methods__cta-section {
  background-color: #8B0000; /* Deep red background for CTA */
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 8px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

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

.page-payment-methods__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Subtle background image */
  z-index: 0;
}

.page-payment-methods__cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-payment-methods__cta-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for CTA title */
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
}

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text on gold button */
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

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

@media (max-width: 768px) {
  .page-payment-methods {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-payment-methods__hero-section {
    min-height: 400px;
    padding: 30px 15px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-payment-methods__overview-section,
  .page-payment-methods__methods-section,
  .page-payment-methods__guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    margin: 30px auto;
    padding: 15px;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__section-intro {
    font-size: 1em;
  }
  .page-payment-methods__features-grid,
  .page-payment-methods__method-list,
  .page-payment-methods__guide-steps,
  .page-payment-methods__security-features,
  .page-payment-methods__faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__feature-icon,
  .page-payment-methods__method-logo,
  .page-payment-methods__security-icon {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__feature-title {
    font-size: 1.3em;
  }
  .page-payment-methods__category-title {
    font-size: 1.8em;
  }
  .page-payment-methods__step-title {
    font-size: 1.6em;
  }
  .page-payment-methods__cta-title {
    font-size: 2em;
  }
  .page-payment-methods__cta-text {
    font-size: 1em;
  }
  .page-payment-methods__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure all images within page-payment-methods do not cause horizontal scrolling */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__hero-image {
    filter: brightness(0.6);
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__cta-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-content,
  .page-payment-methods__cta-content {
    padding: 15px;
  }
}