/* --- 2. THIẾT LẬP MÀU SẮC & CHUNG --- */
:root {
    --primary-color: #416240; /* Xanh rêu đậm (Logo) */
    --primary-light: #5a8259;
    --secondary-color: #EAD1BB; /* Màu kem (Logo) */
    --accent-color: #d99c58; /* Cam đất */
    --text-dark: #333;
    --footer-bg: #fffcf5;
}

body { font-family: 'Nunito', sans-serif; color: var(--text-dark); overflow-x: hidden; }
h1, h2, h3, h4, h5, .serif-font, .navbar-brand { font-family: 'Merriweather', serif; color: #416240; }
a{text-decoration: none; color: #416240}

.section-header { text-align: center; margin-bottom: 3rem; position: relative; }
.section-header h2 { font-weight: 900; text-transform: uppercase; color: #416240; }
.section-header::after { content: ""; display: block; width: 60px; height: 3px; background: var(--accent-color); margin: 15px auto; }

/* --- 3. HEADER & MENU --- */
.top-bar { background-color: #416240; color: white; padding: 8px 0; font-size: 0.9rem; font-style: italic; letter-spacing: 0.5px; }
.navbar { background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.05); padding: 10px 0; }
.search-box { position: relative; width: 240px; }
.search-box input { border-radius: 20px; padding-right: 35px; padding-left: 15px; border: 1px solid #ddd; font-size: 0.9rem; height: 38px; background: #f8f9fa; }
.search-box button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #416240; }
.nav-link { font-weight: 700; text-transform: uppercase; font-size: 0.85rem; padding: 8px 10px !important; white-space: nowrap; transition: color 0.3s; color: #333; }
.nav-link:hover { color: var(--accent-color); }
.btn-consult { background-color: var(--accent-color); color: white; font-weight: bold; border-radius: 30px; padding: 8px 20px; font-size: 0.9rem; white-space: nowrap; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: 0.3s; border: none; }
.btn-consult:hover { background-color: #c48b4a; color: white; transform: translateY(-2px); }

/* --- 4. BANNER SLIDER --- */
.carousel-item { height: 600px; }
.carousel-item img { height: 100%; object-fit: cover; filter: brightness(0.9); }
.carousel-caption { bottom: 35%; text-align: left; text-shadow: 2px 2px 4px rgba(0,0,0,0.6); }
.carousel-caption h2 { color: var(--secondary-color); font-size: 3rem; }

/* --- 5. CONSULTATION BLOCK --- */
.consultation-wrapper { position: relative; margin-top: -80px; z-index: 10; margin-bottom: 60px; }
.consultation-box { background: white; border-radius: 15px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); overflow: hidden; display: flex; flex-wrap: wrap; }
.consult-left { padding: 40px; width: 50%; border-right: 1px solid #eee; }
.consult-right { padding: 40px; width: 50%; background-color: #fcfcfc; }
@media (max-width: 992px) { .consult-left, .consult-right { width: 100%; border-right: none; } .consultation-wrapper { margin-top: 30px; } }
.icon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.icon-item { border: 1px solid #eee; border-radius: 8px; padding: 20px; text-align: center; cursor: pointer; transition: 0.3s; background: white; }
.icon-item:hover { border-color: #416240; transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.icon-item i { font-size: 2rem; color: #416240; margin-bottom: 10px; }

/* --- 6. INTRO BLOCK --- */
.about-intro-title { font-size: 2rem; color: #416240; font-weight: 900; line-height: 1.3; margin-bottom: 20px; font-family: 'Merriweather', serif; }
.about-deco-dots { height: 20px; background-image: radial-gradient(#ccc 2px, transparent 2px); background-size: 15px 15px; width: 150px; margin-bottom: 10px; }
.about-video-wrapper { position: relative; padding: 20px 0 20px 20px; }
.about-video-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 40px; background-color: #416240; border-radius: 20px; z-index: 1; }
.about-video-img { position: relative; z-index: 2; border-radius: 10px; width: 100%; height: 350px; object-fit: cover; box-shadow: -10px 10px 30px rgba(0,0,0,0.2); }
.about-play-icon { position: absolute; top: 50%; left: 45%; transform: translate(-50%, -50%); z-index: 3; font-size: 4rem; color: white; opacity: 0.9; cursor: pointer; filter: drop-shadow(0 0 10px rgba(0,0,0,0.5)); transition: 0.3s; }
.about-play-icon:hover { transform: translate(-50%, -50%) scale(1.1); }
.btn-view-all { background-color: #416240; color: white; padding: 10px 30px; border-radius: 5px; font-weight: bold; text-transform: uppercase; text-decoration: none; display: inline-block; margin-top: 20px; }

/* --- NEW: CSS CHO SLIDE GIÁ TRỊ MANG ĐẾN --- */
.value-slide-card { border-radius: 15px; overflow: hidden; height: 100%; border: none; }
.value-content-box { padding: 20px; color: white; min-height: 180px; }
.value-content-box h5 { color: white; font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; text-transform: uppercase; }
.value-content-box p { font-size: 0.85rem; margin-bottom: 15px; opacity: 0.9; }
.value-img-holder { position: relative; height: 220px; }
.value-img-holder img { width: 100%; height: 100%; object-fit: cover; }
.value-play-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 2.5rem; opacity: 0.8; }
.bg-blue-value { background-color: #1a73e8; }
.bg-teal-value { background-color: #008080; }
.bg-green-value { background-color: #416240; }
.btn-value-more { border: 1px solid white; color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; text-decoration: none; }
.btn-value-more:hover { background: white; color: #333; }

/* --- 7. GENERAL SECTIONS (Why, Testimonial) --- */
.why-card { background-color: #416240; color: white; padding: 30px; border-radius: 15px; height: 100%; position: relative; overflow: hidden; transition: 0.3s; }
.why-card:hover { transform: translateY(-5px); background-color: var(--primary-light); }
.why-number { font-size: 4rem; opacity: 0.15; position: absolute; top: 0; right: 20px; font-weight: 900; }

/* === MỚI: CSS CHO SWIPER SLIDE (TẠI SAO) === */
.myWhySwiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 50px;
}
.why-slide-item {
    background-position: center;
    background-size: cover;
    width: 300px; /* Chiều rộng thẻ khi chưa active */
    height: 400px; /* Chiều cao thẻ */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background: #fff;
    /* Fix lỗi safari 3d */
    transform-style: preserve-3d; 
}
.why-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}
/* Lớp phủ đen mờ chứa chữ */
.why-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, #416240 0%, #4e8c4c 60%, transparent 100%);
    color: white;
    padding: 20px;
    text-align: center;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.why-slide-content h5 {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
    font-family: 'Merriweather', serif;
}
.why-slide-content p {
    font-size: 0.85rem;
    margin-bottom: 0;
    opacity: 0.9;
    font-family: 'Nunito', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 768px) {
    .why-slide-item { width: 260px; height: 350px; }
}

/* --- 7.5 TESTIMONIAL --- */
.video-main { position: relative; border-radius: 15px; overflow: hidden; height: 100%; min-height: 350px; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 4rem; color: rgba(255,255,255,0.9); cursor: pointer; }
.testimonial-list { height: 525px; overflow-y: auto; padding-right: 5px; }
.testimonial-item { display: flex; gap: 15px; padding: 15px; background: white; border: 1px solid #eee; border-radius: 10px; margin-bottom: 15px; cursor: pointer; transition: 0.2s; }
.testimonial-item:hover { border-color: #416240; background: #fdfdfd; }

/* --- 8. GALLERY HEXAGON --- */
.gallery-container { display: flex; flex-direction: column; align-items: center; }
.hex-row { display: flex; justify-content: center; }
.hex-row.bottom { margin-top: -45px; }
.hex-wrapper { position: relative; width: 200px; height: 220px; margin: 0 5px; filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.2)); transition: transform 0.3s; }
.hex-wrapper:hover { transform: scale(1.05); z-index: 10; }
.hex-item { width: 100%; height: 100%; background: linear-gradient(to bottom right, #416240, #5a8259); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; align-items: center; justify-content: center; }
.hex-item img { width: 96%; height: 96%; object-fit: cover; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
@media (max-width: 768px) { .hex-row { flex-wrap: wrap; } .hex-row.bottom { margin-top: 0; } .hex-wrapper { margin-bottom: -30px; } }

/* --- 9. NEWS --- */
.news-badge { background-color: #416240; color: white; padding: 10px 20px; font-weight: bold; font-size: 1.1rem; border-radius: 5px; text-transform: uppercase; }
.news-img-lg { height: 450px; object-fit: cover; width: 100%; border-radius: 10px; }
.news-img-sm { height: 180px; object-fit: cover; width: 100%; border-radius: 10px; }
.news-title-lg { font-size: 1.4rem; font-weight: 900; margin-top: 15px; font-family: 'Merriweather', serif; }
.news-title-sm { font-size: 1rem; font-weight: 800; margin-top: 10px; font-family: 'Merriweather', serif; line-height: 1.4; }
.news-date { font-size: 0.85rem; color: #777; margin-top: 5px; display: block; }
.news-link { text-decoration: none; color: #333; transition: 0.3s; }
.news-link:hover { color: #416240; }

/* --- 12. FOOTER & EXTRAS --- */
footer { background-color: var(--footer-bg); padding-top: 60px; border-top: 4px solid var(--secondary-color); }
.footer-logo-text { font-size: 1.5rem; font-weight: 900; color: #416240; line-height: 1; }
.footer-company { font-weight: 900; color: #416240; text-transform: uppercase; margin: 15px 0; }
.footer-info i { color: #416240; width: 25px; margin-bottom: 10px; }
.footer-links { list-style: none; padding: 0; }
.footer-links a { text-decoration: none; color: #555; display: block; padding: 5px 0; transition: 0.2s; font-weight: 600; }
.footer-links a::before { content: "•"; color: #416240; margin-right: 8px; font-weight: bold; }
.footer-links a:hover { color: #416240; padding-left: 5px; }
.social-btn { width: 35px; height: 35px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: white; margin-right: 10px; text-decoration: none; }
.social-btn:hover { opacity: 0.8; color: white; transform: scale(1.1); }
.bg-fb { background: #1877f2; } .bg-zalo { background: #0068ff; font-weight: bold; font-family: sans-serif; font-size: 0.7rem; } .bg-tiktok { background: #000; } .bg-yt { background: #ff0000; }

.modal-header-custom { background-color: #416240; color: white; border-bottom: none; text-align: center; display: block; }
.btn-popup-submit { background-color: var(--accent-color); color: white; border: none; width: 100%; padding: 12px; font-weight: bold; border-radius: 5px; text-transform: uppercase; margin-top: 15px; }
.floating-call { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #e03e26; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; z-index: 999; text-decoration: none; box-shadow: 0 0 0 0 rgba(224, 62, 38, 0.7); animation: pulse-red 2s infinite; }
@keyframes pulse-red { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(224, 62, 38, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(224, 62, 38, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(224, 62, 38, 0); } }

/* === NEW CSS FOR EXPERT SECTION (MASTER-DETAIL) === */
.expert-display-area {
    position: relative;
    background: #fff;
    padding: 30px;
    /* GIỚI HẠN CHIỀU RỘNG VÀ CĂN GIỮA ĐỂ KHÔNG BỊ LOÃNG */
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
/* Khối ảnh bên trái */
.expert-profile-img-wrapper {
    position: relative;
    z-index: 2;
    padding-bottom: 20px;
    text-align: center;
}
.expert-profile-img {
    width: 100%;
    max-width: 320px; /* Giới hạn độ to của ảnh */
    border-radius: 10px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
/* Mảng màu xanh trang trí sau lưng ảnh */
.expert-profile-bg {
    position: absolute;
    top: 15px; left: 50%;
    transform: translateX(-45%);
    width: 320px;
    height: 95%;
    background-color: var(--primary-light);
    border-radius: 10px 50px 10px 50px;
    z-index: 1;
    opacity: 0.3;
}
/* Nút điều hướng Slide */
.expert-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.05);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    color: #555;
}
.expert-nav-btn:hover { background: var(--primary-color); color: white; }
.expert-prev { left: -20px; }
.expert-next { right: -20px; }
@media (max-width: 992px) {
    .expert-prev { left: 0; }
    .expert-next { right: 0; }
}

/* Thông tin bên phải */
.expert-info-detail h3 {
    color: #416240;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-size: 1.8rem;
}
.expert-info-role {
    font-size: 1.1rem;
    color: #555;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
}
.expert-intro-header {
    color: #416240;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex; align-items: center;
}
.expert-intro-header i { margin-right: 10px; font-size: 1.2rem; }
.expert-desc-list li { margin-bottom: 10px; color: #555; font-size: 0.95rem; }

/* Danh sách Thumbnails bên dưới */
.expert-thumbs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    max-width: 1000px; /* Căn thẳng hàng với khối trên */
    margin-left: auto;
    margin-right: auto;
}
.expert-thumb-item {
    text-align: center;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    width: 110px;
}
.expert-thumb-item:hover, .expert-thumb-item.active {
    opacity: 1;
    transform: translateY(-5px);
}
.expert-thumb-img {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    transition: 0.3s;
    margin-bottom: 10px;
}
.expert-thumb-item.active .expert-thumb-img {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(65, 98, 64, 0.3);
}
.expert-thumb-name { font-weight: bold; font-size: 0.8rem; color: #333; line-height: 1.2; }
.expert-thumb-role { font-size: 0.7rem; color: #777; margin-top: 3px; display: block;}
/* --- Tinh chỉnh Dropdown Menu --- */
.dropdown-menu {
    border-radius: 10px;
    padding: 10px 0;
}

.dropdown-item {
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
    padding: 8px 20px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
    padding-left: 25px; /* Hiệu ứng đẩy chữ khi hover */
}

/* Hiển thị menu khi di chuột qua (tùy chọn) */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* --- CSS BỔ SUNG CHO TRANG LIÊN HỆ --- */
.contact-header-bg { background: #f8f9fa; padding: 40px 0; border-bottom: 1px solid #eee; margin-bottom: 60px; }
.contact-title { color: #416240; font-weight: 900; position: relative; display: inline-block; padding-bottom: 10px; }
.contact-title::after { content: ""; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background: #28a745; }

.contact-info-column h3 { font-size: 1.8rem; font-weight: 900; color: #000; margin-bottom: 25px; }
.contact-info-item { display: flex; margin-bottom: 20px; align-items: flex-start; }
.contact-info-item i { width: 30px; color: #000; font-size: 1.1rem; margin-top: 4px; }
.contact-info-item p { margin-bottom: 0; flex: 1; color: #333; line-height: 1.6; }

.contact-form-card { background: white; border: 1px solid #eee; border-radius: 15px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.form-title { color: #416240; font-weight: 800; text-transform: uppercase; margin-bottom: 25px; font-size: 1.4rem; }
.contact-form-card .form-control { border-radius: 8px; padding: 12px 15px; border: 1px solid #ddd; margin-bottom: 15px; font-size: 0.95rem; }
.btn-send-contact { background-color: #006699; color: white; border: none; padding: 12px 30px; border-radius: 8px; font-weight: bold; transition: 0.3s; }
.btn-send-contact:hover { background-color: #004d73; transform: translateY(-2px); }

.google-map-wrapper { width: 100%; height: 450px; margin-top: 60px; filter: grayscale(10%); border-top: 1px solid #eee; }

/* 1. Tin tức nổi bật (Featured) */
.news-featured-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    margin-bottom: 50px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}
.news-featured-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s;
}
.news-featured-card:hover img { transform: scale(1.05); }
.news-featured-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 40px;
    width: 100%;
    color: white;
}

/* 2. Danh sách tin tức dạng Grid */
.news-item-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.news-item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.news-thumb-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.news-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.news-content {
    padding: 20px;
    flex-grow: 1;
}
.news-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}
.news-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-dark);
    /* Giới hạn 2 dòng tiêu đề */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-excerpt {
    font-size: 0.9rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

/* 3. Phân trang */
.pagination-custom .page-link {
    border: none;
    color: var(--text-dark);
    margin: 0 5px;
    border-radius: 8px !important;
    font-weight: 700;
}
.pagination-custom .page-item.active .page-link {
    background-color: var(--primary-color);
    color: white;
}

/* 1. Cấu trúc chung */
.breadcrumb-custom { font-size: 0.85rem; margin-bottom: 20px; color: #666; }
.breadcrumb-custom a { color: #006699; text-decoration: none; }

.post-header h1 { font-size: 2.2rem; font-weight: 900; line-height: 1.3; color: #333; margin-bottom: 15px; }
.post-meta { font-size: 0.9rem; color: #888; margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 15px; }

/* 2. Nội dung bài viết */
.post-summary { background: #f9f9f9; border: 1px solid #ddd; padding: 20px; border-radius: 5px; margin-bottom: 30px; }
.post-summary h5 { font-weight: 700; margin-bottom: 15px; }
.post-summary ul { padding-left: 20px; margin-bottom: 0; }

.post-content { line-height: 1.8; font-size: 1.05rem; color: #333; }
.post-content h3 { font-weight: 800; color: #000; margin: 35px 0 20px; }
.post-content p { margin-bottom: 20px; }
.post-content strong { color: #000; }

/* 3. Sidebar */
.sidebar-form-card { background: #416240; border-radius: 10px; padding: 25px; color: white; margin-bottom: 40px; }
.sidebar-form-card h5 { font-weight: 800; text-transform: uppercase; margin-bottom: 5px; text-align: center; color: #fff; }
.sidebar-form-card .form-subtitle { font-size: 0.8rem; text-align: center; display: block; margin-bottom: 20px; opacity: 0.8; }
.sidebar-form-card .form-control { border-radius: 5px; margin-bottom: 12px; font-size: 0.9rem; border: none; }
.btn-sidebar-submit { background: var(--accent-color); color: white; border: none; width: 100%; padding: 10px; font-weight: bold; text-transform: uppercase; border-radius: 5px; transition: 0.3s; }
.btn-sidebar-submit:hover { background: #e67e22; }

.sidebar-section-title { border-left: 4px solid #006699; padding-left: 15px; font-weight: 800; text-transform: uppercase; color: #006699; margin-bottom: 25px; }
.sidebar-post-item { display: flex; gap: 12px; margin-bottom: 20px; text-decoration: none; color: inherit; }
.sidebar-post-item:hover .sidebar-post-title { color: #006699; }
.sidebar-post-img { width: 80px; height: 60px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }
.sidebar-post-title { font-size: 0.9rem; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-post-date { font-size: 0.75rem; color: #999; margin-top: 5px; }

/* 4. Social Share */
.share-container { display: flex; align-items: center; gap: 15px; margin-top: 50px; padding-top: 20px; border-top: 1px solid #eee; }
.share-btn { width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; font-size: 0.9rem; }

/* --- CSS TỔNG HỢP & HIỆU ỨNG CHO TRANG GIỚI THIỆU --- */
.text-justify { text-align: justify; }

/* 1. Hero & Stats */
.intro-hero {
    position: relative;
    height: 450px;
    background: url('https://images.unsplash.com/photo-1576765608535-5f04d1e3f289?q=80&w=2070') no-repeat center center/cover;
    display: flex; align-items: center; color: white;
}
.intro-hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); }

.stat-box { 
    background: white; border-radius: 15px; padding: 30px; text-align: center; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-bottom: 4px solid var(--primary-color);
    transition: 0.3s;
}
.stat-box:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.stat-number { font-size: 2.5rem; font-weight: 900; color: var(--primary-color); margin-bottom: 5px; }

/* 2. Tầm nhìn & Sứ mệnh */
.vision-mission-card { 
    background: #fdfdfd; border: 1px solid #eee; padding: 40px; border-radius: 15px; 
    height: 100%; transition: 0.3s; 
}
.vision-mission-card:hover { border-color: var(--primary-color); background: white; }

/* 3. Khối chức năng (4 màu + Hiệu ứng di chuột) */
.feature-card { border-radius: 15px; overflow: hidden; height: 100%; border: none; color: white; transition: 0.4s; }
.feature-card:hover { transform: scale(1.03); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.feature-card img { height: 200px; width: 100%; object-fit: cover; transition: 0.5s; }
.feature-card:hover img { transform: scale(1.1); }
.feature-card-body { padding: 25px; min-height: 250px; }
.feature-card-body h5 { color: white; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; }

.bg-feature-1 { background-color: #416240; }
.bg-feature-2 { background-color: #3b8c8c; }
.bg-feature-3 { background-color: #1e749e; }
.bg-feature-4 { background-color: #008ece; }

/* 4. Timeline & CEO */
.timeline-item { position: relative; padding-left: 30px; border-left: 2px dashed var(--primary-light); margin-bottom: 30px; transition: 0.3s; }
.timeline-item:hover { padding-left: 40px; }
.timeline-item::before { content: ""; position: absolute; left: -9px; top: 0; width: 16px; height: 16px; background: var(--primary-color); border-radius: 50%; }

.msg-ceo-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.ceo-img-wrapper { overflow: hidden; }
.ceo-img-wrapper img { transition: 0.5s; }
.msg-ceo-card:hover .ceo-img-wrapper img { transform: scale(1.05); }

/* 5. Chứng nhận */
.cert-img { width: 100%; border: 1px solid #ddd; padding: 5px; border-radius: 5px; transition: 0.3s; cursor: pointer; }
.cert-img:hover { transform: translateY(-10px) rotate(2deg); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* --- CSS NÂNG CẤP TRANG NHÂN SỰ --- */
.team-hero-section {
    background: linear-gradient(rgba(65, 98, 64, 0.85), rgba(65, 98, 64, 0.85)), 
                url('https://images.unsplash.com/photo-1576091160550-2187d80a18f7?q=80&w=2070');
    background-size: cover; background-position: center;
    padding: 100px 0; color: white; text-align: center;
}

.expert-display-area {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* Hiệu ứng mượt khi đổi chuyên gia */
#detail-img, #detail-name, #detail-role, #detail-desc {
    transition: all 0.5s ease-in-out;
}

.expert-profile-bg {
    background-color: var(--secondary-color) !important;
}

.expert-thumb-item {
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100px;
    text-align: center;
}

.expert-thumb-item:hover { transform: scale(1.15) translateY(-10px); }

.expert-thumb-img {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    filter: grayscale(100%);
    transition: 0.3s;
}

.expert-thumb-item.active .expert-thumb-img,
.expert-thumb-item:hover .expert-thumb-img {
    filter: grayscale(0%);
    border-color: var(--primary-color);
}

.expert-thumb-name {
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 8px;
    color: #666;
    display: block;
}
.expert-thumb-item.active .expert-thumb-name { color: var(--primary-color); }

/* --- CSS BỔ SUNG CHO TRANG CHI TIẾT ALBUM --- */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.album-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    height: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-item:hover img {
    transform: scale(1.1);
}

/* Lớp phủ khi di chuột vào thumbnail */
.album-item-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    color: white;
    font-size: 1.5rem;
}

.album-item:hover .album-item-overlay {
    opacity: 1;
}

/* --- LIGHTBOX POPUP FULL SCREEN --- */
#lightboxModal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none; /* Ẩn mặc định */
    flex-direction: column;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2010;
}

.lightbox-swiper {
    width: 100%;
    height: 80vh;
}

.lightbox-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.lightbox-slide img {
    max-width: 90%;
    max-height: 70vh;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox-caption {
    margin-top: 20px;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.lightbox-caption h4 { color: var(--secondary-color); margin-bottom: 10px; }

/* --- CSS CẬP NHẬT: ĐỐI TÁC CHIẾN LƯỢC (SWIPER) --- */
.partner-swiper {
    padding: 20px 0;
    /* Thiết lập linear để trượt mượt không dừng */
}
.partner-swiper .swiper-wrapper {
    transition-timing-function: linear !important; /* Tạo hiệu ứng trôi đều */
}
.partner-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}
.partner-logo-box img {
    max-width: 160px;
    max-height: 60px;
    transition: 0.3s;
}
.partner-logo-box:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* --- CSS CẬP NHẬT: CÂU HỎI THƯỜNG GẶP (ACCORDION 2 CỘT) --- */
.faq-box {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    font-weight: 700;
    font-size: 0.95rem;
    border-left: 5px solid #416240; /* Viền xanh lá bên trái */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: white;
    padding: 0 20px;
    color: #444;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Trạng thái khi mở câu hỏi */
.faq-box.active {
    border-color: #416240;
}

.faq-box.active .faq-question {
    background-color: #416240;
    color: white;
}

.faq-box.active .faq-answer {
    max-height: 500px; /* Cho phép mở rộng */
    padding: 20px;
    border-top: 1px solid #eee;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-box.active .faq-icon {
    transform: rotate(180deg);
}