﻿body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.header1 .container,
footer .container {
    max-width: 1600px;
}

.header1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header1 .top-bg {
    background: transparent;
    transition: all 0.3s ease;
}

.header1.scrolled .top-bg {
    background: rgba(102, 126, 234, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header1 .nav ul {
    justify-content: flex-end;
}

.header1 .nav ul li a {
    color: #fff;
}

@media (max-width: 991px) {
    .header1 .nav ul li a {
        color: #333;
    }
}

.header1 .num {
    color: #fff;
}

.header1 .nav-toggle {
    color: #fff;
}

.banners {
    margin-top: 0;
}

.header1 .document-flow {
    position: relative;
}

.page-header-optimized {
    position: relative;
}

.page-header-optimized .top-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.page-header-optimized .document-flow {
    position: relative;
}

.page-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.page-banner h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 16px;
}

.content-section-white {
    padding: 80px 0;
    background-color: #fff;
}

.content-section-gray {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.intro-image {
    width: 100%;
    border-radius: 10px;
}

.intro-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 0.5em;
}

.service-icon i {
    font-size: 28px;
    color: #fff;
}

.footer-services-row {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-service-box {
    text-align: center;
    padding: 25px 15px;
    transition: all 0.3s ease;
}

.footer-service-box:hover {
    transform: translateY(-5px);
}

.footer-service-icon-white {
    font-size: 36px;
    color: #fff;
    margin-bottom: 15px;
    display: block;
}

.footer-service-box span {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.footer-services {
    margin-top: 30px;
}

.footer-services-title {
    font-size: 16px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.footer-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-qrcode-image {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
}

.footer-service-label {
    font-size: 12px;
    color: #ccc;
}

.footer-section-title {
    font-size: 16px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-item {
    margin-bottom: 8px;
}

.footer-nav-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-nav-link:hover {
    color: #fff;
}

.footer-nav-icon {
    margin-right: 5px;
    font-size: 12px;
}

.footer-contact-item {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 14px;
}

.footer-contact-icon {
    margin-right: 8px;
    color: #667eea;
}

.footer-contact-image {
    display: block;
    width: 84px;
    height: 84px;
    margin-top: 14px;
    object-fit: contain;
}

.footer-qrcode-wrapper {
    display: flex;
    gap: 20px;
}

.footer-qrcode-item {
    text-align: center;
}

.footer-qrcode-image {
    width: 100px;
    height: 100px;
    border: 2px solid #fff;
    border-radius: 5px;
    margin-bottom: 8px;
}

.footer-qrcode-label {
    font-size: 12px;
    color: #ccc;
}

.footer-copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 15px;
}

.news-section {
    padding: 80px 0;
}

.news-section .row {
    display: flex;
    align-items: stretch;
}

.news-section .col-md-5,
.news-section .col-md-7 {
    display: flex;
    flex-direction: column;
}

.news-swiper-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.news-swiper-wrapper .swiper-container {
    height: 100%;
}

.news-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-section .news-list {
    padding-left: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px;
    color: #fff;
}

.news-slide-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.news-slide-date {
    font-size: 14px;
    opacity: 0.9;
}

.news-section .news-list {
    padding-left: 30px;
}

.news-section .news-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s ease;
}

.news-section .news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-section .news-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
    transition: color 0.3s;
}

.news-section .news-item h3:hover {
    color: #667eea;
}

.news-section .news-item-meta {
    color: #999;
    font-size: 13px;
    margin-bottom: 10px;
}

.news-section .meta-divider {
    margin-left: 15px;
}

.news-section .news-item p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.animated {
    animation-duration: 0.8s;
}

.intro-row {
    align-items: center;
    margin-bottom: 60px;
}

.animated {
    animation-duration: 0.8s;
}

.intro-row {
    align-items: center;
    margin-bottom: 60px;
}

/* 新闻详情页样式 */
.news-detail-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.news-detail-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.news-detail-banner p {
    font-size: 14px;
}

.news-detail-banner a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.news-detail-banner a:hover {
    color: #fff;
}

.news-detail-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.article-wrapper {
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-wrapper h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-meta {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    color: #999;
    font-size: 14px;
}

.article-meta span {
    margin-left: 30px;
}

.article-meta span:first-child {
    margin-left: 0;
}

.article-content {
    font-size: 16px;
    line-height: 2;
    color: #555;
}

.article-content p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.article-content h3 {
    font-size: 20px;
    color: #333;
    margin: 30px 0 15px;
    font-weight: 600;
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-footer>div {
    margin-bottom: 15px;
    color: #666;
}

.article-footer>div:last-child {
    margin-bottom: 0;
}

.article-footer a {
    color: #667eea;
    text-decoration: none;
}

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

.sidebar-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-box h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.sidebar-box ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sidebar-box ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-box ul li a {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    display: block;
    text-decoration: none;
}

.sidebar-box ul li a:hover {
    color: #667eea;
}

.sidebar-box ul li span {
    color: #999;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.sidebar-box p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

.sidebar-box p:last-child {
    margin-bottom: 0;
}

.sidebar-box i {
    color: #667eea;
    margin-right: 8px;
}

.sidebar-contact-image {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.sidebar-contact-image img {
    display: inline-block;
    width: 120px;
    height: 120px;
    object-fit: contain;
}


@media (max-width: 768px) {
    .page-banner {
        padding: 40px 0;
    }

    .page-banner h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .page-banner p {
        font-size: 14px;
    }

    .content-section-white,
    .content-section-gray {
        padding: 25px 0;
    }

    .news-section {
        padding: 25px 15px;
    }

    .news-section .col-md-5,
    .news-section .col-md-7,
    .news-section .col-sm-5,
    .news-section .col-sm-7 {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }

    .news-section .news-list {
        padding-left: 0;
        gap: 30px;
        margin-top: 20px;
    }

    .intro-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .intro-text {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .intro-row {
        margin-bottom: 30px;
    }

    .news-section .news-item {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .news-section .news-item h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .news-section .news-item p {
        font-size: 14px;
    }

    .news-slide-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .news-slide-date {
        font-size: 13px;
    }

    .news-slide-overlay {
        padding: 20px;
    }

    .footer-services-row {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .footer-services-row .col-xs-6 {
        width: 25% !important;
        padding: 0;
        margin: 0;
        float: left;
    }

    .footer-service-box {
        padding: 12px 8px;
    }

    .footer-service-icon-white {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .footer-service-box span {
        font-size: 12px;
    }

    .footer-services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .footer-section-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-nav-link,
    .footer-contact-item {
        font-size: 13px;
        line-height: 1.6;
    }

    .footer-nav-item {
        margin-bottom: 6px;
        display: block;
        width: 100%;
    }

    .footer-contact-item {
        margin-bottom: 6px;
        display: block;
    }

    .footer-qrcode-wrapper {
        justify-content: center;
        gap: 12px;
    }

    .footer-qrcode-image {
        width: 70px;
        height: 70px;
    }

    .footer-qrcode-label {
        font-size: 11px;
    }

    .footer-logo {
        font-size: 13px;
        margin-top: 10px;
        line-height: 1.6;
    }

    .footer-copyright {
        margin-top: 15px;
        padding-top: 12px;
        font-size: 11px;
    }
}

/* 首页案例展示区域样式 */
.cases-new {
    padding: 80px 0;
    background-color: #fff;
}

.cases-container {
    padding: 0 15px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 40px;
}

.case-item {
    position: relative;
    height: 350px;
    overflow: hidden;
    cursor: pointer;
}

.case-content {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 图片类型的案例 */
.case-image .case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.case-image .case-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.95);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.case-image:hover .case-img {
    transform: scale(1.1);
}

.case-image:hover .case-text-overlay {
    opacity: 1;
}

.case-text-overlay h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.case-text-overlay p {
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

/* 文字类型的案例 */
.case-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.case-text .case-text-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #fff;
    transition: opacity 0.6s ease;
}

.case-text .case-text-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.case-text .case-text-content p {
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

.case-text .case-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.case-text:hover .case-text-content {
    opacity: 0;
}

.case-text:hover .case-img-overlay {
    opacity: 1;
}

/* 新闻轮播样式 */
.news-section .news-item:hover h3 {
    color: #667eea;
}

.news-section .news-item:hover {
    transform: translateX(10px);
}

#newsSwiper .swiper-slide {
    position: relative;
}

#newsSwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}

#newsSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #667eea;
}

/* 新闻详情页面包屑导航 */
.breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: #fff;
}

/* 联系我们页面地图区域 */
.map-section {
    position: relative;
    width: 100%;
    height: 400px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.map-address-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.map-address-box {
    background: rgba(102, 126, 234, 0.95);
    color: #fff;
    padding: 30px 50px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.map-address-box i {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
}

.map-address-box h3 {
    font-size: 20px;
    margin: 0;
    font-weight: 600;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-item {
        height: 300px;
    }

    .case-text-overlay h3,
    .case-text .case-text-content h3 {
        font-size: 24px;
    }

    .case-text-overlay p,
    .case-text .case-text-content p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .cases-new {
        padding: 40px 0;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .case-item {
        height: 280px;
    }

    .case-text-overlay,
    .case-text .case-text-content {
        padding: 30px 20px;
    }

    .case-text-overlay h3,
    .case-text .case-text-content h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .case-text-overlay p,
    .case-text .case-text-content p {
        font-size: 14px;
    }

    .news-detail-section {
        padding: 40px 0;
    }

    .article-wrapper {
        padding: 25px;
    }

    .article-wrapper h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .article-meta {
        padding: 12px 0;
        margin-bottom: 20px;
        font-size: 13px;
    }

    .article-meta span {
        margin-left: 15px;
        display: inline-block;
    }

    .article-content {
        font-size: 15px;
        line-height: 1.8;
    }

    .article-content p {
        margin-bottom: 15px;
    }

    .article-content h3 {
        font-size: 18px;
        margin: 20px 0 12px;
    }

    .sidebar-box {
        padding: 20px;
        margin-bottom: 15px;
    }

    .sidebar-box h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .map-section {
        height: 300px;
    }

    .map-address-box {
        padding: 20px 30px;
    }

    .map-address-box i {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .map-address-box h3 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .case-item {
        height: 250px;
    }

    .case-text-overlay h3,
    .case-text .case-text-content h3 {
        font-size: 20px;
    }

    .article-wrapper {
        padding: 20px;
    }

    .article-wrapper h1 {
        font-size: 20px;
    }

    .article-meta {
        font-size: 12px;
    }

    .article-meta span {
        margin-left: 10px;
    }

    .article-content {
        font-size: 14px;
    }

    .article-content h3 {
        font-size: 16px;
    }

    .map-section {
        height: 250px;
    }

    .map-address-box {
        padding: 15px 20px;
    }

    .map-address-box i {
        font-size: 24px;
    }

    .map-address-box h3 {
        font-size: 14px;
    }
}