/* style/partners.css */

:root {
    --primary-color: #0A246A;
    --secondary-color: #FFD700;
    --accent-color: #DC3545; /* Small amount of red for emphasis */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0A246A;
    --border-color: #e0e0e0;
}

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

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

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

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

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

.page-partners .section-alt-bg {
    background-color: var(--bg-light);
}

.page-partners .section-primary-bg {
    background-color: var(--bg-dark);
    color: var(--text-color-light);
}

.page-partners .section-primary-bg h2,
.page-partners .section-primary-bg p,
.page-partners .section-primary-bg a {
    color: var(--text-color-light);
}

.page-partners .section-primary-bg a:hover {
    color: var(--secondary-color);
}

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

.page-partners h1 {
    font-size: 2.8em;
    margin-bottom: 25px;
    color: var(--text-color-light);
}

.page-partners h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
}

.page-partners h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
}

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

.page-partners .text-center {
    text-align: center;
}

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

/* 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;
    overflow: hidden;
    background-color: var(--primary-color);
}

.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: 1;
}

.page-partners .hero-image {
    width: 100%;
    height: 450px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    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%;
    color: var(--text-color-light);
}

.page-partners .hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-color-light);
}

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

.page-partners .cta-button:hover {
    background: #e6c200; /* Slightly darker secondary color */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
}

.page-partners .cta-button-large {
    font-size: 1.3em;
    padding: 18px 50px;
}

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

.page-partners .cta-button-final:hover {
    background: #e6c200;
    color: var(--primary-color);
}

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

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

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

.page-partners .intro-grid .grid-item h3 {
    color: var(--primary-color);
    margin-top: 20px;
    font-size: 1.4em;
}

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

.page-partners .feature-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

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

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

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

.page-partners .benefit-card h3 {
    color: var(--primary-color);
    margin-top: 20px;
    font-size: 1.4em;
}

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

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

/* How to Join Section */
.page-partners .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-partners .step-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    padding-top: 60px; /* Space for step number */
}

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

.page-partners .step-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-top: 15px;
}

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

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

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

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

.page-partners .support-item h3 {
    color: var(--primary-color);
    margin-top: 20px;
    font-size: 1.4em;
}

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

.page-partners .support-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

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

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

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

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

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

.page-partners .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

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

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

.page-partners .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px 25px;
    background: var(--bg-light);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-partners h1 {
        font-size: 2.2em;
    }
    .page-partners h2 {
        font-size: 1.8em;
    }
    .page-partners h3 {
        font-size: 1.3em;
    }
    .page-partners .hero-image {
        height: 350px;
    }
    .page-partners .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-partners .cta-button-large {
        font-size: 1.1em;
        padding: 15px 40px;
    }
    .page-partners .intro-grid,
    .page-partners .benefits-grid,
    .page-partners .steps-grid,
    .page-partners .support-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-partners .section-padding {
        padding: 40px 0;
    }
    .page-partners .hero-section {
        padding: 40px 15px;
    }
    .page-partners .hero-image {
        height: 250px;
        margin-bottom: 20px;
    }
    .page-partners h1 {
        font-size: 1.8em;
    }
    .page-partners h2 {
        font-size: 1.6em;
    }
    .page-partners h3 {
        font-size: 1.2em;
    }
    .page-partners p {
        font-size: 0.95em;
    }
    .page-partners .faq-question {
        padding: 15px 20px;
    }
    .page-partners .faq-question h3 {
        font-size: 1em;
    }
    .page-partners .faq-toggle {
        font-size: 1.5em;
    }
    .page-partners .faq-answer {
        padding: 0 20px;
    }
    .page-partners .faq-item.active .faq-answer {
        padding: 10px 20px 20px;
    }
    .page-partners .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
        top: -25px;
    }
    .page-partners .step-item {
        padding-top: 50px;
    }
}