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

.page-promotions-referral-program {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #0A2342;
    line-height: 1.6;
}

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

.page-promotions-referral-program__hero {
    background: linear-gradient(135deg, #0A2342, #1A3A60);
    color: #FFFFFF;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a decent height */
}

.page-promotions-referral-program__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

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

.page-promotions-referral-program__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #E0E0E0;
}

.page-promotions-referral-program__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 1;
}

.page-promotions-referral-program__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #0A2342; /* Dark blue text on gold */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-promotions-referral-program__cta-button:hover {
    background-color: #E6C200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

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

.page-promotions-referral-program__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions-referral-program__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-program__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #E0E0E0;
    text-align: justify;
}

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

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

.page-promotions-referral-program__how-it-works {
    background-color: #1A3A60;
}

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

.page-promotions-referral-program__step {
    background-color: #0A2342;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions-referral-program__step:hover {
    transform: translateY(-10px);
}

.page-promotions-referral-program__step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: invert(80%) sepia(100%) saturate(2000%) hue-rotate(30deg) brightness(100%) contrast(100%); /* Gold tint for icons */
}

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

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

.page-promotions-referral-program__flow-image {
    max-width: 100%;
    height: auto;
    margin-top: 60px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions-referral-program__rewards {
    background-color: #0A2342;
}

.page-promotions-referral-program__reward-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    text-align: left;
}

.page-promotions-referral-program__reward-list li {
    background-color: #1A3A60;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

.page-promotions-referral-program__reward-list li::before {
    content: '✓';
    color: #FFD700;
    font-size: 1.5em;
    margin-right: 15px;
    font-weight: bold;
}

.page-promotions-referral-program__reward-highlight {
    color: #FFD700;
    font-weight: bold;
}

.page-promotions-referral-program__reward-image {
    max-width: 80%;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions-referral-program__faq {
    background-color: #1A3A60;
}

.page-promotions-referral-program__accordion {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-promotions-referral-program__accordion-item {
    margin-bottom: 15px;
    border: 1px solid #335580;
    border-radius: 8px;
    overflow: hidden;
}

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

.page-promotions-referral-program__accordion-header:hover, .page-promotions-referral-program__accordion-header.active {
    background-color: #2A4F7C;
}

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

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

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

.page-promotions-referral-program__accordion-content p {
    padding: 15px 0;
    margin: 0;
    font-size: 1em;
}

.page-promotions-referral-program__cta-bottom {
    background: linear-gradient(45deg, #0A2342, #1A3A60);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-promotions-referral-program__cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-promotions-referral-program__cta-button--large {
    padding: 18px 35px;
    font-size: 1.3em;
    margin-top: 30px;
    margin-right: 20px;
}

.page-promotions-referral-program__secondary-cta-button {
    display: inline-block;
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.page-promotions-referral-program__secondary-cta-button:hover {
    background-color: #FFD700;
    color: #0A2342;
}

.page-promotions-referral-program__cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-promotions-referral-program__hero-title {
        font-size: 2.8em;
    }
    .page-promotions-referral-program__hero-subtitle {
        font-size: 1.3em;
    }
    .page-promotions-referral-program__section-title {
        font-size: 2em;
    }
    .page-promotions-referral-program__steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions-referral-program__hero {
        padding: 80px 0;
    }
    .page-promotions-referral-program__hero-title {
        font-size: 2.2em;
    }
    .page-promotions-referral-program__hero-subtitle {
        font-size: 1.1em;
    }
    .page-promotions-referral-program__cta-button,
    .page-promotions-referral-program__cta-button--large,
    .page-promotions-referral-program__secondary-cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
        margin-right: 10px;
        margin-bottom: 15px;
    }
    .page-promotions-referral-program__section {
        padding: 40px 0;
    }
    .page-promotions-referral-program__section-title {
        font-size: 1.8em;
    }
    .page-promotions-referral-program__text-block {
        font-size: 1em;
    }
    .page-promotions-referral-program__step-icon {
        width: 60px;
        height: 60px;
    }
    .page-promotions-referral-program__step-title {
        font-size: 1.3em;
    }
    .page-promotions-referral-program__reward-list li {
        font-size: 1em;
        padding: 15px;
    }
    .page-promotions-referral-program__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
}

@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__cta-button,
    .page-promotions-referral-program__cta-button--large,
    .page-promotions-referral-program__secondary-cta-button {
        display: block;
        width: fit-content;
        margin: 15px auto;
    }
    .page-promotions-referral-program__section-title {
        font-size: 1.5em;
    }
    .page-promotions-referral-program__steps {
        grid-template-columns: 1fr;
    }
    .page-promotions-referral-program__reward-image,
    .page-promotions-referral-program__flow-image {
        max-width: 95%;
    }
    .page-promotions-referral-program__accordion-header {
        font-size: 1em;
    }
}