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

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

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

.page-payment-methods__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-payment-methods__sub-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-payment-methods__text-block {
  font-size: 16px;
  margin-bottom: 15px;
  text-align: justify;
}

/* HERO Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a7fb8 100%);
  color: var(--text-light);
}

.page-payment-methods__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

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

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--text-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--login-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__cta-button:hover {
  background: darken(var(--login-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Section Styling */
.page-payment-methods__intro-section,
.page-payment-methods__security-section,
.page-payment-methods__support-section {
  padding: 60px 0;
}

.page-payment-methods__options-section,
.page-payment-methods__guide-section,
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-payment-methods__options-section .page-payment-methods__section-title,
.page-payment-methods__guide-section .page-payment-methods__section-title,
.page-payment-methods__faq-section .page-payment-methods__section-title {
  color: var(--text-light);
}

.page-payment-methods__options-section .page-payment-methods__text-block,
.page-payment-methods__guide-section .page-payment-methods__text-block {
  color: var(--text-light);
}

/* Grid for Payment Options */
.page-payment-methods__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  min-height: 200px;
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
}

.page-payment-methods__payment-option img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-payment-methods__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
  padding: 0 15px;
}

.page-payment-methods__payment-option p {
  font-size: 15px;
  padding: 0 15px 20px;
}

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

.page-payment-methods__security-text {
  flex: 1;
}

.page-payment-methods__security-image {
  flex: 1;
  text-align: center;
}

.page-payment-methods__security-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

/* Guide Section */
.page-payment-methods__guide-block {
  background-color: #2e8bba; /* Slightly darker shade of primary for contrast */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-payment-methods__guide-block .page-payment-methods__sub-title {
  color: var(--text-light);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.page-payment-methods__guide-list {
  list-style-type: decimal;
  padding-left: 25px;
  font-size: 16px;
}

.page-payment-methods__guide-list li {
  margin-bottom: 15px;
}

.page-payment-methods__guide-list li strong {
  color: var(--secondary-color);
}

.page-payment-methods__guide-list li a {
  color: var(--login-color);
  text-decoration: underline;
}

.page-payment-methods__guide-list li a:hover {
  text-decoration: none;
}

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

/* Support Section */
.page-payment-methods__support-list {
  list-style-type: disc;
  padding-left: 25px;
  font-size: 16px;
  margin-top: 20px;
}

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

/* FAQ Section */
details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  background: #2e8bba; /* Slightly darker shade for FAQ items */
  color: var(--text-light);
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
}
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: #3a9fd4; /* Lighter shade on hover */
}
.page-payment-methods__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}
.page-payment-methods__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-light);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 20px 20px;
  background: #267ba3; /* Even darker shade for answer background */
  border-radius: 0 0 5px 5px;
  font-size: 16px;
}

/* Dark/Light Background Colors */
.page-payment-methods__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-payment-methods__hero-description {
    font-size: 16px;
  }

  .page-payment-methods__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    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-block {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-payment-methods__sub-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-payment-methods__intro-section,
  .page-payment-methods__options-section,
  .page-payment-methods__security-section,
  .page-payment-methods__guide-section,
  .page-payment-methods__support-section,
  .page-payment-methods__faq-section {
    padding: 40px 0;
  }

  .page-payment-methods__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-payment-methods__security-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-payment-methods__security-image img {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__guide-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  details.page-payment-methods__faq-item summary.page-payment-methods__faq-question { padding: 15px; font-size: 16px;}
  .page-payment-methods__faq-qtext { font-size: 15px; }
  details.page-payment-methods__faq-item .page-payment-methods__faq-answer { padding: 0 15px 15px; }
}

/* Ensure all content images are at least 200px */
.page-payment-methods__payment-option img, 
.page-payment-methods__security-image img {
  min-width: 200px;
  min-height: 200px;
}