/* style/partners.css */
.page-partners {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #121212, so text is light */
  background-color: #121212; /* Ensure consistent background for sections not explicitly set */
}

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

/* Hero Section */
.page-partners__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: calc(80px + var(--header-offset, 120px)); /* Ensure space for fixed header */
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  background-color: #121212;
}

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

.page-partners__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Darken image for text readability */
}

.page-partners__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-partners__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

/* General Section Styles */
.page-partners__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
}

.page-partners__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.page-partners__dark-bg {
  background-color: #017439; /* Brand primary color as background */
  color: #ffffff;
  padding: 80px 0;
}

.page-partners__dark-bg .page-partners__section-title,
.page-partners__dark-bg .page-partners__section-description {
  color: #ffffff;
}

.page-partners__why-partner-section,
.page-partners__how-it-works-section,
.page-partners__marketing-tools,
.page-partners__faq-section,
.page-partners__cta-bottom {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

.page-partners__how-it-works-section .page-partners__section-title,
.page-partners__marketing-tools .page-partners__section-title,
.page-partners__faq-section .page-partners__section-title,
.page-partners__how-it-works-section .page-partners__section-description,
.page-partners__marketing-tools .page-partners__section-description,
.page-partners__faq-section .page-partners__section-description {
  color: #ffffff;
}

/* Buttons */
.page-partners__btn-primary,
.page-partners__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-partners__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-partners__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
}

.page-partners__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-partners__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-partners__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Features Grid */
.page-partners__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-partners__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
}

.page-partners__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-partners__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-partners__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Steps Grid */
.page-partners__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-partners__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-partners__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #017439;
  color: #ffffff;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-partners__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-partners__step-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Commission Table */
.page-partners__commission-table-wrapper {
  overflow-x: auto;
  margin-top: 50px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
}

.page-partners__commission-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Ensure table is readable on smaller screens */
}

.page-partners__commission-table th,
.page-partners__commission-table td {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
  color: #ffffff;
}

.page-partners__commission-table th {
  background-color: #017439;
  font-weight: bold;
  color: #ffffff;
}

.page-partners__commission-table tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-partners__commission-table a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-partners__commission-table a:hover {
  color: #e02a2a;
}

.page-partners__note-text {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
  color: #cccccc;
}

.page-partners__note-text a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-partners__note-text a:hover {
  color: #e02a2a;
}

/* Marketing Tools */
.page-partners__tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-partners__tool-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-partners__tool-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-partners__tool-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-partners__tool-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Video Section */
.page-partners__video-section {
  margin-top: 80px;
  text-align: center;
}

.page-partners__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin: 40px auto 20px auto;
}

.page-partners__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

.page-partners__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none; /* Allow click to pass through to video */
}

.page-partners__video-play-button {
  font-size: 4em;
  color: #ffffff;
  text-decoration: none;
  pointer-events: auto; /* Re-enable pointer events for the button */
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.page-partners__video-play-button:hover {
  background: rgba(0, 0, 0, 0.7);
}

.page-partners__video-caption {
  color: #cccccc;
  font-size: 0.9em;
}

/* Testimonials */
.page-partners__testimonials-section {
  padding: 80px 0;
}

.page-partners__testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-partners__testimonial-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  color: #ffffff;
  font-style: italic;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-partners__testimonial-quote {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-partners__testimonial-author {
  font-weight: bold;
  color: #FFFF00;
  font-style: normal;
}

/* FAQ Section */
.page-partners__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-partners__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}