/* styles.css */
body {
    margin: 0;
    padding: 0;
    font-family: 'SimHei', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #00B83F;
    width: 100%;
    z-index: 2000;
    background-color: #f9f9fa;
}


.logo {
    margin-left: 30px;
}

.logo img {
    height: 40px;
    width: auto;
    justify-content: center;
    padding: 10px 5px 5px 5px;
}

nav {
    flex-grow: 1;
    margin-left: 400px;
    margin-right: 5px;
}

.nav-links {
    list-style: none;
    justify-content: center;
    /* 使导航链接居中 */
    display: flex;
    height: 70px;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    display: flex;
    /* 使用flex布局 */
    align-items: center;
    /* 垂直居中对齐 */
}

.nav-links a {
    text-decoration: none;
    color: #000;
    padding: 10px;
    transition: color 0.3s ease;
    /* 添加颜色的过渡效果 */
}

.nav-links a:hover {
    color: #1b3d9d;
    /* 导航链接鼠标悬停时的文字颜色 */
}

.dropdown {
    position: relative;
    /* 相对定位 */
}


.nav-extra {
    display: flex;
    margin-right: 100px;
    align-items: center;
    gap: 20px;
}

.nav-extra a {
    text-decoration: none;
    color: #000;
}

.nav-extra img {
    height: 40px;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: -250px;
    background-color: #f9f9fa;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    min-width: 650px;
    max-height: 0;
    overflow-y: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
}

.menu-items-container {
    background-color: rgb(237, 240, 241);
    width: 250px;
    height: 330px;
    padding-top: 20px;
    letter-spacing: 1px;
    overflow-y: auto; /* 当内容超出时，显示垂直滚动条 */
    overflow-x: hidden; /* 隐藏横向滚动条 */
}

.menu-items-container li {
    width: 250px;
    display: flex;
    justify-content: center;
}

.menu-items-container li:last-child {
    padding-bottom: 20px; /* 例如，设置额外的下内边距 */
}

.menu-items-container a {
    display: block;
    color: #000;
    width: 150px;
    text-decoration: none;
    border-bottom: 0.5px solid #ccc;
    display: flex;
    justify-content: center;
}

.menu-items-container a:hover {
    background-color: #1b3d9d;
    transition: background-color 0.5s ease;
    /* 添加背景颜色的过渡效果 */
}

.dropdown:hover .dropdown-content {
    max-height: 350px;
    /* 悬停时展开高度 */
    opacity: 1;
    /* 悬停时透明度为1 */
    visibility: visible;
    /* 悬停时可见 */
}

.dropdown-content .menu-items-container a:hover {
    color: #fff;
    /* 下拉菜单链接鼠标悬停时的文字颜色 */
}

.image-container {
    width: 400px;
    height: 350px;
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    /* 防止图片溢出容器 */
}

.image-container img {
    width: 80%;
    /* 图片宽度填充容器 */
    height: 85%;
    /* 图片高度填充容器 */
    object-fit: cover;
    /* 等比例填充容器 */
    padding: 20px;
    /* 上下左右内边距 */
    display: block;
    /* 将图片转换为块级元素 */
    margin: auto;
    /* 居中 */
}

.progress-bar {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #1b3d9d;
    transition: width 0.5s ease-in-out;
}

nav ul li:hover .progress-bar {
    width: 100%;
}

nav ul li:hover .progress-bar {
    width: calc(80% - 0px);
}


.show-btn {
    display: none;
    /* 初始状态下隐藏按钮 */
    align-items: center;
    /* 垂直居中 */
    justify-content: center;
    /* 水平居中 */
    height: 80px;
    /* 确保高度与导航栏一致 */
    width: 80px;
    /* 设置按钮宽度 */
    margin-left: auto;
    /* 将按钮推到最右侧 */
}

.show-btn img {
    width: 25px;
    /* 设定图片宽度 */
    height: 25px;
    /* 设定图片高度 */
    cursor: pointer;
    transition: transform 0.5s ease;
    /* 添加过渡效果 */
}

.rotate-90 {
    transform: rotate(90deg);
    /* 旋转90度 */
}


/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: absolute;
    top: 70px;
    /* 让菜单显示在header的下方 */
    left: 0;
    width: 100%;
    background-color: #f9f9fa;
    z-index: 1000;
}

