/* 在线链接服务仅供平台体验和调试使用，平台不承诺服务的稳定性，企业客户需下载字体包自行发布使用并做好备份。 */
@font-face {
    font-family: "钉钉进步体 Regular";
    font-weight: 400;
    src: url("../fonts/DingTalk-JinBuTi.woff2") format("woff2"),
    url("../fonts/DingTalk-JinBuTi.woff") format("woff");
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 20px;
}
html,body{
    height:100%;
}
body {
    font-family:cursive;
    /* font-family: -apple-system, BlinkMacSystemFont,"钉钉进步体 Regular", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; */
    line-height: 1.5;    
    background-color: #f0f9f0;
}

.containerS {
    background: url("../images/80230d8e6cf92086744b1787360475767983434.webp");
    /* background-position: center; */
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 100%;
    height:100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 导航栏样式 */
.header {
    /* background-color: #1b5e20; */
    background-color: #1e1e1e2e;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 120px;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 10px; */
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    /* height: 105px; */
    padding: 0 20px;
}
.nav-list li {
    /* Set explicit sizing for nav items */
    /* height: 60px; */
    line-height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
}
.nav-list li.active {
    border-bottom: 3px solid #ef4444;
}

.nav-list li:hover {
    border-bottom: 3px solid #ef4444;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffffff;
}

/* Hero部分样式 */
.hero {
    min-height: 100vh;
    /* background-color: #f0f9f0; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    color: #fff;
    font-size: 64px; /* Changed from 16px to a more appropriate size for a heading */
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    color: #fff;
    font-size: 32px;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: #2e7d32;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.arrow {
    margin-left: 8px;
    width: 20px;
    height: 20px;
}

/* 特色领域部分样式 */
.features {
    padding: 80px 20px;
    /* background-color: white; */
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-title {
    text-align: center;
    color: #ed4248;
    font-size: 36px;
    margin-bottom: 60px;
}

.featuresImg {
    margin-bottom: 20px;
}

.featuresInfo {
    background: linear-gradient(90deg, #3199f5, #64eee1);
    color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(90deg, #3199f5, #64eee1);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    color: #fff;
}

.feature-title {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-description {
    color: #fff;
    line-height: 1.6;
}

.achievements {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #333;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.load-more {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px auto;
    display: block;
}

.load-more:hover {
    background-color: #3e8e41;
}

/* 页脚样式 */

.footer {
    background-color:rgb(33 211 253);
    padding: 2rem 0;
    color: #fff;
    text-align: center;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.contact-info {
    /* margin-bottom: 1.5rem; */
}
.contact-info p {
    margin: 0.5rem 0;
}
.contact-info i {
    margin-right: 0.5rem;
    color: #007bff;
}
.copyright {
    text-align: center;
    background: #dff7fe;
}
/* 响应式设计 - 使用像素代替rem */
@media (max-width: 768px) {
    *{
        font-size: 14px;
    }
    .features-title{
        font-size: 20px;
    }
    .header{
        height: 85px;
    }
    /* 导航栏在手机上的样式 */
    .nav-list {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 10px;
        gap: 5px;
        padding-top: 10px;
    }
    
    .nav-list li {
        flex-shrink: 0;
        padding: 0 8px;
        line-height: 35px;
    }
    
    .nav-link {
        font-size: 14px;
        white-space: nowrap;
    }
    
    /* 隐藏滚动条但保持滚动功能 */
    .nav-list::-webkit-scrollbar {
        display: none;
    }
    
    .nav-list {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .features-title{
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }
    .lightbox{
        margin-top: 90px !important;
    }
.swiper3{
height: 20vh !important;
}
}