/* style/partners.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
  --dark-bg-1: #0d0d0d; /* Assuming a dark body background from shared.css */
}

.page-partners {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for the main content area, assuming dark body bg */
  background-color: var(--dark-bg-1);
}

.page-partners__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  overflow: hidden;
}

.page-partners__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.page-partners__hero-image-main {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-partners__hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-partners__hero-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-partners__hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.page-partners__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-partners__btn-primary {
  background: var(--primary-color);
  color: var(--text-dark);
}

.page-partners__btn-primary:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-partners__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-partners__btn-secondary:hover {
  background: #a00000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-partners__section {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-light); /* Default text color for sections on dark background */
  background-color: var(--dark-bg-1);
}

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

.page-partners__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-partners__section-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-partners__keyword-highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-partners__why-partner-section {
  background-color: var(--dark-bg-1);
}

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

.page-partners__feature-card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark bg */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--text-light);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-partners__feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

.page-partners__feature-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-partners__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-partners__feature-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.page-partners__programs-section {
  background-color: #1a1a1a;
}

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

.page-partners__program-card {
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 300px;
}

.page-partners__program-card:hover {
  transform: translateY(-10px);
}

.page-partners__program-card.page-partners__dark-bg {
  background: var(--secondary-color);
  color: var(--text-light);
}

.page-partners__program-card.page-partners__light-bg {
  background: var(--background-light);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.page-partners__program-card.page-partners__light-bg .page-partners__program-title {
  color: var(--secondary-color);
}

.page-partners__program-card.page-partners__light-bg .page-partners__program-text {
  color: var(--text-dark);
}

.page-partners__program-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-partners__program-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  flex-grow: 1;
}

.page-partners__requirements-section {
  background-color: var(--dark-bg-1);
}

.page-partners__requirements-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-partners__list-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-partners__content-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-partners__process-section {
  background: linear-gradient(135deg, var(--dark-bg-1), #1a1a1a);
  color: var(--text-light);
}

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

.page-partners__step-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-partners__step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: -60px auto 20px auto;
  border: 3px solid var(--secondary-color);
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.5);
}

.page-partners__step-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-partners__step-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
}

.page-partners__call-to-action {
  margin-top: 60px;
}

.page-partners__call-to-action p {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 25px;
}

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

.page-partners__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-partners__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-partners__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--secondary-color);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-partners__faq-question:hover {
  background: #a00000;
  border-color: #e6b800;
}

.page-partners__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-partners__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-partners__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #2a2a2a;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 0 0 8px 8px;
}

.page-partners__faq-item.active .page-partners__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-partners__faq-item.active .page-partners__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg);
}

.page-partners__contact-section {
  background-color: var(--dark-bg-1);
}

.page-partners__contact-info {
  margin-top: 40px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.page-partners__contact-info p {
  margin-bottom: 15px;
}

.page-partners__contact-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-partners__contact-link:hover {
  color: #e6b800;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-partners__hero-title {
    font-size: 40px;
  }
  .page-partners__hero-description {
    font-size: 16px;
  }
  .page-partners__section-title {
    font-size: 32px;
  }
  .page-partners__section-description {
    font-size: 16px;
  }
  .page-partners__feature-title, .page-partners__program-title {
    font-size: 22px;
  }
  .page-partners__step-title {
    font-size: 20px;
  }
  .page-partners__hero-image-main, .page-partners__content-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-partners__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
  }
  .page-partners__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-partners__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-partners__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-partners__section {
    padding: 40px 15px;
  }
  .page-partners__section-title {
    font-size: 28px;
  }
  .page-partners__section-description {
    font-size: 15px;
  }
  .page-partners__features-grid, .page-partners__program-cards, .page-partners__process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-partners__feature-card, .page-partners__program-card, .page-partners__step-card {
    padding: 25px;
  }
  .page-partners__step-number {
    margin-top: -50px;
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
  .page-partners__faq-question {
    padding: 15px 20px;
  }
  .page-partners__faq-question h3 {
    font-size: 16px;
  }
  .page-partners__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-partners__faq-answer {
    padding: 0 20px;
  }
  .page-partners__faq-item.active .page-partners__faq-answer {
    padding: 15px 20px !important;
  }
  .page-partners img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-partners__section,
  .page-partners__card,
  .page-partners__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-partners__hero-title {
    font-size: 28px;
  }
  .page-partners__section-title {
    font-size: 24px;
  }
  .page-partners__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-partners__feature-title, .page-partners__program-title {
    font-size: 20px;
  }
  .page-partners__feature-icon {
    width: 80px;
  }
}