/* style/affiliate-program.css */

/* Base styles for the affiliate program page */
.page-affiliate-program {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #111; /* Inherited from body, but ensures consistency */
}

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

.page-affiliate-program__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-affiliate-program__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-affiliate-program__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for dark background */
}

/* Hero Section */
.page-affiliate-program__hero-section {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-affiliate-program__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.6); /* Slightly darken background image for text readability */
}

.page-affiliate-program__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: -1;
}

.page-affiliate-program__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}