/* Base styles for the page */
.page-chung-nhan-bao-mat {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background: #F4F7FB; /* Background */
}

/* Container for content sections */
.page-chung-nhan-bao-mat__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-chung-nhan-bao-mat__section {
    padding: 60px 0;
}

.page-chung-nhan-bao-mat__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

/* Hero Section */
.page-chung-nhan-bao-mat__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient as hero background */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* To contain image */
}

.page-chung-nhan-bao-mat__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for desktop */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-chung-nhan-bao-mat__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover the wrapper */
    border-radius: 10px;
}

.page-chung-bao-mat__sub-title {
    font-size: 24px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    color: inherit; /* Inherit color from parent section */
}

.page-chung-nhan-bao-mat__main-title {
    font-size: clamp(30px, 4.5vw, 48px); /* H1 font size with clamp */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #ffffff;
}

.page-chung-nhan-bao-mat__description {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-chung-nhan-bao-mat__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-chung-nhan-bao-mat__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General text block */
.page-chung-nhan-bao-mat__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main */
}
.page-chung-nhan-bao-mat__dark-section .page-chung-nhan-bao-mat__text-block {
    color: #f0f0f0; /* Lighter text on dark background */
}

/* Content grid for sections with image and text */
.page-chung-nhan-bao-mat__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.page-chung-nhan-bao-mat__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-chung-nhan-bao-mat__text-content,
.page-chung-nhan-bao-mat__image-content {
    flex: 1;
    min-width: 300px;
}

.page-chung-nhan-bao-mat__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Card styling */
.page-chung-nhan-bao-mat__card {
    background: #FFFFFF; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    border: 1px solid #D6E2FF; /* Border */
    color: #1F2D3D; /* Text Main */
}

.page-chung-nhan-bao-mat__card-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-chung-nhan-bao-mat__card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2F6BFF; /* Primary color */
}

.page-chung-nhan-bao-mat__card-text {
    font-size: 16px;
    color: #1F2D3D; /* Text Main */
}

/* Dark section specific styles */
.page-chung-nhan-bao-mat__dark-section {
    background: #2F6BFF; /* Primary color as background */
    color: #ffffff;
}
.page-chung-nhan-bao-mat__dark-section .page-chung-nhan-bao-mat__section-title {
    color: #ffffff;
}

/* Buttons within content */
.page-chung-nhan-bao-mat__btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}
.page-chung-nhan-bao-mat__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-1px);
}

.page-chung-nhan-bao-mat__btn-secondary {
    display: inline-block;
    background: #ffffff;
    color: #2F6BFF;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #2F6BFF;
    cursor: pointer;
    margin-top: 20px;
}
.page-chung-nhan-bao-mat__btn-secondary:hover {
    background: #F4F7FB;
    transform: translateY(-1px);
}

/* Feature grid (for "Other Security Measures") */
.page-chung-nhan-bao-mat__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-chung-nhan-bao-mat__feature-item {
    background: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.page-chung-nhan-bao-mat__feature-item:hover {
    transform: translateY(-5px);
}

.page-chung-nhan-bao-mat__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-chung-nhan-bao-mat__feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-chung-nhan-bao-mat__feature-description {
    font-size: 15px;
    color: #f0f0f0;
}

/* FAQ Section */
details.page-chung-nhan-bao-mat__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #D6E2FF; /* Border */
    overflow: hidden;
    background: #fff; /* Card BG */
}
details.page-chung-nhan-bao-mat__faq-item summary.page-chung-nhan-bao-mat__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #1F2D3D; /* Text Main */
}
details.page-chung-nhan-bao-mat__faq-item summary.page-chung-nhan-bao-mat__faq-question::-webkit-details-marker {
    display: none;
}
details.page-chung-nhan-bao-mat__faq-item summary.page-chung-nhan-bao-mat__faq-question:hover {
    background: #F4F7FB; /* Background color for hover */
}
.page-chung-nhan-bao-mat__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #1F2D3D; /* Text Main */
}
.page-chung-nhan-bao-mat__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #2F6BFF; /* Primary color */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-chung-nhan-bao-mat__faq-item .page-chung-nhan-bao-mat__faq-answer {
    padding: 0 20px 20px;
    background: #F4F7FB; /* Background color */
    border-radius: 0 0 5px 5px;
    color: #1F2D3D; /* Text Main */
}
.page-chung-nhan-bao-mat__faq-answer p {
    margin: 0;
    font-size: 15px;
}

