.page-promotions {
    color: #333333; /* Default text color for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-promotions__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #017439, #005f2e); /* Brand colors gradient */
    color: #FFFFFF;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.page-promotions__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #FFFF00; /* Register/Login font color for emphasis */
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.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;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
}

.page-promotions__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-promotions__btn-primary:hover {
    background-color: #e00a0a;
    transform: translateY(-3px);
}

.page-promotions__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Brand primary color */
    border: 2px solid #017439;
}

.page-promotions__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.page-promotions__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

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

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image for text readability */
}

/* General Section Styles */
.page-promotions__categories-section,
.page-promotions__featured-promo,
.page-promotions__how-to-claim-section,
.page-promotions__terms-section,
.page-promotions__faq-section {
    padding: 60px 20px;
    text-align: center;
}

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

.page-promotions__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #FFFFFF;
}

.page-promotions__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: inherit; /* Inherit color from parent section */
}

.page-promotions__section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

/* Categories Section */
.page-promotions__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.page-promotions__card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
    color: #333333;
}

.page-promotions__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-promotions__card-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #017439; /* Brand primary color */
}

.page-promotions__card-title a {
    text-decoration: none;
    color: #017439;
    transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
    color: #005f2e;
}

.page-promotions__card-text {
    font-size: 1em;
    color: #555555;
}

/* Featured Promo Section */
.page-promotions__content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__promo-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin: 40px auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__promo-details {
    list-style: none;
    padding: 0;
    margin: 30px auto 50px auto;
    max-width: 700px;
    text-align: left;
    font-size: 1.1em;
}

.page-promotions__promo-details li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 4px solid #FFFF00; /* Highlight with yellow */
    border-radius: 6px;
}

.page-promotions__promo-details li strong {
    color: #FFFF00;
}

/* How To Claim Section */
.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.page-promotions__step-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    border: 1px solid #e0e0e0;
    position: relative;
}

.page-promotions__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #017439;
    color: #FFFFFF;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439;
}

.page-promotions__step-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-promotions__step-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.page-promotions__cta-bottom {
    margin-top: 60px;
}

.page-promotions__cta-text {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #333333;
}

/* Terms Section */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
    font-size: 1em;
}

.page-promotions__terms-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    margin-bottom: 8px;
    border-left: 3px solid #FFFF00;
    border-radius: 4px;
    color: #FFFFFF;
}

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

.page-promotions__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px 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: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    color: #017439; /* Brand primary color for questions */
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.page-promotions__faq-question h3 {
    margin: 0;
    flex-grow: 1;
    color: inherit;
    font-size: 1em; /* Adjust to fit within the design */
}

.page-promotions__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #C30808; /* Red for toggle icon */
}

.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: #555555;
}

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

.page-promotions__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
}

.page-promotions__contact-cta {
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__category-grid,
    .page-promotions__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__hero-section {
        padding: 60px 15px;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-promotions__card,
    .page-promotions__step-card,
    .page-promotions__faq-item,
    .page-promotions__content-wrapper,
    .page-promotions__category-grid,
    .page-promotions__steps-grid,
    .page-promotions__faq-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile image responsive */
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-promotions__card-image,
    .page-promotions__promo-image,
    .page-promotions__step-image {
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover; /* Ensure aspect ratio is maintained */
    }

    .page-promotions__promo-details {
        font-size: 1em;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-promotions__faq-answer {
        padding: 0 20px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 10px 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__section-description {
        font-size: 0.9em;
    }
}

/* Ensure no filter is used on images */
.page-promotions img {
    filter: none; /* Explicitly remove any default filter */
}

/* Exception for hero image to darken it for text readability, not changing color */
.page-promotions__hero-image {
    filter: brightness(0.7); /* This is allowed as it doesn't change color, only brightness */
}