/* style/payment-methods.css */
.page-payment-methods {
  background-color: #F3F3F3; /* Background from body info */
  color: #404040; /* Text color for light background */
  font-family: Arial, sans-serif;
}

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

.page-payment-methods__hero-section {
  padding: 10px 20px 60px; /* Small top padding, larger bottom for spacing */
  text-align: center;
  background-color: #FFFFFF; /* White background for hero section */
  border-bottom: 1px solid #E0E0E0;
}

.page-payment-methods__hero-image {
  margin-bottom: 30px;
}

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

.page-payment-methods__main-title {
  font-size: clamp(1.75rem, 5vw, 2.2rem); /* Adjusted for H1 font-size rule */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #025BE8;
}

.page-payment-methods__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #1266EC; /* Register color */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-payment-methods__cta-button:hover {
  background-color: #0d4acb;
}

.page-payment-methods__cta-button--secondary {
  background-color: #025BE8; /* Accent color */
  margin-left: 15px;
}

.page-payment-methods__cta-button--secondary:hover {
  background-color: #0140a2;
}

.page-payment-methods__section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: bold;
  color: #025BE8;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-payment-methods__text-block {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: justify;
}

.page-payment-methods__intro-section {
  padding: 40px 0;
  background-color: #F3F3F3;
}

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

.page-payment-methods__feature-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__feature-title {
  font-size: 1.3rem;
  color: #025BE8;
  margin-bottom: 10px;
}

.page-payment-methods__feature-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
}

.page-payment-methods__deposits-section,
.page-payment-methods__withdrawals-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  border-top: 1px solid #E0E0E0;
}

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

.page-payment-methods__method-card {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-payment-methods__method-icon {
  width: 100%; /* Ensure images are large enough */
  height: auto;
  max-width: 400px; /* Max size for display, not smaller than 200px */
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 4px;
}

.page-payment-methods__method-title {
  font-size: 1.4rem;
  color: #025BE8;
  margin-bottom: 15px;
}

.page-payment-methods__method-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-payment-methods__method-button {
  display: inline-block;
  background-color: #025BE8;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.page-payment-methods__method-button:hover {
  background-color: #0140a2;
}

.page-payment-methods__note-text {
  font-size: 0.9rem;
  color: #777777;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-payment-methods__cta-button--wide {
  margin-top: 30px;
  min-width: 250px;
}

.page-payment-methods__security-section {
  padding: 60px 0;
  background-color: #F3F3F3;
}

.page-payment-methods__security-section .page-payment-methods__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-payment-methods__security-image {
  flex: 1 1 45%;
  max-width: 500px;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__security-content {
  flex: 1 1 45%;
}

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

.page-payment-methods__security-list-item {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__security-list-item::before {
  content: '✔';
  color: #1266EC;
  position: absolute;
  left: 0;
  top: 0;
}

.page-payment-methods__text-link {
  color: #025BE8;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  display: inline-block;
}

.page-payment-methods__text-link:hover {
  text-decoration: underline;
}

.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  border-top: 1px solid #E0E0E0;
}

.page-payment-methods__faq-item {
  background-color: #F8F8F8;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.page-payment-methods__faq-question {
  font-size: 1.2rem;
  color: #025BE8;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-payment-methods__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  display: none; /* Hidden by default, toggled by JS */
}

.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #025BE8; /* Accent color for CTA */
  color: #FFFFFF;
  text-align: center;
}

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

.page-payment-methods__cta-section .page-payment-methods__text-block {
  color: #E5EEFD;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 10px 15px 40px;
  }

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

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

  .page-payment-methods__cta-button {
    width: 100%;
    margin-left: 0 !important;
    margin-bottom: 15px;
  }

  .page-payment-methods__cta-button--secondary {
    margin-left: 0;
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__security-section .page-payment-methods__container {
    flex-direction: column;
  }

  .page-payment-methods__security-image {
    max-width: 100%;
  }

  /* Ensure content images are responsive and don't overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__section-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

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