/**
 * Promotion Page Styles
 */

/* Banner Section with Title Overlay */
.promotion-page {
    padding-top: 64px;
}

.promotion-banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.promotion-banner {
    display: block;
    width: 100%;
    height: auto;
}

.promotion-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Title Overlay on Banner */
.promotion-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 10%;
    z-index: 1;
}

/* Campaign Wrapper */
.promotion-campaign-wrapper {
    margin-bottom: 6rem;
}

/* Flex Container for Content + Image */
.campaign-content-container {
    display: flex;
    flex-direction: row;
    gap: 6rem;
    align-items: stretch;
}

/* Image Wrapper */
.campaign-image-wrapper {
    flex: 0 1 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
}

.campaign-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

/* Image Position Classes */
.campaign-image-wrapper.order-image-first {
    order: -1;
}

.campaign-image-wrapper.order-image-second {
    order: 1;
}

/* Content Wrapper */
.campaign-content-wrapper {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.campaign-body p {
    margin: 0 0 1rem 0;
}

.campaign-body p:last-child {
    margin-bottom: 0;
}

/* CTA Button Wrapper - always at bottom */
.campaign-cta-btn-wrapper {
    margin-top: auto;
    padding-top: 1rem;
}

.campaign-cta-btn {
    display: inline-block;
    padding: 12px 16px;
    text-align: center;
    background-color: #1464F4;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.campaign-cta-btn:hover {
    color: white;
}

/* ===== RESPONSIVE: Tablet (768px - 1024px) ===== */
@media (max-width: 1024px) {
    .promotion-banner-overlay {

        padding-left: 16px;
    }

    .campaign-content-container {
        gap: 1.5rem;
    }

    .campaign-image-wrapper {
        flex: 0 1 40%;
    }

    .campaign-content-wrapper {
        flex: 1 1 60%;
    }

    .campaign-title {
        font-size: 1.5rem;
    }

    .campaign-subtitle {
        font-size: 1rem;
    }
}

/* ===== RESPONSIVE: Mobile (max 767px) ===== */
@media (max-width: 767px) {
    .promotion-title {
        font-size: 1.75rem;
    }

    .promotion-campaign-wrapper {
        margin-bottom: 2rem;
    }

    .campaign-content-container {
        flex-direction: column;
        gap: 1rem;
    }

    /* Image always first on mobile */
    .campaign-image-wrapper.order-image-first,
    .campaign-image-wrapper.order-image-second {
        order: -1;
        flex: 1 1 auto;
    }

    .campaign-image-wrapper img {
        width: 100%;
        object-fit: cover;
    }

    /* Content below image */
    .campaign-content-wrapper {
        flex: 1 1 auto;
        order: 0;
    }

    .campaign-title {
        font-size: 1.25rem;
    }

    .campaign-subtitle {
        font-size: 0.95rem;
    }

    .campaign-body {
        font-size: 0.95rem;
    }

    .campaign-cta-btn {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* ============================
   Promotion Page Styles
   ============================ */

.promotion-title {
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.2;
    color: white;
    margin: 0;
}

.promotion-banner {
    margin: 0 auto;
    overflow: hidden;
}

.promotion-banner-img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.promotion-campaigns {
    max-width: 1130px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promotion-campaign-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.campaign-title {
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.5;
    color: #0f172a;
    margin-bottom: 12px;
}

.campaign-subtitle {
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: #1e293b;
    margin-bottom: 1.2rem;
}

.campaign-body {
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: #475569;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.campaign-body p {
    margin: 0 0 16px;
}

.campaign-body p:last-child {
    margin-bottom: 0;
}

.campaign-body a,
.campaign-body strong {
    color: #1464f4;
    font-weight: 700;
}

.promotion-cta {
    text-align: center;
    margin: 40px auto;
    max-width: 1130px;
}

.promotion-cta-btn {
    display: inline-block;
    height: 48px;
    line-height: 48px;
    padding: 0 60px;
    background: #1464f4;
    border: 1px solid #1464f4;
    color: #fff;
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    text-transform: capitalize;
    cursor: pointer;
    transition: opacity 0.2s;
}

.promotion-cta-btn:hover {
    opacity: 0.9;
    text-decoration: none;
    color: #fff;
}

.promotion-form-section {
    max-width: 1130px;
    margin: 0 auto;
    padding: 0;
}

.promotion-form-title {
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2;
    color: #3c3c3c;
    text-align: center;
    margin: 0 0 26px;
}

.promotion-form-wrapper {
    display: flex;
    justify-content: center;
    padding-bottom: 60px;
}

/* Promotion Page — Mobile Responsive */
@media (max-width: 767.98px) {
    .promotion-title-section {
        padding: 0 16px;
    }

    .promotion-title {
        font-size: 32px;
    }

    .promotion-banner {
        margin: 0 0 20px;
    }



    .promotion-campaigns {
        padding: 0 16px;
    }

    .campaign-title {
        font-size: 28px;
    }

    .promotion-cta {
        padding: 0 16px;
    }

    .promotion-cta-btn {
        width: 100%;
    }

    .promotion-form-section {
        padding: 0 16px;
    }

    .promotion-form-title {
        font-size: 24px;
    }

    .promotion-form-wrapper {
        flex-direction: column;
    }
}