/* style/payment-methods.css */
:root {
  --primary-color: #007bff; /* Deep Blue */
  --secondary-color: #ffc107; /* Gold/Amber */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #343a40;
  --border-color: #e0e0e0;
}

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

.page-payment-methods .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-payment-methods-hero-banner {
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--text-color-light);
  padding: 60px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-payment-methods-hero-banner .banner-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-payment-methods-hero-banner h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--text-color-light);
  font-weight: bold;
}

.page-payment-methods-hero-banner p {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-payment-methods-hero-banner .banner-image {
  width: 100%;
  max-width: 900px;
}

.page-payment-methods-hero-banner .banner-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-payment-methods-section:last-of-type {
  border-bottom: none;
}

.page-payment-methods-section h2 {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-payment-methods-section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-payment-methods-section h3 {
  font-size: 1.6em;
  color: var(--text-color-dark);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-payment-methods-section p {
  margin-bottom: 15px;
}

.page-payment-methods-section ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-payment-methods-section ol {
  list-style: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-payment-methods-section li {
  margin-bottom: 8px;
}

.page-payment-methods .cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-color-light);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods .cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-payment-methods .cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Method Grid */
.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;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods .method-card .method-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods .method-card h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-payment-methods .method-card p {
  font-size: 0.95em;
  color: #555555;
}

.page-payment-methods .method-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 20px;
}

.page-payment-methods .method-card li {
  background: #f0f8ff;
  padding: 10px 15px;
  margin-bottom: 8px;
  border-radius: 5px;
  font-size: 0.9em;
  color: #444;
}

/* Security Features */
.page-payment-methods .security-features {
  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;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods .feature-item .feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-payment-methods .feature-item p {
  font-size: 0.95em;
  color: #555555;
}

/* FAQ Section */
.page-payment-methods .faq-section {
  background-color: #f0f2f5;
}

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

.page-payment-methods .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-payment-methods .faq-question:hover {
  background: #f5f5f5;
}

.page-payment-methods .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--text-color-dark);
  flex-grow: 1;
  text-align: left;
}

.page-payment-methods .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  width: 24px;
  text-align: center;
}

.page-payment-methods .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-payment-methods .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-top: 1px solid var(--border-color);
}

.page-payment-methods .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
}

.page-payment-methods .faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #555;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-payment-methods-hero-banner h1 {
    font-size: 2.2em;
  }

  .page-payment-methods-hero-banner p {
    font-size: 1em;
  }

  .page-payment-methods-section h2 {
    font-size: 1.8em;
  }

  .page-payment-methods .method-grid, .page-payment-methods .security-features {
    grid-template-columns: 1fr;
  }

  .page-payment-methods .method-card, .page-payment-methods .feature-item {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods-hero-banner {
    padding: 40px 0;
  }

  .page-payment-methods-hero-banner h1 {
    font-size: 1.8em;
  }

  .page-payment-methods-hero-banner p {
    font-size: 0.9em;
  }

  .page-payment-methods-section {
    padding: 40px 0;
  }

  .page-payment-methods-section h2 {
    font-size: 1.6em;
    margin-bottom: 30px;
  }

  .page-payment-methods-section h3 {
    font-size: 1.4em;
  }

  .page-payment-methods .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-payment-methods .method-card .method-icon {
    width: 90px;
    height: 90px;
  }

  .page-payment-methods .feature-item .feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-payment-methods .faq-question {
    padding: 15px 20px;
  }

  .page-payment-methods .faq-question h3 {
    font-size: 1em;
  }

  .page-payment-methods .faq-toggle {
    font-size: 20px;
  }

  .page-payment-methods .faq-answer {
    padding: 0 20px;
  }

  .page-payment-methods .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}