/* style/promotions-referral.css */

.page-promotions-referral {
    font-family: 'Arial', sans-serif;
    color: #FFFFFF; /* Light text on dark background */
    background-color: #1A2B47; /* Main dark blue background */
    line-height: 1.6;
}

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

.page-promotions-referral__hero-section {
    background: linear-gradient(135deg, #1A2B47 0%, #3a507a 100%);
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

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

.page-promotions-referral__hero-subtitle {
    font-size: 1.3em;
    color: #E0E0E0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-promotions-referral__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for section titles */
    text-align: center;
    margin-bottom: 50px;
    padding-top: 60px;
    font-weight: bold;
    position: relative;
}

.page-promotions-referral__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-promotions-referral__description {
    font-size: 1.1em;
    color: #E0E0E0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-promotions-referral__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px;
    cursor: pointer;
    border: none;
}

.page-promotions-referral__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #1A2B47; /* Dark blue text on gold */
}

.page-promotions-referral__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-promotions-referral__btn--secondary {
    background-color: #3A4C6B; /* Slightly lighter dark blue */
    color: #FFD700; /* Gold text on dark blue */
    border: 2px solid #FFD700;
}

.page-promotions-referral__btn--secondary:hover {
    background-color: #4A5F80;
    transform: translateY(-3px);
}

.page-promotions-referral__btn--tertiary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-promotions-referral__btn--tertiary:hover {
    background-color: #FFD700;
    color: #1A2B47;
    transform: translateY(-3px);
}

.page-promotions-referral__text-link {
    color: #FFD700;
    text-decoration: underline;
}

.page-promotions-referral__text-link:hover {
    color: #e6c200;
}

/* Why Refer Section */
.page-promotions-referral__why-refer-section {
    background-color: #1A2B47;
    padding: 80px 0;
}

.page-promotions-referral__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-promotions-referral__benefit-card {
    background-color: #2A3C5B;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-referral__benefit-card:hover {
    transform: translateY(-10px);
    background-color: #3A4C6B;
}

.page-promotions-referral__benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(80%) sepia(100%) saturate(2000%) hue-rotate(30deg) brightness(1.2);
}

.page-promotions-referral__card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-promotions-referral__benefit-card p {
    color: #D0D0D0;
    font-size: 1em;
}

.page-promotions-referral__image--full-width {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 50px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* How To Join Section */
.page-promotions-referral__how-to-join-section {
    background-color: #1A2B47;
    padding: 80px 0;
}

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

.page-promotions-referral__step-card {
    background-color: #2A3C5B;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-top: 60px;
    transition: transform 0.3s ease;
}

.page-promotions-referral__step-card:hover {
    transform: translateY(-5px);
}

.page-promotions-referral__step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700;
    color: #1A2B47;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid #1A2B47;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral__step-card .page-promotions-referral__card-title {
    color: #FFD700;
    margin-bottom: 10px;
}

.page-promotions-referral__step-card p {
    color: #D0D0D0;
}

.page-promotions-referral__cta-group {
    text-align: center;
    margin-top: 50px;
}

/* Rewards Section */
.page-promotions-referral__rewards-section {
    background-color: #1A2B47;
    padding: 80px 0;
}

.page-promotions-referral__reward-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.page-promotions-referral__reward-list li {
    background-color: #2A3C5B;
    margin-bottom: 15px;
    padding: 20px 30px;
    border-radius: 10px;
    font-size: 1.1em;
    color: #D0D0D0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-promotions-referral__reward-list li:hover {
    background-color: #3A4C6B;
}

.page-promotions-referral__reward-list li strong {
    color: #FFD700;
    font-size: 1.2em;
}

/* Tips Section */
.page-promotions-referral__tips-section {
    background-color: #1A2B47;
    padding: 80px 0;
}

.page-promotions-referral__tips-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.page-promotions-referral__tips-list li {
    background-color: #2A3C5B;
    margin-bottom: 15px;
    padding: 20px 30px;
    border-left: 5px solid #FFD700;
    border-radius: 10px;
    font-size: 1.1em;
    color: #D0D0D0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-promotions-referral__tips-list li:hover {
    background-color: #3A4C6B;
}

.page-promotions-referral__tips-list li strong {
    color: #FFD700;
}

/* FAQ Section */
.page-promotions-referral__faq-section {
    background-color: #1A2B47;
    padding: 80px 0;
}

.page-promotions-referral__faq-item {
    background-color: #2A3C5B;
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 25px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-promotions-referral__faq-item:hover {
    background-color: #3A4C6B;
}

.page-promotions-referral__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

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

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

.page-promotions-referral__faq-answer {
    font-size: 1em;
    color: #D0D0D0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
}

.page-promotions-referral__faq-answer.active {
    max-height: 200px; /* Adjust based on content */
    opacity: 1;
    margin-top: 15px;
}

/* Final CTA Section */
.page-promotions-referral__final-cta-section {
    background-color: #1A2B47;
    text-align: center;
    padding: 80px 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions-referral__hero-title {
        font-size: 2.8em;
    }
    .page-promotions-referral__section-title {
        font-size: 2.2em;
    }
    .page-promotions-referral__benefits-grid, 
    .page-promotions-referral__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions-referral__hero-title {
        font-size: 2.2em;
    }
    .page-promotions-referral__hero-subtitle {
        font-size: 1.1em;
    }
    .page-promotions-referral__section-title {
        font-size: 1.8em;
    }
    .page-promotions-referral__description {
        font-size: 0.95em;
    }
    .page-promotions-referral__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions-referral__benefit-card, 
    .page-promotions-referral__step-card, 
    .page-promotions-referral__faq-item {
        padding: 25px;
    }
    .page-promotions-referral__card-title {
        font-size: 1.3em;
    }
    .page-promotions-referral__faq-question {
        font-size: 1.2em;
    }
    .page-promotions-referral__reward-list li, 
    .page-promotions-referral__tips-list li {
        font-size: 1em;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions-referral__hero-title {
        font-size: 1.8em;
    }
    .page-promotions-referral__section-title {
        font-size: 1.5em;
    }
    .page-promotions-referral__hero-section, 
    .page-promotions-referral__why-refer-section, 
    .page-promotions-referral__how-to-join-section, 
    .page-promotions-referral__rewards-section, 
    .page-promotions-referral__tips-section, 
    .page-promotions-referral__faq-section, 
    .page-promotions-referral__final-cta-section {
        padding: 40px 15px;
    }
    .page-promotions-referral__btn {
        width: 100%;
        margin: 10px 0;
    }
    .page-promotions-referral__cta-group .page-promotions-referral__btn {
        display: block;
    }
}