/* General styles for the Khuyến Mãi page */
.page-khuyen-mai {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light background */
    background-color: #F4F7FB; /* Custom background color */
}

/* Hero Section */
.page-khuyen-mai__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    background: linear-gradient(180deg, #F4F7FB 0%, #E0E7F5 100%); /* Light gradient background for hero */
}

.page-khuyen-mai__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-khuyen-mai__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: #1F2D3D; /* Text Main */
}

.page-khuyen-mai__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main */
}

.page-khuyen-mai__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #1F2D3D; /* Text Main */
}

.page-khuyen-mai__hero-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    max-width: 100%; /* Ensure buttons don't exceed container width */
}

.page-khuyen-mai__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom Button Color */
    color: #ffffff;
    border: none;
}

.page-khuyen-mai__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-khuyen-mai__btn-secondary {
    background: #FFFFFF; /* Card BG */
    color: #2F6BFF; /* Main Color */
    border: 2px solid #2F6BFF; /* Main Color */
}

.page-khuyen-mai__btn-secondary:hover {
    background: #2F6BFF;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

.page-khuyen-mai__hero-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-khuyen-mai__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* General Section Styles */
.page-khuyen-mai__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-khuyen-mai__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-khuyen-mai__section-description {
    font-size: 1.1rem;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Intro Section - Icon Boxes (Module 1) */
.page-khuyen-mai__intro-section {
    background-color: #F4F7FB; /* Background */
}

.page-khuyen-mai__icon-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-khuyen-mai__icon-box {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-khuyen-mai__icon-box:hover {
    transform: translateY(-10px);
}

.page-khuyen-mai__icon-box-media {
    width: 160px; /* Recommended size for desktop */
    height: 160px; /* Keep square */
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #D6E2FF; /* Border */
    box-shadow: 0 0 0 8px #A5C4FF; /* Glow */
}

.page-khuyen-mai__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-khuyen-mai__icon-box-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2F6BFF; /* Main Color */
    margin-bottom: 10px;
}

.page-khuyen-mai__icon-box-text {
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
    line-height: 1.5;
}

/* Promotion Section */
.page-khuyen-mai__promo-section {
    background-color: #2F6BFF; /* Main Color - Dark Background */
    color: #ffffff; /* White text for dark background */
}

.page-khuyen-mai__promo-section .page-khuyen-mai__section-title,
.page-khuyen-mai__promo-section .page-khuyen-mai__section-description {
    color: #ffffff;
}

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

.page-khuyen-mai__promo-card {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-khuyen-mai__promo-card:hover {
    transform: translateY(-10px);
}

.page-khuyen-mai__promo-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-khuyen-mai__promo-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: #1F2D3D; /* Text Main */
}

.page-khuyen-mai__promo-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2F6BFF; /* Main Color */
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-khuyen-mai__promo-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-khuyen-mai__btn-text-link {
    color: #2F6BFF; /* Main Color */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-top: auto; /* Push to bottom */
}

.page-khuyen-mai__btn-text-link:hover {
    text-decoration: underline;
}

.page-khuyen-mai__button-group {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 15px;
    flex-wrap: wrap;
}

.page-khuyen-mai__button-group--center {
    text-align: center;
}

/* Guide Section */
.page-khuyen-mai__guide-section {
    background-color: #F4F7FB; /* Background */
}

.page-khuyen-mai__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-khuyen-mai__guide-step {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

.page-khuyen-mai__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom Button Color */
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

.page-khuyen-mai__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2F6BFF; /* Main Color */
    margin-bottom: 10px;
}

.page-khuyen-mai__step-text {
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
    line-height: 1.5;
}

/* FAQ Section */
.page-khuyen-mai__faq-section {
    background-color: #E0E7F5; /* A lighter shade of blue-white */
}

.page-khuyen-mai__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-khuyen-mai__faq-item {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}