/* Final CTA section */
.page-chung-nhan-bao-mat__cta-final {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Primary to secondary gradient */
    color: #ffffff;
}
.page-chung-nhan-bao-mat__cta-final .page-chung-nhan-bao-mat__section-title {
    color: #ffffff;
}
.page-chung-nhan-bao-mat__cta-final .page-chung-nhan-bao-mat__text-block {
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}
.page-chung-nhan-bao-mat__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width for responsive */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.page-chung-nhan-bao-mat__cta-button--primary {
    background: #ffffff;
    color: #2F6BFF;
    border: 2px solid #ffffff;
}
.page-chung-nhan-bao-mat__cta-button--primary:hover {
    background: #f0f0f0;
    color: #2F6BFF;
}
.page-chung-nhan-bao-mat__cta-button--secondary {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}
.page-chung-nhan-bao-mat__cta-button--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Image responsive base */
.page-chung-nhan-bao-mat img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-chung-nhan-bao-mat__container {
        padding: 0 15px;
    }
    .page-chung-nhan-bao-mat__section-title {
        font-size: 32px;
    }
    .page-chung-nhan-bao-mat__hero-image-wrapper {
        max-height: 500px;
    }
    .page-chung-nhan-bao-mat__main-title {
        font-size: clamp(28px, 4vw, 40px);
    }
    .page-chung-nhan-bao-mat__description {
        font-size: 16px;
    }
    .page-chung-nhan-bao-mat__content-grid {
        flex-direction: column;
    }
    .page-chung-nhan-bao-mat__content-grid--reverse {
        flex-direction: column; /* Stacks normally on smaller screens */
    }
    .page-chung-nhan-bao-mat__card {
        padding: 25px;
    }
    .page-chung-nhan-bao-mat__card-title {
        font-size: 20px;
    }
    .page-chung-nhan-bao-mat__card-text {
        font-size: 14px;
    }
    .page-chung-nhan-bao-mat__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-chung-nhan-bao-mat__hero-section {
        padding-top: 10px;
        padding-bottom: 40px;
    }
    .page-chung-nhan-bao-mat__hero-image-wrapper {
        max-height: none;
        margin-bottom: 20px;
    }
    .page-chung-nhan-bao-mat__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-chung-nhan-bao-mat__hero-content {
        padding: 0 15px;
    }
    .page-chung-nhan-bao-mat__main-title {
        font-size: clamp(26px, 8vw, 36px) !important;
        margin-bottom: 15px;
    }
    .page-chung-nhan-bao-mat__description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .page-chung-nhan-bao-mat__cta-button {
        font-size: 16px;
        padding: 12px 25px;
    }

    /* Section titles */
    .page-chung-nhan-bao-mat__section {
        padding: 40px 0;
    }
    .page-chung-nhan-bao-mat__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-chung-bao-mat__sub-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    /* General text block */
    .page-chung-nhan-bao-mat__text-block {
        font-size: 15px;
        margin-bottom: 15px;
    }

    /* Generic image and container rules */
    .page-chung-nhan-bao-mat img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-chung-nhan-bao-mat__section,
    .page-chung-nhan-bao-mat__card,
    .page-chung-nhan-bao-mat__container,
    .page-chung-nhan-bao-mat__text-content,
    .page-chung-nhan-bao-mat__image-content,
    .page-chung-nhan-bao-mat__feature-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Remove padding for container elements that should be full width with child padding */
    .page-chung-nhan-bao-mat__hero-section,
    .page-chung-nhan-bao-mat__dark-section,
    .page-chung-nhan-bao-mat__cta-final {
        padding-left: 0;
        padding-right: 0;
    }
    .page-chung-nhan-bao-mat__hero-content,
    .page-chung-nhan-bao-mat__introduction .page-chung-nhan-bao-mat__text-block,
    .page-chung-nhan-bao-mat__customer-support .page-chung-nhan-bao-mat__text-block,
    .page-chung-nhan-bao-mat__cta-final .page-chung-nhan-bao-mat__text-block {
        padding-left: 15px;
        padding-right: 15px;
    }


    /* Content grid for sections with image and text */
    .page-chung-nhan-bao-mat__content-grid {
        gap: 30px;
        flex-direction: column;
    }
    .page-chung-nhan-bao-mat__content-grid--reverse {
        flex-direction: column;
    }

    /* Card styling */
    .page-chung-nhan-bao-mat__card {
        padding: 20px;
    }
    .page-chung-nhan-bao-mat__card-title {
        font-size: 18px;
    }
    .page-chung-nhan-bao-mat__card-text {
        font-size: 14px;
    }

    /* Buttons within content */
    .page-chung-nhan-bao-mat__btn-primary,
    .page-chung-nhan-bao-mat__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Feature grid */
    .page-chung-nhan-bao-mat__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-chung-nhan-bao-mat__feature-icon {
        width: 60px;
        height: 60px;
    }
    .page-chung-nhan-bao-mat__feature-title {
        font-size: 18px;
    }
    .page-chung-nhan-bao-mat__feature-description {
        font-size: 14px;
    }

    /* FAQ Section */
    details.page-chung-nhan-bao-mat__faq-item summary.page-chung-nhan-bao-mat__faq-question { padding: 15px; }
    .page-chung-nhan-bao-mat__faq-qtext { font-size: 15px; }
    .page-chung-nhan-bao-mat__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
        margin-left: 10px;
    }
    details.page-chung-nhan-bao-mat__faq-item .page-chung-nhan-bao-mat__faq-answer {
        padding: 0 15px 15px;
    }
    .page-chung-nhan-bao-mat__faq-answer p {
        font-size: 14px;
    }

    /* Final CTA section */
    .page-chung-nhan-bao-mat__cta-final {
        padding: 50px 0;
    }
    .page-chung-nhan-bao-mat__cta-final .page-chung-nhan-bao-mat__text-block {
        margin-bottom: 30px;
        padding: 0 15px;
    }
    .page-chung-nhan-bao-mat__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-chung-nhan-bao-mat__cta-button--primary,
    .page-chung-nhan-bao-mat__cta-button--secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}