/* style/partners.css */

/* Base Styles & Global Resets (scoped) */
.page-partners {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--page-background, #FFFFFF); /* Inherit from shared or default white */
}

/* Header offset for main content */
.page-partners__hero-section {
  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;
  box-sizing: border-box;
}

.page-partners__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

/* Hero Section */
.page-partners__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  background-color: #017439; /* Dark background for hero */
  padding-bottom: 60px;
}

.page-partners__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Subtle overlay for text readability */
}

.page-partners__hero-section .page-partners__container {
  position: relative;
  z-index: 2;
  padding-top: 50px;
  padding-bottom: 50px;
}

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

.page-partners__hero-description {
  font-size: 1.5em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-partners__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-partners__hero-cta:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

/* General Section Styles */
.page-partners__intro-section,
.page-partners__why-us-section,
.page-partners__types-section,
.page-partners__process-section,
.page-partners__tools-section,
.page-partners__faq-section,
.page-partners__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-partners__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-partners__dark-section {
  background-color: #017439; /* Brand color */
  color: #ffffff;
}

.page-partners__dark-section .page-partners__section-title,
.page-partners__dark-section .page-partners__text-block,
.page-partners__dark-section .page-partners__feature-title,
.page-partners__dark-section .page-partners__feature-description {
  color: #ffffff;
}

/* Why Us Section */
.page-partners__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

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

.page-partners__feature-card:hover {
  transform: translateY(-5px);
}

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

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

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

/* Partnership Types Section */
.page-partners__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-partners__type-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #eee;
  color: #333333;
}

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

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

.page-partners__type-features {
  list-style: none;
  padding: 0;
}

.page-partners__type-features li {
  margin-bottom: 10px;
  font-size: 1em;
  color: #333333;
  display: flex;
  align-items: center;
}

.page-partners__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-color: #017439; /* Icon color */
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.page-partners__icon--commission { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 15l-5-5h10l-5 5z"/></svg>'); }
.page-partners__icon--no-investment { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 15h2v-6h-2v6zm0-8h2V7h-2v2z"/></svg>'); }
.page-partners__icon--tracking { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 4C7.31 4 3.07 5.9 0 8.98L12 22 24 8.98C20.93 5.9 16.69 4 12 4zm0 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>'); }
.page-partners__icon--brand-awareness { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.1-3.23 7.7-7 8.94V12H5V5.5l7-3.01v8.5z"/></svg>'); }
.page-partners__icon--broad-reach { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>'); }
.page-partners__icon--strategic { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8c-.55 0-1 .45-1 1v7.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V12c0-3.87 3.13-7 7-7s7 3.13 7 7c0 2.76-1.68 5.1-4.08 6.13z"/></svg>'); }
.page-partners__icon--market-expansion { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 14.5L7.5 12h9L12 16.5zm-5.5-2.5L12 7.5l5.5 4.5H6.5z"/></svg>'); }
.page-partners__icon--new-products { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>'); }
.page-partners__icon--long-term { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>'); }

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

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

.page-partners__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-partners__step-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-partners__process-cta {
  margin-top: 40px;
  display: inline-block;
  padding: 15px 30px;
  background-color: #C30808;
  color: #FFFF00;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-partners__process-cta:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

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

.page-partners__tool-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #eee;
  color: #333333;
}

.page-partners__tool-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

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

.page-partners__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  background-color: #f0f8f0;
  border-bottom: 1px solid #e0e0e0;
}

.page-partners__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-partners__faq-qtext {
  flex-grow: 1;
}

.page-partners__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #017439;
  transition: transform 0.3s ease;
}

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

.page-partners__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
  border-top: 1px solid #f0f0f0;
}

/* Final CTA Section */
.page-partners__cta-section {
  background-color: #017439; /* Brand color */
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-bottom: 100px;
}

.page-partners__cta-section .page-partners__section-title,
.page-partners__cta-section .page-partners__text-block {
  color: #ffffff;
}

.page-partners__cta-section .page-partners__container {
  position: relative;
  z-index: 2;
}

.page-partners__cta-section .page-partners__section-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2;
}

.page-partners__final-cta {
  margin-top: 40px;
  display: inline-block;
  padding: 15px 30px;
  background-color: #C30808;
  color: #FFFF00;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-partners__final-cta:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

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

@media (max-width: 768px) {
  .page-partners__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-partners__hero-title {
    font-size: 2.2em;
  }
  .page-partners__hero-description {
    font-size: 1em;
  }
}