/* style/payment-methods.css */
.page-payment-methods {
  color: #333333; /* Dark text for light body background */
}

.page-payment-methods__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-payment-methods__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(10, 36, 99, 0.8); /* Semi-transparent main color background for text readability */
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E5A000; /* Accent color for title */
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-payment-methods__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  text-align: center;
}

.page-payment-methods__button--primary {
  background-color: #E5A000; /* Accent color */
  color: #0A2463; /* Main color */\  border: 2px solid #E5A000;
}

.page-payment-methods__button--primary:hover {
  background-color: #ffb800;
  transform: translateY(-2px);
}

.page-payment-methods__button--secondary {
  background-color: transparent;
  color: #E5A000; /* Accent color */
  border: 2px solid #E5A000;
}

.page-payment-methods__button--secondary:hover {
  background-color: #E5A000;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-payment-methods__button--text {
  background-color: transparent;
  color: #0A2463;
  border: none;
  padding: 10px 0;
  font-size: 1em;
}

.page-payment-methods__button--text:hover {
  text-decoration: underline;
  color: #E5A000;
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #0A2463; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-payment-methods__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E5A000;
  border-radius: 2px;
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-payment-methods__overview-image,
.page-payment-methods__security-image {
  display: block;
  margin: 40px auto;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__detail-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__card-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-payment-methods__card-title a {
  text-decoration: none;
  color: inherit;
}

.page-payment-methods__card-title a:hover {
  color: #E5A000;
}

.page-payment-methods__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 25px;
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 600px;
  text-align: left;
}

.page-payment-methods__security-item {
  background-color: #f9f9f9;
  border-left: 5px solid #0A2463;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #444444;
}

.page-payment-methods__faq-section {
  background-color: #f8f8f8;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-payment-methods__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #0A2463; /* Main color background */
  color: #ffffff;
}

.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: #E5A000; /* Accent color for title on dark background */
}

.page-payment-methods__cta-section .page-payment-methods__section-description {
  color: #f0f0f0;
}

.page-payment-methods__cta-section .page-payment-methods__button--primary {
  background-color: #E5A000;
  color: #0A2463;
  border: 2px solid #E5A000;
}

.page-payment-methods__cta-section .page-payment-methods__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-payment-methods__cta-section .page-payment-methods__button--secondary:hover {
  background-color: #ffffff;
  color: #0A2463;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.2em;
  }
  .page-payment-methods__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    min-height: 500px;
    padding: 40px 15px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 80%;
    max-width: 300px;
    padding: 12px 20px;
  }
  .page-payment-methods__container {
    padding: 30px 15px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-description {
    font-size: 0.95em;
  }
  .page-payment-methods__detail-card {
    padding: 25px;
  }
  .page-payment-methods__card-title {
    font-size: 1.5em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }
  /* Mobile content area image constraint */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__overview-image,
  .page-payment-methods__security-image {
    width: 100%;
    max-width: 100%; /* Ensure no overflow */
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-section {
    min-height: 400px;
  }
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__button {
    width: 90%;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__card-title {
    font-size: 1.3em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
  }
}