/* style/promotions.css */
:root {
    --primary-color: #004AAD;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #000000;
    --bg-light: #f8f9fa;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Body background is dark, so text should be light */
    background-color: var(--bg-dark);
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #002D62 100%);
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-promotions__hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__cta-button--primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-promotions__cta-button--primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button--secondary {
    background: none;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.page-promotions__cta-button--secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary-color);
}

.page-promotions__section-text {
    font-size: 1.1em;
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__overview-section {
    padding: 80px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    box-sizing: border-box;
}

.page-promotions__overview-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
}

.page-promotions__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__feature-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-promotions__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.page-promotions__types-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    box-sizing: border-box;
}

.page-promotions__types-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__promotion-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--card-bg-dark);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
}

.page-promotions__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__promotion-card--reverse {
    flex-direction: row-reverse;
}

.page-promotions__card-content {
    flex: 1;
}

.page-promotions__card-image {
    flex-shrink: 0;
    width: 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    display: block;
}

.page-promotions__card-title {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-promotions__card-content p {
    margin-bottom: 15px;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.85);
}

.page-promotions__card-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.page-promotions__card-content ul li {
    margin-bottom: 8px;
}

.page-promotions__cta-button--small {
    padding: 10px 25px;
    font-size: 0.95em;
    margin-top: 15px;
}

.page-promotions__terms-section {
    padding: 80px 20px;
    background-color: #002D62;
    color: var(--text-light);
    box-sizing: border-box;
}

.page-promotions__terms-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-promotions__term-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__term-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-promotions__term-item p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    text-align: left;
}

.page-promotions__section-text--highlight {
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 50px;
}

.page-promotions__tips-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    box-sizing: border-box;
}

.page-promotions__tips-container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-promotions__tips-list {
    list-style-type: decimal;
    margin-left: 30px;
    margin-bottom: 40px;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
}

.page-promotions__tips-list li {
    margin-bottom: 15px;
    padding-left: 10px;
    line-height: 1.6;
}

.page-promotions__faq-section {
    padding: 80px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    box-sizing: border-box;
}

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

.page-promotions__faq-list {
    margin-top: 40px;
}

.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-light);
}

.page-promotions__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
}

.page-promotions__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-light);
}

.page-promotions__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    color: rgba(255, 255, 255, 0.8);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-answer p {
    margin: 0;
    text-align: left;
    font-size: 1em;
}

.page-promotions__conclusion-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    box-sizing: border-box;
}

.page-promotions__conclusion-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Common styles for dark background sections */
.page-promotions__dark-section .page-promotions__section-title {
    color: var(--secondary-color);
}
.page-promotions__dark-section .page-promotions__section-text {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 2.8em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__promotion-card {
        flex-direction: column;
        text-align: center;
    }
    .page-promotions__promotion-card--reverse {
        flex-direction: column;
    }
    .page-promotions__card-image {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    .page-promotions__cta-buttons {
      flex-direction: column;
      gap: 15px;
    }
    .page-promotions__cta-button {
      width: 100%;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-top: 100px !important;
        padding-bottom: 60px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-promotions__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__cta-buttons {
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column;
    }
    .page-promotions__overview-section,
    .page-promotions__types-section,
    .page-promotions__terms-section,
    .page-promotions__tips-section,
    .page-promotions__faq-section,
    .page-promotions__conclusion-section {
        padding: 60px 15px;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-promotions__section-text {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-promotions__feature-item {
        padding: 25px;
    }
    .page-promotions__feature-icon {
        width: 60px;
        height: 60px;
    }
    .page-promotions__feature-title {
        font-size: 1.2em;
    }
    .page-promotions__promotion-card {
        padding: 20px;
        gap: 20px;
    }
    .page-promotions__card-image {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain;
    }
    .page-promotions__card-title {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    .page-promotions__card-content p,
    .page-promotions__card-content ul li {
        font-size: 0.9em;
    }
    .page-promotions__terms-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__term-item {
        padding: 20px;
    }
    .page-promotions__term-title {
        font-size: 1.1em;
    }
    .page-promotions__tips-list {
        font-size: 0.95em;
        margin-left: 20px;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
    }
    .page-promotions__faq-question h3 {
        font-size: 1em;
    }
    .page-promotions__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-promotions__faq-answer {
        padding: 0 20px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px 20px !important;
    }
    /* Ensure all image containers are responsive */
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__hero-section,
    .page-promotions__overview-section,
    .page-promotions__types-section,
    .page-promotions__terms-section,
    .page-promotions__tips-section,
    .page-promotions__faq-section,
    .page-promotions__conclusion-section,
    .page-promotions__hero-container,
    .page-promotions__overview-container,
    .page-promotions__types-container,
    .page-promotions__terms-container,
    .page-promotions__tips-container,
    .page-promotions__faq-container,
    .page-promotions__conclusion-container,
    .page-promotions__promotion-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Specific override for sections to ensure padding is applied correctly if they have default padding */
    .page-promotions__overview-section, .page-promotions__types-section, .page-promotions__terms-section, .page-promotions__tips-section, .page-promotions__faq-section, .page-promotions__conclusion-section {
      padding-left: 15px !important;
      padding-right: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 1.8em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__cta-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    .page-promotions__feature-title {
        font-size: 1.1em;
    }
    .page-promotions__card-title {
        font-size: 1.3em;
    }
    .page-promotions__faq-question h3 {
        font-size: 0.95em;
    }
}