/* style/affiliate-program.css */
:root {
    --primary-color: #E44D26; /* Orange-red */
    --secondary-color: #FFB800; /* Bright gold */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --bg-light: #f8f8f8;
    --bg-dark: #222222;
}

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

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

.page-affiliate-program-section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-affiliate-program-section:nth-of-type(odd) {
    background-color: #ffffff;
}

.page-affiliate-program-section:nth-of-type(even) {
    background-color: var(--bg-light);
}

.page-affiliate-program-hero {
    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), var(--secondary-color));
    color: var(--text-light);
}

.page-affiliate-program-hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-affiliate-program-hero-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
}

.page-affiliate-program-hero-image {
    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.2);
}

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

.page-affiliate-program-hero h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-affiliate-program-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-affiliate-program-button:hover {
    background: #c23d1f; /* Darker primary */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-affiliate-program-button-large {
    font-size: 1.3em;
    padding: 18px 45px;
}

.page-affiliate-program h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-affiliate-program h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.page-affiliate-program p {
    margin-bottom: 15px;
    font-size: 1em;
    color: var(--text-dark);
}

.page-affiliate-program ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-affiliate-program ul li {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-affiliate-program-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.page-affiliate-program-col-2 {
    flex: 1 1 calc(50% - 20px);
    min-width: 300px;
}

.page-affiliate-program-image-content {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-affiliate-program-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.page-affiliate-program-step-item {
    flex: 1 1 calc(50% - 15px);
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-affiliate-program-step-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 25px;
    border-radius: 8px;
    object-fit: cover;
}

.page-affiliate-program-step-item h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-top: 0;
}

.page-affiliate-program-step-button {
    margin-top: auto; /* Push button to bottom */
}

.page-affiliate-program-faq-list {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #ffffff;
}

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

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

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

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 15px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height */
    padding: 15px;
}

.page-affiliate-program-cta {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-affiliate-program-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-affiliate-program-cta-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-affiliate-program-cta-content h2 {
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-affiliate-program-cta-content p {
    color: var(--text-light);
    font-size: 1.1em;
    margin-bottom: 25px;
}

.page-affiliate-program-copyright {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-dark);
    color: #cccccc;
    font-size: 0.9em;
}

.page-affiliate-program-copyright p {
    margin: 0;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-affiliate-program-hero h1 {
        font-size: 2.5em;
    }
    .page-affiliate-program h2 {
        font-size: 2em;
    }
    .page-affiliate-program h3 {
        font-size: 1.5em;
    }
    .page-affiliate-program-row {
        flex-direction: column;
        gap: 30px;
    }
    .page-affiliate-program-col-2 {
        flex: 1 1 100%;
    }
    .page-affiliate-program-steps {
        flex-direction: column;
    }
    .page-affiliate-program-step-item {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .page-affiliate-program-hero {
        padding: 40px 15px;
    }
    .page-affiliate-program-hero h1 {
        font-size: 2em;
    }
    .page-affiliate-program-hero p {
        font-size: 1em;
    }
    .page-affiliate-program-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-affiliate-program-button-large {
        font-size: 1.1em;
        padding: 15px 35px;
    }
    .page-affiliate-program-section {
        padding: 40px 0;
    }
    .page-affiliate-program h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-affiliate-program h3 {
        font-size: 1.3em;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 18px;
    }
    .page-affiliate-program-cta {
        padding: 50px 0;
    }
}