/* style/partners.css */

:root {
  --primary-color: #0056B3; /* Deep Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #0a192f;
  --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 h1, .page-partners h2, .page-partners h3, .page-partners h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-partners h1 {
  font-size: 2.8em;
  text-align: center;
}

.page-partners h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

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

.page-partners h4 {
  font-size: 1.4em;
}

.page-partners p {
  margin-bottom: 1em;
  font-size: 1.1em;
}

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

.page-partners section {
  padding: 60px 0;
  margin-bottom: 0;
}

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

/* 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(--primary-color) 0%, #003366 100%); /* Darker blue gradient */
  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;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-partners .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

.page-partners .hero-content h1 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 3.5em;
  line-height: 1.2;
}

.page-partners .hero-content p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

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

.page-partners .cta-button:hover {
  background: #ffc107; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-partners .cta-button.large {
  padding: 20px 60px;
  font-size: 1.4em;
  margin-top: 40px;
}

/* Why Partner Section */
.page-partners .section-why-partner p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

.page-partners .benefit-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-partners .benefit-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
}

/* Partnership Types Section */
.page-partners .section-partnership-types p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-partners .partnership-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

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

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

.page-partners .card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-partners .card h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
  min-height: 60px; /* Ensure consistent height for titles */
}

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

.page-partners .card h3 a:hover {
  color: var(--secondary-color);
}

.page-partners .card p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
  flex-grow: 1;
}

.page-partners .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-partners .btn-small:hover {
  background: #003f80; /* Darker primary color */
}

/* Detailed Benefits Section */
.page-partners .section-benefits-detail h2, .page-partners .section-how-to-join h2, .page-partners .section-cta-bottom h2 {
  text-align: center;
}

.page-partners .section-benefits-detail p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-partners .detailed-benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-partners .detailed-benefits-list li {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-partners .detailed-benefits-list li:hover {
  transform: translateY(-3px);
}

.page-partners .detailed-benefits-list li h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.4em;
}

.page-partners .detailed-benefits-list li p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
}

/* How to Join Section */
.page-partners .section-how-to-join p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

.page-partners .step-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-partners .step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid var(--text-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-partners .step-item h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-partners .step-item p {
  font-size: 0.95em;
  color: var(--text-dark);
}

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

.page-partners .section-faq h2 {
  margin-bottom: 40px;
}

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  min-width: 20px; /* Ensure toggle icon has enough space */
  text-align: center;
}

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

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

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

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

/* Bottom CTA Section */
.page-partners .section-cta-bottom {
  background: linear-gradient(90deg, var(--primary-color) 0%, #003366 100%);
  color: var(--text-light);
  text-align: center;
  padding: 80px 20px;
}

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

.page-partners .section-cta-bottom p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-partners .hero-content h1 {
    font-size: 2.8em;
  }
  .page-partners .hero-content p {
    font-size: 1.1em;
  }
  .page-partners h2 {
    font-size: 2em;
  }
  .page-partners .benefits-grid, .page-partners .partnership-cards, .page-partners .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-partners section {
    padding: 40px 0;
  }
  .page-partners .hero-section {
    padding: 60px 15px;
  }
  .page-partners .hero-content h1 {
    font-size: 2.2em;
  }
  .page-partners .hero-content p {
    font-size: 1em;
  }
  .page-partners .cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-partners .cta-button.large {
    padding: 18px 45px;
    font-size: 1.2em;
  }
  .page-partners h2 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-partners h3 {
    font-size: 1.4em;
  }
  .page-partners .benefit-item, .page-partners .card, .page-partners .step-item, .page-partners .detailed-benefits-list li {
    padding: 25px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-partners .section-cta-bottom h2 {
    font-size: 2em;
  }
  .page-partners .section-cta-bottom p {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-partners .hero-content h1 {
    font-size: 1.8em;
  }
  .page-partners h2 {
    font-size: 1.6em;
  }
  .page-partners h3 {
    font-size: 1.2em;
  }
  .page-partners .cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-partners .cta-button.large {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-partners .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    top: -20px;
  }
  .page-partners .step-item {
    padding-top: 50px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 1.3em;
  }
  .page-partners .section-cta-bottom h2 {
    font-size: 1.8em;
  }
}