:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #DC143C; /* Deep Red */
    --dark-bg: #1A1A1A; /* Very Dark Grey */
    --light-text: #FFFFFF;
    --dark-text: #333333;
    --light-grey: #f5f5f5;
    --border-color: #e0e0e0;
}

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

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

.page-khuyn-mi-section {
    padding: 60px 0;
    text-align: center;
}

.page-khuyn-mi-section:nth-of-type(even) {
    background-color: #222222;
}

.page-khuyn-mi h1, .page-khuyn-mi h2, .page-khuyn-mi h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-khuyn-mi h1 {
    font-size: 2.8em;
    line-height: 1.2;
}

.page-khuyn-mi h2 {
    font-size: 2.2em;
    margin-top: 40px;
    color: var(--light-text);
}

.page-khuyn-mi h3 {
    font-size: 1.6em;
    color: var(--light-text);
}

.page-khuyn-mi p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--light-text);
}

.page-khuyn-mi a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-khuyn-mi a:hover {
    color: var(--secondary-color);
}

.page-khuyn-mi-banner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: #000;
    overflow: hidden;
}

.page-khuyn-mi-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-khuyn-mi-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-khuyn-mi-banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: var(--light-text);
}

.page-khuyn-mi-banner-content h1 {
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-khuyn-mi-banner-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-khuyn-mi-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--light-text);
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
}

.page-khuyn-mi-cta-button:hover {
    background: var(--primary-color);
    color: var(--dark-text);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.page-khuyn-mi-promo-card {
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.page-khuyn-mi-promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-khuyn-mi-promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-khuyn-mi-promo-card h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    min-height: 60px; /* Ensure consistent card height */
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.page-khuyn-mi-promo-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-khuyn-mi-promo-card h3 a:hover {
    color: var(--light-text);
}

.page-khuyn-mi-promo-card p {
    font-size: 1em;
    color: #cccccc;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-khuyn-mi-card-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--light-text);
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto;
    border: none;
}

.page-khuyn-mi-card-button:hover {
    background: var(--primary-color);
    color: var(--dark-text);
    transform: translateY(-2px);
}

.page-khuyn-mi-terms ul,
.page-khuyn-mi-guide ol {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 30px auto;
}

.page-khuyn-mi-terms li,
.page-khuyn-mi-guide li {
    background-color: #2a2a2a;
    padding: 15px 25px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.1em;
    color: var(--light-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi-terms li strong,
.page-khuyn-mi-guide li strong {
    color: var(--primary-color);
}

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

.page-khuyn-mi-feature-card {
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    text-align: left;
    transition: transform 0.3s ease;
}

.page-khuyn-mi-feature-card:hover {
    transform: translateY(-5px);
}

.page-khuyn-mi-feature-card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-khuyn-mi-feature-card p {
    color: #cccccc;
    font-size: 1em;
}

/* FAQ Styles */
.page-khuyn-mi-faq .faq-list {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #2a2a2a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #3a3a3a;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #4a4a4a;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background-color: #2a2a2a;
    color: #cccccc;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 15px 25px;
    border-top: 1px solid #444;
}

.faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
    color: #cccccc;
}

.page-khuyn-mi-cta-final {
    background: linear-gradient(135deg, var(--secondary-color), #8B0000);
    padding: 80px 20px;
    color: var(--light-text);
}

.page-khuyn-mi-cta-final h2 {
    color: var(--light-text);
}

.page-khuyn-mi-cta-final p {
    color: var(--light-text);
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-khuyn-mi h1 {
        font-size: 2.4em;
    }
    .page-khuyn-mi h2 {
        font-size: 2em;
    }
    .page-khuyn-mi-promo-grid, .page-khuyn-mi-feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-khuyn-mi-section {
        padding: 40px 0;
    }
    .page-khuyn-mi-banner {
        padding: 60px 15px;
    }
    .page-khuyn-mi-banner-content h1 {
        font-size: 2em;
    }
    .page-khuyn-mi-banner-content p {
        font-size: 1em;
    }
    .page-khuyn-mi-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-khuyn-mi h2 {
        font-size: 1.8em;
    }
    .page-khuyn-mi h3 {
        font-size: 1.3em;
    }
    .page-khuyn-mi p {
        font-size: 0.95em;
    }
    .page-khuyn-mi-promo-grid, .page-khuyn-mi-feature-grid {
        grid-template-columns: 1fr;
    }
    .page-khuyn-mi-promo-card h3 {
        min-height: unset;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-khuyn-mi-terms li, .page-khuyn-mi-guide li {
        padding: 12px 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-khuyn-mi h1 {
        font-size: 1.8em;
    }
    .page-khuyn-mi h2 {
        font-size: 1.6em;
    }
    .page-khuyn-mi-banner-content p {
        font-size: 0.9em;
    }
    .page-khuyn-mi-cta-button {
        font-size: 0.9em;
        padding: 10px 25px;
    }
}