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

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

.page-khuyn-mi__hero {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%); /* Darker blue for depth */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.page-khuyn-mi__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-khuyn-mi__hero-image {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi__section-title {
    font-size: 2.5em;
    color: #007BFF;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

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

.page-khuyn-mi__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: -20px auto 60px auto;
    color: #555;
}

.page-khuyn-mi__intro, .page-khuyn-mi__categories, .page-khuyn-mi__how-to, .page-khuyn-mi__faq, .page-khuyn-mi__cta {
    padding: 60px 0;
}

.page-khuyn-mi__intro {
    background-color: #fff;
    border-radius: 15px;
    margin-top: -50px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.page-khuyn-mi__feature-card {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyn-mi__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-khuyn-mi__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: #007BFF;
    border-radius: 50%;
    background-color: #e0f2ff;
    padding: 15px;
    display: inline-block;
}

.page-khuyn-mi__card-title {
    font-size: 1.5em;
    color: #007BFF;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-khuyn-mi__promo-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-khuyn-mi__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #FFC107;
}

.page-khuyn-mi__promo-card .page-khuyn-mi__card-title {
    padding: 20px 20px 0;
    font-size: 1.4em;
    color: #007BFF;
}

.page-khuyn-mi__promo-card p {
    padding: 0 20px 20px;
    flex-grow: 1;
    color: #555;
}

.page-khuyn-mi__promo-card .page-khuyn-mi__btn {
    margin: 0 20px 20px;
    align-self: flex-start;
    width: calc(100% - 40px);
    text-align: center;
}

.page-khuyn-mi__steps {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    max-width: 900px;
    margin: 0 auto;
}

.page-khuyn-mi__steps li {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    position: relative;
}

.page-khuyn-mi__steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    background-color: #007BFF;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi__step-title {
    font-size: 1.6em;
    color: #007BFF;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-khuyn-mi__step-title a {
    color: #FFC107;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-khuyn-mi__step-title a:hover {
    color: #e0a800;
}

.page-khuyn-mi__faq {
    background-color: #f0f8ff;
}

.page-khuyn-mi__accordion {
    max-width: 900px;
    margin: 0 auto;
}

.page-khuyn-mi__accordion-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-khuyn-mi__accordion-header {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    font-size: 1.25em;
    font-weight: bold;
    color: #007BFF;
    background-color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.page-khuyn-mi__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    color: #FFC107;
    transition: transform 0.3s ease;
}

.page-khuyn-mi__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-khuyn-mi__accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

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

.page-khuyn-mi__cta {
    background: linear-gradient(90deg, #FFC107 0%, #e0a800 100%); /* Gold gradient */
    color: #333;
    text-align: center;
    padding: 80px 0;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

.page-khuyn-mi__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.page-khuyn-mi__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #444;
}

.page-khuyn-mi__btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi__btn--primary {
    background-color: #007BFF;
    color: #fff;
    border: 2px solid #007BFF;
}

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

.page-khuyn-mi__btn--secondary {
    background-color: #FFC107;
    color: #333;
    border: 2px solid #FFC107;
}

.page-khuyn-mi__btn--secondary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi__btn--lg {
    padding: 18px 45px;
    font-size: 1.2em;
}

.page-khuyn-mi .highlight {
    color: #FFC107;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-khuyn-mi__hero-title {
        font-size: 2.8em;
    }
    .page-khuyn-mi__section-title {
        font-size: 2em;
    }
    .page-khuyn-mi__cta-title {
        font-size: 2.4em;
    }
    .page-khuyn-mi__grid, .page-khuyn-mi__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-khuyn-mi__hero, .page-khuyn-mi__cta {
        padding: 60px 0;
    }
    .page-khuyn-mi__hero-title {
        font-size: 2.2em;
    }
    .page-khuyn-mi__hero-subtitle {
        font-size: 1.1em;
    }
    .page-khuyn-mi__section-title {
        font-size: 1.8em;
    }
    .page-khuyn-mi__section-description {
        font-size: 1em;
    }
    .page-khuyn-mi__intro, .page-khuyn-mi__categories, .page-khuyn-mi__how-to, .page-khuyn-mi__faq, .page-khuyn-mi__cta {
        padding: 40px 0;
    }
    .page-khuyn-mi__steps li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-khuyn-mi__steps li::before {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-khuyn-mi__step-title {
        font-size: 1.4em;
    }
    .page-khuyn-mi__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-khuyn-mi__accordion-content p {
        padding-bottom: 15px;
    }
    .page-khuyn-mi__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-khuyn-mi__btn--lg {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-khuyn-mi__hero-title {
        font-size: 1.8em;
    }
    .page-khuyn-mi__hero-subtitle {
        font-size: 0.95em;
    }
    .page-khuyn-mi__section-title {
        font-size: 1.6em;
    }
    .page-khuyn-mi__cta-title {
        font-size: 2em;
    }
    .page-khuyn-mi__btn--lg {
        width: 100%;
        margin: 10px 0;
    }
}