/* 自定义样式 */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 导航栏样式 */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #0056b3;
}

/* 新闻模块响应式设计 */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .news-sidebar-container {
        flex-direction: row;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-sidebar-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .news-card img {
        aspect-ratio: 4/3;
    }
    
    .news-card .news-content {
        padding: 15px;
    }
    
    .news-card .news-content h4 {
        font-size: 15px;
    }
    
    .featured-news img {
        aspect-ratio: 4/3;
    }
    
    .featured-news .news-content {
        padding: 20px 15px 15px;
    }
    
    .featured-news .news-content h4 {
        font-size: 16px;
    }
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* 英雄区域样式 */
.hero-section {
    height: 600px;
    background: linear-gradient(rgba(25, 42, 86, 0.7), rgba(39, 60, 117, 0.7)), url(../images/banner.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    margin: 0 10px;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 25px;
}

/* 按钮样式 */
.btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 卡片样式 */
.card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-card {
    height: 100%;
}

.feature-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .card-img-top {
    transform: scale(1.05);
}

/* 解决方案样式 */
.solution-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.solution-item:hover {
    transform: scale(1.02);
}

.solution-overlay {
    transition: background 0.3s ease;
}

.solution-item:hover .solution-overlay {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.8));
}

/* 关于我们部分 */
#about .row {
    align-items: center;
}

#about img {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#about img:hover {
    transform: translateY(-5px);
}

/* 图标样式 */
.rounded-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 新闻卡片 */
#news .card {
    height: 100%;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#news .card:hover {
    transform: translateY(-3px);
}

/* 联系表单 */
#contact .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

#contact .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* 核心优势样式 */
.core-advantages {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.advantages-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
}

.advantages-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 2px;
}

.advantage-items {
    margin-bottom: 40px;
}

.advantage-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.08); */
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.advantage-icon i {
    font-size: 24px;
    color: white;
}

.advantage-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.advantage-text p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.advantage-description {
    margin-bottom: 30px;
}

.advantage-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    text-align: justify;
    margin: 0;
}

.advantage-button .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.advantages-image {
    position: relative;
}

.advantages-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .advantage-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .advantages-content {
        order: 1;
    }
    
    .advantages-image {
        order: 2;
    }
    
    .advantage-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .advantage-item {
        padding: 15px;
        text-align: center;
    }
    
    .advantage-description p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .advantages-content h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .advantages-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* 公司统计信息样式 */
.company-stats {
    position: relative;
    padding: 100px 0;
    background-image: url('../images/company.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.8), rgba(0, 86, 179, 0.9));
    z-index: 1;
}

.stats-content {
    position: relative;
    z-index: 2;
}

.stats-header {
    text-align: left;
    margin-bottom: 60px;
}

.stats-text {
    max-width: 600px;
}

.stats-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stats-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.6;
}

.stats-text .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.stats-text .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    /* max-width: 1000px; */
    margin: 0 auto;
}

.stat-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 2rem;
    margin-left: 5px;
    opacity: 0.8;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.company-stats {
    position: relative;
    padding: 80px 0;
    background: url('../images/company.jpg') center/cover;
    background-attachment: fixed;
    color: white;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(0, 123, 255, 0.8) 0%, rgba(0, 123, 255, 0.6) 50%, transparent 50%, transparent 100%);
    z-index: 1;
}

.stats-content {
    position: relative;
    z-index: 2;
}

.stats-header {
    margin-bottom: 60px;
}

.stats-text {
    max-width: 600px;
}

@media (max-width: 768px) {
    .company-stats {
        padding: 60px 0;
        background-attachment: scroll;
    }
    
    .stats-overlay {
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.8) 0%, rgba(0, 123, 255, 0.6) 100%);
    }
    
    .stats-text h2 {
        font-size: 2.5rem;
    }
    
    .stats-header {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .stats-text {
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .company-stats {
        padding: 50px 0;
    }
    
    .stats-text h2 {
        font-size: 2rem;
    }
    
    .stats-text p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
}



/* 产品展示样式 */
.product-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-showcase .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.product-showcase .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.product-showcase .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 2px;
}

.product-showcase .section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.product-slider-container {
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

.product-slider {
    display: flex;
    animation: slideLeft 30s linear infinite;
    width: calc(300px * 24); /* 12个产品 * 2 = 24个卡片 */
}

.product-slider:hover {
    animation-play-state: paused;
}

a.product-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin: 0 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: inherit;
    display: block;
}

a.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

a.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

a.product-card:hover img {
    transform: scale(1.05);
}

