.page-affiliate-program {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark gray for general text on light backgrounds */
    background-color: #f8f8f8;
}

.page-affiliate-program__hero {
    background: linear-gradient(135deg, #0A2463 0%, #1A3B8B 100%); /* Dark blue gradient */
    color: #FFFFFF;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.page-affiliate-program__hero-content {
    max-width: 900px;
}

.page-affiliate-program__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    font-weight: bold;
    line-height: 1.2;
}

.page-affiliate-program__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
}

.page-affiliate-program__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold for CTA button */
    color: #0A2463; /* Dark blue text on gold button */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FFD700;
}

.page-affiliate-program__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-affiliate-program__hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-affiliate-program__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-affiliate-program__section-title {
    font-size: 2.5em;
    color: #0A2463; /* Dark blue for section titles */
    margin-bottom: 40px;
    font-weight: bold;
}

.page-affiliate-program__text-content {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-affiliate-program__why-partner .page-affiliate-program__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-affiliate-program__grid-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 5px solid #FFD700;
}

.page-affiliate-program__grid-item:hover {
    transform: translateY(-5px);
}

.page-affiliate-program__grid-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.page-affiliate-program__grid-item h3 {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-affiliate-program__grid-item p {
    font-size: 1em;
    color: #555555;
}

.page-affiliate-program__commission {
    background-color: #0A2463;
    color: #FFFFFF;
    padding: 80px 20px;
}

.page-affiliate-program__commission .page-affiliate-program__section-title {
    color: #FFD700; /* Gold for title on dark background */
}

.page-affiliate-program__commission .page-affiliate-program__text-content {
    color: #E0E0E0;
}

.page-affiliate-program__commission-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.page-affiliate-program__commission-details img {
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-affiliate-program__commission-details ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 500px;
}

.page-affiliate-program__commission-details ul li {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-left: 5px solid #FFD700;
    border-radius: 5px;
    font-size: 1.1em;
    color: #FFFFFF;
}

.page-affiliate-program__commission-details ul li strong {
    color: #FFD700;
}

.page-affiliate-program__how-to-join .page-affiliate-program__steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-affiliate-program__step-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-bottom: 5px solid #0A2463;
}

.page-affiliate-program__step-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-affiliate-program__step-item h4 {
    font-size: 1.4em;
    color: #0A2463;
    margin-bottom: 10px;
}

.page-affiliate-program__step-item p {
    font-size: 1em;
    color: #555555;
}

.page-affiliate-program__cta-bottom {
    margin-top: 60px;
}

.page-affiliate-program__details-list {
    background-color: #f0f4f7;
}

.page-affiliate-program__detail-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-affiliate-program__detail-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease;
    border-left: 5px solid #0A2463;
}

.page-affiliate-program__detail-card:hover {
    transform: translateY(-5px);
}

.page-affiliate-program__detail-card h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-affiliate-program__detail-card h3 a {
    color: #0A2463;
    text-decoration: none;
    font-weight: bold;
}

.page-affiliate-program__detail-card h3 a:hover {
    color: #FFD700;
}

.page-affiliate-program__detail-card p {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-affiliate-program__detail-button {
    display: inline-block;
    background-color: #0A2463;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.page-affiliate-program__detail-button:hover {
    background-color: #1A3B8B;
}

.page-affiliate-program__final-cta {
    background-color: #FFD700;
    color: #0A2463;
    padding: 80px 20px;
}

.page-affiliate-program__final-cta .page-affiliate-program__section-title {
    color: #0A2463;
}

.page-affiliate-program__final-cta .page-affiliate-program__text-content {
    color: #333333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-affiliate-program__hero {
        flex-direction: column;
        padding: 60px 15px;
    }

    .page-affiliate-program__hero-title {
        font-size: 2.5em;
    }

    .page-affiliate-program__hero-subtitle {
        font-size: 1.1em;
    }

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

    .page-affiliate-program__commission-details {
        flex-direction: column;
    }

    .page-affiliate-program__commission-details img {
        max-width: 100%;
    }

    .page-affiliate-program__detail-cards {
        grid-template-columns: 1fr;
    }
}

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

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

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

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

    .page-affiliate-program__grid-container,
    .page-affiliate-program__steps-container {
        grid-template-columns: 1fr;
    }

    .page-affiliate-program__grid-item,
    .page-affiliate-program__step-item,
    .page-affiliate-program__detail-card {
        padding: 20px;
    }
}