.about-link {
    position: relative;
    border-bottom: 0.5px solid #ccc;
    /* 增加底边线 */
}

.about-link img {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 20px;
    /* 调整图片宽度 */
    height: auto;
    /* 根据宽度等比例缩放高度 */
    transition: transform 0.5s ease;
    /* 添加过渡效果 */
}

.about-link img.rotate {
    transform: translateY(-50%) rotate(-90deg);
    /* 旋转-90度 */
}

.submenu {
    border-bottom: 0.5px solid #ccc;
    /* 增加底边线 */
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    /* 容器内元素左对齐 */

}

.mobile-menu ul li {
    margin: 0;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    padding: 10px;
    display: block;
}


.Navigation-bar-menu {
    height: 70px;
    display: flex;
    align-items: center;
    padding-left: 190px;
    gap: 40px;
}

.Navigation-bar-menu img {
    width: 20px;
    height: auto;
}

.Navigation-bar-menu a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    transition: color 0.3s ease;
}

.Navigation-bar-menu a:hover {
    color: #1b3d9d;
}


/*底部导航*/
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 10px 0;

}

.footer .container-footer {
    display: flex;
    justify-content: space-around;
    max-width: 1500px;
    margin: 0 auto;
    margin-bottom: 60px;
    margin-top: 20px;
}

.footer .column {
    flex: 1;
}

.footer .column h3 {
    margin-bottom: 40px;
    font-weight: normal;
}

.footer .column ul {
    list-style: none;
    padding: 0;
}

.footer .column ul li {
    margin-bottom: 10px;
}

.footer .column ul li a {

    color: #d2d0c9;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .column ul li a:hover {
    color: white;
    text-decoration: none;
}

.footer .contact-info {
    margin-top: 10px;
    width: 350px;
}

.footer .contact-info a {
    font-size: 18px;
    display: block;
    line-height: 1.5;
    margin-bottom: 10px;
}

.footer .contact-info p {
    font-size: 28px;
    color: #0f79c0;
    margin: 20px 0;
}

.footer .social {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.footer .social img {
    width: 35px;
    height: auto;
    margin-right: 10px;
}

.footer .bottom-bar {
    width: 1500px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 10px;
}

.footer .bottom-bar .right {
    margin-right: 100px;
}

.footer .contact-us {
    flex: 1;
}

.footer .contact-info a.button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 55px; /* Add padding for button */
    background-color: #051e56;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer .contact-info a.button:hover {
    background-color: #04396f;
    color: #ffffff;
}


.animation-trigger {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animation-trigger.animate {
    opacity: 1;
    transform: translateY(0);
}


.floating-image {
    position: fixed;
    bottom: 70px; /* 调整此值以设置图片距离屏幕底部的距离 */
    right: 20px; /* 调整此值以设置图片距离屏幕右侧的距离 */
    z-index: 1000; /* 确保图片在其他元素之上 */
    background-color: rgba(6, 73, 161, 0.81); /* Change color for phone */
    padding: 10px; /* 给容器添加一些内边距 */
    border-radius: 5px; /* 设置圆角 */
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: translateX(100%); /* 初始状态在屏幕右侧外 */
    opacity: 0;
}

.floating-image.visible {
    transform: translateX(0); /* 显示时移入屏幕 */
    opacity: 1;
}

.floating-image img {
    width: 50px; /* 调整此值以设置图片宽度 */
    height: auto; /* 保持图片宽高比 */
    transition: transform 0.5s ease; /* 添加过渡效果 */
}

.floating-image img:hover {
    transform: scale(1.2); /* 放大图片 */
}

html {
    scroll-behavior: smooth; /* 启用平滑滚动 */
}

.footer .social-yc {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.footer .social-yc img {
    width: 100px;
    height: auto;
    margin-right: 10px;
}

.hover-image {
    transition: transform 0.3s ease; /* 设置过渡效果 */
    display: inline-block; /* 使图像变为块级元素，以便能够应用 transform */
    cursor: pointer; /* 当悬停在图像上时，改变光标为手形 */
}
.hover-image:hover {
    transform: scale(1.2); /* 放大1.2倍 */
}

.Display-pictures{
    width: 100%;
    height: 250px;
}