a.product-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

a.product-card p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

.product-nav {
    text-align: center;
}

.product-nav .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.product-nav .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 12 - 180px)); /* 移动12个产品的距离 */
    }
}

/* 产品展示响应式设计 */
@media (max-width: 768px) {
    .product-showcase {
        padding: 50px 0;
    }
    
    .product-showcase .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .product-showcase .section-header p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    a.product-card {
        flex: 0 0 220px;
        margin: 0 8px;
        padding: 15px;
    }
    
    a.product-card img {
        height: 140px;
    }
    
    a.product-card h4 {
        font-size: 1.1rem;
    }
    
    a.product-card p {
        font-size: 0.85rem;
    }
    
    .product-slider {
        width: calc(236px * 24);
    }
    
    @keyframes slideLeft {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-236px * 12 - 96px));
        }
    }
}

/* 应用领域样式 */
.application-areas {
    padding: 80px 0;
    background: white;
}

.application-areas .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.application-areas .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.application-areas .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 2px;
}

.application-areas .section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.application-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #007bff;
    color: #007bff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: #007bff;
    color: white;
    transform: scale(1.1);
}

.slider-btn:disabled {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.slider-btn:disabled:hover {
    background: #f8f9fa;
    color: #6c757d;
    transform: none;
}

.prev-btn {
    /* margin-right: 20px; */
    left: 10px;
}

.next-btn {
    /* margin-left: 20px; */
    right: 10px;
}

.application-slider-container {
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
    padding: 2rem 0;
}

.application-slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 20px;
    will-change: transform;
}

.application-card {
    flex: 0 0 auto;
    width: calc((100% - 60px) / 4);
    aspect-ratio: 3 / 4;

    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.application-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.application-card:hover img {
    transform: scale(1.05);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    color: white;
    text-align: center;
}

.card-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.card-content .btn {
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.card-content .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

.application-nav {
    text-align: center;
}

.application-nav .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.application-nav .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* 应用领域响应式设计 */
@media (max-width: 1200px) {
    .application-card {
        width: calc((100% - 40px) / 3); /* 平板端显示3张，减去2个间距 */
    }
}

@media (max-width: 768px) {
    .application-areas {
        padding: 50px 0;
    }
    
    .application-areas .section-header h2 {
        font-size: 1.8rem;
    }
    
    .application-areas .section-header p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .application-slider-wrapper {
        flex-direction: column;
    }
    
    .prev-btn, .next-btn {
        margin: 10px 0;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .application-card {
        width: 100%; /* 移动端显示1张卡片，占100% */
        margin: 0;
    }
        
    .card-content {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .application-areas {
        padding: 40px 0;
    }
    
    .application-areas .section-header h2 {
        font-size: 1.6rem;
    }
    
}

/* 首页内联样式迁移 */
/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 顶部导航栏 */
.top-nav {
    background: #2c3e50;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-nav .contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav .contact-left span {
    margin-right: 20px;
}

.top-nav .contact-right a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}

/* 主导航栏 */
.main-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50 !important;
}

.navbar-nav .nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    padding: 15px 20px !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
    background: #f8f9fa;
}

/* 导航栏搜索框样式 */
.navbar-search {
    margin-left: auto;
}

.navbar-search .input-group {
    width: 250px;
}

.navbar-search .form-control {
    background-color: rgba(255,255,255,0.95);
    border: 1px solid #007bff;
    color: #333;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.navbar-search .form-control:focus {
    background-color: white;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
    z-index: 3;
}

.navbar-search .form-control::placeholder {
    color: #666;
}

.navbar-search .btn {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    border-left: none;
}

.navbar-search .btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: white;
}

.navbar-search .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* 导航栏响应式样式 */
@media (max-width: 1200px) {
    .navbar-search .input-group {
        width: 200px;
    }
}

@media (max-width: 992px) {
    .navbar-nav .nav-link {
        margin: 0 0.25rem;
        padding: 0.5rem 0.75rem !important;
    }
    
    .navbar-search .input-group {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .navbar-collapse {
        background-color: #f0f0f0;
        border-radius: 0.375rem;
        margin-top: 10px;
        padding: 15px;
    }
    
    .navbar-search {
        margin: 15px 0;
        width: 100%;
        padding: 0 15px;
    }
    
    .navbar-search .input-group {
        width: 100%;
        display: flex;
        align-items: stretch;
        height: 38px;
    }
    
    .navbar-search .form-control {
        flex: 1;
        border-radius: 0.375rem 0 0 0.375rem !important;
        border-right: none !important;
        height: 38px;
        line-height: 1.5;
    }
    
    .navbar-search .btn {
        border-radius: 0 0.375rem 0.375rem 0 !important;
        flex-shrink: 0;
        width: auto;
        min-width: 50px;
        height: 38px;
        border-left: none !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 10px;
    }
    
    .navbar-nav .nav-link {
        margin: 0;
        padding: 0.75rem 1rem !important;
    }
}

/* 主横幅区域 */
.hero-section {
    height: 600px;
    background: linear-gradient(rgba(25, 42, 86, 0.7), rgba(39, 60, 117, 0.7)), url(../images/banner.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    margin: 0 10px;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 25px;
}

/* 公司简介区域 */
.company-intro {
    padding: 80px 0;
    background: #f8f9fa;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 36px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
}

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

.intro-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 产品展示区域 */
.products-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: #666;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 5px 20px rgba(0,0,0,0.1); */
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-content {
    padding: 25px;
}

.product-content h4 {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.product-content p {
    color: #666;
    margin-bottom: 15px;
}

.product-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

/* 解决方案区域 */
.solutions-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.solution-card h4 {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* 新闻动态区域 */
.news-section {
    padding: 80px 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.news-item:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-date {
    background: #007bff;
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    min-width: 80px;
    height: fit-content;
}

.news-date .day {
    font-size: 24px;
    font-weight: bold;
    display: block;
}

.news-date .month {
    font-size: 12px;
}

.news-content h5 {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
}

.news-content p {
    color: #666;
    font-size: 14px;
}

.news-sidebar {
    background: #2c3e50;
    color: white;
    padding: 30px;
    border-radius: 10px;
    height: fit-content;
}

.news-sidebar h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

.sidebar-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

/* 底部联系区域 */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-form h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 12px 15px;
    border-radius: 5px;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.form-control:focus {
    background: rgba(255,255,255,0.2);
    border-color: #007bff;
    box-shadow: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

/* 页脚配色方案 - 深色主题 */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 60px 0 20px;
}

.footer-section h5 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
}

.footer-section a {
    color: #3f626e;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #3498db;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    color: #95a5a6;
    background: rgba(0, 0, 0, 0.1);
}

/* 首页响应式设计 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .intro-grid,
    .contact-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

/* 新闻动态模块样式 */
.news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.news-section .section-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
}

.news-section .section-header .btn {
    font-size: 14px;
    padding: 8px 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.news-sidebar-container {
    background: #f8f9fa;
    padding: 2rem 0;
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
    display: flex !important;
    flex-direction: row !important;
    gap: 20px;
}

.news-sidebar-container .news-card {
    flex: 1;
}

.news-sidebar-container .news-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.news-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.news-card .news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card .news-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* 特色新闻卡片样式 */
.featured-news {
    position: relative;
}

.featured-news img {
    aspect-ratio: 4/3;
}

.featured-news .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px 20px 20px;
    height: auto;
}

.featured-news .news-content .news-date {
    color: rgba(255,255,255,0.8);
}

.featured-news .news-content h4 {
    color: white;
    font-size: 18px;
    margin: 8px 0 15px;
}

.featured-news .news-content .news-link {
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.featured-news .news-content .news-link:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.news-date {
    font-size: 12px;
    color: #999;
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: inline-block;
    margin-bottom: 8px;
}

.news-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: auto;
    transition: color 0.3s ease;
    position: absolute;
    bottom: 2rem;
}

.news-link:hover {
    color: #0056b3;
}

/* 新闻模块响应式设计 */
@media (max-width: 768px) {
    .news-section {
        padding: 50px 0;
    }
    
    .news-section .section-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .news-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-sidebar {
        flex-direction: column;
        gap: 15px;
    }
    
    .side-news {
        flex: 1;
    }
    
    .news-card .news-content {
        padding: 15px;
    }
    
    .news-card .news-content h4 {
        font-size: 1.1rem;
    }

    .news-link{
        position: static;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .news-section {
        padding: 40px 0;
    }
    
    .news-section .section-header h2 {
        font-size: 1.6rem;
    }
    
    .news-sidebar {
        flex-direction: column;
    }
    
    .product-showcase {
        padding: 40px 0;
    }
    
    .product-showcase .section-header h2 {
        font-size: 1.6rem;
    }
    
    a.product-card {
        flex: 0 0 200px;
        margin: 0 6px;
        padding: 12px;
    }
    
    a.product-card img {
        height: 120px;
    }
    
    a.product-card h4 {
        font-size: 1rem;
    }
    
    a.product-card p {
        font-size: 0.8rem;
    }
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    background: #ffffff;
    color: #333;
    padding: 60px 0 0;
    border-top: 1px solid #dee2e6;
    overflow-x: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h5 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-section a {
    color: #3f626e;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #007bff;
    padding-left: 5px;
}

/* 公司信息区域 */
.company-info .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.company-info .footer-logo h5 {
    margin: 0;
    border: none;
    padding: 0;
    font-size: 1.1rem;
}

.company-desc {
    color: #3f626e;
    line-height: 1.6;
    width: 80%;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.company-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cert-badge {
    background: #6c757d;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #5a6268;
}

/* 联系信息区域 */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #6c757d;
}

.contact-item span {
    font-size: 0.95rem;
}

.contact-item i {
    color: #007bff;
    width: 16px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid #007bff;
    border-radius: 50%;
    color: #007bff;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.social-links a:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    padding-left: 0;
}

/* 页脚底部 */
.footer-bottom {
    border-top: 1px solid #dee2e6;
    padding: 25px 0;
    background: #ffffff;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-bottom p {
    margin: 0;
    color: #95a5a6;
    font-size: 0.9rem;
}

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

.footer-links a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

/* 联系信息样式 */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #3f626e;
}

.contact-item i {
    width: 20px;
    color: #3498db;
}

/* 社交链接样式 */
.social-links {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.social-links a:hover {
    background: #3498db;
    color: #ffffff;
    transform: translateY(-2px);
    padding-left: 0;
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

@media (max-width: 768px) {
     .back-to-top {
         display: none !important;
     }
 }

/* 页脚响应式设计 */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .company-info .footer-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .solution-item {
        height: 250px;
        margin-bottom: 20px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 12px 25px;
        margin-bottom: 10px;
        font-size: 0.95rem;
    }
    
    /* 轮播图移动端优化 */
    .carousel-item {
        height: 70vh;
        min-height: 400px;
    }
    
    .carousel-caption {
        bottom: 20%;
        padding: 0 20px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 60vh;
        padding: 30px 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .solution-item {
        height: 180px;
    }
    
    .rounded-circle {
        width: 40px;
        height: 40px;
    }
    
    /* 轮播图小屏幕优化 */
    .carousel-item {
        height: 60vh;
        min-height: 350px;
    }
    
    .carousel-caption {
        bottom: 15%;
        padding: 0 15px;
    }
    
    .carousel-caption h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* 加载动画 */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* 特殊效果 */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--success-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 悬浮效果 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* 分割线样式 */
.divider {
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    border: none;
    border-radius: 2px;
    width: 60px;
    margin: 20px auto;
}

/* 背景图案 */
.bg-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0,123,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(40,167,69,0.1) 0%, transparent 50%);
}

/* 社交媒体图标 */
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 产品尺寸线稿图样式 */
.dimension-drawings-gallery {
    margin-bottom: 2rem;
}

.dimension-drawing-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.dimension-drawing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.dimension-drawing-item a {
    display: block;
    position: relative;
}

.dimension-drawing-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.dimension-drawing-item:hover img {
    opacity: 0.9;
}

/* 为尺寸线稿图添加放大镜提示效果 */
.dimension-drawing-item a::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #fff;
    background-color: rgba(0, 123, 255, 0.8);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dimension-drawing-item:hover a::after {
    opacity: 1;
}

/* 响应式布局 */
@media (max-width: 767.98px) {
    .dimension-drawings-gallery .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .dimension-drawing-item {
        margin-bottom: 1rem;
    }
}

/* 产品操作按钮宽度 */
.product-action-btn {
    width: 48% !important;
    flex: 0 0 48% !important;
    text-align: center;
}

/* 响应式：移动端按钮全宽 */
@media (max-width: 575.98px) {
    .action-buttons {
        flex-direction: column;
    }

    .product-action-btn {
        width: 100%;
    }
}
/* ============================================
   相关产品推荐样式 - 坤弘主题
   ============================================ */
.related-products-section {
    background: #f8f9fa;
}

.related-products-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.related-products-section .title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* 相关产品卡片样式 */
.related-products-section .product-list-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-products-section .product-list-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.related-products-section .product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
    background-color: #f8f9fa;
}

.related-products-section .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.related-products-section .product-list-card:hover .product-image {
    transform: scale(1.05);
}

.related-products-section .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(25, 42, 86, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-products-section .product-list-card:hover .product-overlay {
    opacity: 1;
}

.related-products-section .product-actions {
    display: flex;
    gap: 0.5rem;
    flex-direction: row;
}

.related-products-section .product-actions .btn {
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border: none;
}

.related-products-section .product-actions .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.related-products-section .product-actions .btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.related-products-section .product-actions .btn-outline-light:hover {
    background: white;
    color: #333;
}

.related-products-section .product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.related-products-section .product-category {
    color: #999999;
    background: #f5f5f5;
    padding: 0.25rem 1.25rem;
    border-radius: 15px;
    border: 1px solid #999999;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
    width: fit-content;
}

.related-products-section .product-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* 响应式布局 */
@media (max-width: 991.98px) {
    .related-products-section .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .related-products-section .product-actions {
        flex-direction: column;
        gap: 0.25rem;
    }

    .related-products-section .product-actions .btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}

/* 产品详情页右侧信息区域标题样式 */
.product-info .product-title {
    font-size: 1.75rem !important;
}

/* 相关产品推荐列表标题样式 - 覆盖上面的大字体 */
.product-info .product-title.related-product-title {
    font-size: 1.1rem !important;
}

/* 移动端页脚分栏线 - 坤弘主题使用黑色 */
@media (max-width: 768px) {
    .footer-content .footer-section {
        border-top: 1px solid rgba(0, 0, 0, 0.15);
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    /* 第一个分栏不需要顶部边框 */
    .footer-content .footer-section:first-child {
        border-top: none;
        padding-top: 0;
        margin-top: 0;
    }
}

/* ========================================
   下载中心样式 - 坤弘主题（蓝色风格）
   ======================================== */

/* 下载中心Banner */
.downloads-banner {
    background: linear-gradient(rgba(25, 42, 86, 0.8), rgba(39, 60, 117, 0.8)), url('../images/download_banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}

.downloads-banner .banner-title {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.downloads-banner .banner-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.downloads-banner .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: inline-flex;
}

.downloads-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.downloads-banner .breadcrumb-item.active {
    color: #fff;
}

/* 下载分类筛选 */
.download-filter-section {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.download-filter-section .filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.download-filter-section .filter-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid #dee2e6;
    background: #fff;
    color: #495057;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.download-filter-section .filter-btn:hover {
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.download-filter-section .filter-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

/* 下载卡片 */
.download-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.download-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #007bff;
}

.download-card.featured {
    border: 2px solid #ffc107;
    background: linear-gradient(135deg, #fffbf0 0%, #fff 100%);
}

.download-card-body {
    height: 100%;
}

.download-icon {
    width: 80px;
    min-width: 80px;
    text-align: center;
}

.download-info {
    overflow: hidden;
}

.download-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.download-meta {
    margin-bottom: 0.5rem;
}

.download-meta .badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
}

.download-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.download-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.download-count {
    font-size: 0.9rem;
}

/* 下载详情页 */
.download-hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    padding: 40px 0 30px;
}

.download-hero .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
}

.download-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.download-hero .breadcrumb-item.active {
    color: #fff;
}

.download-detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.download-icon-large {
    width: 100px;
    min-width: 100px;
    text-align: center;
}

.download-detail-section .download-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
}

.download-action-bar {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.download-content h3,
.download-content h4 {
    color: #212529;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.download-content .content-wrapper {
    color: #495057;
    line-height: 1.8;
    font-size: 1rem;
}

.download-content .content-wrapper p {
    margin-bottom: 1rem;
}

.download-content .content-wrapper ul,
.download-content .content-wrapper ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.download-content .content-wrapper li {
    margin-bottom: 0.5rem;
}

.download-preview img {
    border: 1px solid #dee2e6;
}

/* 侧边栏 */
.sidebar-section {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #007bff;
}

.download-list-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #212529;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.contact-info {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-info p {
    margin-bottom: 0.75rem;
    color: #495057;
}

/* 响应式 */
@media (max-width: 768px) {
    .downloads-banner .banner-title {
        font-size: 2rem;
    }

    .download-filter-section .filter-tabs {
        justify-content: flex-start;
    }

    .download-filter-section .filter-btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .download-icon {
        width: 60px;
        min-width: 60px;
    }

    .download-icon-large {
        width: 80px;
        min-width: 80px;
    }

    .download-detail-section .download-title {
        font-size: 1.5rem;
    }

    .download-action-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .download-action-bar .btn {
        width: 100%;
    }

    .sidebar-section {
        margin-top: 2rem;
    }
}
