/* style/khuyn-mi.css */
:root {
    --primary-color: #0A1931;
    --secondary-color: #FFD700;
    --accent-color: #E74C3C;
    --text-color-light: #F8F8F8;
    --text-color-dark: #333333;
    --bg-light: #FFFFFF;
    --bg-dark: #0A1931;
    --border-color: #E0E0E0;
}

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

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

.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;
    text-align: center;
    color: var(--text-color-light);
}

.page-khuyn-mi h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-khuyn-mi h3 {
    font-size: 1.6em;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-khuyn-mi p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
}

.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 .cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--accent-color);
    color: var(--text-color-light);
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    margin-top: 20px;
}

.page-khuyn-mi .cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.page-khuyn-mi .hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
    color: var(--text-color-light);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-khuyn-mi .hero-banner .hero-content {
    max-width: 900px;
    margin-bottom: 40px;
}

.page-khuyn-mi .hero-banner .hero-content p {
    font-size: 1.3em;
    line-height: 1.8;
    color: var(--text-color-light);
}

.page-khuyn-mi .hero-banner .hero-image {
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
}

.page-khuyn-mi .hero-banner .hero-image .hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-khuyn-mi .intro-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.page-khuyn-mi .intro-section p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-khuyn-mi .promotion-category {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-khuyn-mi .promotion-category.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-color-light);
}

.page-khuyn-mi .promotion-category.bg-dark h2,
.page-khuyn-mi .promotion-category.bg-dark h3 {
    color: var(--secondary-color);
}

.page-khuyn-mi .promotion-category.bg-dark p {
    color: var(--text-color-light);
}

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

.page-khuyn-mi .promo-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 20px 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;
}

.page-khuyn-mi .promotion-category.bg-dark .promo-card {
    background-color: #1a2a47;
    color: var(--text-color-light);
}

.page-khuyn-mi .promotion-category.bg-dark .promo-card h3 a {
    color: var(--secondary-color);
}

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

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

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

.page-khuyn-mi .promo-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

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

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

.page-khuyn-mi .promo-card p {
    font-size: 1em;
    line-height: 1.6;
    flex-grow: 1;
}

.page-khuyn-mi .promo-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.page-khuyn-mi .promo-card ul li {
    margin-bottom: 8px;
    font-size: 0.95em;
    color: var(--text-color-dark);
}

.page-khuyn-mi .promotion-category.bg-dark .promo-card ul li {
    color: var(--text-color-light);
}

.page-khuyn-mi .promo-card .btn-promo {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

.page-khuyn-mi .promo-card .btn-promo:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.page-khuyn-mi .terms-section {
    padding: 60px 0;
    background-color: var(--bg-dark);
    color: var(--text-color-light);
}

.page-khuyn-mi .terms-section h2 {
    color: var(--secondary-color);
}

.page-khuyn-mi .terms-section h3 {
    color: var(--secondary-color);
    margin-top: 30px;
}

.page-khuyn-mi .terms-section p {
    color: var(--text-color-light);
    font-size: 1.05em;
}

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

.page-khuyn-mi .terms-section a:hover {
    color: var(--text-color-light);
}

.page-khuyn-mi .faq-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-khuyn-mi .faq-list {
    margin-top: 30px;
}

.page-khuyn-mi .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.page-khuyn-mi .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--bg-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-khuyn-mi .faq-question:hover {
    background: #f5f5f5;
}

.page-khuyn-mi .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

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

.page-khuyn-mi .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.page-khuyn-mi .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    color: var(--text-color-dark);
}

.page-khuyn-mi .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.page-khuyn-mi .faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
}

.page-khuyn-mi .conclusion-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #1a2a47 0%, var(--primary-color) 100%);
    color: var(--text-color-light);
}

.page-khuyn-mi .conclusion-section h2 {
    color: var(--secondary-color);
}

.page-khuyn-mi .conclusion-section p {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--text-color-light);
}

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

.page-khuyn-mi .conclusion-section a:hover {
    color: var(--text-color-light);
}

.page-khuyn-mi .conclusion-section .cta-button.primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-khuyn-mi .conclusion-section .cta-button.primary:hover {
    background-color: #e6b800;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-khuyn-mi h1 {
        font-size: 2.4em;
    }
    .page-khuyn-mi h2 {
        font-size: 1.8em;
    }
    .page-khuyn-mi h3 {
        font-size: 1.4em;
    }
    .page-khuyn-mi .hero-banner .hero-content p {
        font-size: 1.1em;
    }
    .page-khuyn-mi .promo-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-khuyn-mi .container {
        padding: 15px;
    }
    .page-khuyn-mi h1 {
        font-size: 2em;
    }
    .page-khuyn-mi h2 {
        font-size: 1.6em;
    }
    .page-khuyn-mi h3 {
        font-size: 1.3em;
    }
    .page-khuyn-mi .hero-banner {
        padding: 60px 15px;
    }
    .page-khuyn-mi .hero-banner .hero-content {
        margin-bottom: 30px;
    }
    .page-khuyn-mi .cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-khuyn-mi .promo-card-grid {
        grid-template-columns: 1fr;
    }
    .page-khuyn-mi .promo-card .promo-img {
        height: 200px;
    }
    .page-khuyn-mi .faq-question {
        padding: 15px 20px;
    }
    .page-khuyn-mi .faq-question h3 {
        font-size: 1.1em;
    }
    .page-khuyn-mi .faq-toggle {
        font-size: 20px;
    }
    .page-khuyn-mi .faq-answer {
        padding: 0 20px;
    }
    .page-khuyn-mi .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-khuyn-mi .conclusion-section p {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-khuyn-mi h1 {
        font-size: 1.8em;
    }
    .page-khuyn-mi h2 {
        font-size: 1.4em;
    }
    .page-khuyn-mi h3 {
        font-size: 1.2em;
    }
    .page-khuyn-mi .hero-banner {
        padding: 40px 10px;
    }
    .page-khuyn-mi .hero-banner .hero-content p {
        font-size: 1em;
    }
    .page-khuyn-mi .cta-button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-khuyn-mi .promo-card {
        padding: 20px;
    }
    .page-khuyn-mi .promo-card .promo-img {
        height: 180px;
    }
    .page-khuyn-mi .faq-question {
        padding: 12px 15px;
    }
    .page-khuyn-mi .faq-question h3 {
        font-size: 1em;
    }
    .page-khuyn-mi .faq-toggle {
        font-size: 18px;
    }
    .page-khuyn-mi .faq-answer {
        padding: 0 15px;
    }
    .page-khuyn-mi .faq-item.active .faq-answer {
        padding: 10px 15px;
    }
}