
:root {
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC05;
    --google-green: #34A853;
    --text-dark: #202124;
    --text-gray: #5f6368;
    --bg-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; /* Font hiện đại */
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* --- HÌNH NỀN TRANG TRÍ (Mờ ảo phía sau) --- */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}
.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(66, 133, 244, 0.3); /* Xanh mờ */
    top: -50px;
    left: -50px;
}
.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(52, 168, 83, 0.2); /* Xanh lá mờ */
    bottom: -100px;
    right: -100px;
}


header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Hiệu ứng kính mờ */
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- LOGO TRÒN (Đã cập nhật) --- */
.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.logo img {
    width: 45px;           
    height: 45px;          
    border-radius: 50%;    
    object-fit: cover;     
    margin-right: 12px;
    border: 1px solid #eee; 
}

.logo-text span { color: var(--google-blue); }

/* --- MENU --- */
nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px; /* Khoảng cách giữa icon và chữ */
}

.nav-link:hover {
    background-color: rgba(66, 133, 244, 0.1);
    color: var(--google-blue);
}

.nav-link.active {
    background-color: var(--google-blue);
    color: white;
    box-shadow: 0 4px 10px rgba(66, 133, 244, 0.3);
}


main {
    max-width: 1000px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
    min-height: 80vh;
}

/* Card Style (Khung trắng nổi) */
.card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.02);
}

/* Animation ẩn hiện Tab */
.tab-content { display: none; }
.tab-content.active { display: block; }

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}



/* --- Tiêu đề & Subtitle (Đã cập nhật thứ tự) --- */
.card-header {
    margin-bottom: 2.5rem;
}

.title-gradient {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    /* Màu Gradient chữ */
    background: linear-gradient(90deg, #4285F4, #EA4335, #FBBC05, #34A853);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s infinite alternate;
    font-weight: 800;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.subtitle-main {
    font-size: 1.5rem;
    color: var(--google-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.description-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 300;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    /* Hiệu ứng 3D */
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.4s ease;
    border: 4px solid white;
}

.image-frame:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.02);
}

.image-frame img {
    width: 100%;
    display: block;
}

.group-name {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 15px;
}

.slogan {
    background: #f1f3f4;
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-style: italic;
    color: var(--text-gray);
    font-weight: 500;
    border-left: 5px solid var(--google-yellow);
}


.placeholder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.icon-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.clr-blue { background: rgba(66, 133, 244, 0.1); color: var(--google-blue); }
.clr-green { background: rgba(52, 168, 83, 0.1); color: var(--google-green); }

.placeholder-card h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.placeholder-card p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
}


@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .title-gradient { font-size: 2.2rem; }
    .subtitle-main { font-size: 1.2rem; }
    
    .card { padding: 1.5rem; }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Lưới chứa các thành viên (Flexbox) */
.team-grid {
    display: flex;
    flex-wrap: wrap; /* Tự động xuống dòng nếu nhiều người */
    justify-content: center; /* Căn giữa */
    gap: 3rem; /* Khoảng cách giữa các thẻ */
}

/* Thẻ thành viên */
.member-card {
    background: white;
    border-radius: 25px;
    width: 400px; /* Chiều rộng cố định của thẻ */
    max-width: 100%;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-15px); /* Bay cao hơn chút nữa */
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.member-img-wrapper {
    width: 180px;  /* Tăng kích thước ảnh (Cũ là 120px) */
    height: 180px;
    margin: 0 auto 2rem; /* Đẩy nội dung bên dưới xuống xa hơn */
    position: relative;
}

.member-img-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white; /* Viền dày hơn */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Thông tin thành viên */
.member-name {
    font-size: 2rem; /* Tên to rõ ràng (Cũ là 1.5rem) */
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 700;
}
.member-role {
    display: block;
    font-size: 1.1rem;
    color: var(--google-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.member-bio {
    font-size: 1.1rem; /* Chữ mô tả to hơn cho dễ đọc */
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}
/* Nút mạng xã hội */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px; /* Các icon cách xa nhau hơn */
}

.social-icon {
    width: 50px;  /* Icon to hơn (Cũ là 40px) */
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.4rem; /* Icon bên trong to hơn */
    transition: transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-icon:hover {
    transform: scale(1.15);
}

/* Giữ nguyên màu các nút MXH */
.facebook { background-color: #1877F2; }
.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.linkedin { background-color: #0077B5; }
.github { background-color: #333; }

/* =========================================
   8. CSS CHO TRANG "LIÊN HỆ"
   ========================================= */

/* Căn chỉnh khung chứa form */
.contact-container {
    max-width: 600px; /* Giới hạn chiều rộng để form không bị bè ra quá */
    margin: 0 auto;   /* Căn giữa màn hình */
}

/* Các nhóm nhập liệu */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left; /* Căn chữ label sang trái */
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

/* Bao quanh input để chèn icon */
.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 15px; /* Căn chỉnh icon nằm giữa theo chiều dọc */
    color: var(--text-gray);
    transition: color 0.3s;
}

/* Ô nhập liệu (Input & Textarea) */
.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px 12px 45px; /* Padding trái lớn để chừa chỗ cho icon */
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

/* Hiệu ứng khi bấm vào ô nhập liệu (Focus) */
.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--google-blue); /* Viền chuyển màu xanh */
    background-color: white;
    box-shadow: 0 4px 10px rgba(66, 133, 244, 0.1);
}

/* Khi focus thì icon cũng đổi màu theo */
.form-group input:focus + .input-icon,
.form-group textarea:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
    color: var(--google-blue);
}

/* Nút Gửi */
.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, var(--google-blue), #2962ff);
    color: white;
    border: none;
    border-radius: 50px; /* Nút bo tròn */
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px); /* Nút bay lên nhẹ */
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.4);
    background: linear-gradient(45deg, #2962ff, var(--google-blue));
}

.btn-submit:active {
    transform: scale(0.98); /* Hiệu ứng nhấn xuống */
}