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

/* Base styles for the referral program page */
.page-promotions-referral-program {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-promotions-referral-program h1, .page-promotions-referral-program h2, .page-promotions-referral-program h3 {
    color: #0056b3; /* Darker shade of primary for text, ensuring contrast */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-referral-program h1 {
    font-size: 2.8em;
    text-align: center;
    color: #007BFF;
}

.page-promotions-referral-program h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    position: relative;
}

.page-promotions-referral-program h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #FFD700;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-promotions-referral-program h3 {
    font-size: 1.6em;
    color: #0056b3;
}

.page-promotions-referral-program p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-promotions-referral-program .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    text-align: center;
    cursor: pointer;
}

.page-promotions-referral-program .btn-primary {
    background-color: #007BFF;
    color: #ffffff;
    border: 2px solid #007BFF;
}

.page-promotions-referral-program .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.page-promotions-referral-program .btn-secondary {
    background-color: #FFD700;
    color: #333;
    border: 2px solid #FFD700;
}

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

/* Hero Section */
.page-promotions-referral-program .hero-section {
    background: linear-gradient(135deg, #007BFF 0%, #4da3ff 100%); /* Lighter blue for gradient */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions-referral-program .hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-promotions-referral-program .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-promotions-referral-program .hero-content h1 {
    color: #ffffff;
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions-referral-program .hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-promotions-referral-program .hero-image-wrapper {
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
}

.page-promotions-referral-program .hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Benefits Section */
.page-promotions-referral-program .benefits-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-promotions-referral-program .benefit-card {
    background-color: #fefefe;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #FFD700;
}

.page-promotions-referral-program .benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions-referral-program .benefit-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-promotions-referral-program .benefit-card h3 {
    color: #007BFF;
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* How It Works Section */
.page-promotions-referral-program .how-it-works-section {
    padding: 60px 0;
    background-color: #f0f4f8;
}

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

.page-promotions-referral-program .step-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions-referral-program .step-number {
    background-color: #007BFF;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions-referral-program .step-card h3 {
    color: #007BFF;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-promotions-referral-program .step-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-promotions-referral-program .how-it-works-section a {
    color: #007BFF;
    text-decoration: underline;
}

.page-promotions-referral-program .how-it-works-section a:hover {
    color: #0056b3;
}

/* Rules and Terms Section */
.page-promotions-referral-program .rules-terms-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-promotions-referral-program .rules-terms-section ul {
    list-style: disc;
    padding-left: 25px;
    margin-top: 20px;
    font-size: 1.1em;
    color: #555;
}

.page-promotions-referral-program .rules-terms-section li {
    margin-bottom: 10px;
}

.page-promotions-referral-program .content-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-promotions-referral-program .faq-section {
    padding: 60px 0;
    background-color: #f0f4f8;
}

.page-promotions-referral-program .faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    border-left: 5px solid #007BFF;
}

.page-promotions-referral-program .faq-item h3 {
    color: #007BFF;
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.page-promotions-referral-program .faq-item h3.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-promotions-referral-program .faq-item p {
    font-size: 1.05em;
    color: #555;
    margin-bottom: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
}

.page-promotions-referral-program .faq-item p.active {
    max-height: 200px; /* Adjust as needed */
    opacity: 1;
    margin-top: 15px;
}

/* CTA Bottom Section */
.page-promotions-referral-program .cta-bottom-section {
    background-color: #007BFF;
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-promotions-referral-program .cta-bottom-section h2 {
    color: #FFD700;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.page-promotions-referral-program .cta-bottom-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-promotions-referral-program .cta-bottom-section .btn {
    margin-top: 20px;
    font-size: 1.2em;
    padding: 15px 35px;
}

.page-promotions-referral-program .cta-bottom-section a {
    color: #FFD700;
    text-decoration: underline;
}

.page-promotions-referral-program .cta-bottom-section a:hover {
    color: #ffffff;
}

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

    .page-promotions-referral-program h2 {
        font-size: 1.8em;
    }

    .page-promotions-referral-program h3 {
        font-size: 1.3em;
    }

    .page-promotions-referral-program .hero-content p {
        font-size: 1.1em;
    }

    .page-promotions-referral-program .benefits-grid, .page-promotions-referral-program .steps-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions-referral-program .hero-section .container {
        flex-direction: column;
    }

    .page-promotions-referral-program .hero-image-wrapper {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions-referral-program h1 {
        font-size: 2em;
    }

    .page-promotions-referral-program h2 {
        font-size: 1.6em;
    }

    .page-promotions-referral-program .btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-promotions-referral-program .hero-section {
        padding: 50px 0;
    }

    .page-promotions-referral-program .cta-bottom-section h2 {
        font-size: 2em;
    }
}