/* style/khuyn-mi.css */
.page-khuyn-mi {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Default text color for dark background */
    background-color: #1A2E44; /* Main background color */
}

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

.page-khuyn-mi__hero {
    background: linear-gradient(135deg, #1A2E44 0%, #3a506b 100%); /* Gradient background for hero */
    padding: 100px 0;
    text-align: center;
    color: #FFD700; /* Auxiliary color for hero title */
}

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

.page-khuyn-mi__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #e0e0e0;
}

.page-khuyn-mi__section {
    padding: 60px 0;
    background-color: #1A2E44;
}

.page-khuyn-mi__section:nth-of-type(odd) {
    background-color: #2c4a6b;
}

.page-khuyn-mi__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Auxiliary color for section titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
}

.page-khuyn-mi__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-khuyn-mi__section-description {
    font-size: 1.1em;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.5;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.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: #2c4a6b; /* Slightly lighter background for cards */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

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

.page-khuyn-mi__promo-img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi__card-title {
    font-size: 1.6em;
    color: #FFD700; /* Auxiliary color for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-khuyn-mi__card-text {
    font-size: 1em;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-khuyn-mi__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-size: 1.1em;
    text-align: center;
    white-space: nowrap;
}

.page-khuyn-mi__btn--primary {
    background-color: #FFD700; /* Auxiliary color for primary button */
    color: #1A2E44; /* Main color for primary button text */
    border: 2px solid #FFD700;
    margin: 0 10px;
}

.page-khuyn-mi__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-khuyn-mi__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Auxiliary color for secondary button text */
    border: 2px solid #FFD700;
    margin: 0 10px;
}

.page-khuyn-mi__btn--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.2);
}

.page-khuyn-mi__btn--card {
    background-color: #FFD700;
    color: #1A2E44;
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 30px;
}

.page-khuyn-mi__btn--card:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-khuyn-mi__steps-list,
.page-khuyn-mi__terms-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.page-khuyn-mi__steps-list li,
.page-khuyn-mi__terms-list li {
    background-color: #2c4a6b;
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 10px;
    font-size: 1.1em;
    line-height: 1.8;
    color: #e0e0e0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi__steps-list li strong {
    color: #FFD700;
    font-size: 1.2em;
}

.page-khuyn-mi__steps-list li a,
.page-khuyn-mi__terms-list li a {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-khuyn-mi__steps-list li a:hover,
.page-khuyn-mi__terms-list li a:hover {
    color: #e6c200;
}

.page-khuyn-mi__cta-final {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(45deg, #1A2E44, #000000); /* Darker gradient for final CTA */
}

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

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

@media (max-width: 768px) {
    .page-khuyn-mi__hero {
        padding: 80px 0;
    }
    .page-khuyn-mi__hero-title {
        font-size: 2.2em;
    }
    .page-khuyn-mi__hero-subtitle {
        font-size: 1.1em;
    }
    .page-khuyn-mi__btn {
        padding: 12px 25px;
        font-size: 1em;
        margin: 5px;
    }
    .page-khuyn-mi__section {
        padding: 40px 0;
    }
    .page-khuyn-mi__section-title {
        font-size: 1.8em;
    }
    .page-khuyn-mi__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-khuyn-mi__steps-list li,
    .page-khuyn-mi__terms-list li {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-khuyn-mi__steps-list li strong {
        font-size: 1.1em;
    }
    .page-khuyn-mi__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-khuyn-mi__btn--primary,
    .page-khuyn-mi__btn--secondary {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-khuyn-mi__hero-title {
        font-size: 1.8em;
    }
    .page-khuyn-mi__promo-card {
        padding: 20px;
    }
    .page-khuyn-mi__card-title {
        font-size: 1.4em;
    }
    .page-khuyn-mi__btn--card {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}