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

.page-promotions-referral-programs {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

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

.page-promotions-referral-programs__hero {
    background: linear-gradient(135deg, #004AAD 0%, #002B7A 100%); /* Darker blue gradient for contrast */
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions-referral-programs__hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    animation: float1 10s infinite ease-in-out;
}

.page-promotions-referral-programs__hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    animation: float2 12s infinite ease-in-out;
}

@keyframes float1 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
    100% { transform: translate(0, 0); }
}

@keyframes float2 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
    100% { transform: translate(0, 0); }
}

.page-promotions-referral-programs__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral-programs__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-promotions-referral-programs__section {
    padding: 60px 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.page-promotions-referral-programs__section:nth-of-type(even) {
    background-color: #f0f5fa;
}

.page-promotions-referral-programs__section-title {
    font-size: 2.5em;
    color: #004AAD;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions-referral-programs__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

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

.page-promotions-referral-programs__feature-card,
.page-promotions-referral-programs__reward-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions-referral-programs__feature-icon,
.page-promotions-referral-programs__reward-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-promotions-referral-programs__card-title {
    font-size: 1.6em;
    color: #004AAD;
    margin-bottom: 15px;
}

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

.page-promotions-referral-programs__step-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    position: relative;
    border-top: 5px solid #FFD700;
}

.page-promotions-referral-programs__step-number {
    background-color: #004AAD;
    color: #FFD700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    margin: -55px auto 20px auto;
    border: 3px solid #FFD700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-promotions-referral-programs__step-title {
    font-size: 1.5em;
    color: #004AAD;
    margin-bottom: 15px;
}

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

.page-promotions-referral-programs__image--full-width {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions-referral-programs__list {
    list-style: disc inside;
    text-align: left;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #555;
}

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

.page-promotions-referral-programs__btn {
    display: inline-block;
    background-color: #FFD700;
    color: #004AAD;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

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

.page-promotions-referral-programs__btn--primary {
    background-color: #FFD700;
    color: #004AAD;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-promotions-referral-programs__btn--primary:hover {
    background-color: #e6c200;
}

.page-promotions-referral-programs__btn--secondary {
    background-color: #004AAD;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 10px rgba(0, 74, 173, 0.4);
}

.page-promotions-referral-programs__btn--secondary:hover {
    background-color: #002B7A;
    border-color: #e6c200;
}

.page-promotions-referral-programs__faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.page-promotions-referral-programs__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-promotions-referral-programs__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-promotions-referral-programs__faq-answer {
    font-size: 1.1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.page-promotions-referral-programs__faq-answer.open {
    max-height: 500px; /* Adjust based on expected content length */
    padding-top: 10px;
}

.page-promotions-referral-programs__cta {
    background-color: #004AAD;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-promotions-referral-programs__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-promotions-referral-programs__cta-text {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-promotions-referral-programs__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-promotions-referral-programs__hero-title {
        font-size: 2.5em;
    }

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

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

    .page-promotions-referral-programs__grid,
    .page-promotions-referral-programs__steps {
        grid-template-columns: 1fr;
    }

    .page-promotions-referral-programs__step-number {
        margin-top: 0;
        position: static;
        transform: none;
        margin-bottom: 20px;
    }

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

    .page-promotions-referral-programs__cta-text {
        font-size: 1em;
    }

    .page-promotions-referral-programs__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-promotions-referral-programs__btn {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .page-promotions-referral-programs__hero {
        padding: 60px 0;
    }

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

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

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

    .page-promotions-referral-programs__feature-card,
    .page-promotions-referral-programs__reward-card,
    .page-promotions-referral-programs__step-item {
        padding: 20px;
    }

    .page-promotions-referral-programs__card-title,
    .page-promotions-referral-programs__step-title {
        font-size: 1.3em;
    }

    .page-promotions-referral-programs__faq-question {
        font-size: 1.1em;
    }

    .page-promotions-referral-programs__faq-answer {
        font-size: 0.95em;
    }

    .page-promotions-referral-programs__cta {
        padding: 50px 0;
    }

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