body {
    scroll-behavior: smooth; /* 启用平滑滚动效果 */
}

/* 共用样式 */
.custom-carousel {
    width: 100%;
    /* 其他共用样式 */
}

.header-row {
    height: 35px;
}

.header-col {
    color: #fff;
    font-size: 13px;
    line-height: 35px;
}


/* 导航样式 */
.navbar {
    background-color: #4b8ef2; /* 设置导航栏背景色为蓝色 */
    padding: 0;
}

.navbar-nav {
    width: 100%; /* 导航栏宽度为100% */
    text-align: center; /* 文字居中 */
}

.navbar-nav .nav-item {
    width: 33.33%; /* 平均分配导航项宽度 */
}

.navbar-nav .nav-link {
    color: #fff; /* 设置导航链接字体颜色为白色 */
    transition: background-color 0.3s, color 0.3s; /* 添加过渡效果 */
    height: 50px;
    padding: 0;
    line-height: 50px;
}

/*底部*/
footer a {
    color: #f1f1f1;
}

footer a:hover {
    text-decoration: underline;
}

/*关于志成*/
.about_zc {
    font-size: 14px;
    text-align: left;
    color: black;
    font-weight: bold;
    line-height: 240%;
}

/*行业新闻*/
.news li {
    text-align: left;
}

.news a {
    line-height: 240%;
    font-size: 14px;
    color: black;
    font-weight: bold;
    border-bottom: 1px dashed #666; /* 虚线下划线样式和颜色 */
    padding-bottom: 4px; /* 下划线距离文字的距离 */
}

/* 移动端样式 - 小屏幕 */
@media screen and (max-width: 767px) {
    .custom-carousel {
        height: 200px; /* 移动端高度 */
    }

    .mobile-content {
        display: block; /* 隐藏移动端内容 */
    }

    .pc-content {
        display: none; /* 显示PC端内容 */
    }

    footer {
        margin-top: 10px;
        background: #4b8ef2;
        /*height: 140px;*/
        /*line-height: 140px;*/
        font-size: 15px;
        color: #f1f1f1;
        text-align: center;
    }
}

/* PC端样式 - 大屏幕 */
@media screen and (min-width: 768px) {
    .custom-carousel {
        height: 500px; /* PC端高度 */
    }

    .navbar-nav .nav-link:hover {
        background-color: #fff; /* 悬停时背景变白 */
        color: #000; /* 悬停时字体变黑 */
    }

    .mobile-content {
        display: none; /* 隐藏移动端内容 */
    }

    .pc-content {
        display: block; /* 显示PC端内容 */
    }

    footer {
        margin-top: 10px;
        background: #4b8ef2;
        height: 140px;
        line-height: 140px;
        font-size: 15px;
        color: #f1f1f1;
        text-align: center;
    }
}