﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft JhengHei', '微軟正黑體', sans-serif;
}
 

a {
    text-decoration: none;
    color: #5575f3;
    word-break: normal; 
}

body {
    /*
            background: linear-gradient(135deg, #1a3a5f 0%, #2c5282 100%);
                */
    min-height: 100vh;
    padding: 20px;
}


.container {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    background: #f8f9fa;
    /*
            border-radius: 12px;
            */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    overflow: visible;
    position: relative;
}

.header {
    /*
            background: linear-gradient(90deg, #003366 0%, #004080 100%);
                */
    color: white;
    text-align: center;
    position: relative;
}

 
.banner .banner_img {
    width: 100%;
    z-index: 1;
    position: relative;
    top: 50px;
}
  

 /*
.banner .banner_img {

    width: 100%;
    z-index: 1;
    position: relative;
    top: 50px;

     
    height: 350px;
     
        background-image: url('../Images/Banner.jpg');
        background-size: 100%;
        
        background-repeat: no-repeat;
        background-position: center;
 
     
}
 */



.banner .top_tool {
    position: absolute;
    top: 0;
    left: 0px;
    width: 100%;
    z-index: 2;
    float: left;
}



.banner .top_tool1 {
    position: absolute;
    top: 0;
    left: 0px;
    width: 350px;
    height: auto;
    z-index: 5;
    float: left;
    /*
    background-image: url('../Images/top_tool_1.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
         */
    display: none;
       
}

.banner .top_tool2 {
    display: none;
    position: absolute;
    top: 0;
    left: 350px;
    width: 851px;
    z-index: 3;
    float: left;
}



.banner .top_tool3 {
    position: absolute;
    top: 64px;
    right: 0px;
    width: 110px;
    z-index: 5;
     
}

 
 
#chineseBtn, #EngBtn, #portugueseBtn {
    width: 30px; 
    margin-right:2px;

}


#chineseBtn { 
       
        width: 30px;
        height: 30px;
        background-image: url('../Images/top_tool_3_ch_deepblue.png');
        background-size: 100%;
        
        background-repeat: no-repeat;
        background-position: center;
        position: relative;
        top: 5px;
        left: -10px; 
        background-color:transparent;
        margin:0;
        padding:0;
        border:none;
        outline:none;
        background-clip:border-box;
}

 
    #chineseBtn:hover {
        cursor:pointer;
        background-image: url('../Images/top_tool_3_ch_green.png');
    }
 
     

    
#portugueseBtn {
    
        width: 30px;
        height: 30px;
        background-image: url('../Images/top_tool_3_pt_deepblue.png');
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: center;
        position: relative;
        top: 5px;
        left: 0px;  
        background-color:transparent;
        margin:0;
        padding:0;
        border:none;
        outline:none;
        background-clip:border-box;
}


    #portugueseBtn:hover {
        cursor:pointer;
        background-image: url('../Images/top_tool_3_pt_green.png');
    }


#line1 {
    position: absolute;
    top: 0;
    height: 41px;
    background-color: #333365;
    width: 100%;
    z-index: 3;
}



#line2 {
    position: absolute;
    top: 41px; 
    /*
    height: 62px;
        */
    height: 100px;
    background-color: #0098ca;
    width: 100%;
    z-index: 4;
}



#line1, #line2 {
    display: none;
}



.clear {
    display: block;
    clear: both;
}




.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 5px;
    font-weight: 300;
}

/* 横向导航菜单样式 */
.horizontal-menu {
     /*
    background: #f0f2f5;
        */
    background-color:transparent;
    padding: 0 30px;
    position: absolute;
    top: 65px;
    left: 325px;
    z-index: 3;
}

.nav-container {
    width: 625px;
    margin: 0 auto;
}



.menu {
    display: flex;
    list-style: none;
    justify-content: space-between;
    padding: 0;
}

