/* style/payment-methods.css */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-payment-methods__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

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

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

.page-payment-methods__hero-cta-buttons,
.page-payment-methods__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-payment-methods__btn-register {
  background: #C30808;
  color: #FFFF00;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__btn-register:hover {
  background-color: #a00606;
}

.page-payment-methods__btn-login {
  background: #C30808;
  color: #FFFF00;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__btn-login:hover {
  background-color: #a00606;
}

.page-payment-methods__btn-primary {
  background: #017439;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-payment-methods__btn-primary:hover {
  background-color: #005a2d;
}

.page-payment-methods__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #017439;
}

.page-payment-methods__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for dark body background */
  text-align: justify;
}

.page-payment-methods__introduction-section .page-payment-methods__section-title {
  color: #ffffff;
}
.page-payment-methods__introduction-section .page-payment-methods__section-text {
  color: #f0f0f0;
}

.page-payment-methods__deposit-methods-section .page-payment-methods__section-title {
  color: #ffffff;
}

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

.page-payment-methods__card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark body */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Light text on dark card */
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

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

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

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

.page-payment-methods__card-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-payment-methods__dark-section {
  background: #017439; /* Brand color as background */
  color: #ffffff; /* White text on brand color */
  padding: 80px 20px;
}

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

.page-payment-methods__dark-section .page-payment-methods__section-text {
  color: #f0f0f0;
}

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

.page-payment-methods__feature-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

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

.page-payment-methods__feature-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #ffffff;
}

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

.page-payment-methods__feature-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #f0f0f0;
}

.page-payment-methods__feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFFF00; /* Yellow checkmark for contrast */
  font-weight: bold;
}

.page-payment-methods__security-section .page-payment-methods__section-title {
  color: #ffffff;
}

.page-payment-methods__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-payment-methods__security-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.page-payment-methods__security-text-block {
  width: 50%;
}

.page-payment-methods__security-text-block .page-payment-methods__section-text {
  color: #f0f0f0;
}

.page-payment-methods__faq-section .page-payment-methods__section-title {
  color: #ffffff;
}

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

.page-payment-methods__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background: #017439; /* Brand color for question background */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFFF00; /* Yellow toggle for contrast */
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg); /* Plus sign becomes cross */
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px 30px;
}

.page-payment-methods__faq-answer p {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-payment-methods__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: #ffffff;
}

.page-payment-methods__cta-section .page-payment-methods__section-text {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.2em;
  }
  .page-payment-methods__section-title {
    font-size: 2.2em;
  }
  .page-payment-methods__security-content {
    flex-direction: column;
  }
  .page-payment-methods__security-image,
  .page-payment-methods__security-text-block {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    height: 500px;
  }
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-cta-buttons,
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__btn-register,
  .page-payment-methods__btn-login,
  .page-payment-methods__btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-payment-methods__content-area {
    padding: 40px 15px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-text {
    font-size: 0.95em;
  }
  .page-payment-methods__cards-grid,
  .page-payment-methods__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__card,
  .page-payment-methods__feature-item {
    padding: 20px;
  }
  .page-payment-methods__card-title {
    font-size: 1.5em;
  }
  .page-payment-methods__feature-title {
    font-size: 1.4em;
  }
  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-payment-methods__faq-title {
    font-size: 1.1em;
  }
  .page-payment-methods__faq-answer {
    padding: 0 20px;
  }
  .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    padding: 15px 20px;
  }

  /* Image/Video responsive fix */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods video,
  .page-payment-methods__video {
    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__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-payment-methods__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-payment-methods__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-payment-methods__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-title {
    font-size: 1.6em;
  }
  .page-payment-methods__card-title {
    font-size: 1.3em;
  }
  .page-payment-methods__feature-title {
    font-size: 1.2em;
  }
}