:root {
    --primary-color: #1E1F40;
    --primary-color-lighten: #3f4185;
    --primary-color-darken: #0e0e1d;
    --second-color: #6B48FF;
    --second-color-lighten: #bdaeff;
    --second-color-darken: #4215ff;
    --breakpoint-sm: 576px;
}

/* Common  */
body {
    font-size: 16px;
    line-height: 1.6;
    font-family: "Poppins", "Noto Sans SC", "Noto Sans TC", sans-serif;
    color:#333333;
}


.btn{
    display: inline-block;
    padding: 0.75rem 3rem;
    border-radius: 4px;
    background-color: #eee;
    color: #666;
    font-size: 0.875rem;
    font-weight: bold;
    margin: 4px;
    transition: all 0.3s;
    border-width: 0;
    cursor: pointer;
}

.btn:hover {
    background-color: #ddd;
}

.btn.btn-primary{
    background-color: var(--primary-color);
    color: #fff !important;
}
.btn.btn-primary:hover{
    background-color: var(--primary-color-lighten);
}

.btn.btn-second{
    background-color: var(--second-color);
    color: #fff !important;
}

.btn.btn-second:hover{
    background-color: var(--second-color-lighten);
}



.btn-outline .btn {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.container{
    max-width: 1200px;
}

.link-item{
    display:inline-block;
}


/* Header */
header {
    padding-top:1rem;
    padding-bottom:1rem;
}

    header.sticky {
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }


.languages {
    display: flex;
    align-items: end;
    justify-content: flex-end;

}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    
}


.logo img {
    max-height: 80px;
    width: auto;
}

.main-nav{
    position:relative;
}

.main-nav ul{
    margin:0;
}

.main-nav a{
    color:#333;
}

.main-nav ul.lv0 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 30px;
}

.main-nav ul.lv0>li {
    height: 100%;
    display: flex;
    align-items: center;
}

.main-nav ul.lv0 > li > a{
    font-weight: 500;
}
.main-nav ul.lv0 > li:not(.current) > a:hover{

}

.main-nav ul.lv0 > li.current > a{
    font-weight: bold;
}






.lang-selector{
    display:none;
}
.lang-items {
    display:flex;
}

.lang-item a{
    display: block;
    padding: 4px 8px;
    font-size: 13px;
    color: #707070;
}



/* Mobile Menu */
.mobile-menu a{
    padding: 1rem 1.5rem;
    color:#333;
    font-size:1rem;
}



/* Footer */
footer{
    background-color: var(--primary-color);
    color:#fff;
    padding: 70px 0 20px;
}

footer img{
    filter: brightness(0) invert(1);
}

.footer-content .block-grid-col{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img{
    width:150px;
    max-width: 100%;
    height: auto; 
}

.footer-nav{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav a{
    color:#fff;
    opacity: 0.8;
}
.footer-nav a:hover{
    opacity: 1;
}


.footer-contact table{
    width:100%;
    border-collapse: collapse;
    table-layout:auto;
}
.footer-contact table p{
    margin:0;
}
.footer-contact table td{
    padding:8px;
    vertical-align: top;
}
.footer-contact table td:first-child{
    min-width:36px !important;
}

.footer-contact table img{
    display:block;
    width:20px !important;
    height:auto !important;
    margin-top:2px;
}

.footer-socials{
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}
.footer-socials .image-link-img{
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-socials a:hover .image-link-img{
    background-color: var(--second-color);
}


.footer-socials .image-link-title{
    display:none;
}

.footer-socials img{
    width:24px !important;
    height:auto !important;
}

.copyright{
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}



/* popup */

.jquery-modal.blocker{
    z-index: 1000;
}