/* style/payment-methods.css */

:root {
  --page-payment-methods-bg-color: #08160F;
  --page-payment-methods-card-bg: #11271B;
  --page-payment-methods-text-main: #F2FFF6;
  --page-payment-methods-text-secondary: #A7D9B8;
  --page-payment-methods-border-color: #2E7A4E;
  --page-payment-methods-glow-color: #57E38D;
  --page-payment-methods-gold-color: #F2C14E;
  --page-payment-methods-divider-color: #1E3A2A;
  --page-payment-methods-deep-green-color: #0A4B2C;
  --page-payment-methods-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-payment-methods {
  background-color: var(--page-payment-methods-bg-color);
  color: var(--page-payment-methods-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

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

.page-payment-methods__section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--page-payment-methods-gold-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-payment-methods__section-description {
  font-size: 1.1rem;
  color: var(--page-payment-methods-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__text-main {
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__text-secondary {
  color: var(--page-payment-methods-text-secondary);
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 80px; /* Space for content below image */
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--page-payment-methods-gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-payment-methods__hero-description {
  font-size: 1.2rem;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* 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: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-payment-methods__btn-primary {
  background: var(--page-payment-methods-btn-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__btn-secondary {
  background: none;
  color: var(--page-payment-methods-glow-color);
  border: 2px solid var(--page-payment-methods-glow-color);
}

.page-payment-methods__btn-secondary:hover {
  background: rgba(var(--page-payment-methods-glow-color), 0.1);
  color: #ffffff;
  transform: translateY(-3px);
}

.page-payment-methods__cta-buttons--centered {
  justify-content: center;
}

/* General Section Styles */
.page-payment-methods__dark-section {
  background-color: var(--page-payment-methods-bg-color);
  padding: 80px 0;
}

.page-payment-methods__light-bg {
  background-color: #0A1B14; /* Slightly lighter dark green for contrast */
  padding: 80px 0;
}

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

.page-payment-methods__card {
  background-color: var(--page-payment-methods-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-payment-methods-border-color);
  color: var(--page-payment-methods-text-main);
  height: 100%; /* Ensure cards in a row have equal height */
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-payment-methods__feature-title,
.page-payment-methods__method-title,
.page-payment-methods__step-title,
.page-payment-methods__security-title {
  font-size: 1.5rem;
  color: var(--page-payment-methods-gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__feature-text,
.page-payment-methods__method-text,
.page-payment-methods__step-text,
.page-payment-methods__security-text {
  font-size: 1rem;
  color: var(--page-payment-methods-text-secondary);
  flex-grow: 1; /* Allow text to grow and push details to bottom */
}

/* Payment Methods Cards */
.page-payment-methods__method-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  width: 100%;
  text-align: left;
}

.page-payment-methods__method-details li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--page-payment-methods-text-secondary);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--page-payment-methods-divider-color);
  padding-bottom: 5px;
}

.page-payment-methods__method-details li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-payment-methods__text-link {
  color: var(--page-payment-methods-glow-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-payment-methods__text-link:hover {
  color: var(--page-payment-methods-gold-color);
}

/* FAQ Section */
.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-payment-methods__faq-item {
  background-color: var(--page-payment-methods-card-bg);
  border: 1px solid var(--page-payment-methods-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--page-payment-methods-gold-color);
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-item summary:hover {
  background-color: var(--page-payment-methods-deep-green-color);
}

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  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: 0 25px 20px;
  font-size: 1rem;
  color: var(--page-payment-methods-text-secondary);
}

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

/* CTA Bottom Section */
.page-payment-methods__cta-bottom-section {
  text-align: center;
  padding: 80px 0;
}

/* Images general styles */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Ensure all content area images are at least 200x200 */
.page-payment-methods__feature-icon,
.page-payment-methods__step-icon {
  min-width: 200px;
  min-height: 200px;
  width: 200px; /* Explicitly set to avoid smaller display */
  height: 200px; /* Explicitly set to avoid smaller display */
  object-fit: contain;
}

.page-payment-methods__method-image {
  min-width: 200px;
  min-height: 200px;
  height: 200px; /* Ensure it respects min height */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-payment-methods__hero-section,
  .page-payment-methods__dark-section,
  .page-payment-methods__light-bg {
    padding: 60px 0;
  }

  .page-payment-methods__main-title {
    font-size: 2.2rem;
  }

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

  .page-payment-methods__section-title {
    font-size: 2rem;
  }

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

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

  .page-payment-methods__hero-cta-buttons,
  .page-payment-methods__cta-buttons--centered {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

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

  .page-payment-methods__feature-icon,
  .page-payment-methods__step-icon {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 200px !important; /* Force to min size */
    height: 200px !important; /* Force to min size */
  }

  .page-payment-methods__method-image {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }

  .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: 10px !important;
  }

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

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

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

  .page-payment-methods__section-title {
    font-size: 1.6rem;
  }

  .page-payment-methods__hero-section,
  .page-payment-methods__dark-section,
  .page-payment-methods__light-bg {
    padding: 40px 0;
  }

  .page-payment-methods__faq-item summary {
    font-size: 0.95rem;
  }
}