/* style/promotions-referral-program.css */

:root {
    --page-promotions-referral-program-primary-color: #0056b3;
    --page-promotions-referral-program-secondary-color: #ffd700;
    --page-promotions-referral-program-text-dark: #1a1a1a;
    --page-promotions-referral-program-text-light: #ffffff;
    --page-promotions-referral-program-bg-light: #f4f7f6;
    --page-promotions-referral-program-bg-dark: #004080;
    --page-promotions-referral-program-gold-darker: #b39700; /* Darker shade for text on gold */
}

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

.page-promotions-referral-program__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions-referral-program__section {
    padding: 60px 0;
}

.page-promotions-referral-program__section:nth-of-type(even) {
    background-color: #e0eaf4; /* Light blue tint for alternating sections */
}

.page-promotions-referral-program__section-title {
    font-size: 2.5em;
    color: var(--page-promotions-referral-program-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-promotions-referral-program__text {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions-referral-program__link {
    color: var(--page-promotions-referral-program-primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions-referral-program__link:hover {
    text-decoration: underline;
    color: var(--page-promotions-referral-program-secondary-color);
}

.page-promotions-referral-program__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

.page-promotions-referral-program__btn--primary {
    background-color: var(--page-promotions-referral-program-primary-color);
    color: var(--page-promotions-referral-program-text-light);
    border: 2px solid var(--page-promotions-referral-program-primary-color);
}

.page-promotions-referral-program__btn--primary:hover {
    background-color: var(--page-promotions-referral-program-bg-dark);
    border-color: var(--page-promotions-referral-program-bg-dark);
}

.page-promotions-referral-program__btn--secondary {
    background-color: var(--page-promotions-referral-program-secondary-color);
    color: var(--page-promotions-referral-program-gold-darker);
    border: 2px solid var(--page-promotions-referral-program-secondary-color);
}

.page-promotions-referral-program__btn--secondary:hover {
    background-color: var(--page-promotions-referral-program-gold-darker);
    color: var(--page-promotions-referral-program-text-light);
}

/* Hero Section */
.page-promotions-referral-program__hero {
    background: linear-gradient(135deg, var(--page-promotions-referral-program-primary-color) 0%, var(--page-promotions-referral-program-bg-dark) 100%);
    color: var(--page-promotions-referral-program-text-light);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-promotions-referral-program__hero > .page-promotions-referral-program__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-promotions-referral-program__hero-content {
    max-width: 800px;
}

.page-promotions-referral-program__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--page-promotions-referral-program-secondary-color);
}

.page-promotions-referral-program__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-promotions-referral-program__hero-image-wrapper {
    width: 100%;
    max-width: 600px;
}

.page-promotions-referral-program__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* How-to-join Section */
.page-promotions-referral-program__how-to-join .page-promotions-referral-program__text {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-referral-program__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-referral-program__step {
    background-color: var(--page-promotions-referral-program-text-light);
    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-promotions-referral-program__step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions-referral-program__step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: var(--page-promotions-referral-program-primary-color);
}

.page-promotions-referral-program__step-title {
    font-size: 1.4em;
    color: var(--page-promotions-referral-program-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-referral-program__step-description {
    font-size: 1em;
    color: #555;
}

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

.page-promotions-referral-program__benefit-item {
    background-color: var(--page-promotions-referral-program-text-light);
    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;
    border-top: 5px solid var(--page-promotions-referral-program-secondary-color);
}

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

.page-promotions-referral-program__benefit-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    color: var(--page-promotions-referral-program-secondary-color);
}

.page-promotions-referral-program__benefit-title {
    font-size: 1.3em;
    color: var(--page-promotions-referral-program-primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions-referral-program__benefit-description {
    font-size: 0.95em;
    color: #666;
}

/* Terms Section */
.page-promotions-referral-program__terms .page-promotions-referral-program__list {
    list-style: disc inside;
    font-size: 1.1em;
    line-height: 1.8;
    max-width: 900px;
    margin: 40px auto 20px auto;
    padding-left: 20px;
}

.page-promotions-referral-program__terms .page-promotions-referral-program__list li {
    margin-bottom: 10px;
}

.page-promotions-referral-program__terms .page-promotions-referral-program__list strong {
    color: var(--page-promotions-referral-program-primary-color);
}

/* FAQ Section */
.page-promotions-referral-program__faq .page-promotions-referral-program__accordion {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-referral-program__accordion-item {
    background-color: var(--page-promotions-referral-program-text-light);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-promotions-referral-program__accordion-header {
    width: 100%;
    background-color: var(--page-promotions-referral-program-primary-color);
    color: var(--page-promotions-referral-program-text-light);
    padding: 18px 25px;
    border: none;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-promotions-referral-program__accordion-header:hover {
    background-color: var(--page-promotions-referral-program-bg-dark);
}

.page-promotions-referral-program__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-promotions-referral-program__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-promotions-referral-program__accordion-body {
    padding: 0 25px;
    background-color: #f9f9f9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-promotions-referral-program__accordion-body.active {
    max-height: 200px; /* Adjust as needed */
    padding: 15px 25px;
}

.page-promotions-referral-program__accordion-body p {
    margin: 0;
    color: #444;
}

/* CTA Section */
.page-promotions-referral-program__cta {
    background: linear-gradient(45deg, var(--page-promotions-referral-program-bg-dark), var(--page-promotions-referral-program-primary-color));
    color: var(--page-promotions-referral-program-text-light);
    text-align: center;
    padding: 80px 0;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-promotions-referral-program__cta .page-promotions-referral-program__section-title {
    color: var(--page-promotions-referral-program-secondary-color);
    margin-bottom: 20px;
}

.page-promotions-referral-program__cta .page-promotions-referral-program__text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--page-promotions-referral-program-text-light);
}

.page-promotions-referral-program__cta .page-promotions-referral-program__btn {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions-referral-program__hero-title {
        font-size: 2.8em;
    }

    .page-promotions-referral-program__hero-subtitle {
        font-size: 1.2em;
    }

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

    .page-promotions-referral-program__steps,
    .page-promotions-referral-program__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions-referral-program__hero > .page-promotions-referral-program__container {
        flex-direction: column;
    }

    .page-promotions-referral-program__hero-title {
        font-size: 2.2em;
    }

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

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

    .page-promotions-referral-program__steps,
    .page-promotions-referral-program__benefits-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions-referral-program__section {
        padding: 40px 0;
    }
}

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

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

    .page-promotions-referral-program__section-title {
        font-size: 1.5em;
    }

    .page-promotions-referral-program__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-promotions-referral-program__accordion-header {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-promotions-referral-program__accordion-body.active {
        padding: 10px 20px;
    }
}