/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

body {
    color: #262626;
    line-height: 1.6;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #1E9FFF;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    
    animation: fadeIn 1s ease;
}

.section-title h2 {
    font-size: 32px;
    color: #262626;
    margin-bottom: 15px;
}

.section-title p {
    color: #8c8c8c;
    max-width: 600px;
    margin: 0 auto;
}

.section-title h2:after {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    background: #34A853;
    margin: 15px auto 0;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background: #34A853;
    color: white;
    border-radius: 4px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #2c8845;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 168, 83, 0.3);
}

/* 导航栏样式 */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #34A853;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.3);
}

.logo-text {
    margin-left: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #262626;
}

.nav-menu {
    display: flex;
}

.nav-menu > li {
    position: relative;
    margin-left: 40px;
    border-radius: 4px;
    transition: all 0.3s;
    width: 100px;
    text-align: center;
}

.nav-menu > li > a {
    color: #262626;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 15px;
    display: block;
    transition: all 0.3s;
    border-radius: 4px;
}

.nav-menu > li > a:hover {
    color: white;
    background: #34A853;
}

    .nav-menu > li > a.active {
      /*  color: #34A853;
        border: 1px solid #34A853;
        border-radius: 10px;*/
        color: white;
        background: #34A853;
    }

.nav-menu > li > a.active:hover {
    color: white;
    background: #34A853;
}

 /* 页脚样式 */
 footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #34A853;
}

.footer-column p, .footer-column li {
    margin-bottom: 10px;
    color: #bdc3c7;
}

.footer-column a {
    color: #bdc3c7;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #34A853;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: #34A853;
    min-width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    flex-direction: column;
}

.social-item {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.social-item a {
    display: flex;
    align-items: center;
    color: #bdc3c7;
    transition: all 0.3s;
}

.social-item a:hover {
    color: #34A853;
}

.social-item i {
    margin-right: 10px;
    font-size: 20px;
}

.social-preview {
    position: absolute;
    left: 0;
    bottom: 100%;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
}

.social-preview img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
}

.social-item:hover .social-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 14px;
}

        /* 滚动动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

         /* 动画效果 */
         @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        
        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }