/* 自定义样式 */

/* 全局样式 */
:root {
    --primary-color: #012fa7;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}
a{
    text-decoration: none;
    color: #fff;
}
/* 容器最大宽度设置 */
.container,
.container-fluid {
    max-width: 1600px !important;
}

@media (min-width: 1600px) {
    .container,
    .container-fluid {
        max-width: 1600px !important;
        margin: 0 auto;
    }
}

/* 导航栏样式 */
.navbar {
    padding: 0;
    background-color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 100px;
    border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
    padding: 10px 0;
}

.navbar-brand img {
    max-height: 200px;
}

/* 主导航菜单样式 */
.navbar-nav {
    margin: 0 auto;
}

.navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar-nav .nav-link {
    font-weight: 400;
    color: #212529 !important;
    padding: 2rem 1rem;
    transition: all 0.2s ease;
    font-size: 1rem;
    position: relative;
    min-width: calc(4em + 2rem);
    text-align: center;
    display: inline-block;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background-color: #012fa7;
    border-radius: 0.375rem;
}

.navbar-nav .nav-link.active:after {
    display: none;
}

/* 下拉菜单样式 */
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    margin-top: 0.5rem;
}

.navbar-nav .dropdown-item {
    color: #212529;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    color: white;
    background-color: #012fa7;
}

/* 右侧功能区样式 */
.text-muted.small {
    color: #6c757d !important;
    font-size: 0.9rem;
}

.btn-link.text-muted {
    color: #6c757d !important;
}

/* 语言切换样式 */
.text-muted.small {
    font-size: 0.85rem;
    color: #666 !important;
}

/* 搜索按钮样式 */
.btn-link {
    color: #666 !important;
    text-decoration: none;
    border: none;
    background: none;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #4A90E2 !important;
    transform: scale(1.1);
}

.btn-link:focus {
    box-shadow: none;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .navbar-nav {
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link.bg-primary {
        margin: 0.5rem 0;
        text-align: center;
        display: inline-block;
        width: auto;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .logo-container svg {
        width: 35px;
        height: 35px;
    }
}

/* 产品图标样式 */
.product-icon {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon i {
    transition: transform 0.3s ease;
}

.product-icon:hover i {
    transform: scale(1.2);
}

/* 搜索模态框样式 */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.input-group form{
    width: 100%;
    display: flex;
}
.input-group-lg .form-control {
    width: 85%;
    border-radius: 10px 0 0 10px;
}

.input-group-lg .btn {
    border-radius: 0 10px 10px 0;
}

/* Hero区域样式 */
.hero-section {
    padding: 60px 0;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

/* 轮播图样式 */
#heroCarousel {
    border-radius: 0.5rem;
    overflow: hidden;
}

#heroCarousel .carousel-item img {
    height: 650px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#heroCarousel .carousel-indicators {
    margin-bottom: 1rem;
}

#heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
}

#heroCarousel .carousel-indicators button.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    opacity: 1;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    background-size: 20px 20px;
}

/* 卡片样式 */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card-body i {
    transition: transform 0.3s ease;
}

.card:hover .card-body i {
    transform: scale(1.1);
}

