/* style/payment-methods.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #26A9E0;
  --button-login: #EA7C07;
}

.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-payment-methods__hero-content {
  max-width: 900px;
  padding: 0 20px;
  position: relative; /* Ensure content is above any background effects */
  z-index: 1;
}

.page-payment-methods__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-payment-methods__hero-description {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-payment-methods__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-payment-methods__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-payment-methods__btn-secondary:hover {
  background-color: #f0f0f0;
  color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

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

.page-payment-methods__introduction-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__conclusion-section {
  padding: 60px 0;
}

.page-payment-methods__withdrawal-methods {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.page-payment-methods__withdrawal-methods .page-payment-methods__section-title,
.page-payment-methods__conclusion-section .page-payment-methods__section-title {
  color: var(--text-light);
}

.page-payment-methods__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-payment-methods__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-payment-methods__card {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid #e0e0e0;
  min-width: 200px;
}

.page-payment-methods__card-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

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

.page-payment-methods__card-text {
  font-size: 1rem;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-payment-methods__card-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-payment-methods__ordered-list,
.page-payment-methods__unordered-list {
  list-style-position: inside;
  margin-bottom: 15px;
  padding-left: 0;
}

.page-payment-methods__ordered-list li,
.page-payment-methods__unordered-list li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.page-payment-methods__link {
  color: var(--primary-color);
  text-decoration: none;
}

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

.page-payment-methods__cta-container {
  text-align: center;
  margin-top: 40px;
}

.page-payment-methods__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-payment-methods__text-column {
  flex: 1;
}

.page-payment-methods__image-column {
  flex: 1;
}

.page-payment-methods__subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--text-light);
}

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

.page-payment-methods__feature-item {
  text-align: center;
  padding: 30px;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-payment-methods__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure min size for icons */
  min-height: 200px;
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.page-payment-methods__feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

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

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

.page-payment-methods__faq-item {
  background-color: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #f9f9f9;
  color: var(--primary-color);
  border-bottom: 1px solid #e0e0e0;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom: 1px solid var(--primary-color);
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.5;
}

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

.page-payment-methods__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-payment-methods__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-payment-methods__hero-image {
    max-height: 500px;
  }
}

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

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

  .page-payment-methods__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .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;
  }

  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-payment-methods__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

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

  .page-payment-methods__card {
    padding: 20px;
  }

  .page-payment-methods__card-title {
    font-size: 1.4rem;
  }

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

  .page-payment-methods__content-wrapper {
    flex-direction: column;
  }

  .page-payment-methods__feature-icon {
    width: 150px;
    height: 150px;
    min-width: 200px !important;
    min-height: 200px !important;
    width: 200px !important;
    height: 200px !important;
  }

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

  .page-payment-methods__faq-answer {
    padding: 15px;
  }

  /* Mobile image responsiveness */
  .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,
  .page-payment-methods__introduction-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-payment-methods__method-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }

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

  .page-payment-methods__feature-icon {
    width: 120px;
    height: 120px;
    min-width: 200px !important;
    min-height: 200px !important;
    width: 200px !important;
    height: 200px !important;
  }
}