body{
    position: relative;
    /* font-family: "Noto Sans TC", sans-serif; */
    font-family: "Arial", "Microsoft JhengHei", "Apple LiGothic Medium", "Microsoft YaHei", sans-serif;
    font-weight: 350;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

p{
    margin: 0;
}

header{
    position: relative;
    width: 100%;
    height: 315px;
    background-image: url('./img/banner-pc.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

navber{
    width: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-list{
    max-width: 1300px;
    display: flex;
}

.logo-link{
    margin-top: 4px;
    margin-left: 80px;
    display: inline-block;
}

.navbar-link{
    display: inline-block;
    padding: 21px 28px;
    color: #454545;
    font-size: 20px;
}

.navbar-link:hover{
    background-color: #f0f0f0;
}

.navbar-link.active{
    font-weight: 500;
    background-color: #54C3F1;
    color: #fff;
}

.container{
    background-color: #F3F4F8;
    padding: 50px 50px 80px 50px;
}

.card-list{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.card{
    border: 1px solid rgba(68, 102, 242, 0.05);
    background-color: #fff;
    border-radius: 15px;
    transition: .2s;
}

.card:hover{
    background-color: #F7F7ED;
}

.card-header{
    position: relative;
    padding: 28px 32px;
    border-bottom: 1px solid #F6F7FB;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.card-badge{
    position: absolute;
    top: 50%;
    left: -23px;
    transform: translateY(-50%);
    width: 159px;
    text-align: center;
    padding: 14px 12px;
    background-color: #1CA6EC;
    color: #FFF;
    border-radius: 5px 5px 5px 0px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1.2px;
    line-height: 23px;
}

.card-badge::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -21px;
    background-image: url('./img/badge-triangle.svg');
    width: 23px;
    height: 21px;
}

.card-link{
    padding: 8px 24px 9px 23px;
    border-radius: 6px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .2s;
}

.card-link.experience{
    background-color: #E95E5B;
}

.card-link.experience:hover{
    background-color: #E14C49;
}

.card-link.video{
    background-color: #1CA6EC;
}

.card-link.video:hover{
    background-color: #118DCC;
}

.card-body{
    padding: 24px 32px 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.card-content{
    display: flex;
}

.card-title{
    width: 100%;
    color: #414549;
    font-size: 30px;
    font-weight: 500;
    margin: 0 0 16px 0;
}

.card-subtitle{
    width: 100%;
    min-height: 45px;
    color: #717171;
    font-size: 16px;
    margin: 0 0 30px 0;
    font-weight: 400;
}

.card-img{
    width: 300px;
    height: 200px;
}

.card-desc-list{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 16px 24px;
    margin: 0;
    background-color: #F8F9FB;
    border-radius: 0px 0px 30px 0px;
}

.card:hover .card-desc-list{
    background-color: #fff;
}

.card-desc-item{
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-desc-point{
    width: 24px;
    height: 24px;
}

.card-desc{
    margin: 0;
    color: #717171;
    line-height: 22px;
    font-size: 16px;
}

footer{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px;
    background-color: #1D2554;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.float-img{
    cursor: pointer;
    position: fixed;
    z-index: 10;
    bottom: 30px;
    right: 42px;
}

@media (max-width: 1380px){
    header{
        background-image: url('./img/banner-ipad.png');
    }
    .logo-link{
        margin-left: 50px;
    }
    .card-header{
        gap: 15px;
        padding: 28px 24px;
    }
    .card-body{
        padding: 24px;
        align-items: center;
    }
    .card-subtitle{
        min-height: auto;
    }
    .card-content{
        flex-direction: column;
    }
    .card-list{
        gap: 50px;
    }
    .card-img{
        width: 100%;
        height: auto
    }
    .card-desc-list{
        padding: 24px 20px;
    }
    .card-badge{
        width: 139px;
        font-size: 20px;
    }
    .card-title{
        font-size: 28px;
    }
}

@media (max-width: 991px){
    .card-header{
        gap: 8px;
    }
    .card-badge{
        width: 100px;
        height: 23.5px;
        font-size: 18px;
        padding: 8px 12px;
    }
    .card-list{
        gap: 36px;
    }
}

@media (max-width: 767px){
    .card-title{
        margin: 0 0 8px 0;
    }
    .card-subtitle{
        margin: 0 0 16px 0;
    }
    .logo-link{
        margin-left: 17px;
        margin-right: 8px;
    }
    .container{
        padding: 36px 36px 80px 36px;
    }
    .card-header{
        padding: 24px;
    }
    .card-body{
        padding: 20px;
    }
    .card-list{
        grid-template-columns: 1fr;
    }
    .navbar-link{
        padding: 21px;
    }
    .float-img{
        width: 35px;
        height: 35px;
        bottom: 31px;
        right: 20px;
    }
}

@media (max-width: 539px){
    header{
        background-image: url('./img/banner-phone.png');
        width: 100%;
        height: auto;
        padding-bottom: 65%;
        background-position: center top;
    }
    .navbar-list{
        width: 60%;
    }
    .navbar-link{
        padding: 20px 0;
        display: flex;
        flex: 1;
        justify-content: center;
    }
    .card-header{
        padding: 24px 16px;
    }
}

@media (max-width: 390px){
    .navbar-link{
        font-size: 18px;
    }
    .container{
        padding: 24px 16px 88px 16px;
    }
    .card-title{
        margin: 0 0 4px 0;
    }
    .card-list{
        gap: 20px;
        width: 100%;
    }
    .card-badge{
        width: 80px;
        left: -12px;
    }
    .card-badge::after{
        width: 12px;
    }
    .card-header{
        gap: 4px;
        padding: 20px 12px;
    }
    .card-body{
        padding: 20px 12px;
    }
    .card-desc-list{
        gap: 12px;
    }
    .card-desc-list{
        padding: 24px 16px;
    }
    .float-img{
        bottom: 36px;
        right: 8px;
    }
    footer{
        font-size: 14px;
    }
}