/* style/payment-methods.css */

/* Base styles for the page content, considering the shared body background */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Inherit from body or shared.css */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow: hidden;
  text-align: center;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3; /* Slightly dim the background image */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  padding: 40px;
  border-radius: 10px;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-payment-methods__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

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

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

.page-payment-methods__dark-bg {
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: inherit; /* Inherit from section background type */
}

.page-payment-methods__section-title--white {
  color: #ffffff;
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: inherit; /* Inherit from section background type */
}

.page-payment-methods__section-description--white {
  color: #f0f0f0;
}

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