/* 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; /* Default text color for light backgrounds */
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #26A9E0; /* Brand color as background */
  color: #FFFFFF; /* White text for brand color background */
  text-align: center;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

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

.page-payment-methods__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-payment-methods__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f8ff;
}

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

/* General Section Styles */
.page-payment-methods__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-payment-methods__text-block {
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__subsection-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-top: 50px;
  margin-bottom: 30px;
  color: #26A9E0;
}

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

.page-payment-methods__feature-item {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.page-payment-methods__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-payment-methods__feature-item p {
  font-size: 0.95rem;
  color: #555555;
}

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

.page-payment-methods__card {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

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

.page-payment-methods__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-payment-methods__card p {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-payment-methods__card-button {
  margin-top: auto;
}

/* Step-by-Step Guide */
.page-payment-methods__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}

.page-payment-methods__step-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-payment-methods__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.page-payment-methods__step-text {
  font-size: 1rem;
  color: #333333;
  flex-grow: 1;
}

/* Checklist */
.page-payment-methods__checklist {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__checklist li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #333333;
}

.page-payment-methods__checklist li::before {
  content: '✔';
  color: #26A9E0;
  margin-right: 10px;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
  flex-shrink: 0;
}

.page-payment-methods__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element */
  margin-left: auto; /* Center image */
  margin-right: auto; /* Center image */
}

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

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  list-style: none; /* For details/summary */
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #26A9E0;
  margin-left: 15px;
}

.page-payment-methods__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.7;
}

/* Call to Action Final Section */
.page-payment-methods__cta-final {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Button Styles (using custom colors where applicable) */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background: #EA7C07; /* Custom Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-payment-methods__btn-primary:hover {
  background: darken(#EA7C07, 10%);
  border-color: darken(#EA7C07, 10%);
}

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

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

/* Color Schemes */
.page-payment-methods__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-payment-methods__dark-section .page-payment-methods__section-title,
.page-payment-methods__dark-section .page-payment-methods__subsection-title,
.page-payment-methods__dark-section .page-payment-methods__card-title {
  color: #FFFFFF;
}

.page-payment-methods__dark-section .page-payment-methods__text-block,
.page-payment-methods__dark-section .page-payment-methods__step-text,
.page-payment-methods__dark-section .page-payment-methods__checklist li p {
  color: #f0f8ff; /* Lighter white for readability on dark blue */
}

.page-payment-methods__dark-section .page-payment-methods__faq-question {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.page-payment-methods__dark-section .page-payment-methods__faq-toggle {
  color: #FFFFFF;
}

.page-payment-methods__dark-section .page-payment-methods__faq-answer {
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f8ff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-payment-methods__hero-section {
    padding: 40px 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-payment-methods__description {
    font-size: 1rem;
  }

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

  .page-payment-methods__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  }

  .page-payment-methods__feature-item {
    padding: 25px;
  }

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

@media (max-width: 768px) {
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__feature-item,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__section,
  .page-payment-methods__step-by-step,
  .page-payment-methods__checklist,
  .page-payment-methods__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__hero-section {
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px !important; /* body handles header offset, small top padding here */
  }

  .page-payment-methods__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__cta-buttons,
  .page-payment-methods__cta-final {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important; /* Ensure buttons take full width */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__method-cards {
    grid-template-columns: 1fr;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__feature-item,
  .page-payment-methods__card {
    text-align: center;
    align-items: center;
  }

  .page-payment-methods__feature-item p,
  .page-payment-methods__card p,
  .page-payment-methods__step-text,
  .page-payment-methods__checklist li p {
    text-align: left;
  }

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

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

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-payment-methods__description {
    font-size: 0.95rem;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}