.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* body background is handled by shared.css */
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding: 100px 0 60px; /* Adjust top padding for header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #003366 0%, #0d1117 100%);
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Apply header offset here */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    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%;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px); /* Soften the background image */
    transform: scale(1.05);
}

/* General Sections */
.page-promotions__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-promotions__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

/* Light Background Section */
.page-promotions__light-bg {
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}
.page-promotions__light-bg .page-promotions__section-title {
    color: #003366;
}
.page-promotions__light-bg .page-promotions__section-description {
    color: #555555;
}
.page-promotions__light-bg .page-promotions__card-title,
.page-promotions__light-bg .page-promotions__step-title,
.page-promotions__light-bg .page-promotions__faq-question h3 {
    color: #003366;
}
.page-promotions__light-bg .page-promotions__card-text,
.page-promotions__light-bg .page-promotions__step-text,
.page-promotions__light-bg .page-promotions__faq-answer p {
    color: #333333;
}

/* Dark Background Section */
.page-promotions__dark-bg {
    background-color: #003366;
    color: #ffffff;
    padding: 60px 0;
}

/* Grid Layouts */
.page-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark bg, white for light bg */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.page-promotions__light-bg .page-promotions__card {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-promotions__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFD700;
}
.page-promotions__light-bg .page-promotions__card-title {
    color: #003366;
}

.page-promotions__card-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}
.page-promotions__light-bg .page-promotions__card-text {
    color: #555555;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background-color: #FFD700;
    color: #003366;
    border: 2px solid #FFD700;
}

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

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

.page-promotions__btn-secondary:hover {
    background-color: #FFD700;
    color: #003366;
}

/* Featured Promotions */
.page-promotions__promo-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.page-promotions__promo-item {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__promo-image {
    width: 40%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-promotions__promo-details {
    width: 60%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-promotions__promo-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-promotions__promo-text {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 25px;
}

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

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

.page-promotions__step-icon {
    width: 60px;
    height: 60px;
    background-color: #003366;
    color: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px;
}

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

.page-promotions__step-text {
    color: #555555;
}

.page-promotions__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

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

.page-promotions__feature-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-promotions__feature-text {
    color: #f0f0f0;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
}

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
}

.page-promotions__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #003366;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #003366;
    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 all content */
    padding: 20px 25px;
}

.page-promotions__faq-answer p {
    margin: 0;
    color: #555555;
}

/* Call to Action Section (Bottom) */
.page-promotions__cta-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #003366 0%, #0d1117 100%);
}

.page-promotions__cta-content {
    max-width: 900px;
}

.page-promotions__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

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

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__promo-item {
        flex-direction: column;
    }
    .page-promotions__promo-image,
    .page-promotions__promo-details {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 80px 0 40px;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        padding-top: 30px;
    }
    .page-promotions__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-promotions__grid,
    .page-promotions__steps-grid,
    .page-promotions__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__promo-details {
        padding: 20px;
    }
    .page-promotions__promo-title {
        font-size: 1.4em;
    }
    .page-promotions__promo-text {
        font-size: 0.95em;
    }
    .page-promotions__cta-title {
        font-size: 2em;
    }
    .page-promotions__cta-description {
        font-size: 1em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile Image Responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__hero-section,
    .page-promotions__overview-section,
    .page-promotions__featured-section,
    .page-promotions__how-to-claim,
    .page-promotions__why-choose,
    .page-promotions__faq-section,
    .page-promotions__cta-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__container,
    .page-promotions__card,
    .page-promotions__promo-item,
    .page-promotions__step-item,
    .page-promotions__feature-item,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-promotions__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__cta-title {
        font-size: 1.6em;
    }
    .page-promotions__faq-question h3 {
        font-size: 1.1em;
    }
}