/* ===================================================================== */
/* CSS PAGES: ABOUT.CSS (BẢN FINAL V9.0 - HIỆN ẢNH HERO + CTA ẢNH 2)     */
/* ===================================================================== */

* { box-sizing: border-box; }

.about-page {
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 50px; 
    align-items: center;
    padding: 40px 0;
    width: 100%;
}

.about-page .slide-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 1050px; 
    min-height: 480px; 
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    padding: 45px 60px; 
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
}

/* Hiệu ứng nền trừu tượng (chỉ hiện trên các khối sáng) */
.about-page .slide-card:not(.slide-hero-theme)::before {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(26, 99, 58, 0.04) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

/* TYPOGRAPHY */
.about-page h1, .about-page h2, .about-page h3 { color: #1a633a; font-family: 'Montserrat', sans-serif; margin: 0; }
.about-page h3 { font-size: 24px; margin-bottom: 15px; color: #0f172a; }
.about-page p { color: #475569; font-size: 17px; line-height: 1.7; margin: 0; }
.about-page p.mb-15 { margin-bottom: 15px; }

.about-page .slide-title { font-size: 32px; font-weight: 800; margin-bottom: 35px; border-left: 8px solid #ff9800; padding-left: 15px; text-transform: uppercase; position: relative; z-index: 1; }
.about-page .slide-title-centered { text-align: center; border-left: none; padding-left: 0; }
.about-page .content-inner { position: relative; z-index: 1; }

/* ===================================================================== */
/* KHỐI 1: HERO INTRO (ÉP BUỘC HIỂN THỊ ẢNH LOCAL)                       */
/* ===================================================================== */
.about-page .slide-hero-theme {
    position: relative;
    /* Dùng !important để bóp chết mọi lệnh cấm hiện ảnh từ hệ thống cũ */
    background-image: url('../images/about-hero.jpg') !important; 
    background-size: cover;
    background-position: center;
    background-color: #1a633a; /* Nền xanh dự phòng nếu ảnh lỗi */
    color: white;
    text-align: center;
    min-height: 450px; 
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-page .hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 99, 58, 0.613); 
    z-index: 0;
}

.about-page .slide-hero-theme h1 { color: white !important; font-size: 60px; letter-spacing: 2px; margin-bottom: 15px; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.about-page .slide-hero-theme .subtitle { color: #d1fae5 !important; font-size: 22px; font-weight: 400; }
.about-page .hero-company-sub { margin-top: 35px; font-weight: 700; opacity: 0.9; letter-spacing: 4px; font-size: 14px; color: white !important; }

/* ===================================================================== */
/* LAYOUT CHUNG & LƯỚI                                                   */
/* ===================================================================== */
.about-page .two-col-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.about-page .img-box { border-radius: 16px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); height: 320px; overflow: hidden; }
.about-page .img-box img { height: 100%; width: 100%; object-fit: cover; display: block; }

/* KHỐI 3: GIÁ TRỊ CỐT LÕI */
.about-page .core-values-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 30px; align-items: stretch; }
.about-page .core-value-box { border-radius: 16px; overflow: hidden; position: relative; }
.about-page .core-value-box.text-box { background-color: #fdfdfd; padding: 35px; display: flex; flex-direction: column; border: 1px solid #e2e8f0; }
.about-page .core-icon-container { margin-bottom: 20px; }
.about-page .core-icon-container i { font-size: 40px; color: #1e293b; }
.about-page .img-wrapper-tall { position: relative; width: 100%; height: 100%; min-height: 350px; }
.about-page .img-wrapper-tall img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-page .overlay-text { position: absolute; top: 25px; left: 25px; color: #ffffff; font-size: 26px; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }

/* NÚT VIDEO */
.about-page .video-trigger-btn { margin-top: 25px; display: inline-flex; align-items: center; gap: 15px; cursor: pointer; transition: transform 0.2s; }
.about-page .video-trigger-btn:hover { transform: translateX(5px); }
.about-page .video-trigger-btn i { font-size: 45px; color: #ff9800; }
.about-page .video-trigger-btn span { color: #1a633a; font-weight: 700; font-size: 16px; letter-spacing: 1px; }

/* ===================================================================== */
/* KHỐI 5: FINAL CTA (ĐÃ FIX: NỀN TRẮNG SÁNG VÀ CHIA 2 CỘT)              */
/* ===================================================================== */
.about-page #s5 { background-color: #ffffff; }
.about-page #s5 h2 { font-size: 38px; margin-bottom: 12px; color: #1a633a; }
.about-page #s5 .subtitle { color: #64748b; font-size: 18px; margin-bottom: 30px; }

/* Cột phải: Hộp thông tin liên hệ */
.about-page .about-cta-info-box { background-color: transparent; padding: 0; }
.about-page .about-cta-info-box p { color: #1a633a; font-size: 16px; margin-bottom: 15px; }
.about-page .about-cta-info-box p:last-child { margin-bottom: 0; }
.about-page .about-cta-info-box p i { color: #ff9800; margin-right: 15px; width: 20px; font-size: 18px; }

/* Cột trái: Nút bấm màu cam to, nổi bật */
.about-page .meditech-btn-orange {
    display: inline-block;
    padding: 15px 35px;
    background-color: #ff9800;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
    box-shadow: 0 6px 15px rgba(255, 152, 0, 0.25);
    transition: all 0.3s ease;
    margin-top: 15px;
}

.about-page .meditech-btn-orange:hover {
    background-color: #f57c00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4);
}
.modal-video-container {
    display: none; /* Ẩn đi cho đến khi được click */
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Nền đen xuyên thấu */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px); /* Làm mờ cảnh đằng sau (tùy chọn) */
}

/* Khung chứa video */
.modal-video-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    padding: 0; /* Xóa padding để video tràn viền khung */
}

/* Nút X để tắt video */
.close-video-btn {
    position: absolute;
    top: -45px; right: 0;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-video-btn:hover {
    color: #ff9800; /* Hover thành màu cam */
}

/* Kỹ thuật Hack tỷ lệ 16:9 để video không bị méo trên điện thoại */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Cực kỳ quan trọng: Ép khung tỷ lệ 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* ===================================================================== */
/* RESPONSIVE MOBILE                                                     */
/* ===================================================================== */
@media (max-width: 900px) {
    .about-page { padding: 20px 10px; gap: 30px; }
    .about-page .slide-card { padding: 35px 25px; min-height: auto; }
    .about-page .two-col-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-page .core-values-grid { grid-template-columns: 1fr; gap: 20px; }
    .about-page .slide-hero-theme h1 { font-size: 42px; }
    .about-page .img-wrapper-tall { min-height: 250px; }
}