.page-partners-affiliate-program {
  font-family: 'Arial', sans-serif;
  color: #1A202C; /* Dark text on light background */
  line-height: 1.6;
}

.page-partners-affiliate-program__hero {
  background: linear-gradient(135deg, #1A202C 0%, #3a475a 100%);
  color: #FFFFFF;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.page-partners-affiliate-program__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-partners-affiliate-program__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  font-weight: bold;
  line-height: 1.2;
}

.page-partners-affiliate-program__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-partners-affiliate-program__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-partners-affiliate-program__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 1200px; /* Ensure it covers well on larger screens */
}

.page-partners-affiliate-program__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-partners-affiliate-program__section:nth-of-type(odd) {
  background-color: #F8F8F8;
}

.page-partners-affiliate-program__section-title {
  font-size: 2.5em;
  color: #1A202C;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-partners-affiliate-program__section-description {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-partners-affiliate-program__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-partners-affiliate-program__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #1A202C;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-partners-affiliate-program__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-partners-affiliate-program__btn--secondary {
  background-color: #1A202C;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-partners-affiliate-program__btn--secondary:hover {
  background-color: #333d4d;
  transform: translateY(-2px);
}

.page-partners-affiliate-program__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-partners-affiliate-program__benefit-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border-top: 5px solid #FFD700;
}

.page-partners-affiliate-program__benefit-item:hover {
  transform: translateY(-5px);
}

.page-partners-affiliate-program__benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-partners-affiliate-program__benefit-title {
  font-size: 1.5em;
  color: #1A202C;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-partners-affiliate-program__benefit-text {
  color: #555;
  font-size: 1em;
}

.page-partners-affiliate-program__commission-details {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: left;
}

.page-partners-affiliate-program__commission-block {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #FFD700;
}

.page-partners-affiliate-program__commission-subtitle {
  font-size: 1.8em;
  color: #1A202C;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-partners-affiliate-program__commission-text {
  color: #555;
  margin-bottom: 15px;
}

.page-partners-affiliate-program__commission-image {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
}

.page-partners-affiliate-program__commission-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-partners-affiliate-program__commission-list li {
  background-color: #F0F2F5;
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 5px;
  color: #1A202C;
  border-left: 4px solid #FFD700;
  font-size: 1.05em;
}

.page-partners-affiliate-program__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-partners-affiliate-program__step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 5px solid #FFD700;
}

.page-partners-affiliate-program__step-number {
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #1A202C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-partners-affiliate-program__step-title {
  font-size: 1.6em;
  color: #1A202C;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-partners-affiliate-program__step-text {
  color: #555;
  font-size: 0.95em;
}

.page-partners-affiliate-program__step-image {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
}

.page-partners-affiliate-program__cta-bottom {
  margin-top: 60px;
  padding: 40px;
  background-color: #1A202C;
  color: #FFFFFF;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-partners-affiliate-program__cta-text {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
}

.page-partners-affiliate-program__faq-container {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.page-partners-affiliate-program__faq-item {
  background-color: #FFFFFF;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-partners-affiliate-program__faq-question {
  font-size: 1.2em;
  color: #1A202C;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  font-weight: bold;
}

.page-partners-affiliate-program__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-partners-affiliate-program__faq-item.active .page-partners-affiliate-program__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-partners-affiliate-program__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  color: #555;
}

.page-partners-affiliate-program__faq-item.active .page-partners-affiliate-program__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-partners-affiliate-program__faq-answer p {
  margin-bottom: 15px;
}

.page-partners-affiliate-program__faq-answer a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-partners-affiliate-program__faq-answer a:hover {
  text-decoration: underline;
}

.page-partners-affiliate-program__section--cta-final {
  background-color: #1A202C;
  color: #FFFFFF;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.page-partners-affiliate-program__cta-final-content {
  max-width: 900px;
}

.page-partners-affiliate-program__cta-final-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-partners-affiliate-program__cta-final-description {
  font-size: 1.2em;
  color: #E0E0E0;
  margin-bottom: 40px;
}

.page-partners-affiliate-program__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
  min-width: 250px;
}

.page-partners-affiliate-program__cta-final-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

/* Floating Ad */
.page-partners-affiliate-program__floating-ad {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 280px;
  background-color: #1A202C;
  border: 2px solid #FFD700;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  animation: fadeIn 0.5s ease-out;
}

.page-partners-affiliate-program__floating-ad a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  text-align: center;
}

.page-partners-affiliate-program__floating-ad-image {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}

.page-partners-affiliate-program__floating-ad-text {
  color: #FFD700;
  font-weight: bold;
  font-size: 1.05em;
  padding: 5px 0;
}

.page-partners-affiliate-program__floating-ad-close {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  color: #FFD700;
  font-size: 1.5em;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.page-partners-affiliate-program__floating-ad-close:hover {
  color: #e6c200;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-partners-affiliate-program__hero {
    padding: 60px 20px;
  }

  .page-partners-affiliate-program__hero-title {
    font-size: 2.5em;
  }

  .page-partners-affiliate-program__hero-subtitle {
    font-size: 1em;
  }

  .page-partners-affiliate-program__section-title {
    font-size: 2em;
  }

  .page-partners-affiliate-program__benefits-grid,
  .page-partners-affiliate-program__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-partners-affiliate-program__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-partners-affiliate-program__btn--large {
    min-width: unset;
    width: 100%;
  }

  .page-partners-affiliate-program__cta-final-title {
    font-size: 2.2em;
  }

  .page-partners-affiliate-program__floating-ad {
    width: calc(100% - 40px);
    right: 20px;
    left: 20px;
  }
}

@media (max-width: 480px) {
  .page-partners-affiliate-program__hero-title {
    font-size: 2em;
  }

  .page-partners-affiliate-program__section-title {
    font-size: 1.8em;
  }

  .page-partners-affiliate-program__btn {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-partners-affiliate-program__cta-final-title {
    font-size: 1.8em;
  }
}