/* Root Variables */
:root {
    --primary-color: #0746ce;
    --secondary-color: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --container-width: 1280px;
    --border-radius: 8px;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f8f9fa;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-text {
    letter-spacing: 0.5px;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-info a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.contact-info a:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Main Header */
.main-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 55px;
    width: auto;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

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

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 14px 22px;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: #f8faff;
    color: var(--primary-color);
    padding-left: 28px;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

/* News Content */
.news-content {
    background-color: var(--white);
    padding: 45px;
    border-radius: var(--border-radius);
      order: 1;
}

.article-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.article-header h1 {
    font-size: 34px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.article-meta {
    display: flex;
    gap: 25px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

.article-meta i {
    margin-right: 6px;
    color: var(--primary-color);
}

.article-body h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin: 35px 0 18px;
    font-weight: 700;
}

.article-body h3 {
    font-size: 22px;
    margin: 28px 0 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.article-body p {
    margin-bottom: 18px;
    line-height: 1.7;
}

.article-body ul {
    margin-left: 20px;
    margin-bottom: 25px;
}

.article-body li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.article-body li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.post-navigation a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
}

.post-navigation a:hover {
    text-decoration: underline;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    order: 2;
}

.sidebar-widget {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
  
}

.widget-title {
    font-size: 19px;
    color: var(--primary-color);
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Contact Widget */
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--primary-color);
    margin-top: 4px;
    font-size: 18px;
    width: 20px;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* WhatsApp Contact Widget */
.whatsapp-contact-widget {
    text-align: center;
}

.whatsapp-contact-widget p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.whatsapp-btn {
    display: block;
    background-color: #25D366;
    color: var(--white);
    text-align: center;
    padding: 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 17px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    margin-right: 10px;
    font-size: 20px;
}

/* WhatsApp QR Code */
.whatsapp-qr {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.qr-code {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

/* QR Code Image Styles */
.qr-image {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eee;
}

.footer-column .qr-image {
    width: 140px;
    height: 140px;
}

.qr-note {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}

/* Solutions List Styles */
.solutions-list {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.solutions-list li {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.solutions-list li:before {
    content: "→";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Categories Widget */
.categories-list li {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}

.categories-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-list a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
}

.categories-list a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

/* Quick Contact Form */
.quick-contact-form input,
.quick-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.quick-contact-form input:focus,
.quick-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(7, 70, 206, 0.1);
}

.quick-contact-form button {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.quick-contact-form button:hover {
    background-color: #0538a8;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ddd;
    padding: 70px 0 30px;
}

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

.footer-column h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-column p {
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Footer Contact Info */
.footer-contact-info {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #333;
}

.footer-contact-info .contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
    color: #aaa;
    font-size: 14px;
}

.footer-contact-info .contact-item i {
    color: var(--primary-color);
    margin-top: 3px;
    font-size: 16px;
    width: 18px;
}

.footer-contact-info .contact-item a {
    color: #aaa;
    transition: var(--transition);
}

.footer-contact-info .contact-item a:hover {
    color: var(--primary-color);
}

.footer-contact-info strong {
    color: #ddd;
    font-weight: 600;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition);
}

.social-icon.whatsapp {
    background-color: #25D366;
}

.social-icon.facebook {
    background-color: #1877F2;
}

.social-icon.youtube {
    background-color: #FF0000;
}

.social-icon.linkedin {
    background-color: #0077B5;
}

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

/* Certification Badges */
.certification-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    background-color: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr 340px;
        gap: 30px;
    }
    
    .news-content {
        padding: 35px;
    }
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .news-content {
        order: 1;
    }
    
    .sidebar {
        order: 2;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
   
        flex-direction: column;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        width: 100%;
        display: none;
        padding-left: 20px;
        border-radius: 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .article-header h1 {
        font-size: 30px;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .news-content {
        padding: 25px;
    }
    
    .article-header h1 {
        font-size: 26px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
    
    .footer-contact-info .contact-item {
        font-size: 13px;
    }
    
    .solutions-list li {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .news-content {
        padding: 20px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 24px;
    }
    
    .article-body h2 {
        font-size: 22px;
    }
    
    .article-body h3 {
        font-size: 19px;
    }
    
    .qr-image {
        width: 140px;
        height: 140px;
    }
    
    .footer-column .qr-image {
        width: 120px;
        height: 120px;
    }
}



/* 在原有样式基础上添加以下内容 */

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(7, 70, 206, 0.8) 0%, rgba(7, 70, 206, 0.6) 50%, transparent 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    padding-top: 180px;
    color: var(--white);
    max-width: 600px;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    transform: translateY(-50%);
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-controls button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* Products Section */
.products-section {
    margin-bottom: 80px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
   
    transition: var(--transition);
}

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

.product-img {
    display: block;
    height: 220px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* 标题链接样式 - 与新闻标题统一 */
.product-info h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.product-info h3 a:hover {
    color: var(--primary-color);
}

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

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.product-link:hover::after {
    transform: translateX(5px);
}

/* News Section */
.news-section {
    margin-bottom: 80px;
}

.news-tabs {
    background-color: var(--white);
    border-radius: var(--border-radius);
   
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    flex: 1;
    padding: 18px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    background-color: var(--white);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.news-list {
    columns: 2;
    column-gap: 40px;
}

.news-list li {
    break-inside: avoid;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-list a {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.5;
    display: block;
    transition: var(--transition);
}

.news-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Company Stats */
.company-stats {
    background-color: var(--primary-color);
    padding: 80px 0;
    margin-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-number span {
    font-size: 32px;
}

.stat-label {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.8;
    max-width: 250px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Solutions Section */
.solutions-section {
    margin-bottom: 80px;
}

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

.solution-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
  
    transition: var(--transition);
}

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

.solution-img {
    height: 220px;
    overflow: hidden;
}

.solution-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.solution-content {
    padding: 30px;
}

.solution-content h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.solution-content p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.solution-features {
    margin-bottom: 25px;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-dark);
}

.solution-features i {
    color: var(--primary-color);
    font-size: 12px;
}

.solution-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.solution-link:hover {
    background-color: #0538a8;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-list {
        columns: 1;
    }
}

@media (max-width: 992px) {
    .hero-slider {
        height: 500px;
    }
    
    .slide-content {
        padding-top: 120px;
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
    
    .slide-content p {
        font-size: 18px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-content {
        padding-top: 80px;
        text-align: center;
    }
    
    .slide-content h1 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .slider-controls {
        padding: 0 15px;
    }
    
    .slider-controls button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .products-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 0 50%;
        padding: 15px;
        font-size: 14px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stat-item p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .slide-content h1 {
        font-size: 24px;
    }
    
    .product-info,
    .solution-content {
        padding: 20px;
    }
    
    .tab-content {
        padding: 20px;
    }
}


/* ============================================
   新增样式 - 主页中间部分
   ============================================ */

/* Hero Slider - 大图幻灯展示 */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
    margin-top: 0; /* 确保与菜单距离为0 */
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 两侧渐变到背景色 */
.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(7, 70, 206, 0.8) 0%, 
        rgba(7, 70, 206, 0.6) 30%, 
        transparent 50%, 
        rgba(7, 70, 206, 0.6) 70%, 
        rgba(7, 70, 206, 0.8) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    padding-top: 180px;
    color: var(--white);
    max-width: 600px;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(7, 70, 206, 0.3);
}

.cta-button:hover {
    background-color: #0538a8;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(7, 70, 206, 0.4);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    transform: translateY(-50%);
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-controls button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* Products Section - 产品展示 */
.products-section {
    margin-bottom: 80px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
   
    transition: var(--transition);
}

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

.product-img {
    display: block;
    height: 250px;
    overflow: hidden;
    aspect-ratio: 1/1; /* 正方形图片 */
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.product-link:hover::after {
    transform: translateX(5px);
}



/* Company Stats - 公司信息 */
.company-stats {
    background-color: var(--primary-color);
    padding: 80px 0;
    margin-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-number span {
    font-size: 32px;
}

.stat-label {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.8;
    max-width: 250px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Solutions Section - 解决方案 */
.solutions-section {
    margin-bottom: 80px;
}

.solutions-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.solution-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.solution-card.reverse {
    direction: rtl;
}

.solution-card.reverse .solution-content {
    direction: ltr;
}

.solution-img {
    height: 350px;
    overflow: hidden;
    border-radius: var(--border-radius);
   
}

.solution-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.solution-content {
    padding: 20px 0;
}

.solution-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.solution-content p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.solution-features {
    margin-bottom: 30px;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.solution-features i {
    color: var(--primary-color);
    font-size: 14px;
    flex-shrink: 0;
}

.solution-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.solution-link:hover {
    background-color: #0538a8;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .solution-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .solution-card.reverse {
        direction: ltr;
    }
    
    .news-list {
        columns: 1;
    }
}

@media (max-width: 992px) {
    .hero-slider {
        height: 500px;
    }
    
    .slide-content {
        padding-top: 120px;
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
    
    .slide-content p {
        font-size: 18px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-content {
        padding-top: 80px;
        text-align: center;
    }
    
    .slide-content h1 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .slider-controls {
        padding: 0 15px;
    }
    
    .slider-controls button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 0 50%;
        padding: 15px;
        font-size: 14px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stat-item p {
        max-width: 100%;
    }
    
    .solution-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .slide-content h1 {
        font-size: 24px;
    }
    
    .product-info,
    .solution-content {
        padding: 20px;
    }
    
    .tab-content {
        padding: 20px;
    }
}
/* ============================================
   主页特定样式 - 与菜单距离为0
   ============================================ */

/* 主页main与菜单距离为0 */
.home-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 确保大图幻灯与菜单无缝连接 */
.hero-slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 其他页面的main保持正常间距 */
.main-content:not(.home-main) {
    margin-top: 0;
    padding-top: 0;
}

/* ============================================
   简洁菜单动画 - 纯CSS实现
   ============================================ */

/* 基础悬停效果 */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

/* 动画1: 底部下划线动画（从中间向两边展开） */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* 动画2: 悬停时轻微上移和背景变化 */
.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    background-color: rgba(7, 70, 206, 0.05);
}

/* 动画3: 下拉菜单淡入动画 */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 动画4: 下拉菜单项悬停效果 */
.dropdown-item {
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8faff;
    color: var(--primary-color);
    padding-left: 25px;
}

/* 动画5: 下拉图标旋转 */
.dropdown > .nav-link i {
    transition: transform 0.3s ease;
}

.dropdown:hover > .nav-link i {
    transform: rotate(180deg);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        transform: none;
        background-color: rgba(7, 70, 206, 0.08);
    }
}

/* 响应式调整 */
@media (max-width: 992px) {
    .home-main {
        margin-top: 0 !important;
    }
    
    .main-content:not(.home-main) {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .main-content:not(.home-main) {
        margin-top: 20px;
    }
}



