/* style/payment-methods.css */

/* Base styles for the page */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Inherit from shared or default to white */
}

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

.page-payment-methods__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

.page-payment-methods__section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: inherit;
  font-weight: bold;
}

.page-payment-methods__section-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
}

.page-payment-methods__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.page-payment-methods__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-payment-methods__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.page-payment-methods__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: bold;
  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-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-payment-methods__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc4;
  border-color: #f0f0f0;
}

/* Why Choose Us Section */
.page-payment-methods__why-choose-us .page-payment-methods__section-title,
.page-payment-methods__why-choose-us .page-payment-methods__section-description {
  color: #333333;
}

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

.page-payment-methods__feature-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-payment-methods__feature-card:hover {
  transform: translateY(-5px);
}

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

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

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

/* Deposit/Withdrawal Methods Sections */
.page-payment-methods__deposit-methods .page-payment-methods__section-title,
.page-payment-methods__deposit-methods .page-payment-methods__section-description {
  color: #333333;
}

.page-payment-methods__withdrawal-methods .page-payment-methods__section-title,
.page-payment-methods__withdrawal-methods .page-payment-methods__section-description {
  color: #ffffff;
}

.page-payment-methods__method-card {
  text-align: left;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.page-payment-methods__method-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.page-payment-methods__method-title {
  font-size: 1.8rem;
  color: #26A9E0;
  margin: 0;
}

.page-payment-methods__method-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.page-payment-methods__method-description {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 20px;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-payment-methods__method-details li {
  margin-bottom: 10px;
  color: #555555;
}

.page-payment-methods__method-details--light li {
  color: #f0f0f0;
}

.page-payment-methods__detail-label {
  font-weight: bold;
  color: #333333;
}

.page-payment-methods__method-details--light .page-payment-methods__detail-label {
  color: #ffffff;
}

.page-payment-methods__steps-list {
  list-style-type: decimal;
  padding-left: 20px;
  color: #555555;
}

.page-payment-methods__steps-list li {
  margin-bottom: 10px;
}

.page-payment-methods__steps-list--light {
  color: #f0f0f0;
}

.page-payment-methods__steps-list--light li {
  color: #f0f0f0;
}

.page-payment-methods__note-text {
  font-style: italic;
  color: #777777;
  margin-top: 30px;
}

.page-payment-methods__withdrawal-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-payment-methods__withdrawal-image {
  flex: 1 1 400px;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__info-text {
  flex: 1 1 400px;
  max-width: 50%;
}

.page-payment-methods__sub-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-payment-methods__info-text p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Security Measures Section */
.page-payment-methods__security-measures .page-payment-methods__section-title,
.page-payment-methods__security-measures .page-payment-methods__section-description {
  color: #333333;
}

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

.page-payment-methods__security-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__security-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-payment-methods__security-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-payment-methods__security-text {
  font-size: 0.95rem;
  color: #555555;
}

/* FAQ Section */
.page-payment-methods__faq-section .page-payment-methods__section-title {
  color: #333333;
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

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

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  content: '−';
}

.page-payment-methods__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1rem;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

/* CTA Section */
.page-payment-methods__cta-section {
  padding: 80px 0;
}

.page-payment-methods__cta-section .page-payment-methods__section-title,
.page-payment-methods__cta-section .page-payment-methods__section-description {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-payment-methods__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-payment-methods__section-title {
    font-size: 2rem;
  }
  .page-payment-methods__withdrawal-info {
    flex-direction: column;
  }
  .page-payment-methods__withdrawal-image,
  .page-payment-methods__info-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__section {
    padding: 40px 0;
  }
  .page-payment-methods__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-payment-methods__hero-description {
    font-size: 1rem;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Image responsive rules */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Container responsive rules */
  .page-payment-methods__container,
  .page-payment-methods__section,
  .page-payment-methods__hero-content,
  .page-payment-methods__method-card,
  .page-payment-methods__feature-card,
  .page-payment-methods__security-item,
  .page-payment-methods__faq-item,
  .page-payment-methods__withdrawal-info,
  .page-payment-methods__info-text,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  
  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Video responsive rules (even if not explicitly used, include for robustness) */
  .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;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__section-title {
    font-size: 1.8rem;
  }
  .page-payment-methods__method-title {
    font-size: 1.5rem;
  }
  .page-payment-methods__sub-title {
    font-size: 1.6rem;
  }
  .page-payment-methods__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-payment-methods__faq-answer {
    padding: 10px 20px 20px;
  }
}