/* style/payment-methods.css */
.page-payment-methods {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text color for light background */
  background-color: var(--secondary-color); /* Assumed to be #FFFFFF */
}

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  box-sizing: border-box;
}

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

.page-payment-methods__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-payment-methods__section {
  padding: 60px 20px;
}

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

.page-payment-methods__title {
  font-size: 2.5em;
  color: #017439; /* Primary color for titles */
  text-align: center;
  margin-bottom: 40px;
}

.page-payment-methods__subtitle {
  font-size: 1.8em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-payment-methods__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* Dark background section styles */
.page-payment-methods__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-payment-methods__dark-bg .page-payment-methods__title,
.page-payment-methods__dark-bg .page-payment-methods__subtitle {
  color: #ffffff;
}

.page-payment-methods__dark-bg .page-payment-methods__text-block {
  color: #f0f0f0;
}

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

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

.page-payment-methods__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

.page-payment-methods__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-payment-methods__card-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
}

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

.page-payment-methods__card-text {
  font-size: 1em;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-payment-methods__card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__card-list li {
  margin-bottom: 8px;
  font-size: 0.95em;
}

/* How-to steps */
.page-payment-methods__steps-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-payment-methods__steps-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
}

.page-payment-methods__steps-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #017439;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-payment-methods__steps-item p {
  margin-top: 10px;
}

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

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

.page-payment-methods__feature-item {
  text-align: center;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-payment-methods__feature-icon {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-payment-methods__feature-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

.page-payment-methods__feature-text {
  font-size: 1em;
}

/* FAQ */
.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-payment-methods__light-bg .page-payment-methods__faq-item {
  background-color: #f0f0f0;
  color: #333333;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
}

.page-payment-methods__light-bg .page-payment-methods__faq-question {
  background-color: #e8e8e8;
  border-bottom: 1px solid #d0d0d0;
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}

.page-payment-methods__faq-question::marker {
  display: none;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.05em;
  color: #f0f0f0;
}