.menu-item {
     
    position: relative;
}

  

  
    .menu-item::before {
        content: "";
        display: inline-block;
        width: 11px;
        height: 14px;
        background-image: url(../Images/arrow1.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        top: 22px;
        left: -5px;
        z-index: 3;
        color: #349695;
        font-size: 1.8rem;
        font-weight: 700;
        pointer-events: none;
        transition: transform 0.3s ease;
    }



    /* 新增：悬停时旋转符号 */
    .menu-item:hover::before {
        transform: rotateZ(90deg);
        top: 20px;
    }

.menu-link {
    display: block;
    padding: 16px 10px;
    text-decoration: none;
    color: #003366;
    font-size: 12pt;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
     
}

    .menu-link:hover {
        
        color:#499ae6;
        /*
        color: #0053a0; 
        background: #e6eef9;
        */
    }





/* 下拉菜单样式 */
.dropdown-menu {
    position: absolute;
    top: 55px;
    left: 0;
    width: 230px;
    background: rgba(240, 242, 245, 0.7); /* 70% 透明背景 */
    /*
    backdrop-filter: blur(5px);
        */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 3;
    overflow: hidden;
}

.menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu ul {
    list-style: none;
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 35px;
    color: #003366;
    text-decoration: none;
    font-size: 10pt;
    font-weight: 600;
    text-align: left;
    transition: all 0.2s ease;
    position: relative;
}

    .dropdown-menu a:hover {
        background-color: #349898;
        color: #fff;
    }


    .dropdown-menu a::before {
        content: "";
        background-image: url('../Images/menu_item_selected.png');
        background-size: 100%;
        background-repeat: no-repeat;
        width: 20px;
        height: 20px;
        position: absolute;
        top:10px;
        left: 7px;
        /*
            top: 50%;
            transform: translateY(-50%);
            color: #0053a0;
            font-size: 1.4rem;
                */
        opacity: 0;
        transition: opacity 0.3s ease;
    }




    .dropdown-menu a:hover::before {
        opacity: 1;
    }




/* 内容区域 */
.content {
    padding: 0px 40px;
    text-align: center;
    background: url() center/cover;
    position: relative;
    top: 80px;
    min-height: 400px;
    /*
            display: flex;
                */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



.content-inner {
    position: relative;
    z-index: 1;
    max-width: 99%;
    margin: 0 auto;
}

.content h2 {
    color: #003366;
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    width: 200px;
}

    .content h2::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 7px;
        background: #349695;
        border-radius: 2px;
        z-index: 2;
    }

.hr1 {
    position: relative;
    top: -20px;
    z-index: 1;
    border: 1px solid #003366;
}

.content p {
    color: #495057;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.highlight {
    background: linear-gradient(120deg, #ffde59 0%, #ffde59 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 85%;
    padding: 0 5px;
    font-weight: 600;
}

.features {
    
    position: relative;
    top:0px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 25px;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8f0;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

    .feature-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 25px rgba(0, 83, 160, 0.2);
    }

    .feature-box i {
        font-size: 2.5rem;
        color: #003366;
        margin-bottom: 20px;
    }
    /*
    .feature-box h3 {
        color: #003366;
        margin-bottom: 15px;
        font-size: 1.4rem;
    }
*/

    .feature-box p {
        font-size: 1rem;
        margin-bottom: 0;
    }


.features table td {
    color: #003366;
    margin-bottom: 15px;
    font-size: 12pt;
    text-align: left;
    line-height: 30px;
    font-weight: 600;
}

footer {
    background-image: url('../Images/footer.png');
    background-size: cover;
    background-repeat: no-repeat;
    /*
    height: 320px;
    */
    text-align: center;
    color: #fff;
    font-size: 0.95rem;
    border-top: 1px solid #dee2e6;
    position: relative;
    margin-top:100px;
}
 

footer a {
    color:#e9dcdc;
}


#menu_btn {
    display: none;
}

/*
#search {
    display: none;
    position: absolute;
    top: 3px;
    right: 10px;
    z-index: 5;
    width: 200px;
}
*/

.logo_white {
    width:80%;
}


.white_links {

    color:#e9dcdc;
    margin-top:20px;
    margin-left:20px;
    text-align:left;
}

.white_links_title1 {

    line-height:50px;
    font-size:16pt;
    font-weight:bold;
}


.white_links_title2 {

    font-size:10pt; 
}



.copyright {
    color:#e9dcdc;
    font-size:10pt; 
    text-align:right;
}


#white_links_td1 {
    width: 410px;
    vertical-align: top;
}

 

