/* style/payment-methods.css */

/* Base styles for the page */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #111; /* Body background from shared.css */
}

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

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

.page-payment-methods__section-title {
  font-size: 36px;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

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

.page-payment-methods__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-payment-methods__light-bg {
  background-color: #222222; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-payment-methods__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-payment-methods__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-payment-methods__hero-title {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-payment-methods__hero-image-wrapper {
  z-index: 0;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-payment-methods__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-payment-methods__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

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

.page-payment-methods__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

.page-payment-methods__dark-bg-card {
  background-color: #1a1a1a; /* Even darker card for sections with dark-bg */
}

.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: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-payment-methods__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  font-size: 16px;
}

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

.page-payment-methods__card .page-payment-methods__btn-primary {
  margin-top: auto;
  width: fit-content;
}

/* CTA Block */
.page-payment-methods__cta-block {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #26A9E0;
  border-radius: 12px;
  color: #ffffff;
}

.page-payment-methods__cta-text {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-payment-methods__feature-item {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-payment-methods__feature-title {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__feature-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* Tips Section */
.page-payment-methods__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__tip-item {
  background-color: #222222;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__tip-title {
  font-size: 20px;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__tip-description {
  font-size: 16px;
  color: #f0f0f0;
}

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

.page-payment-methods__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background-color: #222222;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-title {
  margin: 0;
  color: #ffffff; /* Ensure title is white */
  font-size: 18px;
}

.page-payment-methods__faq-question:hover .page-payment-methods__faq-title {
  color: #ffffff;
}

.page-payment-methods__faq-toggle {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-payment-methods__faq-answer p {
  padding-bottom: 15px;
  font-size: 16px;
  text-align: justify;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-question {
  background-color: #26A9E0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-question .page-payment-methods__faq-title {
  color: #ffffff;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(0deg); /* Reset rotation or change to minus sign */
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px !important;
}

/* Final CTA */
.page-payment-methods__cta-final {
  text-align: center;
  padding-bottom: 80px;
}

.page-payment-methods__cta-final .page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Global image responsiveness */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 42px;
  }

  .page-payment-methods__hero-description {
    font-size: 18px;
  }

  .page-payment-methods__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-bottom: 60px;
  }

  .page-payment-methods__hero-title {
    font-size: 36px;
  }

  .page-payment-methods__hero-description {
    font-size: 16px;
  }

  .page-payment-methods__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    font-size: 16px;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-payment-methods__section-title {
    font-size: 28px;
  }

  .page-payment-methods__text-block {
    font-size: 16px;
  }

  .page-payment-methods__card-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__card {
    padding: 20px;
  }

  .page-payment-methods__card-title {
    font-size: 20px;
  }

  .page-payment-methods__card-text,
  .page-payment-methods__list li {
    font-size: 15px;
  }

  .page-payment-methods__cta-block {
    padding: 30px 20px;
  }

  .page-payment-methods__cta-text {
    font-size: 20px;
  }

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

  .page-payment-methods__feature-title,
  .page-payment-methods__tip-title {
    font-size: 18px;
  }

  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-payment-methods__faq-title {
    font-size: 16px;
  }

  .page-payment-methods__faq-answer {
    padding: 10px 20px !important;
  }

  .page-payment-methods__faq-answer p {
    font-size: 15px;
  }

  .page-payment-methods__cta-final .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile image, video, and container responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods video,
  .page-payment-methods__video {
    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,
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-payment-methods__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}