﻿@font-face {
    font-family: 'worksans';
    src: url('worksans.ttf') format('truetype');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:  'worksans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}
a{
    color:#333;
    text-decoration:none;
}

/* Navigation */
nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    /*position: fixed;*/
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo img {
        height: 60px;
        width: auto;
    }

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #2c5f2d;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

    .menu-toggle span {
        width: 28px;
        height: 3px;
        background: #333;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}



        .nav-menu a:hover, .nav-menu a.active {
            color: #8fbc78;
        }
    .nav-menu a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        padding: 8px 0;font-size:19px;
    }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: #8fbc78;
            transition: width 0.3s ease;
        }


        .nav-menu a:hover::after, .nav-menu a.active::after {
            width: 100%;
        }
/* Hero Banner */
.hero {
    margin-top: 2px;
    /*margin-top: 80px;*/
    height: 500px;
    background: url('../images/banner.png') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

    .hero::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(rgba(255,255,255,0.05) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,0.05) 2px, transparent 2px);
        background-size: 60px 60px;
        animation: gridSlide 30s linear infinite;
    }

@keyframes gridSlide {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 60px;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInFromLeft 1.2s ease-out;
}

.hero p {
    font-size: 24px;
    font-weight: 300;
    animation: slideInFromRight 1.2s ease-out 0.3s backwards;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Categories */
.products-section {
    padding: 40px 40px;
    background: #f9f9f9;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
}

    .section-title h2 {
        font-size: 42px;
        color: #333;
        font-weight: 700;
        margin-bottom: 10px;
    }

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 60px;
}

.products-grid.homegrid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 0;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 2px 2px 20px rgb(47, 142, 204);
    }

.product-image {
    width: 100%;
    /*height: 100px;*/
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:10px;
}

    .product-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.product-info {
    padding: 25px 20px;
}

    .product-info h3 {
        font-size: 16px;
        color: #333;
        font-weight: 600;
        line-height: 1.4;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* About Section */
.about-section {
    padding: 0px 40px;
    /*background: white;*/
    background: #f0f0f0;
    padding-top: 20px;
}

.about-title {
    text-align: center;
    margin-bottom: 15px;
}

    .about-title h2 {
        font-size: 42px;
        color: #333;
        font-weight: 700;
    }

.about-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 50px;
}

.about-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.about-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: #4a90e2;
}

    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 40px;
}

    .about-content p {
        color: #555;
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

.about-highlight {
    background: #f0f7ff;
    border-left: 4px solid #4a90e2;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 8px;
}

    .about-highlight p {
        margin: 10px 0;
        text-align: left;
    }

.homeswiper {
    max-width: 1400px;
    width: 100%;
    overflow: hidden;position:relative;
}


/* Breadcrumb */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 8px 0 12px;
    border-bottom: 1px solid #e9ecef;
    margin-top: 4px;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6c757d;
}

    .breadcrumb a {
        color: #8fbc78;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .breadcrumb a:hover {
            color: #6a9c5c;
        }

    .breadcrumb span {
        color: #333;
        font-weight: 500;
    }

.breadcrumb-separator {
    color: #adb5bd;
}

