/*
Theme Name: 万福达企业集团
Theme URI: http://example.com/
Description: 万福达企业集团官方网站WordPress主题
Author: 万福达企业集团
Author URI: http://example.com/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: business, corporate, responsive, bootstrap
Text Domain: wanfuda
*/

/* 自定义样式将从这里开始 */

/* 自定义样式 */
:root {
    /* 主色调 - 深蓝色，用于导航栏、重要标题 */
    --primary-dark: #1a365d;       /* RGB: 26, 54, 93 */
    
    /* 主色调 - 标准蓝色，用于按钮、链接 */
    --primary-main: #2c5282;       /* RGB: 44, 82, 130 */
    
    /* 主色调 - 中蓝色，用于次要元素、卡片边框 */
    --primary-medium: #4299e1;     /* RGB: 66, 153, 225 */
    
    /* 主色调 - 浅蓝色，用于背景、悬停效果 */
    --primary-light: #bee3f8;      /* RGB: 190, 227, 248 */
    
    /* 主色调 - 超浅蓝色，用于页面背景 */
    --primary-extra-light: #ebf8ff; /* RGB: 235, 248, 255 */
    
    /* 中性色 - 白色，用于文本、卡片背景 */
    --neutral-white: #ffffff;
    
    /* 中性色 - 浅灰色，用于边框、分隔线 */
    --neutral-light: #e2e8f0;      /* RGB: 226, 232, 240 */
    
    /* 中性色 - 深灰色，用于正文文本 */
    --neutral-dark: #4a5568;       /* RGB: 74, 85, 104 */
    
    /* 中性色 - 黑色，用于标题 */
    --neutral-black: #1a202c;      /* RGB: 26, 32, 44 */
    
    /* 功能色 - 成功色（蓝色变体），用于健康相关内容 */
    --success-blue: #3182ce;       /* RGB: 49, 130, 206 */
    
    /* 功能色 - 警告色（蓝色变体），用于重要提示 */
    --warning-blue: #63b3ed;       /* RGB: 99, 179, 237 */
    
    /* 阴影色 */
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* 过渡时间 */
    --transition-speed: 0.3s;
    
    /* 圆角 */
    --border-radius: 10px;
}

body {
    font-family: "Microsoft YaHei", "Segoe UI", "PingFang SC", sans-serif;
    background-color: #f8f9fa;
    line-height: 1.6;
    color: var(--neutral-dark);
    overflow-x: hidden; /* 防止水平滚动条 */
    padding-top: 56px; /* Bootstrap标准导航栏高度 */
}

/* 优化容器布局 */
.container {
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
}

/* 主要内容区域 */
main {
    padding: 2rem 0;
}

/* 区块间距优化 */
section {
    margin-bottom: 2.5rem;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--primary-dark) !important;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* 导航链接样式优化 */
.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    color: var(--neutral-light) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-light) !important;
}

.navbar-nav .nav-link.active {
    font-weight: bold;
    color: var(--primary-light) !important;
}

/* 折叠导航栏优化 */
.navbar-collapse {
    justify-content: flex-end;
}

/* 页面标题样式 */
header {
    margin-top: 0; /* 固定导航栏通过body padding处理 */
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-main)) !important;
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* 首页主要内容区域优化 */
.home-main {
    padding: 0;
}

/* 背景图案样式 */
.bg-pattern {
    background: 
        radial-gradient(circle at 10% 20%, rgba(44, 82, 130, 0.05) 0%, transparent 15%),
        radial-gradient(circle at 90% 80%, rgba(44, 82, 130, 0.05) 0%, transparent 15%);
}

header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

/* 页面标题文字样式增强 */
.page-title {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.page-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-medium));
    margin: 15px auto;
    border-radius: 2px;
}

.page-subtitle {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    font-size: 1.25rem;
}

/* 页面标题渐变背景 */
.page-header-gradient {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    position: relative;
    overflow: hidden;
}

.page-header-gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

