.page-partners {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-partners__hero-section {
  background-color: #000000; /* Dark background for hero section */
  color: #ffffff;
  padding: 80px 20px 0; /* Padding top for hero content, image below */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-partners__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-partners__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Highlight title with login color */
}

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

.page-partners__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-partners__button {
  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, transform 0.3s ease;
}

.page-partners__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-partners__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-partners__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-partners__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-partners__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  margin-top: 40px;
}

.page-partners__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-partners__introduction-section,
.page-partners__why-partner-section,
.page-partners__program-details-section,
.page-partners__how-to-join-section,
.page-partners__testimonials-section,
.page-partners__faq-section,
.page-partners__contact-cta-section {
  padding: 60px 0;
}

.page-partners__introduction-section {
  background-color: #f8f8f8;
}

.page-partners__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-partners__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-partners__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-partners__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-partners__feature-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-partners__feature-description {
  font-size: 1em;
  color: #555555;
}

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

.page-partners__program-card {
  background-color: #000000; /* Dark background for program cards */
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-partners__program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.page-partners__program-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-partners__program-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-partners__program-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
}

.page-partners__button--secondary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-partners__button--secondary:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-partners__how-to-join-section {
  background-color: #f8f8f8;
}

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

.page-partners__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-partners__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #FCBC45;
  color: #000000;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-partners__step-description {
  font-size: 1em;
  color: #555555;
}

.page-partners__cta-bottom {
  margin-top: 50px;
  text-align: center;
}

.page-partners__button--join {
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #000000;
}

.page-partners__button--join:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

.page-partners__testimonials-section {
  background-color: #000000; /* Dark background for testimonials */
  color: #ffffff;
}

.page-partners__testimonials-section .page-partners__section-title {
  color: #FCBC45;
}

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

.page-partners__testimonial-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-partners__testimonial-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #FCBC45;
}

.page-partners__testimonial-text {
  font-style: italic;
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-partners__testimonial-author {
  font-weight: bold;
  color: #FCBC45;
}

.page-partners__faq-section {
  background-color: #f8f8f8;
}

.page-partners__faq-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-partners__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-partners__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FCBC45;
}

.page-partners__faq-question.active::after {
  content: '-';
}

.page-partners__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none; /* Hidden by default, toggled by JS */
  padding-top: 10px;
}

.page-partners__faq-answer.active {
  display: block;
}

.page-partners__contact-cta-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-partners__button--contact {
  background-color: transparent;
  color: #000000;
  border: 2px solid #000000;
  margin-right: 20px;
}

.page-partners__button--contact:hover {
  background-color: #000000;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-partners__button--apply {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-partners__button--apply:hover {
  background-color: #000000;
  color: #FCBC45;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-partners__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-partners__hero-title {
    font-size: 2.5em;
  }

  .page-partners__hero-description {
    font-size: 1em;
  }

  .page-partners__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-partners__button {
    width: 100%;
    max-width: 300px;
  }

  .page-partners__section-title {
    font-size: 2em;
  }

  .page-partners__feature-card,
  .page-partners__program-card,
  .page-partners__step-card,
  .page-partners__testimonial-card {
    padding: 20px;
  }

  .page-partners__testimonial-avatar {
    width: 150px;
    height: 150px;
  }

  .page-partners__button--contact {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-partners__contact-cta-section .page-partners__button {
    width: 100%;
    max-width: 300px;
  }

  /* Mobile content image overflow prevention */
  .page-partners img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-partners__section-title {
    font-size: 1.8em;
  }

  .page-partners__faq-question {
    font-size: 1.1em;
  }
}