.search-form input[type=text] {
    border: 2px solid rgba(0,0,0,.08);
    box-shadow: 2px 2px 3px transparent;
    height: 28px;
    border-radius: 30px;
    padding: 0px 5px 2px;
    width: 100%;
    max-width: 170px;
    /* margin: 0 5px 0 40px; */
    z-index: 1001;
    position: absolute;
    top: 13px;
    right: 5px;
}

 


.search-form button[type="submit"] {
    margin-left: 0;
    text-indent: -1000px;
    background: url(../Images/search.png) no-repeat right;
    width: 30px;
    height: 34px;
    border: 0;
    background-size: 37px 28px;
    z-index: 1002;
    position: absolute;
    top: 10px;
    right: 5px;
}

 


#a2 {
    display:none;
}


#li_Default {
    display:none;
}
 

 
@media (max-width: 1230px) {

    #a1 {
        display:none;
    }

    #a2 {
        display:block;
    }
    

    #li_Default {
        display:block;
    }


    .search-form input[type=text] { 
        top:5px;
        right: 5px; 
    }

    .search-form button[type="submit"] {
     
        top: 2px; 
    }


    #line1, #line2 {
        display: block;
    }

    
    .top_tool2, .top_tool {
        display: none;
    }

    
    .banner .banner_img {
       
        top:140px;
    }
     
    

    .content {
        top: 150px; 
    }



    .horizontal-menu {
        top: 41px;
        left: 0px;
        z-index: 12;
        background: #f0f2f5;
    }


    .nav-container {
        width: 200px;
    }


    .menu {
        display: block;
        flex-wrap: wrap;
    }

    .menu-item {
        flex: 0 0 50%;
        margin-bottom: 5px;
    }

        .menu-item:nth-child(2n)::after {
            display: none;
        }

    .menu-link {
        padding: 15px 10px;
        border-bottom: none;
    }

        .menu-link:hover {
            border-bottom: none;
        }



    .dropdown-menu {
        position: relative;
        top:0px;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .menu-item:hover .dropdown-menu {
        max-height: 300px;
    }

    .top_tool2 {
        display: none;
    }

    .banner .top_tool1 {
        /*
        background-image: url('../Images/top_tool_1_b.png');
          */
        top: 41px;
            
        display:block;
           
         
    }

    .banner .top_tool3 {
        top: 41px;
        z-index: 6;
    }
     
      

    #menu_btn {
        display: block;
    }

        #menu_btn:before {
            content: "\f0c9";
            font-family: 'FontAwesome';
            color: #81A9FF;
            font-size: 24px;
            height: 47px;
            display: block;
            position: absolute;
            top: 4px;
            left: 4px;
            -webkit-transition: left 0.3s ease, -webkit-box-shadow 0.3s ease 0.2s;
            transition: left 0.3s ease, box-shadow 0.3s ease 0.2s;
            z-index: 6;
        }

    footer {
        
        margin-top: 200px;
           
    }
        
    .features {
        position: relative;
        top: 10px;
    }
}

 



@media (max-width: 1100px) {

    
    .white_links_td {
         
         float:left;
         /*
         height:200px;
          */
         height: auto;
    }


    .copyright {
        margin-top:20px;
    }


}

 
/*

@media (max-width: 690px) {

    #line2 {
        height:100px;
    }

    .banner .banner_img {
         
        top:140px;
    }

    .content {
        top: 150px;
    }

    
}
*/


@media (max-width: 600px) {

    .content {
        padding-left: 0px;
        padding-right: 0px;
    }
 
}

 
@media (max-width: 400px) {

    .banner .top_tool1 {
        width: 100%;
    }

    
}
 


@media (max-width: 420px) {

    .banner .top_tool3 {
        width: 80px;
    }
     
    #chineseBtn, #EngBtn, #portugueseBtn {
        left: 0px;

    } 

    
}





@media (max-width: 473px) {
   
    #white_links_td1 {
        width: auto;
    }
    
}

 

@media (max-width: 700px) {

    .content h2, .content h2::after {
        width: 100%;
    }
}

