.page-partners {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f4f4f4;
}

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

/* 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: 60px 20px;
  background: linear-gradient(135deg, #FFD700, #4B0082); /* Gold to Dark Violet */
  color: #ffffff;
}

.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;
  max-width: 800px; /* Adjust max-width for content images */
}

.page-partners .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px 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: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-partners .hero-content p {
  font-size: 1.25em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-partners .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Gold */
  color: #4B0082; /* Dark Violet */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #FFD700;
}

.page-partners .cta-button:hover {
  background: #4B0082; /* Dark Violet */
  color: #FFD700; /* Gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border-color: #FFD700;
}

.page-partners .cta-bottom {
    text-align: center;
    margin-top: 50px;
}

/* General Section Styling */
.page-partners section {
  padding: 80px 0;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

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

.page-partners section h2 {
  font-size: 2.5em;
  color: #4B0082; /* Dark Violet */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-partners section h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
  border-radius: 2px;
}

.page-partners section p {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* Intro Section */
.page-partners .section-intro p {
  text-align: justify;
}

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

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

.page-partners .partnership-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-partners .partnership-card img {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 1px solid #eee;
}

.page-partners .partnership-card h3 {
  font-size: 1.6em;
  color: #4B0082; /* Dark Violet */
  margin-bottom: 15px;
}

.page-partners .partnership-card h3 a.page-partners.card-link {
  color: #4B0082;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-partners .partnership-card h3 a.page-partners.card-link:hover {
  color: #FFD700;
}

.page-partners .partnership-card p {
  font-size: 1em;
  color: #666;
  text-align: justify;
  margin-bottom: 0;
}

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

.page-partners .benefit-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 5px solid #FFD700; /* Gold accent */
}

.page-partners .benefit-item:hover {
  transform: translateY(-8px);
}

.page-partners .benefit-item img {
  width: 120px; /* Larger icons for content */
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-partners .benefit-item h3 {
  font-size: 1.5em;
  color: #4B0082; /* Dark Violet */
  margin-bottom: 15px;
}

.page-partners .benefit-item p {
  font-size: 1em;
  color: #666;
  text-align: center;
  margin-bottom: 0;
}

/* Process Section */
.page-partners .process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
  text-align: center;
}

.page-partners .step-item {
  position: relative;
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  border-top: 3px solid #4B0082;
}

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

.page-partners .step-item h4 {
  font-size: 1.4em;
  color: #FFD700; /* Gold */
  margin-bottom: 10px;
}

.page-partners .step-item p {
  font-size: 0.95em;
  color: #777;
  text-align: center;
  margin-bottom: 0;
}

/* FAQ Section */
.page-partners .section-faq {
  background-color: #f0f8ff;
}

.page-partners .faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.faq-question h3 {
  font-size: 1.25em;
  color: #4B0082; /* Dark Violet */
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700; /* Gold */
  transition: transform 0.3s ease;
  margin-left: 15px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 25px 25px;
  border-top: 1px solid #eee;
}

.faq-answer p {
  font-size: 1em;
  color: #555;
  text-align: left;
  margin: 0;
}

/* Contact Section */
.page-partners .section-contact {
  background-color: #f9f9f9;
  padding-bottom: 100px;
}

.page-partners .contact-info {
  text-align: center;
  margin-bottom: 40px;
}

.page-partners .contact-info p {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-partners .contact-info a {
  color: #4B0082; /* Dark Violet */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-partners .contact-info a:hover {
  color: #FFD700; /* Gold */
  text-decoration: underline;
}

.page-partners .contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.page-partners .form-group {
  margin-bottom: 25px;
}

.page-partners .form-group label {
  display: block;
  font-size: 1em;
  color: #4B0082; /* Dark Violet */
  margin-bottom: 8px;
  font-weight: bold;
}

.page-partners .form-group input[type="text"],
.page-partners .form-group input[type="email"],
.page-partners .form-group select,
.page-partners .form-group textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  color: #333;
  transition: border-color 0.3s ease;
}

.page-partners .form-group input:focus,
.page-partners .form-group select:focus,
.page-partners .form-group textarea:focus {
  border-color: #FFD700; /* Gold */
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.page-partners .form-group textarea {
  resize: vertical;
}

.page-partners .submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: #4B0082; /* Dark Violet */
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-partners .submit-button:hover {
  background-color: #FFD700; /* Gold */
  color: #4B0082;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 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 section h2 {
    font-size: 2em;
  }
  .page-partners .partnership-grid, .page-partners .benefits-grid, .page-partners .process-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@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 section {
    padding: 60px 0;
  }
  .page-partners section h2 {
    font-size: 1.8em;
  }
  .page-partners .partnership-card, .page-partners .benefit-item, .page-partners .step-item {
    padding: 20px;
  }
  .page-partners .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 10px 20px 20px;
  }
  .page-partners .contact-form {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .page-partners .hero-content h1 {
    font-size: 1.8em;
  }
  .page-partners .hero-content p {
    font-size: 0.9em;
  }
  .page-partners .cta-button {
    width: 100%;
    max-width: 280px;
  }
  .page-partners section h2 {
    font-size: 1.6em;
  }
  .page-partners .partnership-grid, .page-partners .benefits-grid, .page-partners .process-steps {
    grid-template-columns: 1fr;
  }
  .page-partners .partnership-card img {
    height: 200px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}