/* style/partners.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #DC143C; /* Crimson */
    --dark-bg-color: #1a1a1a; /* Dark background */
    --light-text-color: #f0f0f0;
    --dark-text-color: #333333;
    --border-color: #444444;
    --hover-color: #e0b800;
}

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

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

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

.page-partners .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 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, var(--dark-bg-color), #2a2a2a);
}

.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 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-partners h1 a {
    color: var(--primary-color);
}

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

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

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

/* General Section Styles */
.page-partners section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-partners section:last-of-type {
    border-bottom: none;
}

.page-partners h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-partners h2 a {
    color: var(--primary-color);
}

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

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

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

.page-partners .benefit-item {
    background-color: #282828;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-partners .benefit-item:hover {
    transform: translateY(-8px);
    background-color: #3a3a3a;
}

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

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

.page-partners .type-item {
    background-color: #282828;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-partners .type-item:hover {
    transform: translateY(-8px);
    background-color: #3a3a3a;
}

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

.page-partners .type-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--dark-text-color);
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-partners .type-button:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}

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

.page-partners .step-item {
    background-color: #282828;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1 1 300px;
    max-width: 350px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-partners .step-item:hover {
    transform: translateY(-8px);
    background-color: #3a3a3a;
}

.page-partners .step-number {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.page-partners .step-item h3 a {
    color: var(--primary-color);
}

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

/* FAQ Section */
.page-partners .faq-list {
    margin-top: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.faq-question:hover {
  background: #444444;
  border-color: var(--primary-color);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--light-text-color);
}

.faq-question h3 a {
    color: var(--light-text-color);
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #2a2a2a;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.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-radius: 0 0 8px 8px;
}

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

.faq-answer p {
    color: var(--light-text-color);
    margin-bottom: 0;
}

/* Contact Section */
.page-partners .contact-section {
    text-align: center;
}

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

.page-partners .contact-info a {
    color: var(--primary-color);
    font-weight: bold;
}

.page-partners .contact-cta {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-partners .download-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--dark-text-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-partners .download-button:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-partners h1 {
        font-size: 2.8em;
    }
    .page-partners h2 {
        font-size: 2.2em;
    }
    .page-partners h3 {
        font-size: 1.6em;
    }
    .page-partners .hero-content p {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-partners .hero-section {
        padding: 40px 15px;
    }
    .page-partners .hero-image img {
        border-radius: 4px;
    }
    .page-partners h1 {
        font-size: 2.2em;
    }
    .page-partners h2 {
        font-size: 1.8em;
    }
    .page-partners h3 {
        font-size: 1.4em;
    }
    .page-partners .cta-button, .page-partners .download-button {
        padding: 12px 30px;
        font-size: 16px;
        margin-top: 20px;
    }
    .page-partners .benefits-grid, .page-partners .types-grid {
        grid-template-columns: 1fr;
    }
    .page-partners .step-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .faq-question {
      padding: 15px 20px;
    }
    .faq-question h3 {
      font-size: 1.1em;
    }
    .faq-toggle {
      font-size: 1.8em;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-partners .contact-info p {
        font-size: 1em;
    }
    .page-partners .contact-cta {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-partners h1 {
        font-size: 1.8em;
    }
    .page-partners h2 {
        font-size: 1.5em;
    }
    .page-partners h3 {
        font-size: 1.2em;
    }
    .page-partners .hero-content p {
        font-size: 1em;
    }
    .page-partners .cta-button, .page-partners .download-button {
        width: 100%;
        box-sizing: border-box;
    }
    .page-partners section {
        padding: 40px 0;
    }
}