/* ========================================================================== */
/* STYLE CHO TRANG GIỚI THIỆU BẢN THÂN (INDEX.HTML)             */
/* ========================================================================== */

/* --- CÁC STYLE CHO CÁC THÀNH PHẦN TRÊN TRANG --- */
.banner-section {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.ts-particles-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.banner-image-style {
    width: 100vw;
    height: auto;
    display: block;
}

.profile-section {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    overflow: hidden;
    margin-bottom: 40px;
}

.separator-line {
    width: 4px;
    background: linear-gradient(to bottom, #0d47a1, #1976d2);
    border-radius: 6px;
    margin: 40px 0;
    height: 85%;
    /* Điều chỉnh chiều cao cho thanh phân cách */
}

.portrait-img-full {
    width: auto;
    max-height: 700px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: inset 0 0 0 6px #fff;
    transition: transform 0.4s ease;
}

.portrait-img-full:hover {
    transform: scale(1.025);
}

.content-box {
    padding-left: 40px;
    padding-right: 30px;
    background-color: #fff;
}

.intro-text-wrapper {
    padding-right: 10px;
}

.greeting-text {
    font-weight: 600;
    color: #1b2a4e;
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.name-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #0d47a1;
    margin-bottom: 20px;
}

.intro-text-wrapper p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: #4f4f4f;
    margin-bottom: 16px;
}

.info-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.info-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    background-color: #0d47a1;
    border-radius: 50%;
    transform: translateY(-50%);
}

.info-list {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 6px 0;
    border-bottom: 1px dashed #ddd;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #333;
    display: inline-block;
    width: 180px;
}

/* --- KHỐI QUÁ TRÌNH PHẤN ĐẤU --- */
.struggle-container {
    padding: 60px 20px;
    background: linear-gradient(to bottom right, #f0f4ff, #ffffff);
    position: relative;
}

.struggle-section {
    background-color: #ffffffee;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    overflow: hidden;
    position: relative;
}

.struggle-img-full {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.struggle-carousel {
    max-width: 100%;
    /* ✅ Giới hạn chiều ngang để không bị quá rộng */
    margin: center;
    /* ✅ Căn giữa carousel trong cột */
}

.struggle-img-full {
    max-height: 1000px;
    /* ✅ Làm ảnh cao hơn */
    object-fit: contain;
    /* ✅ Giữ đúng tỉ lệ ảnh, không bị crop */
}

.carousel-column-bg {
    background-color: #ffffff;
    /* 💡 Màu xanh thiên thanh dịu nhẹ */
}

.struggle-img-full:hover {
    transform: scale(1.04);
}

.struggle-text-wrapper {
    padding-right: 10px;
}

.struggle-greeting {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3f51b5;
}

.struggle-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #1a237e;
    margin-bottom: 25px;
}

.achievements-list {
    font-size: 1.1rem;
    line-height: 2.2;
    list-style: none;
    padding-left: 30px;
    border-left: 3px solid #1a237e;
    position: relative;
}

.achievements-list li {
    position: relative;
    padding: 15px 0 15px 20px;
    font-weight: 500;
}

.achievements-list li::before {
    content: "";
    position: absolute;
    left: -11px;
    top: 50%;
    width: 16px;
    height: 16px;
    background-color: #1a237e;
    border-radius: 50%;
    border: 3px solid white;
    transform: translateY(-50%);
    box-shadow: 0 0 6px rgba(26, 35, 126, 0.6);
}

.achievement-label {
    font-weight: bold;
    color: #1a237e;
    margin-right: 8px;
}

/* --- RESPONSIVE CHO TRANG GIỚI THIỆU --- */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
    }

    .portrait-img-full {
        width: 100%;
        height: auto;
        max-height: none;
        border-radius: 15px 15px 0 0;
    }

    .separator-line {
        display: none;
    }

    .content-box {
        padding: 30px 20px;
    }

    .intro-text-wrapper {
        padding: 0;
        text-align: center;
    }

    .name-title {
        font-size: 2.4rem;
    }

    .greeting-text {
        font-size: 1.4rem;
    }

    .info-label {
        width: 100%;
        display: block;
        margin-bottom: 4px;
    }

    .struggle-section {
        flex-direction: column-reverse;
    }

    .struggle-title {
        font-size: 2rem;
    }

    .struggle-greeting {
        font-size: 1.2rem;
    }

    .achievements-list {
        padding-left: 0;
        border-left: none;
    }

    .achievements-list li::before {
        left: 0;
    }
}