/* style/promotions.css */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body if not inherited directly */
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Apply header offset here */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin-right: 40px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    color: #26A9E0; /* Brand color for emphasis */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay effect */
}

/* CTA Buttons */
.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    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, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Ensure padding doesn't cause overflow */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Break long words */
}

.page-promotions__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-promotions__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-promotions__btn-large {
    min-width: 200px;
}

/* Section Styling */
.page-promotions__current-promotions,
.page-promotions__how-to-claim,
.page-promotions__terms-conditions,
.page-promotions__why-choose-us,
.page-promotions__faq-section,
.page-promotions__final-cta {
    padding: 60px 20px;
}

.page-promotions__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-promotions__dark-bg {
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-promotions__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0;
}

.page-promotions__section-description {
    max-width: 900px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 1.1em;
    color: inherit; /* Inherit from section for contrast */
}

/* Promotions Grid */
.page-promotions__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__promo-card {
    background-color: #1a1a1a; /* Dark card background for dark-bg sections */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-promotions__current-promotions .page-promotions__promo-card {
    background-color: #f8f8f8; /* Light card background for light-bg sections */
    color: #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-promotions__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-promotions__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-promotions__promo-card .page-promotions__card-text {
    margin-bottom: 20px;
    flex-grow: 1;
    color: inherit;
}

.page-promotions__promo-card .page-promotions__btn-primary,
.page-promotions__promo-card .page-promotions__btn-secondary {
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 0.9em;
}

/* How to Claim Steps */
.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0 auto;
}

.page-promotions__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-promotions__step-number {
    font-size: 2.5em;
    color: #26A9E0;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.page-promotions__step-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-promotions__step-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Terms and Conditions */
.page-promotions__terms-list {
    list-style: none;
    max-width: 900px;
    margin: 40px auto;
    padding: 0;
}

.page-promotions__terms-item {
    background-color: #f0f0f0;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    font-size: 1em;
    color: #333333;
}

.page-promotions__terms-conditions .page-promotions__btn-secondary {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 250px;
    text-align: center;
}

/* Why Choose Us */
.page-promotions__features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
}

.page-promotions__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-promotions__feature-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-promotions__faq-container {
    max-width: 900px;
    margin: 40px auto;
}

.page-promotions__faq-item {
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #e8e8e8;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: #e0e0e0;
}

.page-promotions__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #26A9E0;
}

.page-promotions__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #333333;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-promotions__faq-text {
    margin: 0;
    color: #333333;
}

.page-promotions__faq-image {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Final CTA */
.page-promotions__final-cta {
    text-align: center;
    padding: 80px 20px;
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-promotions__final-cta .page-promotions__section-title {
    color: #26A9E0;
}

.page-promotions__final-cta .page-promotions__section-description {
    color: #f0f0f0;
}

/* General image styling */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 3em;
    }
    .page-promotions__hero-content {
        margin-right: 0; /* Adjust for smaller screens */
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        flex-direction: column;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile hero */
        min-height: 500px;
    }
    .page-promotions__hero-content {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .page-promotions__hero-title {
        font-size: 2.5em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100%;
        max-width: 100% !important; /* Ensure buttons don't overflow */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
        padding: 0 15px; /* Add padding for content sections */
    }

    .page-promotions__promotions-grid,
    .page-promotions__steps-grid,
    .page-promotions__features-list {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .page-promotions__promo-card,
    .page-promotions__step-card,
    .page-promotions__feature-item,
    .page-promotions__faq-item {
        margin-left: 15px;
        margin-right: 15px;
        width: calc(100% - 30px); /* Account for padding */
        box-sizing: border-box;
    }

    .page-promotions__terms-list {
        padding: 0 15px;
    }

    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper,
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Important for preventing horizontal scroll */
    }
    .page-promotions__current-promotions,
    .page-promotions__how-to-claim,
    .page-promotions__terms-conditions,
    .page-promotions__why-choose-us,
    .page-promotions__faq-section,
    .page-promotions__final-cta {
        padding-left: 0;
        padding-right: 0;
    }
    .page-promotions__faq-image {
        padding: 0 15px;
        width: calc(100% - 30px);
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 2em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
}