/* style/payment-methods.css */

/* Base Styles */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8;
}

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

.page-payment-methods__section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #0A2239;
  font-weight: bold;
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-payment-methods__dark-bg {
  background-color: #0A2239;
  color: #ffffff;
}

.page-payment-methods__dark-bg .page-payment-methods__section-title,
.page-payment-methods__dark-bg .page-payment-methods__section-description,
.page-payment-methods__dark-bg .page-payment-methods__card-title,
.page-payment-methods__dark-bg .page-payment-methods__card p {
  color: #ffffff;
}

.page-payment-methods__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-payment-methods__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  padding: 100px 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.page-payment-methods__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Overlay for readability */
  z-index: 1;
}

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

.page-payment-methods__hero-section .page-payment-methods__container {
  z-index: 2;
  position: relative;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #E5A400; /* Gold accent for hero title */
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* CTA Buttons */
.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-payment-methods__btn-primary {
  background-color: #E5A400;
  color: #0A2239;
  border: 2px solid #E5A400;
}

.page-payment-methods__btn-primary:hover {
  background-color: #ffc107;
  border-color: #ffc107;
  transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #E5A400;
  border: 2px solid #E5A400;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #E5A400;
  color: #0A2239;
  transform: translateY(-2px);
}

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

.page-payment-methods__card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  border: 1px solid #eee;
}

.page-payment-methods__dark-bg .page-payment-methods__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-payment-methods__dark-bg .page-payment-methods__card-title {
  color: #E5A400;
}

.page-payment-methods__card p {
  font-size: 1em;
  line-height: 1.7;
}

/* Steps List */
.page-payment-methods__steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-payment-methods__steps-list li {
  counter-increment: step-counter;
  margin-bottom: 25px;
  padding-left: 60px;
  position: relative;
  font-size: 1.1em;
  color: #333333;
}

.page-payment-methods__steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #0A2239;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__steps-list li strong {
  color: #0A2239;
}

.page-payment-methods__note {
  background-color: #fff3cd;
  border-left: 5px solid #ffc107;
  padding: 20px;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
  color: #664d03;
  border-radius: 5px;
}

.page-payment-methods__note a {
  color: #0A2239;
  text-decoration: underline;
}

.page-payment-methods__note a:hover {
  color: #E5A400;
}

/* Security List */
.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-payment-methods__security-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #E5A400;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-payment-methods__security-list li strong {
  color: #E5A400;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  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: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #0A2239;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: #f0f0f0;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #E5A400;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 20px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg); /* Change + to X or simply - */
}

.page-payment-methods__faq-item a {
  color: #0A2239;
  text-decoration: underline;
}

.page-payment-methods__faq-item a:hover {
  color: #E5A400;
}

/* Bottom CTA Section */
.page-payment-methods__cta-bottom {
  padding-bottom: 80px;
}

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

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-section {
    padding: 80px 0 40px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__section {
    padding: 40px 0;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-description {
    font-size: 0.9em;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  .page-payment-methods__grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__card {
    padding: 25px;
  }
  .page-payment-methods__steps-list li,
  .page-payment-methods__security-list li {
    font-size: 1em;
    padding-left: 50px;
  }
  .page-payment-methods__steps-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.1em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-payment-methods__faq-answer {
    padding: 0 15px;
  }

  /* Mobile responsive for images */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }
}