/* Ghi đè nền mặc định */
body {
    background-color: #0a192f;
}

/* --- KHU VỰC CHUNG --- */
.about-us-wrapper {
    color: #fff;
    font-family: 'Poppins', sans-serif;
}
.about-us-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.about-us-wrapper .section-title {
    font-size: 2.8rem;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
}

/* --- 1. HERO SECTION --- */
.about-hero {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    background: url('https://images.pexels.com/photos/110854/pexels-photo-110854.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(10, 25, 47, 0.7);
}
.hero-content {
    position: relative; z-index: 1; max-width: 800px; margin: 0 auto;
}
.hero-content h1 { font-size: 3.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.2rem; color: #ccd6f6; }

/* --- 2. TEAM SHOWCASE --- */
.team-showcase-section { padding: 5rem 0; }
.team-interactive-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    background-color: #112240;
    padding: 2rem;
    border-radius: 15px;
    min-height: 500px;
}
.team-member-display {
    background-color: #0a192f;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}
.team-member-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
}
.member-thumbnail {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #0a192f;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}
.member-thumbnail:hover, .member-thumbnail.active {
    background-color: #233554;
    border-color: #64ffda;
}
.member-thumbnail img {
    width: 50px; height: 50px; border-radius: 50%; object-fit: cover; margin-right: 15px;
}
.member-thumbnail span { font-weight: 600; }
/* Style cho nội dung được JS chèn vào */
.display-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid #64ffda; margin-bottom: 1rem; }
.display-name { font-size: 2rem; color: #64ffda; margin-bottom: 0.5rem; }
.display-role { font-size: 1.1rem; color: #ccd6f6; font-style: italic; margin-bottom: 1.5rem; }
.display-bio { color: #8892b0; margin-bottom: 1.5rem; }
.display-socials a { color: #ccd6f6; font-size: 1.5rem; margin: 0 10px; transition: color 0.3s ease; }
.display-socials a:hover { color: #64ffda; }

/* --- 3. CORE VALUES --- */
.core-values-section { padding: 5rem 0; background-color: #081526; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.value-item { text-align: center; padding: 1.5rem; }
.value-icon { font-size: 3rem; color: #64ffda; margin-bottom: 1rem; }
.value-item h3 { font-size: 1.5rem; }
.value-item p { color: #8892b0; }

/* --- 4. GOALS SECTION --- */
.goals-section {
    padding: 5rem 0;
    background-color: #0a192f;
}

.goals-grid {
    display: grid;
 /* Lưới 2 cột trên màn hình lớn, 1 cột trên màn hình nhỏ */
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.goal-item {
    background-color: #112240;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.goal-item:hover {
    transform: translateY(-5px);
    border-left-color: #64ffda;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.goal-icon {
    font-size: 2.5rem;
    color: #64ffda;
    margin-bottom: 1rem;
}

.goal-item h3 {
    font-size: 1.4rem;
    color: #ccd6f6;
    margin-bottom: 0.75rem;
}

.goal-item p {
    color: #8892b0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive cho khu vực mục tiêu */
@media (max-width: 768px) {
    .goals-grid {
        grid-template-columns: 1fr;
    }
}
/* Style cho phần hiển thị thông tin chi tiết của thành viên */
.display-photo { 
    width: 150px; height: 150px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 4px solid #64ffda; 
    margin-bottom: 1.5rem; 
}
.display-name { 
    font-size: 2rem; 
    color: #64ffda; 
    margin-bottom: 1.5rem; 
}

/* Lưới hiển thị thông tin cá nhân */
.display-info-grid {
    text-align: left;
    max-width: 350px;
    margin: 0 auto;
}
.display-info-grid p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #ccd6f6;
    font-size: 1rem;
}
.display-info-grid i {
    color: #64ffda;
    margin-right: 15px;
    width: 20px;/* Cố định độ rộng icon để các dòng thẳng hàng */
}
.display-info-grid strong {
    color: #a8b2d1;
    margin-right: 8px;
}
/* === CODE SỬA LỖI HIỂN THỊ TRÊN ĐIỆN THOẠI === */

/* --- Cho máy tính bảng và các màn hình nhỏ (dưới 992px) --- */
@media (max-width: 992px) {
 /* Chuyển layout 2 cột thành 1 cột, danh sách ảnh nằm dưới */
    .team-interactive-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

 /* Chuyển danh sách thành viên thành hàng ngang cuộn được */
    .team-member-list {
        flex-direction: row;
        overflow-x: auto;/* Cho phép cuộn ngang */
        max-height: none;
        padding-bottom: 10px;/* Thêm khoảng trống cho thanh cuộn */
    }

 /* Tối ưu thanh cuộn trên danh sách thành viên */
    .team-member-list::-webkit-scrollbar {
        height: 6px;
    }
    .team-member-list::-webkit-scrollbar-track {
        background: #0a192f;
        border-radius: 3px;
    }
    .team-member-list::-webkit-scrollbar-thumb {
        background: #233554;
        border-radius: 3px;
    }

 /* Tối ưu thẻ thumbnail */
    .member-thumbnail {
        flex: 0 0 70px;/* Cho mỗi thumbnail nhỏ lại */
        flex-direction: column;
        justify-content: center;
        height: 90px;
    }

    .member-thumbnail span {
        display: none;/* Ẩn tên để tiết kiệm không gian */
    }

  /* Lưới các giá trị cốt lõi chuyển thành 1 cột */
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Cho điện thoại di động (dưới 768px) --- */
@media (max-width: 768px) {
  /* Giảm kích thước các tiêu đề và khoảng cách chung */
    .about-hero {
        padding: 6rem 1rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .about-us-wrapper .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    .team-showcase-section,
    .core-values-section,
    .goals-section {
        padding: 3rem 1rem;
    }

  /* Ghi đè lại để timeline hiển thị đúng trên mobile */
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;/* Giảm khoảng cách */
        padding-right: 15px;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item::after {
        left: 10px;/* Đưa chấm tròn sát vào lề hơn */
        width: 15px;
        height: 15px;
    }
}

/* --- Cho các điện thoại màn hình rất nhỏ (dưới 576px) --- */
@media (max-width: 576px) {
  /* Thu nhỏ các chi tiết trong khu vực hiển thị thông tin */
    .team-member-display {
        padding: 1.5rem;
    }
    .display-photo {
        width: 120px;
        height: 120px;
    }
    .display-name {
        font-size: 1.6rem;
    }
    .display-info-grid {
        max-width: 100%;
    }
    .display-info-grid p {
        font-size: 0.9rem;
    }
    .display-info-grid i {
        margin-right: 10px;
    }
}