/* style/about.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không lặp lại biến đó. */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Mặc định màu chữ sáng cho toàn bộ khu vực nội dung chính, giả định body có nền tối */
    background-color: transparent; /* Cho phép nền body hiển thị */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-about__sub-title {
    font-size: 1.8em;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-about__text-block {
    font-size: 1em;
    margin-bottom: 15px;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Hình ảnh ở trên, văn bản ở dưới */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Padding trên nhỏ, body xử lý offset header */
    background-color: #26A9E0; /* Nền màu thương hiệu cho hero */
    color: #ffffff;
    text-align: center;
}

.page-about__hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 30px; /* Khoảng cách giữa văn bản và hình ảnh */
}

.page-about__hero-image-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__hero-title {
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    /* Không đặt font-size cố định để tránh sự cố trên thiết bị di động */
    color: #ffffff;
}

.page-about__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #ffffff;
}

/* Buttons */
.page-about__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Cho thiết bị di động */
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background-color: #26A9E0; /* Màu thương hiệu chính */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
    background-color: #1a8cc7; /* Hơi tối hơn */
    border-color: #1a8cc7;
}

.page-about__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a8cc7;
    border-color: #1a8cc7;
}

/* General Sections - Nền sáng với chữ tối */
.page-about__introduction-section,
.page-about__mission-vision-section,
.page-about__security-section,
.page-about__support-section,
.page-about__faq-section {
    background-color: #FFFFFF; /* Đặt nền sáng rõ ràng */
    color: #333333; /* Chữ tối trên nền sáng */
    padding: 60px 0;
}

/* Dark Background Sections - Màu thương hiệu với chữ trắng */
.page-about__dark-section {
    background-color: #26A9E0;
    color: #ffffff;
    padding: 60px 0;
}

/* Grid Layouts */
.page-about__grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__image-wrapper {
    text-align: center;
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Promotions Section */
.page-about__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-about__card {
    background-color: rgba(255, 255, 255, 0.1); /* Nền trong suốt nhẹ trên phần tối */
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__promotions-section .page-about__card {
  background-color: rgba(255, 255, 255, 0.1); /* Màu trắng trong suốt trên màu thương hiệu */
  color: #ffffff;
}

.page-about__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-about__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-about__promo-cta {
    margin-top: 40px;
}

/* Support Section List */
.page-about__support-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-about__support-item {
    font-size: 1em;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-about__support-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #26A9E0; /* Dấu kiểm màu thương hiệu */
    font-weight: bold;
}
.page-about__support-section .page-about__support-item::before {
    color: #26A9E0; /* Đảm bảo màu thương hiệu trên nền sáng */
}

/* Why Choose Section */
.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__feature-item {
    background-color: rgba(255, 255, 255, 0.1); /* Nền trong suốt nhẹ trên phần tối */
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__feature-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-about__feature-description {
    font-size: 0.95em;
    color: #ffffff;
}

/* FAQ Section */
.page-about__faq-list {
    margin-top: 30px;
}

.page-about__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    background-color: #ffffff;
    color: #333333;
    list-style: none; /* Cho details/summary */
}

.page-about__faq-question::-webkit-details-marker {
    display: none; /* Ẩn dấu mặc định */
}

.page-about__faq-qtext {
    flex-grow: 1;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
}

/* Conclusion Section */
.page-about__conclusion-section .page-about__text-block {
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-about__conclusion-section .page-about__cta-buttons {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__sub-title {
        font-size: 1.6em;
    }
    .page-about__grid-two-cols {
        grid-template-columns: 1fr;
    }
    .page-about__hero-content-wrapper {
        margin-bottom: 20px; /* Điều chỉnh khoảng cách cho màn hình nhỏ hơn */
    }
}

@media (max-width: 768px) {
    /* Văn bản và chiều cao dòng trên di động */
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__container {
        padding: 0 15px; /* Padding bên nhỏ hơn cho di động */
    }
    .page-about__hero-section,
    .page-about__introduction-section,
    .page-about__mission-vision-section,
    .page-about__products-section,
    .page-about__security-section,
    .page-about__promotions-section,
    .page-about__support-section,
    .page-about__why-choose-section,
    .page-about__faq-section,
    .page-about__conclusion-section {
        padding: 40px 0; /* Điều chỉnh padding dọc */
    }
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about__sub-title {
        font-size: 1.4em;
    }
    .page-about__text-block {
        font-size: 0.95em;
    }

    /* Khả năng phản hồi của hình ảnh */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__image-wrapper,
    .page-about__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Đảm bảo hình ảnh không bị tràn */
    }
    
    /* Khả năng phản hồi của nút */
    .page-about__hero-cta-buttons,
    .page-about__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container {
        flex-direction: column !important; /* Xếp chồng các nút theo chiều dọc */
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Đảm bảo các vùng chứa nút không bị tràn */
    }
    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about a[class*="button"],
    .page-about a[class*="btn"] {
        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; /* Thêm padding vào nội dung nút */
    }

    /* Đảm bảo padding thẻ cho di động */
    .page-about__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .page-about__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-about__faq-answer {
        padding: 0 20px 15px;
    }
    
    /* Padding trên cụ thể cho phần hero/video trên di động */
    .page-about__hero-section {
        padding-top: 10px !important; /* body đã xử lý --header-offset */
    }
}