/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* 基础样式 */
body {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.green-btn {
    background-color: #4CAF50;
    color: #fff;
}

.green-btn:hover {
    background-color: #3d8b40;
}

.white-btn {
    background-color: #fff;
    color: #333;
    border: 2px solid #fff;
}

.white-btn:hover {
    background-color: transparent;
    color: #fff;
}

h2 {
    font-size: 28px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4CAF50;
}

/* 顶部联系栏 
.top-bar {
    background-color: #222;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-select {
    background-color: #222;
    color: #fff;
    border: none;
    cursor: pointer;
}


*/

/* 导航栏 
.header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 40px;
}

.main-nav .ullist {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    padding: 8px 0;
    position: relative;
}

.main-nav a:hover {
    color: #4CAF50;
}

.main-nav .active a {
    color: #4CAF50;
}

.main-nav .active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 15px 0;
    min-width: 200px;
    display: none;
}

.dropdown-menu li {
    padding: 0 20px;
}

.dropdown-menu a {
    display: block;
    padding: 8px 0;
    text-transform: none;
    font-weight: normal;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.quote-btn {
    background-color: #4CAF50;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 0;
}

.quote-btn:hover {
    background-color: #3d8b40 !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

*/








/* 轮播图区域 */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
}

.slider-item.active {
    display: block;
}

.slider-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10%;
    max-width: 600px;
    color: #fff;
}

.slider-content h1 {
    font-size: 48px;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slider-content h1 span {
    color: #4CAF50;
}

.slider-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.slider-buttons {
    display: flex;
    gap: 20px;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.prev-slide, .next-slide {
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-slide:hover, .next-slide:hover {
    background-color: #4CAF50;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
}

.dot.active {
    background-color: #4CAF50;
}

/* Why Choose Us 区域 */
.why-choose-us {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.choose-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.choose-us-item {
    text-align: center;
    padding: 30px 20px;
}

.choose-us-item .icon {
    font-size: 40px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.choose-us-item h3 {
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 15px;
}

.choose-us-item p {
    color: #666;
    font-size: 14px;
}

/* Our Products 区域 */
.our-products {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-item {
    text-align: center;
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.product-item h4 {
    text-transform: capitalize;
    font-size: 16px;
    color: #333;
}

.view-all-products {
    text-align: center;
}

/* About Us 区域 */
.about-us {
    position: relative;
    color: #fff;
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.5);
}

.about-us .container {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    display: flex;
   /*  flex-direction: column; */
}

.about-content {

    color: #000;

    margin-right:40px;
    max-width: 600px;
    margin-bottom: 0px;
}

.about-content h2 {
    text-align: left;
    margin-left: 0;
}

.about-content h2::after {
    left: 0;
    transform: none;
}

.about-content p {
    margin-bottom: 30px;
    line-height: 1.6;
}

.learn-more {
    border: 2px solid #fff;
}

.about-stats {

        align-items:center;


    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .number {
    font-size: 36px;
    font-weight: bold;
    color: #4CAF50;
    display: block;
    margin-bottom: 10px;
}

.stat-item .label {
    
    color: #000;

    font-size: 14px;
    text-transform: uppercase;
}

/* 页脚区域 */
.footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-height: 40px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links h4,
.footer-products h4,
.footer-contact h4,
.footer-social h4 {
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-products h4::after,
.footer-contact h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #4CAF50;
}

.footer-links li,
.footer-products li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-products a {
    color: #999;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-products a:hover {
    color: #4CAF50;
}

.footer-contact li {
    margin-bottom: 10px;
    color: #999;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact li i {
    color: #4CAF50;
    margin-top: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #4CAF50;
    transform: translateY(-5px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #999;
}

.footer-policies {
    display: flex;
    gap: 10px;
}

.footer-policies a {
    color: #999;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: #4CAF50;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .choose-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-contact {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: #fff;
        padding: 60px 20px;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 9999;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 10px 0 0 20px;
        display: none;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slider-content h1 {
        font-size: 32px;
    }
    
    .choose-us-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-contact {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .slider-content {
        left: 5%;
        max-width: 90%;
    }
    
    .slider-content h1 {
        font-size: 24px;
    }
    
    .slider-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}