/* style/partners.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A202C; /* Dark Blue/Black */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f4f7f6;
  --background-dark: #2c3e50;
  --border-color: #e0e0e0;
  --accent-color: #FF6347; /* Tomato for emphasis */
}

.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-section {
  padding: 60px 0;
  text-align: center;
}

.page-partners-section:nth-of-type(even) {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-partners-section:nth-of-type(even) .page-partners-section-title,
.page-partners-section:nth-of-type(even) .page-partners-item-title,
.page-partners-section:nth-of-type(even) .page-partners-card-title,
.page-partners-section:nth-of-type(even) .page-partners-step-title,
.page-partners-section:nth-of-type(even) .faq-question h3 {
  color: var(--primary-color);
}

.page-partners-section:nth-of-type(even) p {
  color: #cccccc;
}

.page-partners-section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: var(--secondary-color);
  font-weight: bold;
}

.page-partners-main-title {
  font-size: 3.5em;
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-partners-intro-text {
  font-size: 1.2em;
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-partners-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-partners-button:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-partners-hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #000000 100%); /* Dark gradient for background */
  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 {
  width: 100%;
  margin-bottom: 30px;
  max-width: 900px; /* Adjust max-width for image */
}

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

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

/* Why Partner Section */
.page-partners-why-partner {
  background-color: var(--background-light);
  color: var(--text-dark);
}

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

.page-partners-grid-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-partners-grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-partners-grid-item img {
  width: 150px; /* Increased size for content images */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

/* Types of Partnership Section */
.page-partners-types {
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-partners-type-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--primary-color);
}

.page-partners-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-partners-type-card img {
  width: 250px; /* Larger image for cards */
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.page-partners-type-card p {
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Process Section */
.page-partners-process {
  background-color: var(--background-light);
  color: var(--text-dark);
}

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

.page-partners-step {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
}

.page-partners-step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
  line-height: 76px;
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

/* FAQ Section */
.page-partners-faq {
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

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

.faq-question:hover {
  background: #253443;
  border-color: #e6b800;
}

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

.faq-toggle {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.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 20px;
  background: #3a475a;
  color: #cccccc;
  border-radius: 0 0 5px 5px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px;
}

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

/* Contact CTA Section */
.page-partners-contact-cta {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 80px 20px;
}

.page-partners-contact-cta .page-partners-section-title {
  color: var(--secondary-color);
}

.page-partners-contact-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--secondary-color);
}

.page-partners-contact-cta .page-partners-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-partners-contact-cta .page-partners-button:hover {
  background-color: #0d1218;
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-partners-hero-section {
    padding: 60px 15px;
  }

  .page-partners-main-title {
    font-size: 2.8em;
  }

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

  .page-partners-intro-text,
  .page-partners-contact-text {
    font-size: 1.1em;
  }

  .page-partners-grid,
  .page-partners-types-grid,
  .page-partners-process-steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-partners-grid-item img {
    width: 120px;
    height: 120px;
  }

  .page-partners-type-card img {
    width: 200px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .page-partners-hero-section {
    padding: 40px 15px;
  }

  .page-partners-main-title {
    font-size: 2.2em;
  }

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

  .page-partners-intro-text,
  .page-partners-contact-text {
    font-size: 1em;
  }

  .page-partners-grid,
  .page-partners-types-grid,
  .page-partners-process-steps {
    grid-template-columns: 1fr;
  }

  .page-partners-step {
    max-width: 100%;
  }

  .faq-question {
    padding: 12px 15px;
  }

  .faq-question h3 {
    font-size: 1.1em;
  }

  .faq-answer {
    padding: 15px;
  }

  .page-partners-grid-item,
  .page-partners-type-card,
  .page-partners-step {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .page-partners-main-title {
    font-size: 1.8em;
  }

  .page-partners-section-title {
    font-size: 1.5em;
  }

  .page-partners-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}