/* Global Styles */
:root {
    --primary-color: #E60000;
    /* Red accent */
    --text-color: #333333;
    /* Dark grey text */
    --bg-color: #FFFFFF;
    /* White background */
    --bg-light: #F9F9F9;
    /* Light grey background */
    --border-color: #CCCCCC;
    --footer-bg: #333333;
    --footer-text: #FFFFFF;
    --font-main: 'Roboto', 'Noto Sans SC', sans-serif;
    --container-width: 1400px;
    --header-height: 80px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    padding-top: var(--header-height);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #cc0000;
    border-color: #cc0000;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
}

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

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

/* 1. Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: var(--header-height);
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: z-index 0.3s;
}

.site-header.menu-open {
    z-index: 1002;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo a {
    display: block;
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.main-nav,
.main-nav ul,
.main-nav li {
    height: 100%;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 16px;
    font-weight: 500;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-text {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.contact-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.phone-number {
    font-size: 20px;
    font-weight: 800;
    color: #000;
    line-height: 1.1;
    font-family: 'Roboto', sans-serif;
     white-space: nowrap;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 1003;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
    transform-origin: center;
}

.site-header.menu-open .mobile-menu-btn span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.site-header.menu-open .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
}

.site-header.menu-open .mobile-menu-btn span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Backdrop */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.site-header.menu-open+.nav-backdrop {
    opacity: 1;
    visibility: visible;
}

/* Secondary Dropdown Menu Styles */
@media (min-width: 769px) {
    .main-nav li {
        position: static;
        /* Dropdown will be relative to .site-header */
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        z-index: 999;
        padding: 25px 0;
        border-top: 1px solid #f0f0f0;
        animation: fadeInDown 0.3s ease;
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

    .main-nav li:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu .container {
        display: flex;
        justify-content: center;
    }

    /*
   .dropdown-menu ul {
        display: flex;
        flex-wrap: wrap;
       
        gap: 15px 60px;
      
        height: auto;
        justify-content: center;
        align-items: center;
        max-width: 1200px;
      
        margin: 0 auto;
    }
    .dropdown-menu ul {
        display: flex;
        flex-wrap: wrap;
        gap: 15px 60px;
        justify-content: flex-start;

        align-items: center;
        max-width: 1200px;
        width: fit-content;
    
        margin: 0 auto;
  
    }*/
	  .dropdown-menu ul {
        display: flex;
        flex-wrap: wrap;
        /* 允许换行 */
        display: grid;
        grid-template-columns: repeat(8, auto);
        gap: 15px 60px;
        /* 设置行间距 15px，列间距 60px */
        height: auto;
        justify-content: center;
        align-items: center;
        max-width: 1200px;
        /* 限制最大宽度，防止在大屏幕上拉得太开 */
        margin: 0 auto;
    }


    .dropdown-menu li {
        height: auto;
        border: none;
    }

    .dropdown-menu a {
        font-size: 15px;
        font-weight: 500;
        color: #444;
        padding: 5px 0;
        height: auto;
        display: block;
        transition: all 0.3s ease;
        position: relative;
    }

    .dropdown-menu a:hover {
        color: var(--primary-color);
    }

    /* Remove the default underline for dropdown links */
    .dropdown-menu a::after {
        display: none;
    }
}

/* Hide dropdown on mobile by default */
@media (max-width: 768px) {
    .dropdown-menu {
        display: none;
    }
}

/* 2. Carousel Base Styles */
.carousel-container {
    height: 100%;
    position: relative;
}

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

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
}

.dot.active::after {
    width: 100%;
    transition: width 5s linear;
}

