/* =========================================
   GIAO DIỆN TRANG GIỚI THIỆU (ABOUT)
========================================= */
.about-intro-section { padding: 60px 0; background-color: #ffffff; border-bottom: 1px solid var(--border-color); }
.about-container { max-width: 1200px; width: 95%; margin: 0 auto; text-align: center; }
.about-main-title {
    font-size: 28px; font-weight: 700; color: #333; margin-bottom: 20px; position: relative; padding-bottom: 10px;
}
.about-main-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background-color: var(--primary-color); border-radius: 2px;
}
.about-description {
    font-size: 16px; line-height: 1.8; color: #666; max-width: 900px; margin: 25px auto 45px; text-align: justify;
}

/* Lưới 3 cột tính năng */
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 20px; }
.about-feature-card {
    background-color: #fafafa; border: 1px solid var(--border-color); border-radius: 12px; padding: 30px 20px; transition: all 0.3s ease;
}
.about-feature-card:hover { transform: translateY(-5px); border-color: var(--primary-color); box-shadow: 0 8px 20px rgba(0,0,0,0.05); }
.feature-icon { font-size: 35px; color: var(--primary-color); margin-bottom: 15px; }
.about-feature-card h3 { font-size: 18px; font-weight: 700; color: #333; margin-bottom: 10px; }
.about-feature-card p { font-size: 14px; color: #777; line-height: 1.6; }

/* Phần đội ngũ sáng lập */
.team-section { padding: 60px 0 80px; background-color: #fafafa; }
.team-title { font-size: 26px; font-weight: 700; color: #333; margin-bottom: 10px; }
.team-subtitle { font-size: 15px; color: #888; margin-bottom: 50px; }
.founder-wrapper { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; }
.founder-card { height: 420px; }

/* Bố cục đảo ngược cho các thành viên đan xen (Ảnh bên phải, Chữ bên trái) */
.founder-wrapper.reverse {
    grid-template-columns: 1fr 300px;
}
.founder-wrapper.reverse .member-card {
    order: 2;
}
.founder-wrapper.reverse .founder-info-block {
    order: 1;
}

/* Thẻ thành viên (3D Flip) */
.member-card { background-color: transparent; perspective: 1000px; height: 380px; width: 100%; }
.member-card-inner {
    position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.8s, border-color 0.3s, box-shadow 0.3s;
    transform-style: preserve-3d; border: 2px solid transparent; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}
.member-card:hover .member-card-inner {
    transform: rotateY(180deg); border-color: var(--primary-color); box-shadow: 0 10px 25px rgba(242, 114, 53, 0.15);
}
.member-card-front, .member-card-back {
    position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 10px; overflow: hidden;
}

/* Mặt trước thẻ */
.member-card-front { background-color: #ffffff; color: #333; display: flex; flex-direction: column; }
.member-img-container { width: 100%; height: 72%; overflow: hidden; background-color: #eee; }
.member-img-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.member-card:hover .member-img-container img { transform: scale(1.05); }
.member-info { padding: 15px 10px; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.member-name { font-size: 17px; font-weight: 700; color: #333; margin-bottom: 5px; }
.member-role { font-size: 13px; color: var(--primary-color); font-weight: 500; }

/* Mặt sau thẻ */
.member-card-back {
    background-color: #fef9e7; color: #333; transform: rotateY(180deg); display: flex; flex-direction: column;
    justify-content: center; align-items: center; padding: 25px 20px; border: 1px dashed #d4ac0d; box-sizing: border-box;
}
.note-pin {
    width: 12px; height: 12px; background-color: #e74c3c; border-radius: 50%; position: absolute;
    top: 12px; left: 50%; transform: translateX(-50%); box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.member-card-back h3 {
    font-size: 16px; font-weight: 700; color: #b7950b; margin-bottom: 15px; border-bottom: 1.5px dashed #b7950b; padding-bottom: 5px; width: 100%;
}
.member-task-role { font-size: 13.5px; color: #333; margin-bottom: 10px; align-self: flex-start; text-align: left; }
.member-task-detail { font-size: 13px; line-height: 1.6; color: #555; text-align: justify; }

/* Thông tin người sáng lập */
.founder-info-block { display: flex; flex-direction: column; gap: 25px; }
.founder-quote {
    position: relative; background: linear-gradient(135deg, #fff5f0 0%, #fff 100%); border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0; padding: 25px 30px; box-shadow: 0 4px 15px rgba(239, 98, 54, 0.08);
}
.founder-quote .quote-icon { font-size: 28px; color: var(--primary-color); opacity: 0.4; margin-bottom: 10px; display: block; }
.founder-quote p { font-size: 16px; font-style: italic; color: #555; line-height: 1.8; margin: 0; }
.founder-bio { font-size: 15px; line-height: 1.8; color: #666; text-align: justify; }
.founder-bio strong { color: #333; }

.founder-skills { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 25px;
    font-size: 13px; font-weight: 600; background: linear-gradient(135deg, #fff5f0 0%, #ffe0d1 100%);
    color: var(--primary-color); border: 1px solid rgba(239, 98, 54, 0.2); transition: all 0.3s ease;
}
.skill-badge:hover { background: var(--primary-color); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(239, 98, 54, 0.3); }
.skill-badge i { font-size: 15px; }

/* RESPONSIVE TRANG ABOUT */
/* 1. Khi màn hình máy tính bảng (< 992px): Chuyển 3 cột tính năng thành 1 cột xếp dọc, thu hẹp bề ngang khối giới thiệu người sáng lập */
@media (max-width: 992px) {
    .about-features { grid-template-columns: 1fr; gap: 20px; }
    .founder-wrapper { grid-template-columns: 280px 1fr; gap: 30px; }
    .founder-wrapper.reverse { grid-template-columns: 1fr 280px; }
}
/* 2. Khi màn hình điện thoại (< 768px): Đưa thẻ ảnh người sáng lập lên trên, phần chữ giới thiệu bị đẩy xuống dưới tạo thành 1 cột duy nhất */
@media (max-width: 768px) {
    .founder-wrapper { grid-template-columns: 1fr; gap: 30px; justify-items: center; }
    .founder-wrapper.reverse { grid-template-columns: 1fr; }
    .founder-wrapper.reverse .member-card { order: -1; }
    .founder-card { max-width: 320px; height: 400px; }
}
/* 3. Khi màn hình điện thoại nhỏ gọn (< 576px): Thu nhỏ thêm kích thước thẻ ảnh 3D và tiêu đề bài viết để không bị tràn ra khỏi màn hình */
@media (max-width: 576px) {
    .founder-card { max-width: 280px; height: 370px; }
    .about-main-title { font-size: 24px; }
    .founder-quote { padding: 20px; }
    .founder-quote p { font-size: 14px; }
}