/* Base 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;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #F4F7FB;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-payment-methods__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default for desktop */
  min-height: 200px; /* Minimum size requirement */
}

.page-payment-methods__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px 40px;
  z-index: 1;
}

.page-payment-methods__main-title {
  font-size: clamp(28px, 4vw, 48px); /* H1 font size clamp */
  font-weight: 700;
  color: #2F6BFF; /* Main color for emphasis */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: clamp(16px, 1.2vw, 20px);
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-payment-methods__section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: #2F6BFF; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-payment-methods__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: #2F6BFF; /* Main color */
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-payment-methods__text-block {
  font-size: 17px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
}

.page-payment-methods__text-block strong {
  color: #2F6BFF;
}

.page-payment-methods__text-center {
  text-align: center;
}

/* CTA Buttons */
.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 180px;
  max-width: 100%; /* Ensure buttons adapt */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

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

.page-payment-methods__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF; /* Main color border */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-payment-methods__btn-secondary:hover {
  background: #f0f5ff; /* Light blue on hover */
  color: #255ad9;
  border-color: #255ad9;
  transform: translateY(-2px);
}

/* Deposit Methods Section */
.page-payment-methods__deposit-methods-section {
  background-color: #F4F7FB;
}

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

.page-payment-methods__method-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

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

.page-payment-methods__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-height: 200px; /* Minimum size requirement */
}

.page-payment-methods__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF; /* Main color */
  padding: 20px 25px 10px;
  margin: 0;
  line-height: 1.3;
}

.page-payment-methods__card-content {
  padding: 0 25px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-payment-methods__card-content p {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
}

.page-payment-methods__card-sub-title {
  font-size: 18px;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-payment-methods__card-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main */
  font-size: 16px;
}

.page-payment-methods__card-list li {
  margin-bottom: 8px;
}

.page-payment-methods__card-button {
  margin-top: auto; /* Push button to bottom */
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  box-shadow: none; /* Remove shadow for card buttons */
}

/* Withdrawal Section */
.page-payment-methods__withdrawal-section {
  background-color: #F4F7FB;
}

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

.page-payment-methods__process-list li {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__process-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-payment-methods__process-list li strong {
  display: block;
  font-size: 18px;
  color: #2F6BFF; /* Main color */
  margin-bottom: 10px;
}

.page-payment-methods__process-list li {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
}

.page-payment-methods__notes-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 30px;
  color: #1F2D3D; /* Text Main */
  font-size: 16px;
}

.page-payment-methods__notes-list li {
  margin-bottom: 10px;
}

.page-payment-methods__notes-list li strong {
  color: #000000; /* Custom Color_1776249996415 */
}

/* Security Section */
.page-payment-methods__security-section {
  background-color: #2F6BFF; /* Main color */
  color: #ffffff; /* White text for dark background */
  padding: 80px 0;
}

.page-payment-methods__security-section .page-payment-methods__section-title {
  color: #ffffff; /* White title for dark background */
}

.page-payment-methods__security-section .page-payment-methods__text-block {
  color: #f0f0f0;
}

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

.page-payment-methods__feature-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.15); /* Slightly transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__feature-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.25);
}

.page-payment-methods__feature-icon {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  max-width: 300px; /* Example max-width for feature icons */
}

.page-payment-methods__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-payment-methods__feature-description {
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.6;
}

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

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 10px; /* Slightly larger border-radius for modern look */
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

details.page-payment-methods__faq-item:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question:hover {
  background: #f0f5ff; /* Light blue on hover */
}
.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #000000; /* Custom Color_1776249996415 */
}
.page-payment-methods__faq-toggle {
  font-size: 28px; /* Larger toggle for visibility */
  font-weight: bold;
  color: #2F6BFF; /* Main color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px; /* Adjust width for better alignment */
  text-align: center;
}
details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9; /* Light grey for answer background */
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
}

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

.page-payment-methods__faq-answer a {
  color: #2F6BFF;
  text-decoration: underline;
}

.page-payment-methods__faq-answer a:hover {
  text-decoration: none;
}

/* CTA Bottom Section */
.page-payment-methods__cta-bottom-section {
  padding: 80px 0;
  background-color: #F4F7FB;
}

/* --- Responsive Styles --- */

/* @media (max-width: 1024px) - for tablets and smaller desktops */
@media (max-width: 1024px) {
  .page-payment-methods__container {
    padding: 0 30px;
  }

  .page-payment-methods__section {
    padding: 50px 0;
  }

  .page-payment-methods__main-title {
    font-size: clamp(26px, 4.5vw, 42px);
  }

  .page-payment-methods__hero-description {
    font-size: clamp(15px, 1.5vw, 18px);
  }

  .page-payment-methods__section-title {
    font-size: clamp(22px, 3.5vw, 34px);
  }

  .page-payment-methods__sub-title {
    font-size: clamp(18px, 2.8vw, 24px);
  }

  .page-payment-methods__text-block {
    font-size: 16px;
  }

  .page-payment-methods__method-card {
    padding-bottom: 20px;
  }

  .page-payment-methods__card-image {
    height: 220px;
  }

  .page-payment-methods__card-title {
    font-size: 22px;
  }

  .page-payment-methods__card-content p,
  .page-payment-methods__card-list li {
    font-size: 15px;
  }

  .page-payment-methods__feature-title {
    font-size: 20px;
  }
}