/* 通用样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

header {
    background: #003366;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

nav {
    background: #004080;
    padding: 10px;
    text-align: right;
}

nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

.banner {
    background: url(../img/3.png) no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 300px 30px;
}

.banner h1 {
    font-size: 3em;
    margin: 0;
}

.banner p {
    font-size: 1.2em;
}

.banner button {
    background: #ffcc00;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
}

.services h2, .about h2, .contact h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.service-item {
    display: inline-block;
    width: 45%;
    margin: 2% 30% 5% 30%;
    vertical-align: top;
    font-size: 18px;
}

footer {
    background: #003366;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

/* 轮播图样式 */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-item img {
    width: 100%;
    /* height: auto;*/ /* 保持图片比例 */
    height: 750px; /* 保持图片比例 */
    display: block;
}

#bah {
    text-decoration: none;
    color: #FFFFFF;
    font-family: 'Microsoft YaHei';
}

.men, .product {
    margin: 5% 30%;
}

.product h2 {
    text-align: center
}