/* style/khuyn-mi.css */
:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #002244;
    --border-color: #e0e0e0;
}

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

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

.page-khuyn-mi-section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-khuyn-mi-section:nth-of-type(odd) {
    background-color: var(--bg-light);
}

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

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

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

.page-khuyn-mi h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-khuyn-mi h3 a {
    color: inherit;
    text-decoration: none;
}

.page-khuyn-mi h3 a:hover {
    text-decoration: underline;
}

.page-khuyn-mi p {
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: justify;
}

.page-khuyn-mi ul, .page-khuyn-mi ol {
    list-style-position: inside;
    margin-bottom: 15px;
    padding-left: 20px;
}

.page-khuyn-mi ul li, .page-khuyn-mi ol li {
    margin-bottom: 8px;
    font-size: 1.05em;
}

.page-khuyn-mi-text-center {
    text-align: center;
}

/* Hero Section */
.page-khuyn-mi-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-khuyn-mi-hero-section .page-khuyn-mi-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-khuyn-mi-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-khuyn-mi-hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-khuyn-mi-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-khuyn-mi-button {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.page-khuyn-mi-button-primary:hover {
    background-color: #e6c200;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi-button-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-khuyn-mi-button-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi-hero-image {
    width: 100%;
    max-width: 900px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

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

/* Card Styles */
.page-khuyn-mi-grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.page-khuyn-mi-grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-khuyn-mi-card {
    background-color: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 6px 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;
    align-items: center;
}

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

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

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

.page-khuyn-mi-card p {
    font-size: 1em;
    text-align: center;
    flex-grow: 1;
}

.page-khuyn-mi-card ul {
    text-align: left;
    width: 100%;
    margin-top: 15px;
    padding-left: 0;
    list-style: none;
}

.page-khuyn-mi-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 5px;
    font-size: 0.95em;
}

.page-khuyn-mi-card ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.page-khuyn-mi-card .page-khuyn-mi-button {
    margin-top: 25px;
    width: auto;
}

.page-khuyn-mi-card-small {
    background-color: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyn-mi-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

.page-khuyn-mi-card-small p {
    font-size: 0.95em;
    text-align: center;
}

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

.page-khuyn-mi-event-card {
    background-color: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyn-mi-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-khuyn-mi-event-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

.page-khuyn-mi-event-card h4 {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-khuyn-mi-event-card p {
    font-size: 0.95em;
    text-align: center;
}

/* FAQ Section */
.page-khuyn-mi-faq {
    background-color: var(--bg-light);
}

.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: 15px 20px;
    background: var(--text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

.page-khuyn-mi-faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

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

.page-khuyn-mi-faq-answer p {
    padding: 15px 0;
    margin: 0;
    font-size: 1em;
    text-align: left;
}

.page-khuyn-mi-faq-item.active .page-khuyn-mi-faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 15px 20px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-khuyn-mi-container {
        padding: 15px;
    }
    .page-khuyn-mi h1 {
        font-size: 2.4em;
    }
    .page-khuyn-mi h2 {
        font-size: 1.9em;
    }
    .page-khuyn-mi h3 {
        font-size: 1.5em;
    }
    .page-khuyn-mi-hero-section {
        padding: 60px 15px;
    }
    .page-khuyn-mi-hero-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-khuyn-mi-section {
        padding: 40px 0;
    }
    .page-khuyn-mi h1 {
        font-size: 2em;
    }
    .page-khuyn-mi h2 {
        font-size: 1.7em;
    }
    .page-khuyn-mi h3 {
        font-size: 1.3em;
    }
    .page-khuyn-mi-grid-2-cols, .page-khuyn-mi-grid-3-cols {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-khuyn-mi-event-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-khuyn-mi-cta-buttons {
        flex-direction: column;
    }
    .page-khuyn-mi-button {
        width: 100%;
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-khuyn-mi-faq-question {
        padding: 12px 15px;
    }
    .page-khuyn-mi-faq-question h3 {
        font-size: 1.1em;
    }
    .page-khuyn-mi-faq-toggle {
        font-size: 1.5em;
    }
    .page-khuyn-mi-faq-answer p {
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .page-khuyn-mi h1 {
        font-size: 1.8em;
    }
    .page-khuyn-mi h2 {
        font-size: 1.5em;
    }
    .page-khuyn-mi h3 {
        font-size: 1.2em;
    }
    .page-khuyn-mi-card, .page-khuyn-mi-card-small, .page-khuyn-mi-event-card {
        padding: 20px;
    }
    .page-khuyn-mi-faq-question h3 {
        font-size: 1em;
    }
}