/* style/partners.css */

/* Base styles for the partners page */
.page-partners {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF;
}

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

.page-partners__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-partners__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

/* Hero Section */
.page-partners__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #26A9E0, #5ac8fa);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

.page-partners__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-partners__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.page-partners__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: auto;
  opacity: 0.2;
  z-index: 0;
}

.page-partners__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-partners__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

.page-partners__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

/* Why Partner Section */
.page-partners__why-partner-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
}

.page-partners__why-partner-section .page-partners__section-title {
  color: #FFFFFF;
}

.page-partners__why-partner-section .page-partners__section-description {
  color: #f0f0f0;
}

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

.page-partners__benefit-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-partners__benefit-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFFFF;
}

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

/* How It Works Section */
.page-partners__how-it-works-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-partners__step-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-partners__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: rgba(38, 169, 224, 0.1);
}

.page-partners__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #333333;
}

.page-partners__step-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-partners__step-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Tiers Section */
.page-partners__tiers-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-partners__tiers-section .page-partners__section-title {
  color: #FFFFFF;
}

.page-partners__tiers-section .page-partners__section-description {
  color: #f0f0f0;
}

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

.page-partners__tier-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-partners__tier-title {
  font-size: 2em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-partners__tier-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-partners__tier-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
  width: 100%;
}

.page-partners__tier-features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #FFFFFF;
  font-size: 1.05em;
}

/* Testimonials Section */
.page-partners__testimonials-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-partners__testimonial-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #e0e0e0;
}

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

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

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

/* FAQ Section */
.page-partners__faq-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-partners__faq-section .page-partners__section-title {
  color: #FFFFFF;
}

.page-partners__faq-section .page-partners__section-description {
  color: #f0f0f0;
}

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

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

.page-partners__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-partners__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-partners__faq-title {
  font-size: 1.3em;
  margin: 0;
  color: #FFFFFF;
}

.page-partners__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFFFF;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-partners__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-partners__faq-item.active .page-partners__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-partners__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Call to Action Section */
.page-partners__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #FFFFFF;
  color: #333333;
}

.page-partners__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-partners__hero-title {
    font-size: 2.8em;
  }
  .page-partners__hero-description {
    font-size: 1.1em;
  }
  .page-partners__hero-image-wrapper {
    width: 60%;
  }
  .page-partners__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-partners {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-partners__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-partners__hero-title {
    font-size: 2.2em;
  }
  .page-partners__hero-description {
    font-size: 1em;
  }
  .page-partners__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 30px;
    opacity: 1;
  }
  .page-partners__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-partners__btn-primary,
  .page-partners__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-partners__section-title {
    font-size: 1.8em;
  }
  .page-partners__section-description {
    font-size: 0.95em;
  }
  .page-partners__benefits-grid,
  .page-partners__steps-grid,
  .page-partners__tiers-grid,
  .page-partners__testimonials-grid {
    grid-template-columns: 1fr;
  }
  .page-partners__benefit-item,
  .page-partners__step-item,
  .page-partners__tier-card,
  .page-partners__testimonial-card {
    padding: 20px;
  }
  .page-partners__benefit-icon,
  .page-partners__step-image {
    max-width: 200px;
  }
  .page-partners__faq-question {
    padding: 15px 20px;
  }
  .page-partners__faq-title {
    font-size: 1.1em;
  }
  .page-partners__faq-answer {
    padding: 0 20px;
  }
  .page-partners__faq-item.active .page-partners__faq-answer {
    padding: 10px 20px;
  }

  /* Image responsiveness for mobile */
  .page-partners img {
    max-width: 100% !important;
    height: auto !important;
    display: block !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;
  }
  .page-partners__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-partners__hero-title {
    font-size: 1.8em;
  }
  .page-partners__section-title {
    font-size: 1.5em;
  }
  .page-partners__btn-primary,
  .page-partners__btn-secondary {
    font-size: 0.95em;
    padding: 10px 15px;
  }
}