/* style/payment-methods.css */

/* Custom colors and general styles */
.page-payment-methods {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;

  background-color: var(--background-color); /* Dark background */
  color: var(--text-main); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods__link {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-payment-methods__link:hover {
  text-decoration: underline;
}

/* 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 */
  text-align: center;
}

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

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

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

.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: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-payment-methods__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text for button gradient */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-payment-methods__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--background-color); /* Dark text on secondary color hover */
  transform: translateY(-3px);
}

/* General Section Styles */
.page-payment-methods__section {
  padding: 80px 20px;
}

.page-payment-methods__dark-section {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-payment-methods__light-section {
  background-color: #F2FFF6; /* Light background for contrast */
  color: #0A4B2C; /* Deep green text for light background */
}

.page-payment-methods__light-section .page-payment-methods__link {
  color: var(--deep-green);
}

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

.page-payment-methods__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-payment-methods__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: inherit;
}

/* Grid for Payment Methods */
.page-payment-methods__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-payment-methods__card {
  background-color: var(--card-bg); /* Dark card background */
  color: var(--text-main); /* Light text for dark card */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

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

.page-payment-methods__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-payment-methods__card-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-payment-methods__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-payment-methods__list-item::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__list--bullet .page-payment-methods__list-item::before {
  content: '•';
}

.page-payment-methods__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Step-by-Step Guide */
.page-payment-methods__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
  text-align: center;
}

.page-payment-methods__step {
  background-color: #ffffff; /* White background for steps */
  color: #333333; /* Dark text for white background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-payment-methods__light-section .page-payment-methods__subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  color: var(--deep-green);
}

/* Tips Grid */
.page-payment-methods__grid--tips {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-payment-methods__card--tip {
  background-color: var(--deep-green); /* Darker green for tips */
  color: var(--text-main);
  padding: 25px;
  text-align: center;
  align-items: center;
}

.page-payment-methods__card--tip .page-payment-methods__card-title {
  color: var(--glow-color);
  font-size: 1.3rem;
}

.page-payment-methods__card--tip .page-payment-methods__card-text {
  color: var(--text-secondary);
}

/* FAQ Section */
.page-payment-methods__faq-section {
  background-color: #F2FFF6; /* Light background for FAQ */
  color: #0A4B2C; /* Deep green text for light background */
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-payment-methods__faq-item {
  background-color: #ffffff; /* White background for each FAQ item */
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-payment-methods__faq-item[open] > .page-payment-methods__faq-question {
  background-color: #e6f7ed;
  border-bottom: 1px solid var(--primary-color);
}

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

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

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary-color);
}

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

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

/* Conclusion Section */
.page-payment-methods__conclusion-section {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--deep-green); /* Deep green background for conclusion */
  color: var(--text-main);
}

.page-payment-methods__conclusion-section .page-payment-methods__section-title {
  color: var(--glow-color);
}

.page-payment-methods__conclusion-section .page-payment-methods__section-description {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__section {
    padding: 60px 15px;
  }

  .page-payment-methods__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }

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

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

  .page-payment-methods__grid,
  .page-payment-methods__step-by-step {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-payment-methods__card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__section {
    padding: 40px 15px;
  }

  .page-payment-methods__hero-section {
    padding: 20px 15px;
    padding-top: 10px !important;
  }

  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__container,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__grid,
  .page-payment-methods__step-by-step,
  .page-payment-methods__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-payment-methods__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

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

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px; /* Space between stacked buttons */
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-payment-methods__grid,
  .page-payment-methods__step-by-step {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__card-image,
  .page-payment-methods__step-image,
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-payment-methods__card-title {
    font-size: 1.3rem;
  }

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

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

/* Ensure images don't use filter */
.page-payment-methods img {
  filter: none; /* Explicitly disable any filter effects */
}

/* Ensure video responsiveness - no video on this page, but keeping rules */
.page-payment-methods video,
.page-payment-methods__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-payment-methods__video-section,
.page-payment-methods__video-container,
.page-payment-methods__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-payment-methods video,
  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-payment-methods__video-section {
    padding-top: 10px !important;
  }
  
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}