/* General styles for the payment methods page */
.page-payment-methods {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  background-color: #2F6BFF; /* Main color */
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
}

.page-payment-methods__hero-image {
  width: 100%;
  max-width: 1200px; /* Actual display width in a 1200px container */
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 20px; /* Space between image and content */
}

.page-payment-methods__hero-content {
  text-align: center;
  color: #ffffff;
  padding: 0 20px 40px;
  max-width: 800px;
}

.page-payment-methods__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

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

/* Section Titles */
.page-payment-methods__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-payment-methods__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2F6BFF; /* Main color */
  border-radius: 2px;
}

/* Text Block */
.page-payment-methods__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
}

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-payment-methods__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF; /* Main color */
  margin-left: 15px;
}

.page-payment-methods__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

/* Introduction Section */
.page-payment-methods__introduction-section {
  padding: 40px 0;
  background-color: #ffffff; /* Card BG */
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Deposit/Withdrawal Methods Section */
.page-payment-methods__deposit-methods-section,
.page-payment-methods__withdrawal-methods-section {
  padding: 40px 0;
  margin-bottom: 40px;
}

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

.page-payment-methods__method-card {
  background-color: #ffffff; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.page-payment-methods__method-icon {
  width: 100%;
  height: auto;
  max-height: 200px; /* Limit height to prevent overly tall images */
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

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

.page-payment-methods__method-description {
  font-size: 0.95rem;
  color: #1F2D3D; /* Text Main */
  flex-grow: 1;
}

/* Guide Section (Step-by-step) */
.page-payment-methods__guide-section {
  padding: 40px 0;
  background-color: #ffffff; /* Card BG */
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.page-payment-methods__step-item {
  background-color: #F4F7FB; /* Background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #D6E2FF; /* Border */
}

.page-payment-methods__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-payment-methods__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
}

.page-payment-methods__step-description {
  font-size: 0.95rem;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Important Notes Section */
.page-payment-methods__important-notes-section {
  padding: 40px 0;
  margin-bottom: 40px;
}

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

.page-payment-methods__list-item {
  background-color: #ffffff; /* Card BG */
  border-left: 5px solid #6FA3FF; /* Auxiliary color */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  font-size: 1rem;
  color: #1F2D3D; /* Text Main */
}

.page-payment-methods__list-item strong {
  color: #000000; /* Custom Color_1776249996415 */
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 40px 0;
  background-color: #ffffff; /* Card BG */
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.page-payment-methods__faq-item {
  background-color: #F4F7FB; /* Background */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  cursor: pointer;
  background-color: #EBF2FF; /* Lighter shade of main color */
  transition: background-color 0.3s ease;
  list-style: none; /* Hide default marker for details/summary */
}

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

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: #D6E2FF; /* Border color, slightly darker for open state */
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #2F6BFF; /* Main color */
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg); /* Change + to X or rotate for open state */
}

.page-payment-methods__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95rem;
  color: #1F2D3D; /* Text Main */
  border-top: 1px solid #D6E2FF; /* Border */
}

/* CTA Section */
.page-payment-methods__cta-section {
  padding: 60px 0;
  background: linear-gradient(90deg, #2F6BFF, #6FA3FF); /* Main and auxiliary color gradient */
  text-align: center;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-payment-methods__cta-container {
  max-width: 900px;
}

.page-payment-methods__cta-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__cta-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%; /* For responsive buttons */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-payment-methods__section-title {
    font-size: 2rem;
  }
  .page-payment-methods__cta-title {
    font-size: 2.2rem;
  }
  .page-payment-methods__cta-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  /* General */
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO Section */
  .page-payment-methods__hero-section {
    padding-top: 10px; /* Still small top padding */
    margin-bottom: 30px;
  }
  .page-payment-methods__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 15px;
  }
  .page-payment-methods__hero-content {
    padding: 0 15px 30px;
  }
  .page-payment-methods__hero-title {
    font-size: 2rem; /* Specific mobile font size */
    margin-bottom: 10px;
  }
  .page-payment-methods__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* Section Titles */
  .page-payment-methods__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  .page-payment-methods__section-title::after {
    width: 60px;
  }

  /* Text Block */
  .page-payment-methods__text-block {
    font-size: 0.95rem;
  }

  /* Buttons */
  .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: 0.95rem;
    margin-left: 0;
  }
  .page-payment-methods__btn-secondary {
    margin-top: 10px;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images (General) */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-payment-methods__method-icon {
    min-width: unset;
    min-height: unset;
    max-height: 150px;
  }

  /* Card Layouts */
  .page-payment-methods__introduction-section,
  .page-payment-methods__guide-section,
  .page-payment-methods__faq-section {
    padding: 30px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  .page-payment-methods__method-grid,
  .page-payment-methods__step-by-step {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  .page-payment-methods__method-card,
  .page-payment-methods__step-item {
    padding: 20px;
  }
  .page-payment-methods__method-title {
    font-size: 1.3rem;
  }
  .page-payment-methods__step-title {
    font-size: 1.1rem;
  }
  .page-payment-methods__step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  /* Important Notes Section */
  .page-payment-methods__important-notes-section {
    padding: 30px 0;
    margin-bottom: 30px;
  }
  .page-payment-methods__list-item {
    padding: 12px 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
  }

  /* FAQ Section */
  .page-payment-methods__faq-item {
    margin-bottom: 10px;
  }
  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-payment-methods__faq-answer {
    padding: 12px 20px 15px;
    font-size: 0.9rem;
  }

  /* CTA Section */
  .page-payment-methods__cta-section {
    padding: 40px 0;
    margin-bottom: 30px;
  }
  .page-payment-methods__cta-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  .page-payment-methods__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}