   /* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    font-size: 14px;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
}

/* Header */
.header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background-color: #004ea2; /* Blue background */
    color: #fff;
}
.top-bar {
    background-color: #003d80;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
}
.top-bar .container {
    background: transparent;
    display: flex;
    justify-content: left;
    padding: 0 10px;
}
.top-bar .container .lines {
    margin-left: 20px;
}
.logo-bar {
    height: 60px;
    display: flex;
    align-items: center;
    background-color: #004ea2;
}
.logo-bar .container {
    background: transparent;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    font-style: italic;
    margin-right: 50px;
    white-space: nowrap;
}
.logo span {
    color: #ff0000; /* Red accent */
}
.main-nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
}
.main-nav a {
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}
.main-nav a:hover {
    border-bottom: 2px solid #fff;
}
/* Dropdowns */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #004ea2;
    min-width: 120px;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    padding: 5px 0;
}
.nav-item:hover .dropdown-menu {
    display: block;
    
}
.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    white-space: nowrap;
}
.dropdown-menu a:hover {
    background-color: #003d80;
    border-bottom:none;
}



 
 /* Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

 /* Footer */
.footer {
    background-color: #fff;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 20px;
    color: #666;
    font-size: 12px;
}
.footer-links {
    margin-bottom: 15px;
    padding: 0 10px;
    line-height: 2;
}
.footer-links a {
    margin: 0 10px;
    color: #004ea2;
    display: inline-block;
}
.footer p {
    margin-bottom: 5px;
    line-height: 1.6;
    padding: 0 10px;
}


/* 遮罩层 */
#iframe-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* 弹窗容器 */
.popup-box {
  background: #fff;
  width: 98%;
  max-width: 800px;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  
}

/* 头部栏 */
.popup-header {
 
  color: #111;
  padding: 10px;
  text-align: center;
  font-size: 18px;
  position: relative;
  line-height: 35px;
}

/* 关闭按钮 */
.popup-close {
  position: absolute;
  right: 10px;
  top: 5px;
  background: transparent;
  border: none;
  color: #333;
  font-size: 40px;
  cursor: pointer;
  width: 60px;;
}
/* iframe区域 */
.popup-iframe {
  flex: 1;
  border: none;
  width: 100%;
  height: 100%;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .logo-bar {
        height: auto;
        padding: 10px 0;
    }
    .logo-bar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    .logo {
        margin-right: 0;
        margin-bottom: 0;
    }
    .menu-toggle {
        display: block;
    }
    .main-nav {
        width: 100%;
        display: none;
        flex-direction: column;
        gap: 0;
        margin-top: 15px;
        background-color: #003d80;
        border-radius: 4px;
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav a {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }
    .main-nav a:last-child {
        border-bottom: none;
    }
    .top-bar .lines {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}