/* 按钮样式 */
.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* 表单样式 */
.form-control {
    border-radius: 0.5rem;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* 图片样式 */
img {
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* 页脚样式 */
footer {
    margin-top: auto;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #87ceeb !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

/* 滚动行为 */
html {
    scroll-behavior: smooth;
}

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

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

/* 两列功能区域样式 */
.product-center-section {
    background: linear-gradient(135deg, #b3d9f2 0%, #87ceeb 100%);
    min-height: 100%;
    padding: 2rem 1rem;
}

.new-product-section {
    background: linear-gradient(180deg, #7e93c9 0%, #2159c1 100%);
    color: white;
    flex: 1;
}

.application-guide-section {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    flex: 1;
}

/* 右侧容器与左侧等高 */
.col-lg-6:nth-child(2) {
    display: flex;
    flex-direction: column;
}

/* 确保左右两列等高 */
.row.g-0 {
    display: flex;
    align-items: stretch;
}

.new-product-section,
.application-guide-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.section-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
}

.new-product-section .section-title {
    color: white;
}

/* 产品中心样式 */
.product-category {
    margin-bottom: 1.5rem;
}

.category-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.product-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 1rem;
}

.btn-product {
    background-color: #012fa7;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 140px;
    text-align: center;
}
.product-buttons .btn-product>a{
    display: block;
    color: #fff;
    text-decoration: none;
}
.btn-product:hover {
    background-color: #001f70;
    transform: translateY(-2px);
    color: white;
}

/* 新品发布样式 */
.lightbulb-container {
    margin: 1rem 0;
}

.lightbulb-icon {
    color: #ffd700;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.new-products-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: 100%;
    justify-content: center;
}

.new-product-item {
    padding: 0.8rem 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    font-size: 0.85rem;
    color: white;
    transition: transform 0.3s ease;
    margin-bottom: 0.5rem;
}

.new-product-item:hover {
    transform: translateX(5px);
}

.new-product-item.cyan {
    background-color: #17a2b8;
}

.new-product-item.green {
    background-color: #8bc34a;
}

.new-product-item.orange {
    background-color: #ff9800;
}

.new-product-item.purple {
    background-color: #9c27b0;
}

.btn-more {
    background-color: #012fa7;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background-color: #001f70;
    color: white;
    transform: translateY(-2px);
}

/* 应用索引样式 */
.application-carousel-container {
    /* height: 400px; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

#applicationCarousel {
    width: 100%;
    max-width: 450px;
}

.application-slide {
    position: relative;
    text-align: center;
}

.application-image {
    width: 100%;
    /* height: 300px; */
    object-fit: cover;
    border-radius: 8px;
}

.application-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
}

#applicationCarousel .carousel-control-prev,
#applicationCarousel .carousel-control-next {
    width: 8%;
    color: #333;
}

#applicationCarousel .carousel-control-prev-icon,
#applicationCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 25px;
    width: 50px;
    height: 50px;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .row.g-0 {
        display: block;
    }
    
    .col-lg-6:nth-child(2) {
        display: block;
    }
    
    .product-center-section {
        min-height: auto;
        padding: 2rem 1rem;
    }
    
    .new-product-section,
    .application-guide-section {
        flex: none;
        padding: 1.5rem 1rem;
    }
    
    .product-buttons {
        justify-content: center;
        gap: 6px;
    }
    
    .btn-product {
        font-size: 0.8rem;
        padding: 6px 12px;
        min-width: 100px;
    }
    
    .new-product-item {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
    
    .lightbulb-icon {
        font-size: 2.5rem;
    }
    
    .btn-more {
        font-size: 0.8rem;
        padding: 6px 20px;
    }
    
    .application-carousel-container {
        height: 300px;
        padding: 0.5rem;
    }
    
    .application-image {
        height: 220px;
    }
    
    #applicationCarousel {
        max-width: 350px;
    }
    
    #applicationCarousel .carousel-control-prev-icon,
    #applicationCarousel .carousel-control-next-icon {
        padding: 20px;
        width: 40px;
        height: 40px;
    }
}

/* 自定义工具类 */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075), 
                0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --bs-body-bg: #1a1a1a;
        --bs-body-color: #ffffff;
    }
}

/* 色谱课堂和联系我们区域 - 按截图设计 */
.chromatography-contact-section {
    background: #ffffff;
    position: relative;
    padding: 60px 0;
}

/* 色谱课堂样式（左侧大栏） */
.chromatography-classroom {
    background: #ffffff;
    border-right: 1px solid #e0e0e0;
    position: relative;
}

