/* style/promotions-cashback.css */

/* Base styles for the specific page */
.page-promotions-cashback {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color, ensure contrast */
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background for readability */
}

/* Container for content width */
.page-promotions-cashback__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-promotions-cashback__hero {
    background: linear-gradient(135deg, #1A2B4C, #FF8C00); /* Main and auxiliary colors */
    color: #ffffff; /* White text for dark background */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions-cashback__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
}

.page-promotions-cashback__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

.page-promotions-cashback__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.page-promotions-cashback__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.page-promotions-cashback__btn--primary {
    background-color: #FF8C00; /* Auxiliary color */
    color: #1A2B4C; /* Main color for text */
    border-color: #FF8C00;
}

.page-promotions-cashback__btn--primary:hover {
    background-color: #e57e00;
    border-color: #e57e00;
    transform: translateY(-2px);
}

.page-promotions-cashback__btn--secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.page-promotions-cashback__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #FF8C00;
    transform: translateY(-2px);
}

.page-promotions-cashback__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* General Section Styles */
.page-promotions-cashback__section {
    padding: 60px 0;
    background-color: #ffffff; /* Default section background */
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.page-promotions-cashback__section--intro {
    background-color: #fefefe;
}

.page-promotions-cashback__section-title {
    font-size: 2.5em;
    color: #1A2B4C; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-promotions-cashback__paragraph {
    font-size: 1.1em;
    color: #444444;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions-cashback__highlight {
    color: #1A2B4C; /* Main color for emphasis */
    font-weight: bold;
}

/* Grid for "How it Works" section */
.page-promotions-cashback__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-cashback__grid-item {
    background-color: #f4f7f8;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.page-promotions-cashback__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.page-promotions-cashback__grid-title {
    font-size: 1.6em;
    color: #FF8C00; /* Auxiliary color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-cashback__grid-description {
    font-size: 1em;
    color: #555555;
}

/* Table styles */
.page-promotions-cashback__table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.page-promotions-cashback__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Ensure table is readable on smaller screens */
}

.page-promotions-cashback__table th,
.page-promotions-cashback__table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eeeeee;
    color: #333333;
}

.page-promotions-cashback__table th {
    background-color: #1A2B4C; /* Main color */
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.95em;
}

.page-promotions-cashback__table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.page-promotions-cashback__table tr:hover {
    background-color: #f0f0f0;
}

.page-promotions-cashback__note {
    font-style: italic;
    color: #666666;
    margin-top: 30px;
    text-align: center;
    font-size: 0.95em;
}

/* Steps (Ordered List) */
.page-promotions-cashback__steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 30px;
}

.page-promotions-cashback__steps li {
    counter-increment: step-counter;
    margin-bottom: 25px;
    padding-left: 60px;
    position: relative;
    font-size: 1.1em;
    color: #444444;
}

.page-promotions-cashback__steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #FF8C00; /* Auxiliary color */
    color: #1A2B4C; /* Main color for number */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.4em;
    box-shadow: 0 2px 10px rgba(255, 140, 0, 0.3);
}

.page-promotions-cashback__steps li a {
    color: #1A2B4C; /* Main color for links */
    text-decoration: underline;
}

.page-promotions-cashback__steps li a:hover {
    color: #FF8C00; /* Auxiliary color on hover */
}

/* Accordion (FAQ) */
.page-promotions-cashback__accordion {
    margin-top: 30px;
}

.page-promotions-cashback__accordion-item {
    background-color: #fefefe;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.page-promotions-cashback__accordion-header {
    width: 100%;
    background-color: #1A2B4C; /* Main color */
    color: #ffffff;
    padding: 18px 25px;
    text-align: left;
    border: none;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-promotions-cashback__accordion-header:hover {
    background-color: #2a3d60; /* Slightly darker main color */
}

.page-promotions-cashback__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-promotions-cashback__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-promotions-cashback__accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #ffffff;
}

.page-promotions-cashback__accordion-content.active {
    max-height: 500px; /* Adjust based on content */
    padding: 15px 25px 25px;
}

.page-promotions-cashback__accordion-content p {
    margin: 0;
    color: #555555;
    font-size: 1em;
}

/* Call to Action Box */
.page-promotions-cashback__cta-box {
    background: linear-gradient(45deg, #1A2B4C, #3A4C70); /* Gradient of main color */
    color: #ffffff;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    margin-top: 60px;
}

.page-promotions-cashback__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-promotions-cashback__cta-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Image styles */
.page-promotions-cashback__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions-cashback__image--full-width {
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-cashback__image--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-cashback__image--padded {
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    box-shadow: none;
}

.page-promotions-cashback__image--small {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Floating Ad Menu */
.page-promotions-cashback__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #FF8C00; /* Auxiliary color */
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: page-promotions-cashback__pulse 2s infinite;
}

.page-promotions-cashback__floating-ad-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    color: #1A2B4C; /* Main color for text */
    font-weight: bold;
    font-size: 1.1em;
}

.page-promotions-cashback__floating-ad-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    background-color: #ffffff;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-promotions-cashback__floating-ad-text {
    white-space: nowrap;
}

@keyframes page-promotions-cashback__pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(255, 140, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 140, 0, 0); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions-cashback__hero-title {
        font-size: 2.5em;
    }
    .page-promotions-cashback__section-title {
        font-size: 2em;
    }
    .page-promotions-cashback__cta-title {
        font-size: 2.2em;
    }
    .page-promotions-cashback__table th,
    .page-promotions-cashback__table td {
        padding: 12px;
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .page-promotions-cashback__hero {
        padding: 80px 0;
    }
    .page-promotions-cashback__hero-title {
        font-size: 2em;
    }
    .page-promotions-cashback__hero-description {
        font-size: 1.1em;
    }
    .page-promotions-cashback__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions-cashback__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-promotions-cashback__section {
        padding: 40px 0;
    }
    .page-promotions-cashback__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-promotions-cashback__paragraph {
        font-size: 1em;
    }
    .page-promotions-cashback__grid {
        grid-template-columns: 1fr;
    }
    .page-promotions-cashback__steps li {
        padding-left: 50px;
        font-size: 1em;
    }
    .page-promotions-cashback__steps li::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
    .page-promotions-cashback__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-promotions-cashback__accordion-content.active {
        max-height: 600px; /* Adjust for mobile content */
    }
    .page-promotions-cashback__cta-box {
        padding: 40px 20px;
    }
    .page-promotions-cashback__cta-title {
        font-size: 1.8em;
    }
    .page-promotions-cashback__cta-description {
        font-size: 1.1em;
    }
    .page-promotions-cashback__floating-ad {
        bottom: 15px;
        right: 15px;
        left: 15px; /* Make it full width on mobile */
        width: auto;
        border-radius: 8px;
    }
    .page-promotions-cashback__floating-ad-link {
        justify-content: center;
        padding: 10px 15px;
        font-size: 1em;
    }
    .page-promotions-cashback__floating-ad-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .page-promotions-cashback__hero {
        padding: 60px 0;
    }
    .page-promotions-cashback__hero-title {
        font-size: 1.8em;
    }
    .page-promotions-cashback__btn {
        width: 90%;
    }
    .page-promotions-cashback__section-title {
        font-size: 1.6em;
    }
    .page-promotions-cashback__grid-title {
        font-size: 1.4em;
    }
    .page-promotions-cashback__cta-title {
        font-size: 1.6em;
    }
    .page-promotions-cashback__floating-ad-text {
        font-size: 0.9em;
    }
}