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

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

/* Hero Section */
.page-promotions-referral-program__hero-section {
    background: linear-gradient(135deg, #0A6847 0%, #FFD700 100%); /* Deep Green to Gold gradient */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions-referral-program__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.page-promotions-referral-program__hero-section > .page-promotions-referral-program__container {
    position: relative;
    z-index: 2;
}

.page-promotions-referral-program__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff; /* Ensure high contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-referral-program__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #eee; /* Ensure high contrast */
}

.page-promotions-referral-program__hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promotions-referral-program__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.page-promotions-referral-program__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #0A6847; /* Deep Green */
    border: 2px solid #FFD700;
}

.page-promotions-referral-program__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-promotions-referral-program__btn--secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.page-promotions-referral-program__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* General Section Styling */
.page-promotions-referral-program__section-title {
    font-size: 2.5em;
    color: #0A6847; /* Deep Green */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

.page-promotions-referral-program__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #555;
}

/* Benefits Section */
.page-promotions-referral-program__benefits-section {
    background-color: #fff;
    padding: 80px 0;
}

.page-promotions-referral-program__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-promotions-referral-program__benefit-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions-referral-program__benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.page-promotions-referral-program__benefit-title {
    font-size: 1.5em;
    color: #0A6847;
    margin-bottom: 15px;
}

.page-promotions-referral-program__benefit-description {
    color: #666;
}

/* How It Works Section */
.page-promotions-referral-program__how-it-works-section {
    padding: 80px 0;
    background-color: #f0f4f7;
}

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

.page-promotions-referral-program__step-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions-referral-program__step-number {
    background-color: #FFD700; /* Gold */
    color: #0A6847; /* Deep Green */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin: -50px auto 30px auto; /* Adjust for visual effect */
    border: 3px solid #0A6847;
    box-shadow: 0 0 0 5px #f0f4f7;
}

.page-promotions-referral-program__step-title {
    font-size: 1.6em;
    color: #0A6847;
    margin-bottom: 15px;
}

.page-promotions-referral-program__step-description {
    color: #666;
    margin-bottom: 20px;
}

.page-promotions-referral-program__step-description a {
    color: #0A6847;
    font-weight: bold;
    text-decoration: none;
}

.page-promotions-referral-program__step-description a:hover {
    text-decoration: underline;
}

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

.page-promotions-referral-program__call-to-action-text {
    text-align: center;
    font-size: 1.2em;
    margin-top: 60px;
    color: #333;
}

.page-promotions-referral-program__inline-link {
    color: #0A6847;
    font-weight: bold;
    text-decoration: none;
}

.page-promotions-referral-program__inline-link:hover {
    text-decoration: underline;
}

/* Rewards Section */
.page-promotions-referral-program__rewards-section {
    background-color: #fff;
    padding: 80px 0;
}

.page-promotions-referral-program__rewards-content {
    max-width: 900px;
    margin: 0 auto;
    color: #333;
}

.page-promotions-referral-program__rewards-content h3 {
    color: #0A6847;
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-promotions-referral-program__rewards-content p {
    margin-bottom: 15px;
}

.page-promotions-referral-program__reward-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.page-promotions-referral-program__reward-list li {
    background-color: #eaf7ed; /* Light green background for list items */
    border-left: 5px solid #0A6847;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #333;
}

.page-promotions-referral-program__reward-list li strong {
    color: #0A6847;
}

.page-promotions-referral-program__rewards-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 20px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Terms Section */
.page-promotions-referral-program__terms-section {
    background-color: #f0f4f7;
    padding: 80px 0;
}

.page-promotions-referral-program__terms-list {
    max-width: 900px;
    margin: 0 auto 30px auto;
    list-style: disc;
    padding-left: 40px;
    color: #555;
}

.page-promotions-referral-program__terms-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-promotions-referral-program__terms-note {
    text-align: center;
    font-style: italic;
    color: #777;
}

/* Tips Section */
.page-promotions-referral-program__tips-section {
    background-color: #fff;
    padding: 80px 0;
}

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

.page-promotions-referral-program__tip-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #FFD700;
}

.page-promotions-referral-program__tip-title {
    font-size: 1.4em;
    color: #0A6847;
    margin-bottom: 10px;
}

.page-promotions-referral-program__tip-description {
    color: #666;
}

.page-promotions-referral-program__tips-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 60px auto 20px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.page-promotions-referral-program__faq-section {
    background-color: #f0f4f7;
    padding: 80px 0;
}

.page-promotions-referral-program__faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-referral-program__faq-question {
    font-size: 1.3em;
    color: #0A6847;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-promotions-referral-program__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
}

.page-promotions-referral-program__faq-question.active::after {
    content: '-';
}

.page-promotions-referral-program__faq-answer {
    color: #666;
    font-size: 1.05em;
    display: none;
    margin-top: 10px;
}

.page-promotions-referral-program__faq-answer.active {
    display: block;
}

/* Final CTA Section */
.page-promotions-referral-program__final-cta-section {
    background-color: #0A6847; /* Deep Green */
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-promotions-referral-program__final-cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral-program__final-cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #eee;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions-referral-program__hero-title {
        font-size: 2.5em;
    }
    .page-promotions-referral-program__section-title {
        font-size: 2em;
    }
    .page-promotions-referral-program__benefits-grid, 
    .page-promotions-referral-program__steps-grid, 
    .page-promotions-referral-program__tips-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions-referral-program__final-cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-promotions-referral-program__hero-title {
        font-size: 2em;
    }
    .page-promotions-referral-program__hero-description {
        font-size: 1.1em;
    }
    .page-promotions-referral-program__section-title {
        font-size: 1.8em;
    }
    .page-promotions-referral-program__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions-referral-program__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions-referral-program__step-number {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .page-promotions-referral-program__hero-title {
        font-size: 1.8em;
    }
    .page-promotions-referral-program__hero-description {
        font-size: 1em;
    }
    .page-promotions-referral-program__section-title {
        font-size: 1.6em;
    }
    .page-promotions-referral-program__btn {
        width: 100%;
        max-width: 250px;
    }
    .page-promotions-referral-program__faq-question {
        font-size: 1.1em;
    }
    .page-promotions-referral-program__final-cta-title {
        font-size: 1.8em;
    }
}