/* style/partners.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #0A2463; /* Dark Blue */
  --accent-color: #E74C3C; /* Red for emphasis */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #1a1a2e;
  --border-color: #e0e0e0;
}

.page-partners {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

.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;
  background: linear-gradient(135deg, var(--secondary-color), #0A2463);
  color: var(--text-light);
}

.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;
}

.page-partners-hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-partners-hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-partners-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-partners-hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-partners-hero-content p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-partners-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-partners-cta-button:hover {
  background: #FFC107;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-partners-cta-bottom {
  margin-top: 40px;
}

.page-partners-intro-section, 
.page-partners-benefits-section, 
.page-partners-models-section, 
.page-partners-process-section, 
.page-partners-support-section, 
.page-partners-faq-section, 
.page-partners-blog-section {
  padding: 60px 0;
  text-align: center;
}

.page-partners-intro-section {
  background-color: var(--background-light);
}

.page-partners-intro-section h2 {
  color: var(--secondary-color);
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-partners-intro-section p {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-partners-flex-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-partners-grid-item {
  background-color: var(--text-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-partners-grid-item:hover {
  transform: translateY(-10px);
}

.page-partners-feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-partners-grid-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-partners-grid-item p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 0;
}

.page-partners-benefits-section {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-partners-benefits-section h2 {
  color: var(--primary-color);
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-partners-benefits-section p {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-partners-benefit-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.page-partners-benefit-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-partners-benefit-list li:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-partners-benefit-list li img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-right: 25px;
  flex-shrink: 0;
}

.page-partners-benefit-list li h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-partners-benefit-list li p {
  font-size: 1em;
  color: var(--text-light);
  margin-bottom: 0;
}

.page-partners-models-section {
  background-color: var(--background-light);
}

.page-partners-models-section h2 {
  color: var(--secondary-color);
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-partners-models-section p {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-partners-model-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-partners-card {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  max-width: 350px;
  padding-bottom: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-partners-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
}

.page-partners-card h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-partners-card p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 25px;
  flex-grow: 1;
  padding: 0 20px;
}

.page-partners-card-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 0 auto 10px auto;
}

.page-partners-card-button:hover {
  background: #071a47;
  color: #FFEB3B;
  transform: translateY(-2px);
}

.page-partners-process-section {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-partners-process-section h2 {
  color: var(--primary-color);
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-partners-process-section p {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-partners-process-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-partners-step {
  background-color: var(--text-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  flex: 1 1 280px;
  max-width: 320px;
  text-align: center;
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-partners-step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-partners-step h3 {
  color: var(--secondary-color);
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-partners-step p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 0;
}

.page-partners-support-section {
  background-color: var(--background-light);
}

.page-partners-support-section h2 {
  color: var(--secondary-color);
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-partners-support-section p {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-partners-support-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-partners-support-item {
  background-color: var(--text-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-partners-support-item:hover {
  transform: translateY(-10px);
}

.page-partners-support-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-partners-support-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-partners-support-item p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 0;
}

.page-partners-faq-section {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-partners-faq-section h2 {
  color: var(--primary-color);
  font-size: 2.5em;
  margin-bottom: 40px;
}

.page-partners-faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--text-light);
}

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

.faq-item.active .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-question:hover {
  background: #FFC107;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--secondary-color);
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  transition: transform 0.3s ease;
  line-height: 1;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #f9f9f9;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border: 1px solid var(--border-color);
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
}

.page-partners-blog-section {
  background-color: var(--background-light);
}

.page-partners-blog-section h2 {
  color: var(--secondary-color);
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-partners-blog-section p {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-partners-blog-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-partners-blog-card {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  max-width: 350px;
  text-align: left;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-partners-blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.page-partners-blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-partners-blog-content h3 {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-partners-blog-content h3 a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-partners-blog-content h3 a:hover {
  color: var(--primary-color);
}

.page-partners-blog-content p {
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-partners-blog-date {
  font-size: 0.85em;
  color: #777;
  margin-top: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-partners-hero-content h1 {
    font-size: 2.5em;
  }
  .page-partners-hero-content p {
    font-size: 1.1em;
  }
  .page-partners-intro-section h2, 
  .page-partners-benefits-section h2, 
  .page-partners-models-section h2, 
  .page-partners-process-section h2, 
  .page-partners-support-section h2, 
  .page-partners-faq-section h2, 
  .page-partners-blog-section h2 {
    font-size: 2em;
  }
  .page-partners-benefit-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-partners-benefit-list li img {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-partners-grid-item, .page-partners-card, .page-partners-step, .page-partners-support-item, .page-partners-blog-card {
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .page-partners-hero-section {
    padding: 40px 15px;
  }
  .page-partners-hero-content h1 {
    font-size: 2em;
  }
  .page-partners-hero-content p {
    font-size: 1em;
  }
  .page-partners-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-partners-intro-section, 
  .page-partners-benefits-section, 
  .page-partners-models-section, 
  .page-partners-process-section, 
  .page-partners-support-section, 
  .page-partners-faq-section, 
  .page-partners-blog-section {
    padding: 40px 0;
  }
  .page-partners-intro-section h2, 
  .page-partners-benefits-section h2, 
  .page-partners-models-section h2, 
  .page-partners-process-section h2, 
  .page-partners-support-section h2, 
  .page-partners-faq-section h2, 
  .page-partners-blog-section h2 {
    font-size: 1.8em;
  }
  .page-partners-flex-grid, .page-partners-model-cards, .page-partners-process-steps, .page-partners-support-grid, .page-partners-blog-cards {
    flex-direction: column;
    align-items: center;
  }
  .page-partners-grid-item, .page-partners-card, .page-partners-step, .page-partners-support-item, .page-partners-blog-card {
    max-width: 90%;
    flex: 1 1 90%;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-partners-hero-content h1 {
    font-size: 1.6em;
  }
  .page-partners-hero-content p {
    font-size: 0.9em;
  }
  .page-partners-intro-section h2, 
  .page-partners-benefits-section h2, 
  .page-partners-models-section h2, 
  .page-partners-process-section h2, 
  .page-partners-support-section h2, 
  .page-partners-faq-section h2, 
  .page-partners-blog-section h2 {
    font-size: 1.5em;
  }
  .page-partners-cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-partners-benefit-list li {
    padding: 15px;
  }
  .page-partners-benefit-list li img {
    width: 60px;
    height: 60px;
  }
  .page-partners-benefit-list li h3 {
    font-size: 1.3em;
  }
  .page-partners-step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-partners-step h3 {
    font-size: 1.5em;
  }
  .page-partners-blog-content h3 {
    font-size: 1.2em;
  }
}