/* 首页区块标题样式 */
.section-title {
    position: relative;
    color: var(--primary-dark);
    padding-bottom: 20px;
    margin-bottom: 30px;
    font-weight: 800;
    font-size: 2.2rem;
    text-align: center;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-main), var(--primary-medium), var(--primary-light));
    border-radius: 3px;
}

/* 公司模板区块标题样式（左对齐带图标） */
.section-title.section-title-left {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2c5282;
    display: flex;
    align-items: center;
}

.section-title.section-title-left::after {
    display: none;
}

.section-title i {
    margin-right: 15px;
    font-size: 1.5rem;
}

/* 区块副标题样式 */
p.text-muted {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* 首页欢迎区域样式 */
.welcome-section {
    background: linear-gradient(135deg, var(--primary-extra-light), #f0f9ff);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.welcome-section::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-medium));
    opacity: 0.1;
}

.welcome-section::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-main));
    opacity: 0.1;
}

/* 首页统计数据样式 */
.stat-card {
    background: linear-gradient(to bottom, var(--neutral-white), #f8f9fa);
    border-radius: var(--border-radius);
    box-shadow: 0 0.125rem 0.25rem var(--shadow-color);
    transition: all var(--transition-speed) ease;
    height: 100%;
    border: 1px solid var(--neutral-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.stat-number {
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--neutral-dark);
    font-weight: 500;
}

/* 首页合作伙伴样式 */
.partner-logo {
    transition: all var(--transition-speed) ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo .rounded-circle {
    transition: all var(--transition-speed) ease;
}

.partner-logo:hover .rounded-circle {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

.partner-name {
    font-weight: 500;
    color: var(--neutral-dark);
    margin-top: 0.5rem;
}

/* 动画装饰元素 */
.animation-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-medium));
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

.floating-element-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-element-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(10px, -10px) rotate(3deg);
    }
}

/* 页面标题文字样式 */
.page-title {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.page-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-medium));
    margin: 15px auto;
    border-radius: 2px;
}

.page-subtitle {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* 卡片样式 */
.card {
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--neutral-light);
    box-shadow: 0 0.125rem 0.25rem var(--shadow-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, var(--neutral-white), #f8f9fa);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 首页内容卡片样式 */
.content-card {
    border-left: 4px solid var(--primary-main);
    background: linear-gradient(to right, rgba(44, 82, 130, 0.05), var(--neutral-white));
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.03), transparent);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.content-card:hover {
    border-left-width: 6px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.content-card:hover::before {
    opacity: 1;
}

/* 内容卡片边框样式 */
.border-start.border-4 {
    border-left-width: 4px !important;
}

/* 内容卡片样式 */
.content-card {
    border-left: 4px solid var(--primary-main);
}

/* 特色盒子样式 */
.feature-box {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: linear-gradient(135deg, var(--neutral-white), #f8fafc);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-main), var(--primary-medium));
    transition: all 0.4s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature-box:hover::before {
    height: 6px;
}

.feature-icon {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), #dbeafe);
    border-radius: 50%;
    margin-bottom: 20px;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-main));
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.2);
}

.feature-icon i {
    font-size: 28px;
    color: var(--primary-main);
    transition: all 0.4s ease;
}

.feature-box:hover .feature-icon i {
    color: white;
}

.feature-box h5 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.feature-box p {
    color: var(--neutral-dark);
    line-height: 1.7;
    flex-grow: 1;
}

/* 子标题样式 */
.section-subtitle {
    position: relative;
    color: var(--primary-dark);
    padding-bottom: 15px;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
}

.section-subtitle::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-main), var(--primary-medium), var(--primary-light));
    border-radius: 2px;
}

/* 企业文化特殊样式 */
.mt-5 .section-subtitle {
    color: var(--primary-dark);
}

.mt-5 .section-subtitle::after {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-main), var(--primary-medium));
}

/* 企业文化区块装饰 */
.mt-5 {
    position: relative;
}

.mt-5::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-main), var(--primary-dark));
    border-radius: 2px;
}

.mt-5::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-main), var(--primary-light));
    border-radius: 2px;
}