.classroom-wrapper {
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chromatography-classroom .section-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.classroom-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 左侧文字内容 */
.text-content {
    padding-right: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-item {
    margin-bottom: 20px;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: #012fa7;
  
    line-height: 1.6;
}

.feature-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
   
    text-align: justify;
}

.more-button-container {
    margin-top: 30px;
    text-align: left;
}

.btn-more {
    background-color: #012fa7;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-more:hover {
    background-color: #001f70;
    color: white;
    transform: translateY(-2px);
}

/* 右侧图表内容 */
.diagram-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.diagram-section {
    width: 100%;
    margin-bottom: 25px;
}

/* 微球结构对比 */
.microsphere-comparison .structure-pair {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.structure-item {
    flex: 1;
    text-align: center;
}

.structure-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.structure-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* 层析结构图 */
.chromatography-layers .layer-pair {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.layer-item {
    flex: 1;
    text-align: center;
}

.layer-visual {
    width: 100%;
    max-width: 150px;
    height: 60px;
    border-radius: 8px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.red-green-blue {
    background: linear-gradient(90deg, 
        #ff6b6b 0%, #ff6b6b 33%, 
        #51cf66 33%, #51cf66 66%, 
        #339af0 66%, #339af0 100%);
}

/* 色谱峰对比 */
.peak-comparison .peak-pair {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.peak-chart-item {
    flex: 1;
    text-align: center;
}

.peak-chart {
    width: 100%;
    max-width: 150px;
    height: 80px;
    position: relative;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.peak {
    margin: 0 3px;
    border-radius: 50% 50% 0 0;
    transition: all 0.3s ease;
}

.peak:hover {
    transform: translateY(-3px);
}

.peak.green {
    background: linear-gradient(45deg, #51cf66, #40c057);
}

.peak.orange {
    background: linear-gradient(45deg, #ff8c42, #ff6b35);
}

.peak.blue {
    background: linear-gradient(45deg, #339af0, #228be6);
}

.sharp-peak {
    height: 45px;
    width: 25px;
}

/* 联系我们样式（右侧小栏） */
.contact-us-section {
    background: #ffffff;
    position: relative;
}

/* 右上角联系图标 */
.contact-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #012fa7;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(1, 47, 167, 0.3);
}

.icon-item:hover {
    background: #001f70;
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 4px 15px rgba(1, 47, 167, 0.4);
    color: white;
}

.icon-item i {
    font-size: 18px;
    margin-bottom: 2px;
}

.icon-item span {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* 联系我们主要内容 */
.contact-wrapper {
    padding: 40px 30px 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-us-section .section-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.contact-companies {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.company-block {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.company-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    color: #012fa7;
    margin-bottom: 15px;
    line-height: 1.3;
}

.company-full-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.company-details {
    font-size: 13px;
    line-height: 1.6;
}

.company-details p {
    margin-bottom: 8px;
    color: #666;
}

.company-details strong {
    color: #333;
    font-weight: 600;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .chromatography-classroom,
    .contact-us-section {
        min-height: auto;
        border-right: none;
    }
    
    .chromatography-classroom {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .classroom-wrapper,
    .contact-wrapper {
        padding: 30px 20px;
    }
    
    .chromatography-classroom .section-title,
    .contact-us-section .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .text-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .diagram-content {
        padding: 15px;
    }
    
    .structure-pair,
    .layer-pair,
    .peak-pair {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .structure-image {
        max-width: 200px;
    }
    
    .layer-visual {
        max-width: 200px;
    }
    
    .peak-chart {
        max-width: 200px;
    }
    
    .contact-icons {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 20px;
        gap: 15px;
    }
    
    .icon-item {
        width: 50px;
        height: 50px;
    }
    
    .icon-item i {
        font-size: 16px;
    }
    
    .icon-item span {
        font-size: 9px;
    }
    
    .company-block {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .company-name {
        font-size: 16px;
    }
    
    .company-details {
        font-size: 12px;
    }
}

@media (max-width: 767.98px) {
    .classroom-wrapper,
    .contact-wrapper {
        padding: 20px 15px;
    }
    
    .chromatography-classroom .section-title,
    .contact-us-section .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .feature-title {
        font-size: 15px;
    }
    
    .feature-description {
        font-size: 13px;
    }
    
    .btn-more {
        padding: 8px 25px;
        font-size: 13px;
    }
    
    .diagram-section {
        margin-bottom: 20px;
    }
    
    .layer-visual {
        height: 50px;
        max-width: 180px;
    }
    
    .peak-chart {
        height: 70px;
        max-width: 180px;
    }
    
    .sharp-peak {
        height: 40px;
        width: 22px;
    }
    
    .contact-icons {
        gap: 10px;
    }
    
    .icon-item {
        width: 45px;
        height: 45px;
    }
    
    .icon-item i {
        font-size: 14px;
    }
    
    .icon-item span {
        font-size: 8px;
    }
    
    .company-name {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .company-full-name {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .company-details {
        font-size: 11px;
    }
    
    .company-details p {
        margin-bottom: 6px;
    }
    
    .company-block {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
}

/* 新闻与媒体板块样式 */
.news-media-section {
    background: linear-gradient(135deg, #012fa7 0%, #001f70 100%);
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

/* 新闻与媒体背景装饰 */
.news-media-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* 新闻板块右侧联系图标 */
.news-contact-icons {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.news-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    color: #012fa7;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.news-icon-item:hover {
    background: white;
    transform: translateX(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #001f70;
}

.news-icon-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

.news-icon-item span {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

/* 新闻内容区域 */
.news-content {
    position: relative;
    z-index: 5;
}

.news-section-title {
    font-size: 36px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 新闻网格布局 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* 新闻卡片样式 */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #012fa7, #001f70);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.news-card:hover::before {
    transform: scaleX(1);
}

/* 新闻图片 */
.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* 新闻内容文字 */
.news-content-text {
    padding: 25px;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: #012fa7;
}

/* 更多按钮容器 */
.news-more-container {
    text-align: center;
    margin-top: 40px;
}

.news-more-btn {
    background: white;
    color: #012fa7;
    border: 2px solid white;
    padding: 12px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-more-btn:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 响应式调整 */
@media (max-width: 1199.98px) {
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .news-section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
}

@media (max-width: 991.98px) {
    .news-media-section {
        padding: 60px 0;
    }
    
    .news-contact-icons {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 30px;
        gap: 15px;
    }
    
    .news-icon-item {
        width: 55px;
        height: 55px;
    }
    
    .news-icon-item i {
        font-size: 18px;
    }
    
    .news-icon-item span {
        font-size: 10px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .news-section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content-text {
        padding: 20px;
    }
    
    .news-title {
        font-size: 15px;
    }
}

@media (max-width: 767.98px) {
    .news-media-section {
        padding: 40px 0;
    }
    
    .news-contact-icons {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .news-icon-item {
        width: 50px;
        height: 50px;
    }
    
    .news-icon-item i {
        font-size: 16px;
    }
    
    .news-icon-item span {
        font-size: 9px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .news-image {
        height: 160px;
    }
    
    .news-content-text {
        padding: 18px;
    }
    
    .news-title {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
    
    .news-more-btn {
        padding: 10px 35px;
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .news-media-section {
        padding: 30px 0;
    }
    
    .news-contact-icons {
        gap: 10px;
    }
    
    .news-icon-item {
        width: 45px;
        height: 45px;
    }
    
    .news-icon-item i {
        font-size: 14px;
    }
    
    .news-icon-item span {
        font-size: 8px;
    }
    
    .news-section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .news-image {
        height: 140px;
    }
    
    .news-content-text {
        padding: 15px;
    }
    
    .news-title {
        font-size: 13px;
    }
    
    .news-more-btn {
        padding: 8px 30px;
        font-size: 13px;
    }
}

/* 服务与技术支持板块样式 */
.service-support-section {
    position: relative;
}

/* 左侧服务与技术支持样式 */
.service-left {
    position: relative;
    height: 500px;
    overflow: hidden;
}

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

.service-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-left:hover .service-bg-image {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-left:hover .service-overlay {
    background: transparent;
}

.service-title {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.service-more-container {
    text-align: center;
}

.service-more-btn {
    background: white;
    color: #012fa7;
    border: 2px solid white;
    padding: 12px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-more-btn:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* 右侧客户评价样式 */
.review-right {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #f8f9fa;
}

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

.review-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.review-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.review-right:hover .review-bg-image {
    transform: scale(1.05);
}

.review-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.review-right:hover .review-overlay {
    background: transparent;
}

.review-title {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.review-more-container {
    text-align: center;
}

.review-more-btn {
    background: #012fa7;
    color: white;
    border: 2px solid #012fa7;
    padding: 12px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(1, 47, 167, 0.3);
}

.review-more-btn:hover {
    background: #001f70;
    border-color: #001f70;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 47, 167, 0.4);
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .service-left,
    .review-right {
        height: 400px;
    }
    
    .service-title,
    .review-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .service-more-btn,
    .review-more-btn {
        padding: 10px 35px;
        font-size: 15px;
    }
}

@media (max-width: 767.98px) {
    .service-left,
    .review-right {
        height: 350px;
    }
    
    .service-title,
    .review-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .service-more-btn,
    .review-more-btn {
        padding: 10px 30px;
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .service-left,
    .review-right {
        height: 300px;
    }
    
    .service-title,
    .review-title {
        font-size: 22px;
        margin-bottom: 18px;
    }
    
    .service-more-btn,
    .review-more-btn {
        padding: 8px 25px;
        font-size: 13px;
    }
}

/* 自定义页脚样式 */
.custom-footer {
    background: #012fa7;
    color: white;
    padding: 0;
    margin-top: 0;
}

/* 页脚导航区域 */
.footer-nav {
    padding: 30px 0 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-navigation {
    width: 100%;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-nav-list li {
    margin: 0;
}

.footer-nav-list a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.footer-nav-list a:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.footer-nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.footer-nav-list a:hover::after {
    width: 100%;
}

/* 页脚内容区域 */
.footer-content {
    padding: 25px 0 30px 0;
}

/* 左侧版权信息 */
.footer-info {
    color: white;
}

.copyright {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
}

.contact-info {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
}

.contact-info span {
    display: inline-block;
    white-space: nowrap;
}

/* 中间合作伙伴logo */
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.partner-logo {
    background: white;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.partner-img {
    height: 35px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.partner-logo:hover .partner-img {
    filter: brightness(1);
}

/* 右侧纳微logo */
.nanomicro-logo {
    text-align: center;
}

.nanomicro-img {
    height: 60px;
    width: auto;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.nanomicro-img:hover {
    transform: scale(1.05);
    filter: brightness(1.3);
}

/* 响应式调整 */
@media (max-width: 1199.98px) {
    .footer-nav-list {
        gap: 30px;
    }
    
    .footer-nav-list a {
        font-size: 15px;
    }
    
    .partner-logos {
        gap: 12px;
    }
    
    .partner-img {
        height: 32px;
        max-width: 75px;
    }
    
    .nanomicro-img {
        height: 55px;
    }
}

@media (max-width: 991.98px) {
    .footer-nav {
        padding: 25px 0 18px 0;
    }
    
    .footer-content {
        padding: 20px 0 25px 0;
    }
    
    .footer-nav-list {
        gap: 25px;
    }
    
    .footer-nav-list a {
        font-size: 14px;
    }
    
    .footer-info {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .partner-logos {
        justify-content: center;
        margin-bottom: 20px;
        gap: 10px;
    }
    
    .partner-img {
        height: 30px;
        max-width: 70px;
    }
    
    .nanomicro-logo {
        text-align: center;
    }
    
    .nanomicro-img {
        height: 50px;
    }
}

@media (max-width: 767.98px) {
    .footer-nav {
        padding: 20px 0 15px 0;
    }
    
    .footer-content {
        padding: 18px 0 20px 0;
    }
    
    .footer-nav-list {
        gap: 20px;
        justify-content: center;
    }
    
    .footer-nav-list a {
        font-size: 13px;
    }
    
    .copyright {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .contact-info {
        font-size: 12px;
    }
    
    .contact-info span {
        display: block;
        margin-bottom: 4px;
    }
    
    .partner-logos {
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .partner-logo {
        padding: 6px 10px;
    }
    
    .partner-img {
        height: 28px;
        max-width: 65px;
    }
    
    .nanomicro-img {
        height: 45px;
    }
}

@media (max-width: 575.98px) {
    .footer-nav {
        padding: 18px 0 12px 0;
    }
    
    .footer-content {
        padding: 15px 0 18px 0;
    }
    
    .footer-nav-list {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-nav-list li {
        margin-bottom: 5px;
    }
    
    .footer-nav-list a {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .copyright {
        font-size: 12px;
        text-align: center;
    }
    
    .contact-info {
        font-size: 11px;
        text-align: center;
    }
    
    .partner-logos {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .partner-logo {
        padding: 5px 8px;
    }
    
    .partner-img {
        height: 25px;
        max-width: 60px;
    }
    
    .nanomicro-img {
        height: 40px;
    }
}


  .custom-footer {
                box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
            }

            .footer-brand-section .company-name {
                text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
            }

            .contact-item {
                transition: color 0.3s ease;
            }

            .contact-item:hover {
                color: #87ceeb !important;
            }

            .footer-link {
                color: #d1d5db;
                text-decoration: none;
                font-size: 0.95rem;
                transition: all 0.3s ease;
                display: block;
                padding: 2px 0;
                position: relative;
            }

            .footer-link:hover {
                color: #87ceeb;
                text-decoration: none;
                transform: translateX(3px);
            }

            .footer-link::before {
                content: '';
                position: absolute;
                left: -12px;
                top: 50%;
                transform: translateY(-50%);
                width: 0;
                height: 1px;
                background: #87ceeb;
                transition: width 0.3s ease;
            }

            .footer-link:hover::before {
                width: 8px;
            }

            .qr-code-img {
                width: 120px;
                height: 120px;
                border-radius: 8px;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
                transition: all 0.3s ease;
                border: 2px solid rgba(255, 255, 255, 0.2);
            }

            .qr-code-img:hover {
                transform: scale(1.05);
                box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
                border-color: rgba(255, 255, 255, 0.4);
            }

            /* 移动端二维码样式调整 */
            @media (max-width: 768px) {
                .qr-code-img {
                    width: 100px;
                    height: 100px;
                }
            }

            @media (max-width: 575.98px) {
                .qr-code-img {
                    width: 80px;
                    height: 80px;
                }
            }

            .icp-badge span:hover {
                background: rgba(255, 255, 255, 0.15) !important;
                transition: background 0.3s ease;
            }

            /* 响应式调整 */
            @media (max-width: 768px) {
                .custom-footer .container {
                    padding-left: 1.5rem;
                    padding-right: 1.5rem;
                }

                .footer-brand-section,
                .nav-section,
                .social-section {
                    text-align: center;
                    margin-bottom: 2rem;
                }

                .footer-title div {
                    left: 50% !important;
                    right: auto !important;
                    transform: translateX(-50%);
                }

                .qr-code-section .d-flex {
                    justify-content: center !important;
                }

                .footer-link::before {
                    display: none;
                }

                .footer-link:hover {
                    transform: none;
                }
            }

            /* 平滑动画 */
            .footer-brand-section,
            .nav-section,
            .social-section {
                animation: fadeInUp 0.6s ease-out;
            }

            @keyframes fadeInUp {
                from {
                    opacity: 0;
                    transform: translateY(20px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }


             .custom-footer .row:not(:last-child) {
                border-bottom: none !important;
            }

            .custom-footer .row:not(:last-child) * {
                border-bottom: none !important;
            }

            /* 移除可能的额外边框 */
            .footer-brand-section,
            .nav-section,
            .social-section,
            .qr-code-section {
                border: none !important;
                border-bottom: none !important;
            }