/* style/promotions.css */

/* General styles for the promotions page content */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Main text color, assuming dark body background */
    background-color: #08160F; /* Dark background for the main content area */
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #F2C14E; /* Gold for main titles */
    position: relative;
    padding-bottom: 10px;
}

.page-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #11A84E; /* Main brand color */
    border-radius: 2px;
}

.page-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: #A7D9B8; /* Secondary text color */
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding for first section */
    background-color: #08160F; /* Ensure background matches body for seamless transition */
}

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

.page-promotions__hero-content {
    position: absolute; /* Position content over image */
    text-align: center;
    padding: 20px;
    max-width: 900px;
    z-index: 2; /* Ensure content is above image */
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: bold;
    color: #F2C14E; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-promotions__hero-description {
    font-size: 1.2em;
    color: #F2FFF6;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Text Main */
    border: 2px solid #2AD16F;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    border-color: #13994A;
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #11A84E; /* Main brand color */
    border: 2px solid #11A84E;
    box-shadow: 0 2px 10px rgba(17, 168, 78, 0.2);
}

.page-promotions__btn-secondary:hover {
    background-color: #11A84E;
    color: #F2FFF6;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions__btn-link {
    background-color: #11A84E;
    color: #F2FFF6;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
}

.page-promotions__btn-link:hover {
    background-color: #22C768;
}

/* Promotions List */
.page-promotions__promotions-list {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green for this section */
}

.page-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions__promo-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-promotions__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

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

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

.page-promotions__card-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #F2C14E; /* Gold for card titles */
    margin-bottom: 15px;
}

.page-promotions__card-text {
    font-size: 1em;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

.page-promotions__step-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-promotions__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: 20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: #11A84E; /* Main brand color */
    color: #F2FFF6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(17, 168, 78, 0.3);
}

.page-promotions__step-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
}

.page-promotions__step-text {
    font-size: 1em;
    color: #A7D9B8; /* Secondary text color */
}

.page-promotions__step-text a {
    color: #2AD16F; /* Lighter green for links */
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__step-text a:hover {
    text-decoration: underline;
}

.page-promotions__cta-bottom {
    margin-top: 60px;
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Why Choose Us Section */
.page-promotions__why-choose-us {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
}

.page-promotions__benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions__benefit-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-promotions__benefit-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

.page-promotions__benefit-text {
    font-size: 1em;
    color: #A7D9B8; /* Secondary text color */
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-promotions__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #11A84E; /* Main brand color for summary */
    border-bottom: 1px solid #2E7A4E; /* Border */
    transition: background-color 0.3s ease;
}

.page-promotions__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-promotions__faq-item summary:hover {
    background-color: #22C768; /* Auxiliary color on hover */
}

.page-promotions__faq-qtext {
    flex-grow: 1;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    line-height: 1;
}

.page-promotions__faq-item[open] summary {
    background-color: #22C768; /* Auxiliary color when open */
    border-bottom: 1px solid #11A84E;
}

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #A7D9B8; /* Secondary text color */
    background-color: #11271B; /* Card BG */
    border-top: none;
}

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

/* Final CTA Section */
.page-promotions__final-cta-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
    text-align: center;
}

.page-promotions__final-cta-section .page-promotions__section-description {
    margin-bottom: 40px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        padding: 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__section-description {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__hero-image {
        height: 400px; /* Adjust hero image height for mobile */
    }
    .page-promotions__hero-content {
        position: static; /* Remove absolute positioning on mobile */
        padding: 40px 15px;
        background-color: rgba(0, 0, 0, 0.7); /* Add background to content on mobile for better readability */
        width: 100%;
        box-sizing: border-box;
    }
    .page-promotions__hero-image + .page-promotions__hero-content {
        margin-top: -5px; /* Adjust spacing if image is above content */
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-promotions__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-promotions__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 15px 15px !important;
    }
    .page-promotions__promotions-list,
    .page-promotions__how-to-claim,
    .page-promotions__why-choose-us,
    .page-promotions__faq-section,
    .page-promotions__final-cta-section {
        padding: 40px 0;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .page-promotions__section-description {
        margin-bottom: 30px;
        padding: 0 10px;
    }
    .page-promotions__promo-grid,
    .page-promotions__steps-list,
    .page-promotions__benefits-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__promo-image {
        height: 200px; /* Adjust card image height for mobile */
    }
    .page-promotions__card-title {
        font-size: 1.3em;
    }
    .page-promotions__step-item {
        padding: 50px 20px 20px;
    }
    .page-promotions__step-item::before {
        left: 20px;
        top: 15px;
    }
    .page-promotions__cta-bottom {
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
    }
    .page-promotions__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image and container responsiveness */
    .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__promo-card,
    .page-promotions__step-item,
    .page-promotions__benefit-item,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left: 15px; */ /* Removed as container handles it */
        /* padding-right: 15px; */
    }
    /* Override padding for sections that already have container padding */
    .page-promotions__container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-promotions__hero-section {
        padding-top: 10px !important;
    }

    /* Video responsiveness (if any, though none currently in HTML) */
    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotions__video-section {
        padding-top: 10px !important;
    }
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Ensure contrast for text on various backgrounds */
.page-promotions__dark-section {
    background: #11A84E; /* Example dark section */
    color: #ffffff; /* Forced white text */
}

.page-promotions__text-contrast-fix {
    color: #333333 !important;
    text-shadow: none !important;
}