/* style/khuyn-mi.css */
.page-khuyn-mi {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

.page-khuyn-mi__hero {
    background: linear-gradient(135deg, #FFD700 0%, #8B0000 100%);
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-khuyn-mi__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.page-khuyn-mi__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #f0f0f0;
}

.page-khuyn-mi__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-khuyn-mi__btn--primary {
    background-color: #8B0000;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-khuyn-mi__btn--primary:hover {
    background-color: #FFD700;
    color: #8B0000;
    border-color: #8B0000;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi__btn--secondary {
    background-color: #FFD700;
    color: #8B0000;
    border: 2px solid #8B0000;
    padding: 10px 20px;
    font-size: 1em;
}

.page-khuyn-mi__btn--secondary:hover {
    background-color: #8B0000;
    color: #FFD700;
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.page-khuyn-mi__section:nth-of-type(even) {
    background-color: #eeeeee;
}

.page-khuyn-mi__section-title {
    font-size: 2.5em;
    color: #8B0000;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-khuyn-mi__intro-item {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyn-mi__intro-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-khuyn-mi__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-khuyn-mi__item-title {
    font-size: 1.5em;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.page-khuyn-mi__intro-item p {
    color: #555;
}

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

.page-khuyn-mi__tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.page-khuyn-mi__tab-btn {
    background-color: #FFD700;
    color: #8B0000;
    border: none;
    padding: 12px 25px;
    font-size: 1.1em;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.page-khuyn-mi__tab-btn:hover {
    background-color: #f0c800;
    transform: translateY(-2px);
}

.page-khuyn-mi__tab-btn.active {
    background-color: #8B0000;
    color: #FFD700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi__tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.page-khuyn-mi__tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-khuyn-mi__content-subtitle {
    font-size: 1.8em;
    color: #8B0000;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-khuyn-mi__promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.page-khuyn-mi__promotion-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-khuyn-mi__card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-khuyn-mi__card-content {
    padding: 25px;
}

.page-khuyn-mi__card-title {
    font-size: 1.6em;
    color: #8B0000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-khuyn-mi__card-description {
    color: #555;
    margin-bottom: 20px;
}

.page-khuyn-mi__note {
    margin-top: 30px;
    font-size: 0.9em;
    color: #777;
}

.page-khuyn-mi__steps {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-khuyn-mi__steps li {
    background-color: #ffffff;
    border-left: 5px solid #FFD700;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.page-khuyn-mi__step-title {
    font-size: 1.4em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-khuyn-mi__steps li p {
    color: #555;
}

.page-khuyn-mi__steps li a {
    color: #8B0000;
    text-decoration: underline;
    font-weight: bold;
}

.page-khuyn-mi__steps li a:hover {
    color: #FFD700;
}

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

.page-khuyn-mi__accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.page-khuyn-mi__accordion-header {
    background-color: #FFD700;
    color: #8B0000;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-khuyn-mi__accordion-header:hover {
    background-color: #f0c800;
}

.page-khuyn-mi__accordion-header.active {
    background-color: #8B0000;
    color: #FFD700;
}

.page-khuyn-mi__accordion-content {
    padding: 0 25px;
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-khuyn-mi__accordion-content p {
    padding: 15px 0;
    color: #555;
}

.page-khuyn-mi__accordion-content.active {
    max-height: 200px; /* Adjust as needed */
    padding: 15px 25px;
}

.page-khuyn-mi__accordion-content a {
    color: #8B0000;
    text-decoration: underline;
    font-weight: bold;
}

.page-khuyn-mi__accordion-content a:hover {
    color: #FFD700;
}

.page-khuyn-mi__cta {
    background-color: #8B0000;
    color: #ffffff;
    padding: 80px 0;
}

.page-khuyn-mi__cta-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

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

.page-khuyn-mi__responsibility {
    background-color: #f0f0f0;
    color: #444;
    padding: 50px 0;
}

.page-khuyn-mi__responsibility-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-khuyn-mi__hero-title {
        font-size: 2.5em;
    }
    .page-khuyn-mi__section-title {
        font-size: 2em;
    }
    .page-khuyn-mi__grid {
        grid-template-columns: 1fr;
    }
    .page-khuyn-mi__tabs {
        flex-direction: column;
    }
    .page-khuyn-mi__tab-btn {
        width: 100%;
    }
    .page-khuyn-mi__promotion-grid {
        grid-template-columns: 1fr;
    }
    .page-khuyn-mi__cta-buttons {
        flex-direction: column;
    }
    .page-khuyn-mi__btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .page-khuyn-mi__hero-title {
        font-size: 2em;
    }
    .page-khuyn-mi__hero-description {
        font-size: 1em;
    }
    .page-khuyn-mi__section-title {
        font-size: 1.8em;
    }
    .page-khuyn-mi__card-title {
        font-size: 1.4em;
    }
    .page-khuyn-mi__accordion-header {
        font-size: 1em;
        padding: 15px 20px;
    }
}