/* =========================================================
   LANDING PAGE
========================================================= */

.landing-page{
    background:#fff;
}

/* =========================================================
   TOC
========================================================= */

.landing-toc{
    position:relative;
    height:100%;
}

.toc-box{
    background:#fff;
    border:1px solid #ececec;
    border-radius:10px;
    padding:20px;
    box-shadow:0 4px 12px rgba(0,0,0,.05);
    transition:all .25s ease;
}

/* JS sẽ tự tính width và left */

.toc-fixed{
    position:fixed;
    top:100px;
    z-index:99;
}

.toc-bottom{
    position:absolute;
    left:0 !important;
    right:0;
    bottom:0;
    top:auto;
}

.toc-title{
    font-size:20px;
    font-weight:700;
    margin-bottom:18px;
    color:#222;
}

/* =========================================================
   DANH SÁCH TOC
========================================================= */

#toc-list{
    list-style:none;
    margin:0;
    padding:0;
    max-height:70vh;
    overflow-y:auto;
    scroll-behavior:smooth;
}

#toc-list::-webkit-scrollbar{
    width:6px;
}

#toc-list::-webkit-scrollbar-thumb{
    background:#ddd;
    border-radius:20px;
}

#toc-list li{
    margin-bottom:8px;
}

#toc-list li.h2{
    font-size:15px;
    font-weight:600;
}

#toc-list li.h3{
    font-size:14px;
    padding-left:18px;
}

#toc-list a{
    display:block;
    color:#444;
    line-height:1.6;
    padding:3px 0;
    text-decoration:none;
    transition:.25s;
}

#toc-list a:hover{
    color:#d60000;
}

#toc-list a.active{
    color:#d60000;
    font-weight:700;
    position:relative;
}

#toc-list a.active:before{
    content:"";
    position:absolute;
    left:-10px;
    top:6px;
    width:4px;
    height:18px;
    border-radius:5px;
    background:#d60000;
}

/* =========================================================
   CTA
========================================================= */

.landing-cta{
    margin:50px 0;
    padding:35px;
    border-radius:12px;
    background:#fff5ef;
    border:1px solid #ffd5c2;
    text-align:center;
}

.landing-cta h3{
    font-size:24px;
    margin-bottom:12px;
    font-weight:700;
    color:#222;
}

.landing-cta p{
    font-size:16px;
    color:#555;
    margin-bottom:22px;
}

.landing-cta a{
    display:inline-block;
    padding:12px 28px;
    border-radius:6px;
    background:#e30019;
    color:#fff;
    font-weight:600;
    text-decoration:none;
    transition:.25s;
}

.landing-cta a:hover{
    background:#bf0015;
    transform:translateY(-2px);
}

/* =========================================================
   RELATED
========================================================= */

.landing-related{
    margin:35px 0;
    padding:35px;
    background:#fafafa;
    border:1px solid #ececec;
    border-radius:10px;
}

.landing-related h2{
    font-size:28px;
    font-weight:700;
    margin-bottom:22px;
}

.related-list{
    list-style:none;
    padding:0;
    margin:0;
}

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

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

.related-list a{
    display:block;
    color:#222;
    text-decoration:none;
    font-size:17px;
    line-height:30px;
    transition:.25s;
}

.related-list a:before{
    content:"➜ ";
    color:#e30019;
    font-weight:bold;
}

.related-list a:hover{
    color:#e30019;
    padding-left:6px;
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:991px){

   .landing-toc{

    position:relative;

    display:block;

    margin-bottom:20px;

}

.toc-box{

    position:relative !important;

    width:100% !important;

    left:auto !important;

    top:auto !important;

    max-height:none;

}
.toc-mobile-title{
        display:block;
        padding:14px 18px;
        background:#f5f5f5;
        border-radius:8px;
        cursor:pointer;
        font-size:17px;
        font-weight:700;
        margin-bottom:10px;
    }

}

}

    .landing-cta{
        padding:25px;
    }

    .landing-cta h3{
        font-size:21px;
    }

    .landing-related{
        padding:25px;
    }

    .landing-related h2{
        font-size:24px;
    }

}

@media(max-width:767px){

    .landing-cta{
        margin:35px 0;
    }

    .landing-cta a{
        display:block;
        width:100%;
    }

    .related-list a{
        font-size:16px;
        line-height:26px;
    }

}
/* =================================
FEEDBACK KHÁCH HÀNG
================================= */

.landing-feedback{

    padding:45px 0 30px;

    background:#fafafa;

}

.landing-feedback-header{

    text-align:center;

    margin-bottom:35px;

}

.landing-feedback-header h2{

    font-size:32px;

    font-weight:700;

    margin-bottom:10px;

}

.landing-feedback-header p{

    color:#666;

    max-width:700px;

    margin:auto;

}

.feedback-swiper{

    overflow:hidden;

}

.feedback-swiper .swiper-slide{

    text-align:center;

}

.feedback-swiper img{

    width:100%;

    max-width:260px;

    margin:auto;

    display:block;

    border-radius:18px;

    border:1px solid #e5e5e5;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.feedback-swiper img:hover{

    transform:translateY(-5px);

}

/* pagination */

.feedback-swiper .swiper-pagination{

    position:relative;

    margin-top:25px;

}

/* mobile */

@media(max-width:767px){

    .landing-feedback{

        padding:45px 0;

    }

    .landing-feedback-header h2{

        font-size:24px;

    }

    .feedback-swiper img{

        max-width:180px;

    }

}