/* Page Title */
.page-title-section {
    background: linear-gradient(135deg, #82C135 0%, #5A9E1F 100%);
    padding: 60px 40px;
    text-align: center;
    color: white;
}

    .page-title-section h1 {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: 15px;
        animation: fadeInUp 0.8s ease;
    }

    .page-title-section p {
        font-size: 18px;
        opacity: 0.95;
        animation: fadeInUp 0.8s ease 0.2s backwards;
    }

/* Content Section */
.content-section {
    padding: 40px 40px;
    background: white;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Video Section */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

    .video-wrapper video {
        width: 100%;
        display: block;
    }

/* Company Profile */
.company-profile {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 12px;
    margin-bottom: 60px;
}

.profile-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

    .profile-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #8fbc78 0%, #6a9c5c 100%);
        border-radius: 2px;
    }

.profile-content p {
    color: #555;
    font-size: 16px;
    line-height: 2;
    margin-bottom: 20px;
    text-indent: 2em;
}

    .profile-content p:first-child {
        text-indent: 0;
        text-align: center;
        font-size: 17px;
        color: #333;
        font-weight: 500;
    }

/* Highlights Grid */
.highlights-section {
    margin-top: 60px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.highlight-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

    .highlight-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border-top-color: #8fbc78;
    }

.highlight-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.highlight-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.highlight-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* Contact CTA */
.contact-cta-section {
    background: linear-gradient(135deg, #82C135 0%, #5A9E1F 100%);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    color: white;
    margin-top: 60px;
}

    .contact-cta-section h3 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .contact-cta-section p {
        font-size: 18px;
        margin-bottom: 25px;
        opacity: 0.95;
    }

.contact-email {
    display: inline-block;
    padding: 14px 40px;
    background: white;
    color: #8fbc78;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

    .contact-email:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Content Section */
.contact-content {
    padding: 80px 40px;
    background: #f8f9fa;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Contact Info */
.contact-info-section {
    background: white;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

    .contact-info-section h2 {
        font-size: 32px;
        font-weight: 700;
        color: #333;
        margin-bottom: 30px;
        position: relative;
        padding-bottom: 15px;
    }

        .contact-info-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, #8fbc78 0%, #6a9c5c 100%);
            border-radius: 2px;
        }

.contact-info-item {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8fbc78 0%, #6a9c5c 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-details p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.contact-details a {
    color: #8fbc78;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .contact-details a:hover {
        color: #6a9c5c;
    }

/* Contact Form */
.contact-form-section {
    background: white;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contacttable {
    width: 100%;
}

.moontd {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.contacttable tr {
    margin-bottom: 20px;
}

.contacttable td {
    padding: 12px 0;
    vertical-align: top;
}

    .contacttable td:first-child {
        font-weight: 600;
        color: #333;
        font-size: 15px;
        padding-top: 20px;
    }

.contacttable input[type="text"],
.contacttable textarea {
    width: 100%;
    max-width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

    .contacttable input[type="text"]:focus,
    .contacttable textarea:focus {
        outline: none;
        border-color: #8fbc78;
        background: white;
        box-shadow: 0 0 0 4px rgba(143, 188, 120, 0.1);
    }

.contacttable textarea {
    resize: vertical;
    min-height: 180px;
    line-height: 1.6;
}

.contacttable span[style*="color:Red"] {
    color: #dc3545 !important;
    font-size: 14px;
    margin-left: 8px;
    font-weight: 500;
}

.button_class {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 10px 0 0;
}

input[type="submit"].button_class {
    background: linear-gradient(135deg, #8fbc78 0%, #6a9c5c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(143, 188, 120, 0.3);
}

    input[type="submit"].button_class:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(143, 188, 120, 0.4);
    }

input[type="reset"].button_class {
    background: #6c757d;
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

    input[type="reset"].button_class:hover {
        background: #5a6268;
        transform: translateY(-2px);
    }

/* Map Section */
.map-section {
    margin-top: 60px;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

    .map-section h2 {
        font-size: 32px;
        font-weight: 700;
        color: #333;
        margin-bottom: 30px;
        text-align: center;
    }

.map-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #4a90e2;
}
/* Category Sidebar */
.category-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.category-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.category-header {
    background: linear-gradient(135deg, #8fbc78 0%, #6a9c5c 100%);
    color: white;
    padding: 20px 25px;
    font-size: 20px;
    font-weight: 700;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .category-list li {
        border-bottom: 1px solid #f0f0f0;
    }

        .category-list li:last-child {
            border-bottom: none;
        }

    .category-list a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 25px;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 15px;
    }

        .category-list a:hover,
        .category-list a.active {
            background: #f8f9fa;
            color: #8fbc78;
            padding-left: 30px;
        }

        .category-list a::after {
            content: '→';
            font-size: 16px;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .category-list a:hover::after,
        .category-list a.active::after {
            opacity: 1;
        }

/* Products Section */
.products-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.products-header {
    margin-bottom: 40px;
}

    .products-header h2 {
        font-size: 32px;
        font-weight: 700;
        color: #333;
        margin-bottom: 10px;
    }

.category-description {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 15px;
}
.category-description ul{margin-left:20px;}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.product-item {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: #333;
    display: block;
}

    .product-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border-color: #8fbc78;
    }

.product-image {
    width: 100%;
    /*height: 180px;*/
    aspect-ratio: 1 / 1;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.homegrid .product-image {
    /*height: 256px;*/
}
    .product-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.05) 100%);
        pointer-events: none;
    }

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px 15px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

.digg {
    display: flex;
    gap: 10px;
    align-items: center;justify-content:center;
}

.scott a,
.scott span {
    display: inline-block;
    padding: 10px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
}

    .scott a:hover {
        border-color: #8fbc78;
        color: #8fbc78;
        background: #f8fef5;
    }

.scott .current {
    background: linear-gradient(135deg, #8fbc78 0%, #6a9c5c 100%);
    color: white;
    border-color: #8fbc78;
}

.scott .text {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    width: 60px;
    text-align: center;
}

.scott .button {
    padding: 8px 20px;
    background: #8fbc78;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

    .scott .button:hover {
        background: #6a9c5c;
    }
/* Products Layout */
.products-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}
.products-grid br {
    display: none;
}
.homeswiper img{
   max-width:100%;
}
/* Footer */
footer {
    background: #1a1a1a;
    color: #999;
    padding: 40px;
    text-align: center;
}

    footer p {
        margin: 8px 0;
        font-size: 14px;
    }

.footer-email {
    color: #4a90e2;
    text-decoration: none;
}

    .footer-email:hover {
        text-decoration: underline;
    }

.description img{max-width:100%;}
/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
    text-align: center;
}

.stat-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    padding: 40px 20px;
    transition: all 0.3s ease;
}

    .stat-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    }

.stat-icon {
    font-size: 48px;
    color: #e76f51; /* 柔和橙红，可与绿色主色形成视觉平衡 */
    margin-bottom: 15px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #222;
}

    .stat-number .small {
        font-size: 18px;
        color: #555;
        font-weight: 400;
    }

.stat-label {
    margin-top: 10px;
    font-size: 16px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stat-icon svg {
    transition: transform 0.3s ease, stroke 0.3s ease;
}

.stat-item:hover .stat-icon svg {
    transform: scale(1.1);
    stroke: #8fbc78; 
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        padding: 30px 15px;
    }

    .stat-number {
        font-size: 30px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero h1 {
        font-size: 42px;
    }
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .category-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 10px 20px;
    }

    .logo img {
        height: 50px;
    }

    .logo-text {
        font-size: 18px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 71px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 111;
    }

        .nav-menu.active {
            transform: translateX(0);
        }

        .nav-menu li {
            border-bottom: 1px solid #f0f0f0;
        }

        .nav-menu a {
            display: block;
            padding: 18px 30px;
        }

    .hero {
        height: 400px;
        /*margin-top: 80px;*/
    }

        .hero h1 {
            font-size: 32px;
        }

        .hero p {
            font-size: 18px;
        }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-images {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 280px;
    }

    .section-title h2,
    .about-title h2 {
        font-size: 32px;
    }

    .products-section,
    .about-section {
        padding: 60px 20px;
    }
    .breadcrumb-container {
        padding: 0 20px;
    }

    .page-title-section {
        padding: 40px 20px;margin-bottom:20px;
    }

        .page-title-section h1 {
            font-size: 36px;
        }

    .content-section {
        padding: 60px 20px;
    }

    .company-profile {
        padding: 30px 20px;
    }

    .profile-title {
        font-size: 28px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-cta-section {
        padding: 35px 20px;
    }

        .contact-cta-section h3 {
            font-size: 24px;
        }

    .contact-content {
        padding: 60px 20px;
    }

    .contact-info-section,
    .contact-form-section {
        padding: 35px 25px;
    }

        .contact-info-section h2,
        .map-section h2 {
            font-size: 28px;
        }

    .moontd {
        font-size: 20px;
    }

    .contacttable td:first-child {
        display: block;
        padding-bottom: 5px;
    }

    .contacttable td:last-child {
        display: block;
        padding-top: 0;
    }

    .button_class {
        width: 100%;
        margin: 10px 0 0 0;
    }

    .map-section {
        padding: 35px 20px;
    }

    .map-placeholder {
        height: 300px;
    }
    .products-layout {
        grid-template-columns: 1fr;
        padding: 40px 0px;
    }


    .products-section {
        padding: 25px 20px;
    }

    .products-header h2 {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .digg {
        flex-wrap: wrap;
        gap: 5px;
    }

    .scott a,
    .scott span {
        padding: 8px 12px;
        font-size: 14px;
    }
    .products-grid.homegrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

     

}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .hero p {
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

 /*   .product-image {
        height: 256px;
    }*/

    .section-title h2,
    .about-title h2 {
        font-size: 28px;
    }
}

.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

    .scroll-fade.visible {
        opacity: 1;
        transform: translateY(0);
    }





@media (max-width: 1024px) {
    .products-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    /* 分类侧边栏改为顶部 */
    .category-sidebar {
        position: relative;
        top: 0;
        width: 100%;
        z-index: 100;
    }

    /* 分类容器 */
    .category-box {
        border-radius: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    /* 分类头部 - 可点击展开/收起 */
    .category-header {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        user-select: none;
        position: relative;
    }

        /* 展开/收起图标 */
        .category-header::after {
            content: '▼';
            font-size: 14px;
            transition: transform 0.3s ease;
        }

        .category-header.expanded::after {
            transform: rotate(180deg);
        }

    /* 分类列表 - 默认隐藏 */
    .category-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
    }

        /* 展开状态 */
        .category-list.expanded {
            max-height: 800px;
            transition: max-height 0.5s ease-in;
        }

        /* 分类项样式优化 */
        .category-list li {
            border-bottom: 1px solid #f0f0f0;
        }

        .category-list a {
            padding: 16px 25px;
            font-size: 14px;
        }

    /* 产品区域 */
    .products-section {
        border-radius: 0;
        box-shadow: none;
        padding: 30px 20px;
    }

    .category-sidebar.sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            transform: translateY(-100%);
        }

        to {
            transform: translateY(0);
        }
    }

    /* 当分类固定时，为产品区域添加padding，避免被遮挡 */
    .products-layout.category-fixed {
        padding-top: 70px; /* 根据分类高度调整 */
    }

    /* 折叠时的高度 */
    .category-sidebar.sticky .category-box {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    /* 分类头部hover效果 */
    .category-header:active {
        background: linear-gradient(135deg, #7dbd6a 0%, #5c8f4f 100%);
    }

    /* 展开指示器动画 */
    .category-header::after {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* 列表项淡入动画 */
    .category-list.expanded li {
        animation: fadeInItem 0.3s ease forwards;
        opacity: 0;
    }

        .category-list.expanded li:nth-child(1) {
            animation-delay: 0.05s;
        }

        .category-list.expanded li:nth-child(2) {
            animation-delay: 0.1s;
        }

        .category-list.expanded li:nth-child(3) {
            animation-delay: 0.15s;
        }

        .category-list.expanded li:nth-child(4) {
            animation-delay: 0.2s;
        }

        .category-list.expanded li:nth-child(5) {
            animation-delay: 0.25s;
        }

        .category-list.expanded li:nth-child(6) {
            animation-delay: 0.3s;
        }

        .category-list.expanded li:nth-child(7) {
            animation-delay: 0.35s;
        }

        .category-list.expanded li:nth-child(8) {
            animation-delay: 0.4s;
        }

        .category-list.expanded li:nth-child(9) {
            animation-delay: 0.45s;
        }

        .category-list.expanded li:nth-child(10) {
            animation-delay: 0.5s;
        }

    @keyframes fadeInItem {
        from {
            opacity: 0;
            transform: translateX(-10px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* 固定时添加阴影过渡 */
    .category-sidebar {
        transition: box-shadow 0.3s ease;
    }

        .category-sidebar.sticky .category-box {
            box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        }

    /* 当前选中项高亮优化 */
    .category-list a.active {
        background: #f0f7ff;
        color: #8fbc78;
        font-weight: 600;
        border-left: 4px solid #8fbc78;
        padding-left: 21px;
    }
}

/* 移动端产品网格优化 */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    /*.product-image {
        height: 150px;
    }*/

    .product-name {
        font-size: 13px;
        min-height: 40px;
        padding: 0 5px;
    }

    .product-info {
        padding: 15px 10px;
    }

    .products-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
}
 