/* style/partners.css */
:root {
  --primary-color: #CC0000;
  --secondary-color: #FFD700;
  --dark-background: #1a1a1a;
  --light-text: #ffffff;
  --dark-text: #333333;
  --grey-background: #f4f4f4;
  --border-color: #e0e0e0;
}

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

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

.page-partners h1, .page-partners h2, .page-partners h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-partners h1 {
  font-size: 3em;
  color: var(--light-text);
}

.page-partners h2 {
  font-size: 2.5em;
  margin-top: 40px;
  color: var(--dark-text);
}

.page-partners h3 {
  font-size: 1.8em;
  color: var(--primary-color);
}

.page-partners p {
  margin-bottom: 15px;
  text-align: center;
}

.page-partners .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-partners .cta-button:hover {
  background: var(--secondary-color);
  color: var(--dark-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-partners .button-link {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--dark-text);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-partners .button-link:hover {
  background: var(--primary-color);
  color: var(--light-text);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 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, var(--primary-color) 0%, #a00000 100%); /* Darker red gradient */
  color: var(--light-text);
}

.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 10px 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 {
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-partners .hero-content p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Why Partner Section */
.page-partners .why-partner {
  padding: 60px 0;
  background: var(--grey-background);
  text-align: center;
}

.page-partners .why-partner h2 {
  margin-bottom: 20px;
}

.page-partners .why-partner > p {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
  color: var(--dark-text);
}

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

.page-partners .benefit-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  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: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

.page-partners .call-to-action-text {
  margin-top: 50px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
}

/* Partnership Types Section */
.page-partners .partnership-types {
  padding: 60px 0;
  background: #ffffff;
  text-align: center;
}

.page-partners .partnership-types > p {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
  color: var(--dark-text);
}

.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: var(--grey-background);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.page-partners .type-card ul {
  list-style: disc inside;
  text-align: left;
  padding-left: 15px;
  margin-bottom: 20px;
  color: var(--dark-text);
}

.page-partners .type-card ul li {
  margin-bottom: 8px;
  font-size: 0.9em;
}

/* Registration Process Section */
.page-partners .registration-process {
  padding: 60px 0;
  background: var(--dark-background);
  color: var(--light-text);
  text-align: center;
}

.page-partners .registration-process h2 {
  color: var(--secondary-color);
}

.page-partners .registration-process > p {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.9);
}

.page-partners .process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-partners .process-list li {
  background: #333333;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-partners .process-list li img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-partners .process-list li h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-partners .process-list li p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9em;
}

/* Partner Support Section */
.page-partners .partner-support {
  padding: 60px 0;
  background: var(--grey-background);
  text-align: center;
}

.page-partners .partner-support > p {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
  color: var(--dark-text);
}

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

.page-partners .support-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

/* FAQ Section */
.page-partners .faq-section {
  padding: 60px 0;
  background: #fdfdfd;
  text-align: center;
}

.page-partners .faq-section > p {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
  color: var(--dark-text);
}

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

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

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

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

.page-partners .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--dark-text);
  text-align: left;
  flex-grow: 1;
}

.page-partners .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

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

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

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

.page-partners .faq-answer p {
  margin: 0;
  text-align: left;
}

.page-partners .faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-partners .faq-answer a:hover {
  text-decoration: underline;
}

/* Contact Us Section */
.page-partners .contact-us {
  padding: 60px 0;
  background: var(--dark-background);
  color: var(--light-text);
  text-align: center;
}

.page-partners .contact-us h2 {
  color: var(--secondary-color);
}

.page-partners .contact-us > p {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.9);
}

.page-partners .contact-form-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 40px auto 0 auto;
  align-items: center;
}

.page-partners .partner-contact-form {
  background: #333333;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  flex: 1 1 450px;
  min-width: 300px;
  text-align: left;
}

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

.page-partners .form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--light-text);
  font-weight: bold;
}

.page-partners .form-group input[type="text"],
.page-partners .form-group input[type="email"],
.page-partners .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #555555;
  border-radius: 5px;
  background: #444444;
  color: var(--light-text);
  font-size: 1em;
  box-sizing: border-box;
}

.page-partners .form-group input::placeholder,
.page-partners .form-group textarea::placeholder {
  color: #aaaaaa;
}

.page-partners .form-group input:focus,
.page-partners .form-group textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.page-partners .contact-image {
  flex: 1 1 400px;
  max-width: 450px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-partners .final-cta-text {
  margin-top: 50px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-partners h1 {
    font-size: 2.5em;
  }
  .page-partners h2 {
    font-size: 2em;
  }
  .page-partners h3 {
    font-size: 1.6em;
  }
  .page-partners .benefits-grid, .page-partners .types-grid, .page-partners .process-list, .page-partners .support-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-partners .contact-form-container {
    flex-direction: column;
    gap: 30px;
  }
  .page-partners .partner-contact-form, .page-partners .contact-image {
    flex: 1 1 auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-partners h1 {
    font-size: 2em;
  }
  .page-partners h2 {
    font-size: 1.8em;
  }
  .page-partners h3 {
    font-size: 1.4em;
  }
  .page-partners .hero-section {
    padding: 40px 15px;
  }
  .page-partners .hero-image img {
    border-radius: 4px;
  }
  .page-partners .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-partners .faq-question {
    padding: 12px;
  }
  .page-partners .faq-question h3 {
    font-size: 1.1em;
  }
  .page-partners .faq-toggle {
    font-size: 20px;
  }
  .page-partners .process-list li, .page-partners .benefit-item, .page-partners .type-card, .page-partners .support-item {
    padding: 20px;
  }
  .page-partners .form-group label {
    font-size: 0.9em;
  }
  .page-partners .form-group input, .page-partners .form-group textarea {
    padding: 10px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-partners .container {
    padding: 0 15px;
  }
  .page-partners h1 {
    font-size: 1.8em;
  }
  .page-partners h2 {
    font-size: 1.6em;
  }
  .page-partners .benefits-grid, .page-partners .types-grid, .page-partners .process-list, .page-partners .support-grid {
    grid-template-columns: 1fr;
  }
  .page-partners .hero-content p {
    font-size: 1em;
  }
  .page-partners .why-partner > p, .page-partners .partnership-types > p, .page-partners .registration-process > p, .page-partners .partner-support > p, .page-partners .faq-section > p, .page-partners .contact-us > p {
    font-size: 1em;
  }
  .page-partners .partner-contact-form {
    padding: 25px;
  }
}