/* style/index-affiliate-program.css */
.page-index-affiliate-program {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

.page-index-affiliate-program__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-index-affiliate-program__hero-section {
    background: linear-gradient(135deg, #003366 0%, #001a33 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-affiliate-program__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,blue_gold]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-index-affiliate-program__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFCC00; /* Gold for contrast */
    position: relative;
    z-index: 1;
}

.page-index-affiliate-program__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-index-affiliate-program__cta-button {
    display: inline-block;
    background-color: #FFCC00; /* Gold for CTA */
    color: #003366; /* Dark blue for text on gold */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.page-index-affiliate-program__cta-button:hover {
    background-color: #e6b800; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

.page-index-affiliate-program__cta-button--small {
    padding: 12px 25px;
    font-size: 1em;
}

.page-index-affiliate-program__section-title {
    font-size: 2.2em;
    color: #003366; /* Dark blue for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-index-affiliate-program__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFCC00; /* Gold underline */
    border-radius: 2px;
}

.page-index-affiliate-program__benefits-section {
    background-color: #f8f8f8;
    padding: 60px 0;
}

.page-index-affiliate-program__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index-affiliate-program__benefit-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-affiliate-program__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index-affiliate-program__benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.1)); /* Subtle shadow for icons */
}

.page-index-affiliate-program__benefit-title {
    font-size: 1.5em;
    color: #003366; /* Dark blue */
    margin-bottom: 15px;
}

.page-index-affiliate-program__benefit-text {
    color: #555;
}

.page-index-affiliate-program__how-it-works-section {
    padding: 60px 0;
    background-color: #e6f2ff; /* Light blue background */
}

.page-index-affiliate-program__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-affiliate-program__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-index-affiliate-program__step-number {
    background-color: #003366; /* Dark blue background */
    color: #FFCC00; /* Gold text */
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-index-affiliate-program__step-title {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 15px;
}

.page-index-affiliate-program__step-text {
    color: #555;
    margin-bottom: 20px;
}

.page-index-affiliate-program__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-affiliate-program__step-button {
    display: inline-block;
    background-color: #003366; /* Dark blue background */
    color: #FFCC00; /* Gold text */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-index-affiliate-program__step-button:hover {
    background-color: #002244; /* Darker blue on hover */
    transform: translateY(-2px);
}

.page-index-affiliate-program__commission-structure-section {
    padding: 60px 0;
    background-color: #f0f4f8;
}

.page-index-affiliate-program__text-center {
    text-align: center;
    margin-bottom: 30px;
    color: #444;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-affiliate-program__table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-index-affiliate-program__commission-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Ensure table is wide enough for mobile overflow */
}

.page-index-affiliate-program__commission-table th,
.page-index-affiliate-program__commission-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.page-index-affiliate-program__commission-table thead th {
    background-color: #003366; /* Dark blue header */
    color: #FFCC00; /* Gold text */
    font-weight: bold;
}

.page-index-affiliate-program__commission-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.page-index-affiliate-program__commission-table tbody tr:hover {
    background-color: #e9f0f7;
}

.page-index-affiliate-program__note-text {
    text-align: center;
    font-style: italic;
    color: #777;
    margin-top: 20px;
}

.page-index-affiliate-program__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-index-affiliate-program__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-index-affiliate-program__faq-item {
    background-color: #fefefe;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-index-affiliate-program__faq-question {
    font-size: 1.4em;
    color: #003366; /* Dark blue */
    padding: 20px;
    cursor: pointer;
    margin: 0;
    position: relative;
    background-color: #e9f0f7; /* Light background for question */
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-index-affiliate-program__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #FFCC00;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-index-affiliate-program__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-index-affiliate-program__faq-answer {
    padding: 0 20px 20px;
    margin: 0;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index-affiliate-program__faq-question.active + .page-index-affiliate-program__faq-answer {
    max-height: 300px; /* Adjust as needed */
    padding-top: 15px;
}

.page-index-affiliate-program__cta-bottom-section {
    background: linear-gradient(45deg, #003366, #004d99);
    color: #ffffff;
    padding: 70px 0;
    text-align: center;
}

.page-index-affiliate-program__cta-bottom-title {
    font-size: 2.5em;
    color: #FFCC00; /* Gold for emphasis */
    margin-bottom: 20px;
}

.page-index-affiliate-program__cta-bottom-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-index-affiliate-program__hero-title {
        font-size: 2em;
    }

    .page-index-affiliate-program__hero-description {
        font-size: 1em;
    }

    .page-index-affiliate-program__section-title {
        font-size: 1.8em;
    }

    .page-index-affiliate-program__benefits-grid,
    .page-index-affiliate-program__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-index-affiliate-program__cta-bottom-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .page-index-affiliate-program__hero-title {
        font-size: 1.8em;
    }

    .page-index-affiliate-program__hero-description {
        font-size: 0.9em;
    }

    .page-index-affiliate-program__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-index-affiliate-program__section-title {
        font-size: 1.6em;
    }

    .page-index-affiliate-program__benefit-item,
    .page-index-affiliate-program__step-item {
        padding: 20px;
    }

    .page-index-affiliate-program__commission-table th,
    .page-index-affiliate-program__commission-table td {
        padding: 10px;
        font-size: 0.9em;
    }

    .page-index-affiliate-program__faq-question {
        font-size: 1.2em;
        padding: 15px;
    }

    .page-index-affiliate-program__faq-answer {
        padding: 0 15px 15px;
    }

    .page-index-affiliate-program__cta-bottom-title {
        font-size: 1.8em;
    }
}