/* 首页案例卡片样式 */
.case-card {
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--neutral-light);
    box-shadow: 0 0.125rem 0.25rem var(--shadow-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.case-card .card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.case-card .card-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.case-card .btn {
    margin-top: auto;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
    border-color: var(--primary-medium);
}

/* 首页证书卡片样式 */
.certificate-card {
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--neutral-light);
    box-shadow: 0 0.125rem 0.25rem var(--shadow-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.certificate-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.certificate-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem;
}

.certificate-card .card-title {
    color: var(--primary-dark);
    font-weight: 600;
}

.certificate-card:hover {
    transform: scale(1.05);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
    border-color: var(--primary-medium);
}

/* 证书和专利卡片样式 */
.patent-card,
.certificate-card {
    border-top: 4px solid var(--primary-main) !important;
    transition: all 0.3s ease;
    height: 100%;
}

.patent-card:hover,
.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
}

/* 关于我们页面证书和专利卡片特殊样式 */
.about-page .certificate-card-about,
.about-page .patent-card-about {
    max-width: 280px;
    margin: 0 auto;
}

.about-page .certificate-img,
.about-page .patent-img {
    width: 30%;
    height: auto;
    object-fit: contain;
    margin: 1.5rem auto 1rem;
    min-width: 100px;
    max-width: 150px;
}

.patent-card .card-body,
.certificate-card .card-body {
    padding: 1.5rem;
}

.patent-card .card-title,
.certificate-card .card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.patent-card .card-text,
.certificate-card .card-text {
    color: var(--bs-gray-700);
    line-height: 1.6;
}



/* 卡片标题样式优化 */
.card-title {
    color: var(--primary-main);
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.card-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-main), var(--primary-medium));
    border-radius: 1.5px;
}

/* 卡片标题样式优化 */
.card-title {
    color: var(--primary-main);
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.card-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-main), var(--primary-medium));
    border-radius: 1.5px;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-main), var(--primary-medium));
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
    border-color: var(--primary-medium);
}

.card:hover::after {
    opacity: 1;
}

