.page-promotions {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background */
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    background-color: #017439; /* Dark background for hero */
    color: #FFFFFF; /* Light text for dark background */
    text-align: center;
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for large screens */
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 40px; /* Space between image and content */
}

.page-promotions__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-promotions__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    line-height: 1.6;
    color: #FFFFFF;
}

/* CTA Buttons */
.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width for wrapping */
    max-width: 600px; /* Limit width of button group */
    margin: 0 auto;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.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: #a00606;
    border-color: #a00606;
}

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

.page-promotions__btn-secondary:hover {
    background-color: #f0f0f0;
    border-color: #005f2f;
}

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

.page-promotions__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: #017439; /* Brand color for titles */
}

.page-promotions__section-description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Light Background Section */
.page-promotions__light-bg {
    background-color: #FFFFFF;
    color: #333333;
    padding: 60px 0;
}

/* Dark Background Section */
.page-promotions__dark-section {
    background-color: #017439;
    color: #FFFFFF;
    padding: 60px 0;
}
.page-promotions__dark-section .page-promotions__section-title,
.page-promotions__dark-section .page-promotions__section-description {
    color: #FFFFFF;
}

/* Promotion List Section */
.page-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions__promo-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-promotions__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
    padding: 20px;
    flex-grow: 1; /* Allow content to expand */
    display: flex;
    flex-direction: column;
}

.page-promotions__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #017439;
}

.page-promotions__card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

.page-promotions__promo-card .page-promotions__btn-primary {
    width: 100%;
    margin-top: auto; /* Align button to the bottom */
}

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

.page-promotions__benefit-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark section */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__benefit-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.page-promotions__benefit-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #f0f0f0;
}

/* FAQ Section */
.page-promotions__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-promotions__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-item[open] {
    background-color: #ffffff;
    border-color: #017439;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    background-color: #eaf7ed; /* Lighter green background for open state */
    border-bottom-color: #017439;
    color: #017439;
}

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

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #017439;
    margin-left: 15px;
}

.page-promotions__faq-answer {
    padding: 15px 25px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 10px 15px 40px;
    }

    .page-promotions__hero-image {
        margin-bottom: 30px;
    }

    .page-promotions__main-title {
        font-size: 2rem;
    }

    .page-promotions__hero-description {
        font-size: 1rem;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 10px 15px;
        font-size: 0.9rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-promotions__container {
        padding: 0 15px;
    }

    .page-promotions__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-promotions__section-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .page-promotions__light-bg,
    .page-promotions__dark-section {
        padding: 40px 0;
    }

    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__promo-image {
        height: 180px;
    }

    .page-promotions__card-title {
        font-size: 1.2rem;
    }

    .page-promotions__benefit-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__benefit-item {
        padding: 20px;
    }

    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-promotions__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.9rem;
    }

    /* Mobile image responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-section {
        padding-top: 10px !important; /* body already handles header offset */
    }
}