.page-payment-methods {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--color-deep-navy); /* Body background from shared.css */
}

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

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

.page-payment-methods__heading {
  font-size: clamp(28px, 3.5vw, 42px);
  color: #F2C14E; /* Gold */
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__sub-heading {
  font-size: clamp(22px, 2.5vw, 30px);
  color: #F3F8FF; /* Text Main */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-payment-methods__text {
  font-size: 17px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  text-align: left;
  max-width: 800px;
}

.page-payment-methods__list li {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #1D5FD1;
  font-size: 16px;
}

.page-payment-methods__list li strong {
  color: #F2C14E; /* Gold */
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%); /* Deep Navy to Main */
  overflow: hidden;
}

.page-payment-methods__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-payment-methods__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-payment-methods__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 2px solid #244D84; /* Border */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-payment-methods__main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 19px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Grid for payment methods */
.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: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #244D84; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  border: 1px solid #1B3357; /* Divider */
  width: 100%; /* Ensure images fill card width */
  min-height: 200px; /* Minimum image size */
}

.page-payment-methods__card-title {
  font-size: 24px;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-payment-methods__card-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #1D5FD1;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-secondary:hover {
  background: #2B73F6;
  transform: translateY(-2px);
}

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

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background: #113B7A; /* Main color for summary */
  color: #F3F8FF; /* Text Main */
  font-weight: 600;
}

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

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question:hover {
  background: #1D5FD1; /* Auxiliary color on hover */
}

.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF;
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 20px 25px;
  background: #08162B; /* Deep Navy for answer background */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 16px;
  text-align: left;
}

.page-payment-methods__faq-answer p {
  margin-bottom: 10px;
}

.page-payment-methods__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Call to Action Section */
.page-payment-methods__call-to-action {
  background: linear-gradient(90deg, #113B7A 0%, #1D5FD1 100%);
  padding: 80px 0;
  margin-top: 60px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__call-to-action .page-payment-methods__heading {
  color: #F3F8FF; /* Text Main */
  text-shadow: none;
}

.page-payment-methods__call-to-action .page-payment-methods__text {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-payment-methods__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-payment-methods__hero-image img {
    border-radius: 8px;
  }
  
  .page-payment-methods__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-payment-methods__hero-description {
    font-size: clamp(15px, 4vw, 18px);
  }

  .page-payment-methods__cta-button {
    padding: 12px 30px;
    font-size: 17px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-payment-methods__container {
    padding: 0 15px;
  }

  .page-payment-methods__heading {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 25px;
  }

  .page-payment-methods__sub-heading {
    font-size: clamp(20px, 5vw, 26px);
  }

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

  .page-payment-methods__grid {
    gap: 20px;
  }

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

  .page-payment-methods__card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min- /* Adjust min-height for mobile if needed */
  }

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

  .page-payment-methods__btn-secondary {
    padding: 10px 20px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
    padding: 15px 20px;
  }

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

  .page-payment-methods__faq-toggle {
    font-size: 24px;
    width: 24px;
  }

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

  .page-payment-methods__call-to-action {
    padding: 50px 20px;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-payment-methods img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}