/* 图片卡片样式 */
.img-card {
    transition: all var(--transition-speed) ease;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.img-card img {
    transition: all var(--transition-speed) ease;
    transform: scale(1);
}

.img-card:hover img {
    transform: scale(1.05);
}

.img-card .card-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.img-card:hover .card-img-overlay {
    opacity: 1;
}

/* 公司介绍页面样式 */
.hero-section {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.company-name {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.6rem;
    font-weight: 500;
    opacity: 0.9;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    width: 80%;
    margin: 0 auto 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    min-width: 200px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.content-section {
    background: white;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.content-section:hover {
    transform: translateY(-5px);
}

.highlight {
    color: #1a365d;
    font-weight: 600;
}

.image-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: scale(1.03);
}

.image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.image-caption {
    padding: 15px;
    background: #f8f9fa;
    font-size: 0.9rem;
    text-align: center;
    color: #555;
}

.project-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #2c5282;
}

.project-img {
    height: 200px;
    width: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-img .emoji-placeholder {
    color: #777;
    font-size: 3rem;
}

.project-info {
    padding: 20px;
}

.project-name {
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a365d;
}

.project-area {
    color: #666;
    font-size: 0.95rem;
}

.badge-custom {
    background: #e3f2fd;
    color: #1a365d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #bbdefb;
    display: inline-block;
    margin: 5px;
}

.trademark {
    text-align: center;
    max-width: 200px;
}

.trademark-img {
    height: 180px;
    background-color: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 2.5rem;
    color: #1a365d;
}

.trademark-name {
    font-weight: 600;
    color: #333;
}

.certificate {
    max-width: 300px;
    text-align: center;
}

.certificate-img {
    height: 300px;
    background-color: #f5f5f5;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #1a365d;
}

.image-placeholder {
    background: linear-gradient(45deg, #e0e0e0, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.9rem;
    height: 200px;
}

@media (max-width: 768px) {
    .page-header-gradient {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .section-title::after {
        width: 60px;
        height: 4px;
    }
    
    .content-card {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .feature-box {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-box h5 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .feature-box p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .certificate-card-about {
        margin-bottom: 15px;
    }
    
    .certificate-img {
        height: 200px;
        object-fit: cover;
    }
    
    .certificate-card-about .card-title {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .certificate-card-about .card-text {
        font-size: 0.85rem;
    }
    
    .company-name {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .stat-item {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .content-section {
        padding: 25px 15px;
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
    
    .timeline-body p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .pt-5 {
        padding-top: 2rem !important;
    }
    
    .fade-in-up {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding: 60px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-main), var(--primary-dark));
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-main);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--primary-light);
    z-index: 1;
}

.timeline-end {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-dark);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--primary-light);
    z-index: 1;
}

/* 发展历程特殊标题样式 */
.bg-light .section-title {
    color: var(--primary-dark);
}

.bg-light .section-title::after {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-main), var(--primary-medium));
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    min-height: 180px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-badge {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
    border-radius: 50%;
    left: 50%;
    margin-left: -20px;
    top: 40px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: 3px solid var(--neutral-white);
}

.timeline-badge i {
    color: white;
    font-size: 18px;
    line-height: 1;
    margin: auto;
}

.timeline-panel {
    width: 46%;
    float: left;
    padding: 35px;
    background: linear-gradient(135deg, var(--neutral-white), #f1f8ff);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.timeline-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-main), var(--primary-medium), var(--primary-light));
}

.timeline-panel::after {
    content: "";
    position: absolute;
    top: 25px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: var(--neutral-white);
    transform: rotate(45deg);
    z-index: 1;
}

.timeline-panel:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.timeline-item:nth-child(even) .timeline-panel {
    float: right;
}

.timeline-item:nth-child(even) .timeline-panel::after {
    left: -15px;
    right: auto;
}

.timeline-heading {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.timeline-body {
    position: relative;
    z-index: 2;
}

.timeline-body p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--neutral-dark);
}

/* 业务页面卡片样式 */
.card-primary {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.15);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #fff 0%, var(--primary-extra-light) 100%);
}

.card-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(44, 82, 130, 0.25);
}

.card-success {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.15);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #fff 0%, #ebf8ff 100%);
}

.card-success:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(49, 130, 206, 0.25);
}

.card-warning {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(99, 179, 237, 0.15);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
}

.card-warning:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(99, 179, 237, 0.25);
}

.feature-icon {
    background: linear-gradient(135deg, var(--primary-main), var(--primary-medium));
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
    transition: all 0.3s ease;
}

.card-primary:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(44, 82, 130, 0.4);
}

.card-success .feature-icon {
    background: linear-gradient(135deg, var(--success-blue), var(--primary-medium));
}

.card-success:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(49, 130, 206, 0.4);
}

.card-warning .feature-icon {
    background: linear-gradient(135deg, var(--warning-blue), var(--primary-light));
}

.card-warning:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(99, 179, 237, 0.4);
}

/* 手风琴样式优化 */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-extra-light);
    color: var(--primary-dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(66, 153, 225, 0.25);
}

