/* style/payment-methods.css */

/* Base styles for the payment methods page */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for default white body background */
  background-color: #f8f8f8;
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #0056B3;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-payment-methods__button--primary {
  background-color: #0056B3;
  color: #ffffff;
  border: 2px solid #0056B3;
}

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

.page-payment-methods__button--secondary {
  background-color: #FFD700;
  color: #0056B3;
  border: 2px solid #FFD700;
}

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

.page-payment-methods__button--small {
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #00408c; /* Darker blue for background if image not loaded */
}

.page-payment-methods__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-payment-methods__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 10;
  max-width: 90%;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Overview Section */
.page-payment-methods__overview-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-payment-methods__feature-card {
  background-color: #fefefe;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__feature-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__feature-title {
  font-size: 1.8em;
  color: #0056B3;
  margin-bottom: 15px;
}

.page-payment-methods__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Details Section */
.page-payment-methods__details-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-payment-methods__method-category {
  margin-bottom: 60px;
}

.page-payment-methods__category-title {
  font-size: 2em;
  color: #0056B3;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 3px solid #FFD700;
  padding-bottom: 10px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__method-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

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

.page-payment-methods__method-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}

.page-payment-methods__method-name {
  font-size: 1.6em;
  color: #0056B3;
  margin-bottom: 10px;
}

.page-payment-methods__method-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__method-details-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  width: 100%;
  max-width: 280px;
}

.page-payment-methods__method-details-list li {
  margin-bottom: 8px;
  font-size: 0.9em;
  color: #444444;
}

.page-payment-methods__method-details-list li strong {
  color: #0056B3;
}

.page-payment-methods__important-notes {
  margin-top: 60px;
  background-color: #e6f0fa;
  border-left: 5px solid #0056B3;
  padding: 30px;
  border-radius: 8px;
}

.page-payment-methods__notes-title {
  font-size: 1.8em;
  color: #0056B3;
  margin-bottom: 15px;
}

.page-payment-methods__notes-list {
  list-style: disc;
  margin-left: 25px;
  color: #333333;
}

.page-payment-methods__notes-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

/* CTA Banner */
.page-payment-methods__cta-banner {
  position: relative;
  margin-top: 60px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__cta-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-payment-methods__cta-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 10;
  max-width: 80%;
}

.page-payment-methods__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.page-payment-methods__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* Security Guarantee */
.page-payment-methods__security-guarantee {
  padding: 80px 0;
  background-color: #0056B3;
  color: #ffffff;
}

.page-payment-methods__security-guarantee .page-payment-methods__section-title,
.page-payment-methods__security-guarantee .page-payment-methods__section-intro {
  color: #ffffff;
}

.page-payment-methods__security-guarantee .page-payment-methods__section-title {
  border-bottom: 3px solid #FFD700;
}

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

.page-payment-methods__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__security-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__security-item-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-payment-methods__security-item-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-payment-methods__faq-question {
  font-size: 1.5em;
  color: #0056B3;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #FFD700;
}

.page-payment-methods__faq-question.active::after {
  content: '-';
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding-top: 0;
}

.page-payment-methods__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

.page-payment-methods__faq-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
}

/* Final CTA Section */
.page-payment-methods__cta-final {
  padding: 80px 0;
  background: linear-gradient(135deg, #0056B3, #00408c);
  text-align: center;
  color: #ffffff;
}

.page-payment-methods__cta-final-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__cta-final-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__cta-final-description {
  font-size: 1.3em;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__section-title {
    font-size: 2.2em;
  }
  .page-payment-methods__category-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 40px 15px;
  }
  .page-payment-methods__hero-content {
    position: static;
    transform: none;
    padding: 20px 0;
  }
  .page-payment-methods__hero-image {
    display: none; /* Hide hero image on mobile for better readability of text */
  }
  .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: 100%;
  }

  .page-payment-methods__overview-section,
  .page-payment-methods__details-section,
  .page-payment-methods__security-guarantee,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-final {
    padding: 50px 0;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-intro {
    font-size: 0.95em;
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__method-card-grid,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__feature-icon,
  .page-payment-methods__method-logo,
  .page-payment-methods__security-icon {
    max-width: 150px;
  }

  .page-payment-methods__cta-title {
    font-size: 2em;
  }
  .page-payment-methods__cta-description {
    font-size: 1em;
  }

  .page-payment-methods__cta-banner .page-payment-methods__cta-image {
    height: 300px; /* Adjust height for mobile */
  }

  .page-payment-methods__cta-final-title {
    font-size: 2.2em;
  }
  .page-payment-methods__cta-final-description {
    font-size: 1.1em;
  }

  /* Ensure images in content sections are responsive */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-title {
    font-size: 1.6em;
  }
  .page-payment-methods__category-title {
    font-size: 1.5em;
  }
  .page-payment-methods__cta-title {
    font-size: 1.8em;
  }
  .page-payment-methods__cta-final-title {
    font-size: 1.8em;
  }
}