/* style/index-latest-promotions.css */
.page-index-latest-promotions {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-index-latest-promotions__hero {
    background: linear-gradient(135deg, #003366 0%, #004080 50%, #FFCC00 100%); /* Adjusted gradient for better contrast */
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-latest-promotions__hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0.3;
    width: 300px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.page-index-latest-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFCC00; /* Gold for highlight */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.page-index-latest-promotions__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-index-latest-promotions__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    position: relative;
    z-index: 1;
    margin: 10px;
}

.page-index-latest-promotions__btn--primary {
    background-color: #FFCC00;
    color: #003366;
    border: 2px solid #FFCC00;
}

.page-index-latest-promotions__btn--primary:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.page-index-latest-promotions__btn--secondary {
    background-color: #003366;
    color: #FFCC00;
    border: 2px solid #FFCC00;
}

.page-index-latest-promotions__btn--secondary:hover {
    background-color: #002244;
    transform: translateY(-2px);
}

.page-index-latest-promotions__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-index-latest-promotions__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-index-latest-promotions__btn--text {
    background: none;
    border: none;
    color: #FFCC00;
    text-decoration: underline;
    padding: 10px;
}

.page-index-latest-promotions__btn--text:hover {
    color: #e6b800;
    text-decoration: none;
}

.page-index-latest-promotions__section {
    padding: 60px 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.page-index-latest-promotions__section:nth-of-type(even) {
    background-color: #f0f4f7; /* Light greyish blue for alternating sections */
}

.page-index-latest-promotions__section-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-index-latest-promotions__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFCC00;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-index-latest-promotions__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #444;
    text-align: justify;
}

.page-index-latest-promotions__text-content a {
    color: #003366;
    text-decoration: underline;
}

.page-index-latest-promotions__text-content a:hover {
    color: #FFCC00;
}

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

.page-index-latest-promotions__promo-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

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

.page-index-latest-promotions__promo-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-index-latest-promotions__card-title {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 15px;
}

.page-index-latest-promotions__card-description {
    font-size: 1em;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-index-latest-promotions__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-index-latest-promotions__steps-list li {
    background-color: #fefefe;
    border: 1px solid #eee;
    border-left: 5px solid #003366;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.page-index-latest-promotions__steps-list li::before {
    counter-increment: step-counter;
    content: "Bước " counter(step-counter);
    position: absolute;
    left: -15px;
    top: -15px;
    background-color: #FFCC00;
    color: #003366;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
}

.page-index-latest-promotions__step-title {
    font-size: 1.6em;
    color: #003366;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-index-latest-promotions__list {
    list-style: disc inside;
    color: #444;
    font-size: 1.1em;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-index-latest-promotions__list li {
    margin-bottom: 10px;
}

.page-index-latest-promotions__list strong {
    color: #003366;
}

.page-index-latest-promotions__why-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-latest-promotions__why-card {
    background-color: #fefefe;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease;
}

.page-index-latest-promotions__why-card:hover {
    background-color: #e6f0f7; /* Lighter blue on hover */
}

.page-index-latest-promotions__why-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    object-fit: contain;
}

.page-index-latest-promotions__faq-item {
    background-color: #fefefe;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index-latest-promotions__faq-question {
    font-size: 1.4em;
    color: #003366;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-index-latest-promotions__faq-answer {
    font-size: 1.05em;
    color: #555;
}

.page-index-latest-promotions__faq-answer a {
    color: #003366;
    text-decoration: underline;
}

.page-index-latest-promotions__faq-answer a:hover {
    color: #FFCC00;
}

.page-index-latest-promotions__cta {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.page-index-latest-promotions__cta .page-index-latest-promotions__section-title {
    color: #FFCC00;
}

.page-index-latest-promotions__cta .page-index-latest-promotions__section-title::after {
    background-color: #fff;
}

.page-index-latest-promotions__cta .page-index-latest-promotions__text-content {
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.page-index-latest-promotions__cta .page-index-latest-promotions__text-content a {
    color: #FFCC00;
    text-decoration: underline;
}

.page-index-latest-promotions__cta .page-index-latest-promotions__text-content a:hover {
    color: #e6b800;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-index-latest-promotions__hero-title {
        font-size: 2.8em;
    }

    .page-index-latest-promotions__hero-subtitle {
        font-size: 1.3em;
    }

    .page-index-latest-promotions__section-title {
        font-size: 2em;
    }

    .page-index-latest-promotions__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-index-latest-promotions__hero {
        padding: 80px 0 120px 0;
    }

    .page-index-latest-promotions__hero-title {
        font-size: 2.2em;
    }

    .page-index-latest-promotions__hero-subtitle {
        font-size: 1.1em;
    }

    .page-index-latest-promotions__hero-image {
        width: 200px;
        opacity: 0.2;
    }

    .page-index-latest-promotions__section {
        padding: 40px 0;
    }

    .page-index-latest-promotions__section-title {
        font-size: 1.8em;
    }

    .page-index-latest-promotions__promo-card, .page-index-latest-promotions__why-card {
        padding: 20px;
    }

    .page-index-latest-promotions__steps-list li {
        padding: 20px;
    }

    .page-index-latest-promotions__steps-list li::before {
        left: 5px;
        top: 5px;
    }

    .page-index-latest-promotions__step-title {
        font-size: 1.4em;
    }

    .page-index-latest-promotions__faq-question {
        font-size: 1.2em;
    }

    .page-index-latest-promotions__cta {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .page-index-latest-promotions__hero {
        padding: 60px 0 100px 0;
    }

    .page-index-latest-promotions__hero-title {
        font-size: 1.8em;
    }

    .page-index-latest-promotions__hero-subtitle {
        font-size: 1em;
    }

    .page-index-latest-promotions__hero-image {
        width: 150px;
    }

    .page-index-latest-promotions__btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .page-index-latest-promotions__btn--large {
        padding: 15px 25px;
        font-size: 1em;
    }

    .page-index-latest-promotions__section-title {
        font-size: 1.5em;
    }

    .page-index-latest-promotions__text-content, .page-index-latest-promotions__list li, .page-index-latest-promotions__faq-answer {
        font-size: 0.95em;
    }

    .page-index-latest-promotions__promo-grid, .page-index-latest-promotions__why-cards {
        grid-template-columns: 1fr;
    }

    .page-index-latest-promotions__promo-card, .page-index-latest-promotions__why-card {
        margin: 0 10px;
    }
}