/* style/payment-methods.css */
/* Base styles */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #ffffff;
}

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  color: #ffffff; /* White text for dark brand color background */
  background-color: #26A9E0; /* Brand primary color */
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
}

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

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

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* General Section Styles */
.page-payment-methods__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000; /* Dark text for light background */
}

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

.page-payment-methods__intro-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__security-section,
.page-payment-methods__faq-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
}

.page-payment-methods__dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text for dark background */
}

.page-payment-methods__dark-bg .page-payment-methods__section-title,
.page-payment-methods__dark-bg .page-payment-methods__section-description {
  color: #ffffff;
}

.page-payment-methods__sub-section-title {
  font-size: 2em;
  text-align: center;
  margin: 60px 0 30px 0;
  color: #26A9E0;
}

.page-payment-methods__dark-bg .page-payment-methods__sub-section-title {
  color: #ffffff;
}

.page-payment-methods__guide-list {
  list-style: decimal;
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding-left: 40px;
  color: #333333;
  text-align: left;
}

.page-payment-methods__guide-list li {
  margin-bottom: 10px;
}

.page-payment-methods__guide-list li strong {
  color: #000000;
}

.page-payment-methods__guide-list li a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-payment-methods__guide-list li a:hover {
  color: #1a7fb2;
}

.page-payment-methods__paragraph {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: #555555;
}

.page-payment-methods__dark-bg .page-payment-methods__guide-list,
.page-payment-methods__dark-bg .page-payment-methods__paragraph {
  color: #f0f0f0;
}

.page-payment-methods__dark-bg .page-payment-methods__guide-list li strong {
  color: #ffffff;
}

.page-payment-methods__dark-bg .page-payment-methods__guide-list li a {
  color: #ffffff;
}

.page-payment-methods__dark-bg .page-payment-methods__guide-list li a:hover {
  color: #e0e0e0;
}

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

.page-payment-methods__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

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

.page-payment-methods__dark-bg .page-payment-methods__btn-secondary {
  color: #ffffff;
  border-color: #ffffff;
}

.page-payment-methods__dark-bg .page-payment-methods__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-payment-methods__btn-text {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-payment-methods__btn-text:hover {
  color: #1a7fb2;
}

.page-payment-methods__btn-text-dark {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-payment-methods__btn-text-dark:hover {
  color: #f0f0f0;
}

/* Image styles */
.page-payment-methods__image-full {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-payment-methods__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

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

.page-payment-methods__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #555555;
}

.page-payment-methods__card-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  color: #333333;
}

.page-payment-methods__card-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__card-list li::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
}

.page-payment-methods__dark-bg-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__dark-bg-card .page-payment-methods__card-title {
  color: #ffffff;
}

.page-payment-methods__dark-bg-card .page-payment-methods__card-text {
  color: #f0f0f0;
}

.page-payment-methods__dark-bg-card .page-payment-methods__card-list {
  color: #f0f0f0;
}

.page-payment-methods__dark-bg-card .page-payment-methods__card-list li::before {
  color: #ffffff;
}

.page-payment-methods__cta-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

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

.page-payment-methods__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__feature-icon {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  min-height: 200px; /* Enforce min image size */
}

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

.page-payment-methods__feature-text {
  color: #555555;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  overflow: hidden; /* For transition */
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf6fc; /* Lighter brand color */
  border-bottom: 1px solid #d0e8f6;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: #d0e8f6;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: #26A9E0;
  color: #ffffff;
  border-bottom-color: #26A9E0;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  color: #ffffff;
}

.page-payment-methods__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.8;
}

/* For details tag, hide default marker */
.page-payment-methods__faq-item summary {
  list-style: none;
}
.page-payment-methods__faq-item summary::-webkit-details-marker {
  display: none;
}


/* Contact CTA Section */
.page-payment-methods__contact-cta {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-payment-methods__flex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-payment-methods__contact-text {
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__sub-section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-payment-methods__hero-section {
    min-height: 400px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }

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

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

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-payment-methods__cta-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__intro-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__contact-cta {
    padding: 40px 0;
  }

  .page-payment-methods__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-payment-methods__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

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

  .page-payment-methods__guide-list {
    padding-left: 20px;
    text-align: left;
  }

  .page-payment-methods__paragraph {
    text-align: left;
  }

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

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

  .page-payment-methods__card-image,
  .page-payment-methods__feature-icon,
  .page-payment-methods__image-full {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px;
  }

  .page-payment-methods__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-payment-methods__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

/* Ensure all images are responsive and not smaller than 200px */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Content area images CSS dimensions lower bound */
.page-payment-methods__hero-image,
.page-payment-methods__image-full,
.page-payment-methods__card-image,
.page-payment-methods__feature-icon {
  min-width: 200px;
  min-height: 200px;
}

/* No filter on images */
.page-payment-methods img {
  filter: none;
}