/* Nordic Green Theme CSS */
:root {
    --primary-color: #4D7F64; /* 北欧绿主色调 */
    --primary-dark: #3A614C; /* 深一点的北欧绿，用于悬停效果 */
    --primary-light: #6A9A80; /* 浅一点的北欧绿，用于背景等 */
    --primary-very-light: #EFF5F1; /* 非常浅的北欧绿，用于背景 */
    --accent-color: #D9B88F; /* 暖色调强调色，与北欧绿搭配 */
    --accent-dark: #C0A07A; /* 深一点的强调色 */
    --text-dark: #333333; /* 主要文字颜色 */
    --text-light: #FFFFFF; /* 浅色文字，用于深色背景 */
    --background-light: #FFFFFF; /* 浅色背景 */
    --background-alt: #F5F9F7; /* 交替背景色 */
    --border-color: #E0E9E4; /* 边框颜色 */
    --shadow-color: rgba(77, 127, 100, 0.1); /* 阴影颜色 */
}

/* 覆盖原有的蓝色主题样式 */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

/* 导航栏样式 */
header {
    background-color: var(--primary-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo a {
    display: block;
    background-color: var(--primary-color);
    padding: 5px;
    border-radius: 5px;
    color: var(--text-light);
}

nav ul li a {
    color: var(--text-light);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--text-light);
}

nav ul li a:after {
    background-color: var(--text-light);
}

/* 页面标题背景 */
.page-title-section {
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.page-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(77, 127, 100, 0.8) 0%, rgba(58, 97, 76, 0.9) 100%);
    z-index: 1;
}

.page-title-section .container {
    position: relative;
    z-index: 2;
}

/* 服务卡片样式 */
.service-card:hover {
    border-bottom: 3px solid var(--primary-color);
}

.service-card h3 {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
}

/* 统计数字样式 */
.stat-item h3 {
    color: var(--primary-color);
}

/* 页脚样式 */
footer {
    background-color: var(--primary-dark);
}

/* 服务页面标签样式 */
.tab-link.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.tab-link:hover {
    background-color: var(--primary-light);
    color: var(--text-light);
}

/* 轮播图样式 */
.hero-slider-barsan {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-video, .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

.slider-controls {
    position: absolute;
    bottom: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-controls button:hover {
    background-color: var(--primary-color);
}

/* 技术部分图标视觉效果 */
.tech-icon.animated-icon {
    transition: all 0.3s ease;
    background-color: var(--primary-very-light);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.tech-icon.animated-icon:hover {
    transform: translateY(-10px) scale(1.05);
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 10px 25px var(--shadow-color);
}

/* 增加按钮与下方板块的间距 */
.text-center {
    margin-bottom: 80px !important;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* 服务网格布局优化 */
.core-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* 服务图标网格布局 */
.service-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.service-icon-item {
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.service-icon-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.service-icon-link {
    display: block;
    text-decoration: none;
    color: var(--text-dark);
}

.service-icon {
    background-color: var(--primary-very-light);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
    color: var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.service-icon-item:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.service-icon-item h4 {
    font-size: 1.1rem;
    margin-top: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-icon-item:hover h4 {
    color: var(--primary-color);
}

/* 图片装饰效果 */
.overview-image, .cta-image {
    position: relative;
}

.image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    top: 20px;
    left: 20px;
    z-index: -1;
    border-radius: 8px;
}

/* CTA区域样式 */
.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cta-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.cta-text p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 30px var(--shadow-color);
}

/* 页脚增强样式 */
.footer-tagline {
    color: var(--accent-color);
    margin-top: 10px;
    font-style: italic;
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* 页面标题装饰 */
.page-title-decoration {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* 动画效果 */
.hero-content.animated {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

/* Innovation at the Core 部分的动画效果 */
.animated-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-highlight-item {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-color);
    text-align: center;
    transition: all 0.3s ease;
}

.tech-highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.tech-icon.animated-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-very-light);
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: all 0.5s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(77, 127, 100, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(77, 127, 100, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(77, 127, 100, 0);
    }
}

.service-content-grid {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.service-content-grid.animated {
    opacity: 1;
    transform: translateY(0);
}

.service-content-grid:nth-child(even) {
    transform: translateY(30px);
}

.service-content-grid:nth-child(odd) {
    transform: translateX(-30px);
}

.service-content-grid.animated:nth-child(even),
.service-content-grid.animated:nth-child(odd) {
    transform: translate(0, 0);
}

/* 优化版面布局 */
.overview-grid.enhanced {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 40px 0;
}

.service-card-hover {
    background-color: var(--background-light);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.service-card-hover:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary-color);
}

.service-icon-large {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-very-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card-hover:hover .service-icon-large {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* 服务页面标签内容样式 */
.service-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-link {
    padding: 15px 25px;
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-link i {
    font-size: 1.2rem;
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-content-grid.reverse {
    direction: rtl;
}

.service-content-grid.reverse .service-text {
    direction: ltr;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-light);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    color: var(--text-light);
}

.service-text h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.service-text ul {
    margin-bottom: 30px;
}

.service-text ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-text ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.service-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 30px var(--shadow-color);
    transition: transform 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.03);
}

/* Connecting the World 部分的动画效果 */
.animated-map {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin: 40px 0;
    transition: all 0.5s ease;
}

.animated-map img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.animated-map:hover img {
    transform: scale(1.03);
}

.animated-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.feature-item {
    background-color: var(--primary-very-light);
    padding: 15px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.feature-item:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 1.2rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .service-content-grid, .overview-grid.enhanced {
        grid-template-columns: 1fr;
    }
    
    .service-content-grid.reverse {
        direction: ltr;
    }
    
    .slider-controls button {
        width: 40px;
        height: 40px;
    }
    
    .animated-features {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== v1.3-2026-09-15：顶部导航栏 logo 转为纯白（底栏 .footer-logo 保持原样，不受影响） ===== */
/* 原理：filter 先把图片 RGB 压成黑，再整体反相为纯白；透明通道保持不变，抗锯齿边缘依然平滑 */
header .logo img {
    filter: brightness(0) invert(1);
}
