/* style/promotions-refer-friend-program.css */
.page-promotions-refer-friend-program {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light grey text for contrast on dark background */
    background-color: #0A2239; /* Main dark blue background */
}

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

.page-promotions-refer-friend-program__hero {
    background: linear-gradient(135deg, #0A2239 0%, #1A3A54 100%);
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #FFD700;
}

.page-promotions-refer-friend-program__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-refer-friend-program__hero-subtitle {
    font-size: 1.3em;
    color: #E0E0E0;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.page-promotions-refer-friend-program__hero-image {
    max-width: 90%;
    height: auto;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions-refer-friend-program__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions-refer-friend-program__section:nth-of-type(even) {
    background-color: #122F4C; /* Slightly lighter dark blue for alternating sections */
}

.page-promotions-refer-friend-program__section-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 25px;
    font-weight: 600;
}

.page-promotions-refer-friend-program__section-description {
    font-size: 1.1em;
    color: #B0B0B0;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

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

.page-promotions-refer-friend-program__step {
    background-color: #0A2239;
    border: 1px solid #FFD700;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-refer-friend-program__step:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.page-promotions-refer-friend-program__step-icon {
    width: 60px;
    height: 60px;
    background-color: #FFD700;
    color: #0A2239;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
    font-weight: bold;
    margin: 0 auto 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions-refer-friend-program__step-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions-refer-friend-program__step-text {
    font-size: 1em;
    color: #C0C0C0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-promotions-refer-friend-program__step-image {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-refer-friend-program__cta-block {
    background-color: #1A3A54;
    padding: 30px;
    border-radius: 15px;
    margin-top: 60px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions-refer-friend-program__cta-text {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 25px;
    font-weight: 500;
}

.page-promotions-refer-friend-program__rewards {
    background-color: #122F4C;
}

.page-promotions-refer-friend-program__reward-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-promotions-refer-friend-program__reward-card {
    background-color: #0A2239;
    border: 1px solid #FFD700;
    border-radius: 15px;
    padding: 35px;
    text-align: left;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-refer-friend-program__reward-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.page-promotions-refer-friend-program__card-title {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.page-promotions-refer-friend-program__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-promotions-refer-friend-program__list li {
    font-size: 1.1em;
    color: #C0C0C0;
    margin-bottom: 12px;
    line-height: 1.5;
    position: relative;
    padding-left: 30px;
}

.page-promotions-refer-friend-program__list li::before {
    content: '✓';
    color: #FFD700;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
}

.page-promotions-refer-friend-program__rewards-note {
    font-size: 0.95em;
    color: #A0A0A0;
    margin-top: 40px;
    line-height: 1.5;
}

.page-promotions-refer-friend-program__why-join {
    background-color: #0A2239;
}

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

.page-promotions-refer-friend-program__benefit-item {
    background-color: #1A3A54;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: background-color 0.3s ease;
}

.page-promotions-refer-friend-program__benefit-item:hover {
    background-color: #204566;
}

.page-promotions-refer-friend-program__benefit-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions-refer-friend-program__benefit-text {
    font-size: 1em;
    color: #C0C0C0;
    line-height: 1.6;
}

.page-promotions-refer-friend-program__faq {
    background-color: #122F4C;
}

.page-promotions-refer-friend-program__faq-items {
    margin-top: 40px;
    text-align: left;
}

.page-promotions-refer-friend-program__faq-item {
    background-color: #0A2239;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions-refer-friend-program__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    padding: 20px 25px;
    cursor: pointer;
    position: relative;
    margin: 0;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-promotions-refer-friend-program__faq-question:hover {
    background-color: #1A3A54;
}

.page-promotions-refer-friend-program__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

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

.page-promotions-refer-friend-program__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #C0C0C0;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-promotions-refer-friend-program__faq-item.active .page-promotions-refer-friend-program__faq-answer {
    max-height: 200px; /* Adjust as needed for content length */
    padding: 0 25px 25px;
}

.page-promotions-refer-friend-program__final-cta {
    background-color: #0A2239;
    padding-bottom: 80px;
}

.page-promotions-refer-friend-program__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Buttons */
.page-promotions-refer-friend-program__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.page-promotions-refer-friend-program__btn--primary {
    background-color: #FFD700;
    color: #0A2239;
    border: 2px solid #FFD700;
}

.page-promotions-refer-friend-program__btn--primary:hover {
    background-color: #E6C200;
    transform: translateY(-3px);
}

.page-promotions-refer-friend-program__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-promotions-refer-friend-program__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A2239;
    transform: translateY(-3px);
}

.page-promotions-refer-friend-program__btn--tertiary {
    background-color: #1A3A54;
    color: #FFD700;
    border: 2px solid #1A3A54;
}

.page-promotions-refer-friend-program__btn--tertiary:hover {
    background-color: #204566;
    transform: translateY(-3px);
}

.page-promotions-refer-friend-program__btn--small {
    padding: 10px 20px;
    font-size: 0.95em;
    margin-top: 20px;
}

.page-promotions-refer-friend-program__link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promotions-refer-friend-program__link:hover {
    color: #E6C200;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-promotions-refer-friend-program__hero-title {
        font-size: 2.5em;
    }

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

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

    .page-promotions-refer-friend-program__section-description,
    .page-promotions-refer-friend-program__step-text,
    .page-promotions-refer-friend-program__list li,
    .page-promotions-refer-friend-program__benefit-text,
    .page-promotions-refer-friend-program__faq-answer p {
        font-size: 0.95em;
    }

    .page-promotions-refer-friend-program__steps,
    .page-promotions-refer-friend-program__reward-types,
    .page-promotions-refer-friend-program__benefits {
        grid-template-columns: 1fr;
    }

    .page-promotions-refer-friend-program__step-image {
        height: 150px;
    }

    .page-promotions-refer-friend-program__cta-text {
        font-size: 1.3em;
    }

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

    .page-promotions-refer-friend-program__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

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

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

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

    .page-promotions-refer-friend-program__step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }

    .page-promotions-refer-friend-program__step-title {
        font-size: 1.5em;
    }

    .page-promotions-refer-friend-program__card-title {
        font-size: 1.7em;
    }

    .page-promotions-refer-friend-program__faq-question {
        font-size: 1.2em;
        padding: 15px 20px;
    }

    .page-promotions-refer-friend-program__faq-question::after {
        right: 20px;
    }

    .page-promotions-refer-friend-program__faq-answer {
        padding: 0 20px 15px;
    }
}