/* style/payment-methods.css */

/* Base styles for the page */
.page-payment-methods {
  background-color: #08160F; /* Background color */
  color: #F2FFF6; /* Main text color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-payment-methods__section-title {
  color: #F2C14E; /* Gold color for main titles */
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #A7D9B8; /* Secondary text color */
  text-align: justify;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 50px;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-payment-methods__hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 20px;
  background: linear-gradient(0deg, rgba(8, 22, 15, 0.9) 0%, rgba(8, 22, 15, 0) 100%);
  text-align: center;
  box-sizing: border-box;
}

.page-payment-methods__main-title {
  color: #F2FFF6;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-payment-methods__hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

/* Intro Section */
.page-payment-methods__intro-section {
  padding: 60px 0;
  text-align: center;
}

/* Methods Overview Section */
.page-payment-methods__methods-overview-section {
  padding: 60px 0;
}

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

.page-payment-methods__card {
  background-color: #11271B; /* Card Background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-payment-methods__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.page-payment-methods__card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 150px;
}

.page-payment-methods__card-title {
  color: #F2FFF6; /* Main text color */
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__card-description {
  color: #A7D9B8; /* Secondary text color */
  font-size: 0.95rem;
}

/* Guide Sections */
.page-payment-methods__guide-section {
  padding: 60px 0;
}

.page-payment-methods__guide-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-payment-methods__guide-list li {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #F2FFF6;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__guide-list li:before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #11A84E; /* Main color */
  color: #F2FFF6;
  font-weight: bold;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-right: 15px;
  font-size: 1rem;
}

.page-payment-methods__list-step {
  font-weight: bold;
  color: #F2C14E; /* Gold color */
  margin-right: 5px;
}

.page-payment-methods__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 150px;
}

/* Security Section */
.page-payment-methods__security-section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__security-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.page-payment-methods__security-list li {
  background-color: #0A4B2C; /* Deep Green */
  border-left: 5px solid #11A84E;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  color: #F2FFF6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__list-item {
  font-weight: bold;
  color: #F2C14E;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 60px 0;
}

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

.page-payment-methods__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6;
  font-size: 1.1rem;
  background-color: #11271B;
  list-style: none; /* For details summary */
  user-select: none;
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  color: #11A84E;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  padding: 0 20px 20px;
  color: #A7D9B8;
  font-size: 1rem;
}

.page-payment-methods__faq-answer p {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-payment-methods__final-cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
  border-top: 1px solid #2E7A4E;
}

.page-payment-methods__final-cta-section .page-payment-methods__section-title {
  color: #F2FFF6;
}

.page-payment-methods__final-cta-section .page-payment-methods__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

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

.page-payment-methods__btn-secondary:hover {
  background: #11A84E;
  color: #F2FFF6;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-payment-methods__container,
  .page-payment-methods__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__hero-section {
    margin-bottom: 30px;
  }

  .page-payment-methods__hero-image-wrapper {
    max-height: 300px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-payment-methods__hero-description {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin-bottom: 20px;
  }

  .page-payment-methods__cta-button,
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

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

  .page-payment-methods__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 25px;
  }

  .page-payment-methods__intro-section,
  .page-payment-methods__methods-overview-section,
  .page-payment-methods__guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__final-cta-section {
    padding: 40px 0;
  }

  .page-payment-methods__cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__card-image {
    max-width: 180px;
  }

  .page-payment-methods__guide-list li {
    font-size: 1rem;
    padding: 15px;
  }

  .page-payment-methods__guide-list li:before {
    width: 25px;
    height: 25px;
    font-size: 0.9rem;
    margin-right: 10px;
  }

  .page-payment-methods__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 30px auto;
  }

  .page-payment-methods__security-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-payment-methods__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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

  .page-payment-methods__video-section {
    padding-top: 10px !important; /* body handles header offset, this is just for small top spacing */
  }

  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods video,
  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all images are responsive */
  .page-payment-methods img {
    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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Contrast safety for specific elements if needed, though main colors are already dark background/light text */
.page-payment-methods__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-payment-methods__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}