/* style/promotions-cashback.css */

:root {
    --page-promotions-cashback-primary-color: #0A2463;
    --page-promotions-cashback-secondary-color: #FFD700;
    --page-promotions-cashback-text-dark: #333333;
    --page-promotions-cashback-text-light: #ffffff;
    --page-promotions-cashback-background-light: #f8f9fa;
    --page-promotions-cashback-background-dark: #071a47;
    --page-promotions-cashback-border-color: #e0e0e0;
}

.page-promotions-cashback {
    font-family: 'Arial', sans-serif;
    color: var(--page-promotions-cashback-text-dark);
    line-height: 1.6;
    background-color: var(--page-promotions-cashback-background-light);
}

.page-promotions-cashback .highlight {
    color: var(--page-promotions-cashback-primary-color);
    font-weight: bold;
}

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

.page-promotions-cashback__hero {
    background: linear-gradient(135deg, var(--page-promotions-cashback-primary-color) 0%, #1a3c7a 100%);
    color: var(--page-promotions-cashback-text-light);
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-promotions-cashback__hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-promotions-cashback__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-promotions-cashback-secondary-color);
    line-height: 1.2;
}

.page-promotions-cashback__hero-title .highlight {
    color: var(--page-promotions-cashback-text-light);
}

.page-promotions-cashback__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-cashback__btn-primary {
    display: inline-block;
    background-color: var(--page-promotions-cashback-secondary-color);
    color: var(--page-promotions-cashback-primary-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-cashback__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-promotions-cashback__hero-image-wrapper {
    position: absolute;
    bottom: -50px;
    right: -50px;
    opacity: 0.1;
    z-index: 0;
}

.page-promotions-cashback__hero-image {
    width: 400px;
    height: auto;
}

.page-promotions-cashback__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-promotions-cashback-border-color);
}

.page-promotions-cashback__section:last-of-type {
    border-bottom: none;
}

.page-promotions-cashback__section-title {
    font-size: 2.5em;
    color: var(--page-promotions-cashback-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions-cashback__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-promotions-cashback-secondary-color);
    border-radius: 2px;
}

.page-promotions-cashback__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions-cashback__principles .page-promotions-cashback__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions-cashback__grid-item {
    background-color: var(--page-promotions-cashback-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-promotions-cashback__grid-item:hover {
    transform: translateY(-5px);
}

.page-promotions-cashback__grid-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.page-promotions-cashback__grid-title {
    font-size: 1.5em;
    color: var(--page-promotions-cashback-primary-color);
    margin-bottom: 15px;
}

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

.page-promotions-cashback__calculation-item {
    background-color: var(--page-promotions-cashback-background-dark);
    color: var(--page-promotions-cashback-text-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-promotions-cashback__calculation-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(1) brightness(1.5) drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.page-promotions-cashback__calculation-heading {
    font-size: 1.6em;
    color: var(--page-promotions-cashback-secondary-color);
    margin-bottom: 15px;
}

.page-promotions-cashback__flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.page-promotions-cashback__flex-item {
    flex: 1 1 calc(50% - 20px);
    background-color: var(--page-promotions-cashback-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-promotions-cashback__sub-title {
    font-size: 1.8em;
    color: var(--page-promotions-cashback-primary-color);
    margin-bottom: 20px;
}

.page-promotions-cashback__list,
.page-promotions-cashback__numbered-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-promotions-cashback__list li,
.page-promotions-cashback__numbered-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-promotions-cashback__list li::before {
    content: '•';
    color: var(--page-promotions-cashback-secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    top: -2px;
}

.page-promotions-cashback__numbered-list li::before {
    content: counter(item);
    counter-increment: item;
    color: var(--page-promotions-cashback-secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1em;
    background-color: var(--page-promotions-cashback-primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--page-promotions-cashback-text-light);
    top: 0;
}

.page-promotions-cashback__styled-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions-cashback__styled-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background-color: var(--page-promotions-cashback-text-light);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions-cashback__list-icon {
    color: var(--page-promotions-cashback-secondary-color);
    font-size: 1.5em;
    margin-right: 15px;
    line-height: 1;
    flex-shrink: 0;
}

.page-promotions-cashback__list-icon + p {
    margin-top: 0;
    margin-bottom: 0;
}

.page-promotions-cashback__cta-block {
    background-color: var(--page-promotions-cashback-primary-color);
    color: var(--page-promotions-cashback-text-light);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
}

.page-promotions-cashback__cta-text {
    font-size: 1.8em;
    margin-bottom: 25px;
    line-height: 1.3;
}

.page-promotions-cashback__btn-secondary {
    display: inline-block;
    background-color: var(--page-promotions-cashback-secondary-color);
    color: var(--page-promotions-cashback-primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-cashback__btn-secondary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-promotions-cashback__faq-item {
    background-color: var(--page-promotions-cashback-text-light);
    border: 1px solid var(--page-promotions-cashback-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions-cashback__faq-question {
    font-size: 1.3em;
    color: var(--page-promotions-cashback-primary-color);
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    position: relative;
    background-color: #f0f4f8;
    transition: background-color 0.3s ease;
}

.page-promotions-cashback__faq-question:hover {
    background-color: #e0e7ed;
}

.page-promotions-cashback__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: var(--page-promotions-cashback-secondary-color);
    transition: transform 0.3s ease;
}

.page-promotions-cashback__faq-item.active .page-promotions-cashback__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-promotions-cashback__faq-answer {
    padding: 0 25px 20px;
    margin: 0;
    font-size: 1.05em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-promotions-cashback__faq-item.active .page-promotions-cashback__faq-answer {
    max-height: 300px; /* Adjust based on expected content length */
    padding-top: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions-cashback__hero-title {
        font-size: 2.5em;
    }
    .page-promotions-cashback__hero-description {
        font-size: 1.1em;
    }
    .page-promotions-cashback__section-title {
        font-size: 2em;
    }
    .page-promotions-cashback__flex-item {
        flex: 1 1 100%;
    }
    .page-promotions-cashback__hero-image-wrapper {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-promotions-cashback__hero {
        padding: 60px 0;
    }
    .page-promotions-cashback__hero-title {
        font-size: 2em;
    }
    .page-promotions-cashback__hero-description {
        font-size: 1em;
    }
    .page-promotions-cashback__section {
        padding: 40px 0;
    }
    .page-promotions-cashback__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-promotions-cashback__grid-item, .page-promotions-cashback__calculation-item {
        padding: 20px;
    }
    .page-promotions-cashback__cta-block {
        padding: 30px;
    }
    .page-promotions-cashback__cta-text {
        font-size: 1.5em;
    }
    .page-promotions-cashback__btn-secondary {
        font-size: 1.1em;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .page-promotions-cashback__hero-title {
        font-size: 1.8em;
    }
    .page-promotions-cashback__hero-description {
        font-size: 0.95em;
    }
    .page-promotions-cashback__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions-cashback__section-title {
        font-size: 1.5em;
    }
    .page-promotions-cashback__grid-title, .page-promotions-cashback__calculation-heading {
        font-size: 1.3em;
    }
    .page-promotions-cashback__sub-title {
        font-size: 1.5em;
    }
    .page-promotions-cashback__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-promotions-cashback__faq-question::after {
        right: 20px;
    }
    .page-promotions-cashback__faq-answer {
        padding: 0 20px 15px;
    }
}