.accordion-item {
    border: 1px solid var(--primary-light);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-item:first-of-type {
    border-radius: 8px;
}

.accordion-item:last-of-type {
    border-radius: 8px;
}

.accordion-button {
    font-weight: 600;
    color: var(--primary-dark);
}

.accordion-body {
    background-color: var(--neutral-white);
}

.accordion-body ul {
    margin-bottom: 0;
}

.accordion-body li {
    margin-bottom: 8px;
    padding-left: 8px;
}

/* 业务页面卡片通用样式 */
section .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

section .card-title {
    color: var(--primary-dark);
    font-weight: 600;
}

section .card h6 {
    color: var(--primary-main);
    font-weight: 600;
    margin-bottom: 12px;
}

section .card ul {
    padding-left: 20px;
}

section .card ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .card-primary,
    .card-success,
    .card-warning {
        margin-bottom: 16px;
    }
    
    .feature-icon {
        width: 60px !important;
        height: 60px !important;
        line-height: 60px !important;
        font-size: 20px !important;
    }
    
    .accordion-item {
        margin-bottom: 8px;
    }
    
    .accordion-button {
        font-size: 0.95rem;
        padding: 12px 16px;
    }
    
    .accordion-body {
        padding: 12px 16px;
    }
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
        background: linear-gradient(to bottom, var(--primary-main), var(--primary-dark));
    }
    
    .timeline-badge {
        left: 30px;
        margin-left: -20px;
        top: 40px;
        background: var(--primary-main);
        border: 3px solid white;
        width: 40px;
        height: 40px;
        line-height: 34px;
    }
    
    .timeline-panel {
        width: calc(100% - 80px);
        float: right;
        padding: 15px;
        margin-bottom: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-radius: 8px;
    }
    
    .timeline-item:nth-child(even) .timeline-panel {
        float: right;
    }
    
    .timeline {
        padding: 20px 0;
    }
    
    .timeline-item {
        margin-bottom: 10px;
    }
    
    .timeline-panel::after {
        display: none;
    }
    
    .core-company-seamless {
        margin-bottom: 15px;
    }
    
    .core-company-seamless .col-md-5 {
        height: 200px;
    }
    
    .core-company-seamless h5 {
        font-size: 1.1rem;
    }
    
    .core-company-seamless p {
        font-size: 0.9rem;
    }
    
    .core-company-seamless .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .core-company-mobile {
        margin-bottom: 16px;
    }
    
    .core-company-mobile .card-img-top {
        height: 160px;
    }
    
    .core-company-mobile .card-body {
        padding: 12px;
    }
    
    .core-company-mobile .card-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .core-company-mobile .card-text {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
}

/* 核心企业样式 */
.core-company-seamless {
    transition: all 0.3s ease;
}

.core-company-seamless:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.core-company-seamless h5 {
    font-weight: 600;
    font-size: 1.25rem;
}

.core-company-seamless p {
    color: var(--bs-gray-700);
    line-height: 1.6;
}

.object-fit-cover {
    object-fit: cover;
}

/* 核心企业移动端样式 */
.core-company-mobile {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #fff;
}

.core-company-mobile:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.core-company-mobile .card-img-top {
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
}

.core-company-mobile .card-body {
    padding: 16px;
}

.core-company-mobile .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.core-company-mobile .card-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.core-company-mobile .btn {
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 6px;
}

/* 悬浮提升效果 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* 联系我们页面样式 */
.contact-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.15);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #fff 0%, var(--primary-extra-light) 100%);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(44, 82, 130, 0.25);
}

.contact-card .feature-icon {
    background: linear-gradient(135deg, var(--primary-main), var(--primary-medium));
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
    transition: all 0.3s ease;
}

.contact-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(44, 82, 130, 0.4);
}

.subsidiary-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: var(--neutral-white);
}

.subsidiary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.subsidiary-card .feature-icon {
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-light));
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
    transition: all 0.3s ease;
}

.subsidiary-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(66, 153, 225, 0.4);
}

.subsidiary-card h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.subsidiary-card .card-text {
    font-size: 0.85rem;
    color: var(--neutral-dark);
    margin-bottom: 4px;
}

/* 联系表单样式 */
#contactForm {
    background: var(--neutral-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#contactForm .form-label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

#contactForm .form-control {
    border: 1px solid var(--neutral-light);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

#contactForm .form-control:focus {
    border-color: var(--primary-medium);
    box-shadow: 0 0 0 0.2rem rgba(66, 153, 225, 0.15);
}

#contactForm .btn-primary {
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-main), var(--primary-medium));
    border: none;
    transition: all 0.3s ease;
}

#contactForm .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 82, 130, 0.3);
}

/* 地图容器样式 */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* 联系页面移动端优化 */
@media (max-width: 768px) {
    .contact-card {
        margin-bottom: 16px;
    }
    
    .contact-card .feature-icon {
        width: 60px !important;
        height: 60px !important;
        line-height: 60px !important;
        font-size: 20px !important;
    }
    
    .subsidiary-card {
        margin-bottom: 16px;
    }
    
    .subsidiary-card .feature-icon {
        width: 45px !important;
        height: 45px !important;
        line-height: 45px !important;
        font-size: 18px !important;
    }
    
    #contactForm {
        padding: 20px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}
