/* style/payment-methods.css */
.page-payment-methods {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Main text color from custom palette */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  border-radius: 12px; /* Apply border-radius to image wrapper */
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 15px;
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 5vw, 3.2em);
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-payment-methods__intro-text {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__btn {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
  min-width: 150px;
}

.page-payment-methods__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn--primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__btn--secondary {
  background: transparent;
  color: #2AD16F; /* A lighter shade of primary for contrast */
  border: 2px solid #2AD16F;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn--secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
}

.page-payment-methods__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-payment-methods__section-description {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 40px;
}

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

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

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 250px; /* Ensure icon is not too large */
  height: auto;
  margin: 0 auto 20px; /* Center image */
  object-fit: contain;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__method-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__method-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

.page-payment-methods__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-payment-methods__guide-step {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #2AD16F; /* Accent color */
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.page-payment-methods__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #2AD16F; /* Accent color */
  flex-shrink: 0;
  line-height: 1;
}

.page-payment-methods__step-content {
  flex-grow: 1;
}

.page-payment-methods__step-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-payment-methods__step-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-payment-methods__image-illustration {
  margin-top: 50px;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 12px;
}

.page-payment-methods__guide-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__note-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-payment-methods__note-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-left: 5px solid #F2C14E; /* Gold accent */
}

.page-payment-methods__note-heading {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-payment-methods__note-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-payment-methods__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border */
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
  list-style: none; /* For details/summary */
}

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

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom: 1px solid #2E7A4E; /* Border */
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #2AD16F; /* Accent color */
  flex-shrink: 0;
}

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

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

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

.page-payment-methods__cta-contact {
  margin-top: 50px;
  padding: 30px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
}

.page-payment-methods__contact-prompt {
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 25px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-section {
    padding-bottom: 40px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 4.5vw, 2.8em);
  }
  .page-payment-methods__section {
    padding: 40px 20px;
  }
  .page-payment-methods__methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-payment-methods__method-card {
    padding: 25px;
  }
  .page-payment-methods__guide-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
  }
  .page-payment-methods__step-number {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 10px 15px 30px;
  }
  .page-payment-methods__hero-image-wrapper {
    max-height: 400px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
  }
  .page-payment-methods__intro-text {
    font-size: 1em;
  }
  .page-payment-methods__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__btn {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-payment-methods__section,
  .page-payment-methods__method-card,
  .page-payment-methods__guide-step,
  .page-payment-methods__note-item,
  .page-payment-methods__faq-item,
  .page-payment-methods__cta-contact {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }
  .page-payment-methods__hero-image-wrapper, 
  .page-payment-methods__image-illustration {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }
  .page-payment-methods__hero-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-payment-methods__hero-image,
  .page-payment-methods__guide-img,
  .page-payment-methods__method-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
    object-fit: cover;
  }
  .page-payment-methods__hero-image {
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-section {
    padding-bottom: 20px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }
  .page-payment-methods__section-title {
    font-size: clamp(1.4em, 6.5vw, 1.9em);
  }
}