/* --- 基础重置 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #fafafc;
    color: #333;
}

/* === 全局样式 === */
:root {
    --primary-green-brighter: #f6fff6;
    --primary-green-bright: #e8f5e9;
    --primary-green-light: #4CAF50;
    --primary-green-dark: #168040;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --gray-bg: #f5f5f5;
    --black: #000;
    --footer-bg: #20262C;
}

h1,
h2,
h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

h1,
h2 {
    text-align: center;
}

p {
    color: var(--text-light);
    font-size: 14px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
}


a:hover {
    color: #27ae60;
}

img {
    font-size: 14px;
}


.container {
    width: 90%;
    max-width: 1480px;
    margin: 0 auto;
    position: relative;
}



/* --- 导航栏样式 --- */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 40px;
    font-size: 14px;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-size: 15px;
    padding: 5px 0;
    transition: color 0.3s ease;
}


.nav-links a:hover {
    color: #27ae60;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #27ae60;
}

/* --- 页脚样式 --- */
.site-footer {
    background-color: #232a3a;
    color: #ecf0f1;
    padding: 50px 0 20px;
}

.site-footer h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col ul {
    padding-left: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #bdc3c7;
    font-size: 14px;
}

.footer-col a:hover {
    color: #fff;
}

.contact-list li {
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
}


.cert-logos span {
    display: inline-block;
    background: #fff;
    color: #2c3e50;
    padding: 2px 6px;
    margin-right: 5px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.social-icons a {
    margin-right: 15px;
    font-size: 18px;
    color: #bdc3c7;
}

.social-icons img {
    width: 25px;
    height: 25px;
}

.social-icons a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 20px;
    font-size: 12px;
    color: #7f8c8d;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.nav-overlay.active {
    display: block;
}

/* === Hero Section === */
.hero-section {
    background-color: #66BB6A;
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    min-height: calc(550px - 70px);
    /* 标准高度：视口高度减去导航栏高度 */
    display: flex;
    align-items: center;
    /* 垂直居中内容 */
    justify-content: center;
}


.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.hero-section h1 {
    padding-top: 10px;
    color: var(--white);
}

.hero-section p {
    font-size: 18px;
    padding-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-green-dark);
}

.hero-section .btn-primary:hover {
    background-color: #f0f0f0;
}

.main-section {
    background-color: #fff;
    padding: 60px 0;
}

.contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-list li {
    padding-left: 25px;
    background-repeat: no-repeat;
    background-position: 0 center;
    margin-bottom: 10px;
}


.About-iezo {
    font-size: 14px;
}

.contact-list li {
    gap: 10px;
    margin-left: -30px;
}

.contact-list img {
    transform: scale(0.8); 
}

/* --- 响应式设计 --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .contact-list li {
        justify-content: center;
    }

    h1 {
        font-size: 28px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 30px;
    }

}

@media (max-width: 600px) {

    /* 移动端导航栏样式 */
    .navbar .container {
        padding: 15px 0 0;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .logo {
        margin-bottom: 15px;
    }

    .menu-icon {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 1001;
        /* 确保菜单图标在最上层 */
        cursor: pointer;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none;
        background: #fff;
        padding: 10px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

    .nav-links.show {
        /* 添加显示类 */
        display: flex;
    }

    .nav-links li {
        text-align: left;
        width: 100%;
    }

    .nav-links a {
        padding: 12px 20px;
        width: 100%;
        box-sizing: border-box;
        font-size: 14px;
        display: block;
    }

    .nav-links a.active::after {
        display: none;
    }



}

/* 超小屏幕进一步优化 */
@media (max-width: 480px) {
    .hero-section {
        min-height: calc(500px - 50px);
        padding: 30px 0;
    }

    h1 {
        font-size: 24px;
    }

    .hero-section p {
        font-size: 14px;
    }
}