/* Homepage Hero Banner Specific Styles */
.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.hero-banner .carousel-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner .banner-content {
    text-align: center;
    color: #fff;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-banner .banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-banner .banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-banner .carousel-prev,
.hero-banner .carousel-next {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 15px;
    font-size: 24px;
}

.hero-banner .carousel-prev:hover,
.hero-banner .carousel-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.hero-banner .carousel-prev {
    left: 20px;
}

.hero-banner .carousel-next {
    right: 20px;
}

.hero-banner .dot {
    width: 20px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.hero-banner .dot.active {
    width: 40px;
}

/* 3. Recommend Section */
.recommend-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

@media (min-width: 768px) {
    .recommend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .recommend-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.recommend-card {
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    height: 300px;
}

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

.card-image {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: transparent;
    color: #fff;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
    transition: transform 0.4s ease;
}

.card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    bottom: -20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.recommend-card:hover .card-content {
    transform: translateY(-10px);
}

.recommend-card:hover .card-content::before {
    opacity: 1;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* 4. Company Intro Banner */
.company-intro-banner {
    height: 300px;
    background-image: url('../images/company_intro_bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.intro-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.intro-link:hover .intro-overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

.intro-overlay .container {
    text-align: center;
    color: #fff;
}

.intro-overlay h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.intro-overlay p {
    font-size: 18px;
    opacity: 0.9;
}

/* 5. News & Cases */
.news-cases-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.news-card {
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.small-card .news-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.small-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.case-tag {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.news-content {
    padding: 25px;
    background-color: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-content p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Large Card Styling */
.large-card {
    grid-column: span 3;
}

@media (min-width: 1024px) {
    .large-card {
        grid-column: span 2;
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-list-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.news-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.news-list-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.news-list-header .more-link {
    font-size: 14px;
    color: #666;
    transition: color 0.3s;
}

.news-list-header .more-link:hover {
    color: var(--primary-color);
}

.news-list-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    counter-reset: news-list-counter;
}

.news-list-items li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    position: relative;
    padding-left: 35px;
    counter-increment: news-list-counter;
}

.news-list-items li::before {
    content: "0" counter(news-list-counter);
    position: absolute;
    left: 0;
    font-weight: 700;
    font-style: italic;
    font-family: 'Roboto', sans-serif;
    color: #ccc;
    font-size: 16px;
    line-height: 1;
}

.news-list-items li:nth-child(-n+3)::before {
    color: var(--primary-color);
}

.news-list-items .date {
    color: #999;
    font-family: monospace;
    font-size: 14px;
    flex-shrink: 0;
    order: 2;
}

.news-list-items .title {
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    transition: color 0.3s;
    order: 1;
}

.news-list-items .title:hover {
    color: var(--primary-color);
}

.news-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* 6. Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* Featured Recommendations Module */
.featured-recommendations {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-row {
    display: flex;
    gap: 20px;
    height: 350px;
}

.featured-card {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.featured-card.wide {
    flex: 1.6;
}

.featured-card.narrow {
    flex: 1;
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: transparent;
    color: #fff;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
    transition: transform 0.4s ease;
}

.featured-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    bottom: -20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.featured-card:hover .featured-content {
    transform: translateY(-10px);
}

.featured-card:hover .featured-content::before {
    opacity: 1;
}

.featured-content .category {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-content h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.featured-content p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 0;
    line-height: 1.4;
    max-width: 90%;
}

.featured-content .learn-more {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.featured-content .learn-more:hover {
    color: #ff4d4d;
}

/* Category Navigation Bar Styles */
.category-nav-bar {
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.category-nav-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.category-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    color: #666;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.category-nav-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.category-nav-btn.prev {
    left: 0;
}

.category-nav-btn.next {
    right: 0;
}

.category-nav-list {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 5px 0;
    scroll-behavior: smooth;
    width: 100%;
}

.category-nav-list::-webkit-scrollbar {
    display: none;
}

.category-nav-list li {
    flex-shrink: 0;
}

.category-nav-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100px;
}

.category-icon {
    width: 60px;
    height: 60px;
    background-color: #f8f8f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.category-nav-list span {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-nav-list li.active .category-icon,
.category-nav-list a:hover .category-icon {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.1);
}

.category-nav-list li.active .category-icon img,
.category-nav-list a:hover .category-icon img {
    opacity: 1;
    transform: scale(1.1);
}

.category-nav-list li.active span,
.category-nav-list a:hover span {
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .category-nav-container {
        padding: 0;
    }

    .category-nav-btn {
        display: none;
    }

    .category-nav-list {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .category-nav-bar {
        padding: 15px 0;
    }

    .category-nav-list {
        gap: 20px;
    }

    .category-nav-list a {
        width: 80px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
    }

    .category-nav-list span {
        font-size: 12px;
    }
}

/* Product Category Page Styles */
.product-page-header {
    padding: 60px 0 40px;
    text-align: center;
    background-color: #fff;
}

.product-page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.product-page-header p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.tab-btn {
    font-size: 18px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    padding: 10px 20px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.feature-display {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.feature-display img,
.feature-display video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-content {
    display: none;
    width: 100%;
    height: 100%;
}

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

.feature-info-overlay {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.feature-info-overlay h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.why-choose-section {
    padding-top: 40px;
    padding-bottom: 20px;
    background-color: #f9f9f9;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.why-choose-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-10px);
}

.why-choose-card .icon-box {
    width: 80px;
    height: 80px;
    background-color: #fff5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.why-choose-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.why-choose-card p {
    font-size: 14px;
    color: #777;
}

.product-series-section {
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.series-header {
    margin-bottom: 40px;
}

.series-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.series-header p {
    color: #666;
}

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

.product-item-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-item-card:hover {
    background-color: #f5f5f7;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.product-item-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f9f9f9;
}

.product-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.product-item-info {
    padding: 24px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-item-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.product-item-info p {
    font-size: 14px;
    color: #86868b;
    line-height: 1.4;
}

.product-item-card:hover .product-item-info h4 {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .main-nav ul {
        gap: 15px;
    }

    .main-nav a {
        font-size: 14px;
    }

    .header-contact {
        gap: 10px;
    }

    .phone-number {
        font-size: 14px;
    }
}
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .large-card {
        grid-column: span 2;
    }

    .why-choose-grid,
    .product-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }

    .header-container {
        padding: 0 15px;
    }

    .main-nav,
    .header-right {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .site-header.menu-open .main-nav {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: #fff;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        transform: translateX(100%);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        height: auto;
    }

    .main-nav li {
        height: auto;
        border-bottom: 1px solid #eee;
    }

    .main-nav a {
        height: 60px;
        font-size: 18px;
        width: 100%;
        display: flex;
        align-items: center;
    }

    .main-nav a::after {
        display: none;
    }

    .hero-banner {
        height: 300px;
    }

    .banner-content h2 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .recommend-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .large-card {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        display: none;
    }

    .site-footer {
        padding-top: 20px;
    }

    .featured-row {
        flex-direction: column;
        height: auto;
    }

    .featured-card.wide,
    .featured-card.narrow {
        flex: none;
        width: 100%;
        height: 300px;
    }

    .featured-content h3 {
        font-size: 20px;
    }

    .news-list-items .title {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .why-choose-grid,
    .product-grid-4 {
        grid-template-columns: 1fr;
    }

    .feature-display {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    /* Mobile Floating Bottom Bar */
    .mobile-floating-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 8px 0;
    }

    .floating-bar-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 4px;
        color: #666;
        text-decoration: none;
        transition: all 0.3s ease;
        gap: 4px;
    }

    .floating-bar-item:active {
        background-color: #f5f5f5;
    }

    .floating-bar-item svg {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .floating-bar-item span {
        font-size: 11px;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
    }

    .floating-bar-item:hover {
        color: var(--primary-color);
    }
    .hero-banner .banner-content h2 
	{
		font-size:24px;
	}
	.hero-banner .banner-content p
	{
		16px;
	}
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.pagination-item,
.page-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-item:hover {
    border-color: #e60012;
    color: #e60012;
}

.pagination-item.active {
    background: #e60012;
    border-color: #e60012;
    color: #fff;
}

.page-num.page-num-current {
    background: #e60012;
    border-color: #e60012;
    color: #fff;
}

.pagination-item.disabled {
    color: #ccc;
    border-color: #eee;
    cursor: not-allowed;
}

.pagination-item.prev,
.pagination-item.next,
.pagination-item.page-link {
    width: auto;
    padding: 0 20px;
}

/* Hide mobile floating bar on desktop */
@media (min-width: 769px) {
    .mobile-floating-bar {
        display: none;
    }
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.pagination-item,
.page-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-item:hover {
    border-color: #e60012;
    color: #e60012;
}

.pagination-item.active {
    background: #e60012;
    border-color: #e60012;
    color: #fff;
}

.page-num.page-num-current {
    background: #e60012;
    border-color: #e60012;
    color: #fff;
}

.pagination-item.disabled {
    color: #ccc;
    border-color: #eee;
    cursor: not-allowed;
}

.pagination-item.prev,
.pagination-item.next,
.pagination-item.page-link {
    width: auto;
    padding: 0 20px;
}

/* WeChat Share Modal Styles */
.wechat-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wechat-modal.active {
    display: flex;
    opacity: 1;
}

.wechat-modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.wechat-modal.active .wechat-modal-content {
    transform: translateY(0);
}

.wechat-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.wechat-modal-close:hover {
    color: #333;
}

.wechat-modal-content h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #1d1d1f;
    font-weight: 600;
}

.wechat-qr-code {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: inline-block;
}

.wechat-qr-code img {
    width: 200px;
    height: 200px;
    display: block;
}

.wechat-modal-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 480px) {
    .wechat-modal-content {
        margin: 0 20px;
        padding: 30px 20px;
    }
}
/* Mobile Pagination Compatibility */
@media (max-width: 768px) {
    .pagination-container {
        gap: 5px;
        flex-wrap: wrap;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .pagination-item,
    .page-num {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .pagination-item.prev,
    .pagination-item.next,
    .pagination-item.page-link {
        padding: 0 12px;
    }
}