/* style/payment-methods.css */

/* Body background is dark green #08160F from shared.css, so text color should be light */
.page-payment-methods {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.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;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background-color: #08160F;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.2; /* Subtle overlay */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(17, 39, 27, 0.7); /* Card B G with transparency */
  border-radius: 10px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-payment-methods__description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-payment-methods__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

/* General Section Styling */
.page-payment-methods__section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-payment-methods__dark-bg {
  background-color: #11271B; /* Card B G */
  color: #F2FFF6;
}

.page-payment-methods__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-payment-methods__note-text {
  font-style: italic;
  color: #A7D9B8;
  margin-top: 30px;
}

/* Why Choose Section */
.page-payment-methods__grid-3-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(42, 209, 111, 0.4);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: contain; /* Use contain to avoid cropping for diverse icons */
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

/* Payment Methods List */
.page-payment-methods__method-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__method-item {
  text-align: left;
}

.page-payment-methods__method-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-payment-methods__method-title {
  font-size: 1.8rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-payment-methods__method-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-payment-methods__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__feature-list li {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-payment-methods__feature-list li::before {
  content: '✔';
  color: #2AD16F; /* Bright green checkmark */
  position: absolute;
  left: 0;
  top: 0;
}

/* Guide Sections */
.page-payment-methods__step-list {
  list-style: decimal;
  padding-left: 25px;
  color: #F2FFF6; /* Text Main */
  font-size: 1.1rem;
  margin-top: 30px;
}

.page-payment-methods__step-list li {
  margin-bottom: 15px;
}

.page-payment-methods__step-list li strong {
  color: #2AD16F; /* Bright green for step numbers */
}

.page-payment-methods__guide-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Transaction Table */
.page-payment-methods__table-responsive {
  overflow-x: auto;
  width: 100%;
  margin-top: 30px;
}

.page-payment-methods__transaction-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  min-width: 700px; /* Ensure table is not too narrow on smaller desktops */
}

.page-payment-methods__transaction-table th,
.page-payment-methods__transaction-table td {
  border: 1px solid #2E7A4E; /* Border */
  padding: 15px;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}

.page-payment-methods__transaction-table th {
  background-color: #0A4B2C; /* Deep Green */
  font-weight: 600;
  color: #F2FFF6;
}

.page-payment-methods__transaction-table tr:nth-child(even) {
  background-color: #11271B; /* Card B G */
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
}

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
}

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

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

.page-payment-methods__faq-question .page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #2AD16F;
}

.page-payment-methods__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #2E7A4E;
}

/* Conclusion Section */
.page-payment-methods__conclusion-section {
  text-align: center;
}

.page-payment-methods__cta-group {
  margin-top: 40px;
  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;
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  border: 2px solid #2AD16F;
  color: #2AD16F;
  box-shadow: none;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    padding: 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-payment-methods__description {
    font-size: 1.1rem;
  }

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

  .page-payment-methods__grid-3-columns {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods__section {
    padding: 40px 0;
  }

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

  .page-payment-methods__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }

  .page-payment-methods__hero-content {
    padding: 10px;
  }

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

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

  .page-payment-methods__cta-button,
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }

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

  .page-payment-methods__grid-3-columns,
  .page-payment-methods__method-list {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__card-image,
  .page-payment-methods__method-image,
  .page-payment-methods__guide-image,
  .page-payment-methods__security-image,
  .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,
  .page-payment-methods__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-payment-methods__table-responsive {
    width: calc(100% + 30px); /* Account for padding */
    margin-left: -15px;
    margin-right: -15px;
    overflow-x: auto;
  }

  .page-payment-methods__transaction-table {
    min-width: 600px; /* Ensure table is still readable */
  }

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

  .page-payment-methods__faq-answer {
    font-size: 0.95rem;
    padding: 15px;
  }

  .page-payment-methods p,
  .page-payment-methods li,
  .page-payment-methods__card-text,
  .page-payment-methods__method-description {
    font-size: 0.95rem;
  }
}