/* style/khuyn-mi.css */

/* Variables */
:root {
    --page-khuyn-mi-primary-color: #0A246A;
    --page-khuyn-mi-secondary-color: #FFD700;
    --page-khuyn-mi-text-light: #F8F8F8;
    --page-khuyn-mi-text-dark: #333333;
    --page-khuyn-mi-bg-light: #FFFFFF;
    --page-khuyn-mi-bg-dark: #071C4A;
    --page-khuyn-mi-accent-gold-dark: #b39700;
    --page-khuyn-mi-accent-blue-light: #546697;
}

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

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

.page-khuyn-mi__section {
    padding: 60px 0;
}

.page-khuyn-mi__section:nth-child(even) {
    background-color: var(--page-khuyn-mi-bg-dark);
    color: var(--page-khuyn-mi-text-light);
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__section-title,
.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__card-title,
.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__card-text,
.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__promo-title,
.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__promo-description,
.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__promo-details,
.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__step-title,
.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__step-description,
.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__text,
.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__list li,
.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__faq-question,
.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__faq-answer,
.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__cta-text {
    color: var(--page-khuyn-mi-text-light);
}

.page-khuyn-mi__section-title {
    font-size: 2.5em;
    color: var(--page-khuyn-mi-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__section-title {
    color: var(--page-khuyn-mi-secondary-color);
}

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

.page-khuyn-mi__hero {
    background: linear-gradient(135deg, var(--page-khuyn-mi-primary-color) 0%, #0A368F 100%);
    color: var(--page-khuyn-mi-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-khuyn-mi__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:hero:abstract_pattern,geometric,light_effect]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-khuyn-mi__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-khuyn-mi-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.page-khuyn-mi__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-khuyn-mi__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    position: relative;
    z-index: 1;
}

.page-khuyn-mi__btn--primary {
    background-color: var(--page-khuyn-mi-secondary-color);
    color: var(--page-khuyn-mi-primary-color);
    border: 2px solid var(--page-khuyn-mi-secondary-color);
}

.page-khuyn-mi__btn--primary:hover {
    background-color: var(--page-khuyn-mi-accent-gold-dark);
    border-color: var(--page-khuyn-mi-accent-gold-dark);
    transform: translateY(-3px);
}

.page-khuyn-mi__btn--secondary {
    background-color: transparent;
    color: var(--page-khuyn-mi-secondary-color);
    border: 2px solid var(--page-khuyn-mi-secondary-color);
}

.page-khuyn-mi__btn--secondary:hover {
    background-color: var(--page-khuyn-mi-secondary-color);
    color: var(--page-khuyn-mi-primary-color);
    transform: translateY(-3px);
}

.page-khuyn-mi__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

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

.page-khuyn-mi__card {
    background-color: var(--page-khuyn-mi-bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__card {
    background-color: var(--page-khuyn-mi-bg-dark);
    border: 1px solid var(--page-khuyn-mi-accent-blue-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi__card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-khuyn-mi__card-title {
    font-size: 1.5em;
    color: var(--page-khuyn-mi-primary-color);
    margin-bottom: 15px;
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__card-title {
    color: var(--page-khuyn-mi-secondary-color);
}

.page-khuyn-mi__card-text {
    font-size: 1em;
    color: var(--page-khuyn-mi-text-dark);
}

.page-khuyn-mi__promo-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.page-khuyn-mi__promo-item {
    display: flex;
    background-color: var(--page-khuyn-mi-bg-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__promo-item {
    background-color: var(--page-khuyn-mi-bg-dark);
    border: 1px solid var(--page-khuyn-mi-accent-blue-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi__promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-khuyn-mi__promo-item:nth-child(even) {
    flex-direction: row-reverse;
}

.page-khuyn-mi__promo-image {
    width: 40%;
    height: auto;
    object-fit: cover;
}

.page-khuyn-mi__promo-content {
    width: 60%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-khuyn-mi__promo-title {
    font-size: 1.8em;
    color: var(--page-khuyn-mi-primary-color);
    margin-bottom: 15px;
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__promo-title {
    color: var(--page-khuyn-mi-secondary-color);
}

.page-khuyn-mi__promo-description {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--page-khuyn-mi-text-dark);
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__promo-description {
    color: var(--page-khuyn-mi-text-light);
}

.page-khuyn-mi__promo-details {
    font-size: 0.95em;
    color: var(--page-khuyn-mi-primary-color);
    margin-bottom: 25px;
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__promo-details {
    color: var(--page-khuyn-mi-secondary-color);
}

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

.page-khuyn-mi__step-item {
    background-color: var(--page-khuyn-mi-bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    padding-top: 60px;
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__step-item {
    background-color: var(--page-khuyn-mi-bg-dark);
    border: 1px solid var(--page-khuyn-mi-accent-blue-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi__step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--page-khuyn-mi-secondary-color);
    color: var(--page-khuyn-mi-primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid var(--page-khuyn-mi-primary-color);
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__step-number {
    border: 3px solid var(--page-khuyn-mi-text-light);
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-khuyn-mi__step-title {
    font-size: 1.6em;
    color: var(--page-khuyn-mi-primary-color);
    margin-bottom: 10px;
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__step-title {
    color: var(--page-khuyn-mi-secondary-color);
}

.page-khuyn-mi__step-description {
    font-size: 1em;
    color: var(--page-khuyn-mi-text-dark);
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__step-description {
    color: var(--page-khuyn-mi-text-light);
}

.page-khuyn-mi__step-description a {
    color: var(--page-khuyn-mi-primary-color);
    text-decoration: underline;
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__step-description a {
    color: var(--page-khuyn-mi-secondary-color);
}

.page-khuyn-mi__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

.page-khuyn-mi__cta-text {
    font-size: 1.5em;
    color: var(--page-khuyn-mi-primary-color);
    margin-bottom: 25px;
    font-weight: bold;
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__cta-text {
    color: var(--page-khuyn-mi-secondary-color);
}

.page-khuyn-mi__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--page-khuyn-mi-text-dark);
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__text {
    color: var(--page-khuyn-mi-text-light);
}

.page-khuyn-mi__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--page-khuyn-mi-text-dark);
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__list {
    color: var(--page-khuyn-mi-text-light);
}

.page-khuyn-mi__list li {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-khuyn-mi__faq-items {
    margin-top: 40px;
}

.page-khuyn-mi__faq-item {
    background-color: var(--page-khuyn-mi-bg-light);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__faq-item {
    background-color: var(--page-khuyn-mi-bg-dark);
    border: 1px solid var(--page-khuyn-mi-accent-blue-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi__faq-question {
    font-size: 1.3em;
    color: var(--page-khuyn-mi-primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__faq-question {
    color: var(--page-khuyn-mi-secondary-color);
}

.page-khuyn-mi__faq-question::after {
    content: '+';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-khuyn-mi__faq-question.active::after {
    transform: rotate(45deg);
}

.page-khuyn-mi__faq-answer {
    font-size: 1em;
    color: var(--page-khuyn-mi-text-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

.page-khuyn-mi__section:nth-child(even) .page-khuyn-mi__faq-answer {
    color: var(--page-khuyn-mi-text-light);
}

.page-khuyn-mi__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding-top: 10px;
}

.page-khuyn-mi__section--call-to-action {
    background: linear-gradient(135deg, var(--page-khuyn-mi-primary-color) 0%, #0A368F 100%);
    color: var(--page-khuyn-mi-text-light);
    text-align: center;
    padding: 80px 0;
}

.page-khuyn-mi__section--call-to-action .page-khuyn-mi__section-title {
    color: var(--page-khuyn-mi-secondary-color);
}

.page-khuyn-mi__section--call-to-action .page-khuyn-mi__text {
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--page-khuyn-mi-text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-khuyn-mi__hero-title {
        font-size: 2.8em;
    }

    .page-khuyn-mi__section-title {
        font-size: 2em;
    }

    .page-khuyn-mi__promo-item {
        flex-direction: column;
    }

    .page-khuyn-mi__promo-item:nth-child(even) {
        flex-direction: column;
    }

    .page-khuyn-mi__promo-image,
    .page-khuyn-mi__promo-content {
        width: 100%;
    }

    .page-khuyn-mi__promo-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .page-khuyn-mi__hero {
        padding: 80px 0;
    }

    .page-khuyn-mi__hero-title {
        font-size: 2.2em;
    }

    .page-khuyn-mi__hero-description {
        font-size: 1em;
    }

    .page-khuyn-mi__section {
        padding: 40px 0;
    }

    .page-khuyn-mi__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-khuyn-mi__grid {
        grid-template-columns: 1fr;
    }

    .page-khuyn-mi__promo-title {
        font-size: 1.5em;
    }

    .page-khuyn-mi__step-title {
        font-size: 1.4em;
    }

    .page-khuyn-mi__cta-text {
        font-size: 1.3em;
    }

    .page-khuyn-mi__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-khuyn-mi__hero-title {
        font-size: 1.8em;
    }

    .page-khuyn-mi__hero-description {
        font-size: 0.9em;
    }

    .page-khuyn-mi__section-title {
        font-size: 1.5em;
    }

    .page-khuyn-mi__btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .page-khuyn-mi__promo-content,
    .page-khuyn-mi__card,
    .page-khuyn-mi__step-item,
    .page-khuyn-mi__faq-item {
        padding: 20px;
    }
    .page-khuyn-mi__promo-image {
        height: 200px; /* Smaller image height for mobile */
    }
}