body {
    padding: 0px;
    margin: 0px;
}
body img{
    width: 100%;
    height: 100%;
}

.navbar {
    transition: font-size 0.3s ease; /* 平滑过渡效果 */
    position: fixed; /* 固定在顶部 */
    top: 0;
    left: 0;
    width: 100%;
    height: 6%;
    background-color:#095ea9;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    z-index: 1000; /* 确保菜单栏在最上层 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 添加阴影 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-sizing: border-box;
}

/* 左侧图片样式 */
.logo img {
    width: 10%;
    height: auto; /* 根据需要调整图片高度 */
    margin-left: 15%; /* 图片与菜单项的间距 */
}

/* 菜单项样式 */
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    bottom: 0;
}
/* 媒体查询，用于调整不同分辨率下的字体大小 */
@media (max-width: 1000px) {
    .nav-list  {
        left: 45%;
    }
}
/* 媒体查询，用于调整不同分辨率下的字体大小 */
@media (max-width: 800px) {
    .nav-list li a  {
       width: 30px;
       display: block;
    }
    .nav-list  {
        left: 30%;
    }
}

/*.nav-list img {*/
/*    width: 15px;*/
/*    height: auto;*/
/*    position: absolute;*/
/*    top: 90%;*/
/*    left: 50%;*/
/*    margin-left: -7px;*/
/*    display: none;*/
/*}*/

.nav-list .white{
    /*position: absolute;*/
    position: relative;
    background-color: #ffff;
    width:100%;
    height: 3px;
    top: 140%;
    margin-top: 8px;
    visibility: hidden;
    /*display: none;*/
}
.nav-list .white::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 5px 5px 5px;
    border-color: transparent transparent #fff transparent;
    transform: translate(-50%, -100%);
}

.nav-list li {
    margin: 0 20px;
    position: relative;
}

.nav-list li a {
    color: white;
    text-decoration: none;
    font-size: 0.75vw; /* 使用视口宽度的2%作为字体大小 */
    transition: color 0.3s ease;
}


.nav-list li:hover .arrow {
    visibility: visible;
}

.nav-list li:hover .white {
    visibility: visible;
}


.contact{
    width: 100%;
    height:350px;
    background-color: #007bff;
}

/* 轮播图容器 */
.carousel {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

/* 图片列表 */
.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

/* 图片项 */
.carousel-item {
    min-width: 99%;
    box-sizing: border-box;
}

.carousel-item img {
    width: 100%;
    display: block;
}

.img{
    width: 60%;
    margin: auto;
    margin-top: 7.8vw;
    overflow: hidden;

}

/* 导航按钮 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
}

.carousel-control.prev {
    left: -40px;
}

.carousel-control.next {
    right: -40px;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* 导航指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 10%;
    left: 22.5%;
    /*transform: translateX(-50%);*/
    display: flex;
    margin-bottom: 20px;
}

.indicator {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    border: 1px slategrey solid;

}

.indicator.active {
    background-color: white;
}

.title{
    width: 80%;
    margin-left: 3%;
    display: flex;
    justify-content: space-evenly;
    position: absolute;
}

.title img{
    padding-left: 3.6vw;
    position: absolute;
    z-index: 0;
    width: 5.2vw;
    height: auto;
    opacity: 0.1;
}

.title .text{
    position: absolute;
    top: 2.6vw;
    font-size: 2vw; /* 使用视口宽度的2%作为字体大小 */
    font-weight: bolder;
}

.title .blue{
    position: absolute;
    top: 3.125vw;
    background-color: #2299ee;
    width: 7.3vw;
    height: 1vw;
    z-index: -1;
    margin-left: 3%;
    margin-top: 1%;
}
.contact-us {
    font-size: 1.5vh; /* 使用视口宽度的2%作为字体大小 */
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #00a2e8; /* 深蓝色背景 */
    color: white;
}

.contact-info {
    width: 50%;
    margin-left: 20%;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    margin: 10px 0;
}

.contact-form {
    width: 45%;
    margin-right: 20%;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-top: 10px;
}

.contact-form input[type="text"],
.contact-form textarea,
.contact-form input[type="tel"] {
    padding: 8px;
    margin-top: 5px;
    border: none;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    height: 100px;
}

.contact-form button {
    margin-top: 20px;
    padding: 10px;
    background-color: #003366; /* 深蓝色按钮 */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #0055a3; /* 按钮悬停效果 */
}

.copyright {
    padding: 10px 0;
    font-size: 13px;
    text-align: center;
    color: #fff;
    background: #444;
}