﻿/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.6;
    color: #7dd78c;
}

a {
    text-decoration: none;
}

/* banner样式 */
.banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 95%;
    object-fit: cover;
}

/* 导航菜单样式 */
.nav {
    max-width: 1170px;
    margin: 10px auto 0;
    padding: 5px 20px;
    display: flex;
    position: relative;
    z-index: 1;
}

.nav ul {
    list-style: none;
    display: flex;
    width: auto;
}

.nav li {
    position: relative;
    min-width: 160px;
    margin-right: 1px;
}

.nav li a {
    display: block;
    text-decoration: none;
    color: #40b6b1;
    font-size: 17px;
    padding: 15px 50px;
    background: #f0f2f5;
    text-align: center;
    position: relative;
    height: 55px;
    clip-path: polygon(4% 0, 96% 0%, 100% 100%, 0 100%);
    border-top-left-radius: 27px;
    border-top-right-radius: 27px;
}

/* 文字容器 */
.nav li a span {
    position: relative;
    z-index: 1;
    display: block;
    padding-top: 2px; /* 微调文字位置 */
}

/* 激活状态样式 */
.nav li.active a {
    background-color: #40B6B1;
    color: #fff;
    z-index: 1;
}

.nav li.active a::before {
    background-color: #40B6B1;
}


/* 内容区域样式 */
.content {
    position: relative;
    z-index: 1;
    max-width: 1170px;
    margin: -5px auto 20px; /* 调整与导航的连接 */
    padding: 30px 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.content:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
    transform: none;
}

.intro {
    text-align: left;
    margin-bottom: 20px;
    padding: 20px;
    line-height: 1.8;
    color: #666;
    text-indent: 24px;
}

.intro span {
    color: #40B6B1;
}

/* 项目卡片样式 */
.project-item {
    margin-bottom: 20px;
    padding: 0 20px;
}

.project-content {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

.project-content:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-content img {
    width: 360px;
    height: auto;
    object-fit: cover;
    border-radius: 0;
}

/*.project-text {*/
/*    flex: 1;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: flex-start;*/
/*}*/

.project-text h2 {
    color: #40b6b1;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: normal;
    background: url('../img/titlebg.png') no-repeat left center;
    background-size: contain;
    padding: 10px 0 10px 30px; /* 左侧padding给背景图预留空间 */
    min-width: 360px;
}

.project-text p {
    margin-bottom: 12px;
    line-height: 30px;
    color: #666;
    font-size: 16px;
    text-indent: 24px;
}

.project-link {
    margin-top: 15px;
    background: url('../img/webbg.png') no-repeat left center;
    background-size: auto 100%;
    padding: 8px 0 8px 30px;
    display: flex;
    align-items: center;
    min-width: 500px;
}

.project-link span {
    color: #fff;
    font-size: 18px;
    margin-right: 5px;
}

.project-link a {
    color: #40a9ff;
    text-decoration: none;
    font-size: 16px;
    margin-left: 50px;
}

/* 联系信息样式 */
.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: auto;
    margin-bottom: 0;
    background: url('../img/bg.png') no-repeat;
    background-size: cover;
    padding: 15px 25px;
    border-radius: 4px;
    min-width: 500px;
}

.wechat {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-right: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 20px;
}

.wechat-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wechat-title::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../img/wechat.png') no-repeat center;
    background-size: contain;
}

.contact-info span {
    color: #333;
    font-size: 14px;
}

.wechat img {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
}

.phone {
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../img/phone.png') no-repeat center;
    background-size: contain;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 20px;
}

/* 底部内容容器 */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* 左侧链接区域 */
.footer-left {
    flex: 1;
}

.footer-left a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.link-title {
    margin-bottom: 25px;
    color: #999;
}


/* 友情链接样式 */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* 二维码样式 */
.footer-qr {
    margin-left: 40px;
    text-align: center;
}

.footer-qr img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
}

.footer-qr p {
    color: #999;
    font-size: 12px;
}

/* 版权信息 */
.copyright {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
}

.copyright p {
    color: #999;
    font-size: 12px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {

    .intro {
        padding: 0 20px;
    }

    .project-content {
        flex-direction: column;
    }

    .project-content img {
        width: 70%;
        height: auto;
    }

    .contact-info {
        flex-direction: column;
    }

    .nav li a {
        display: block;
        text-decoration: none;
        color: #666;
        font-size: 14px;
        padding: 12px 20px;
        background: #f0f2f5;
        text-align: center;
        position: relative;
        height: 45px;
    }
}

/* 内容切换区域 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 最后一个项目移除底部边框和间距 */
.project-item:last-child {
    margin-bottom: 0;
}

/* 底部栏 */
.footer {
    background-image: url(../img/footer_bg.png);
    background-repeat: repeat;
    width: 100%;
    height: 589px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer .footer_menu {
    position: relative;
    height: 275px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.footer .nav_link {
    width: 1136px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}


/* 友情链接 */
.footer .nav_link_ul {
    list-style-type: none;
    text-align: center;
    width: 1136px;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer .nav_link_ul li {
    overflow-wrap: break-word;
    color: rgba(255, 255, 255, 1);
    font-size: 18px;
    font-family: SourceHanSansCN-Bold;
    font-weight: 700;
    line-height: 27px;
    border-radius: 4px;
    height: 68px;
    border: 1px solid rgba(255, 255, 255, 1);
    width: 118px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.footer .footer_contact {
    position: relative;
    margin: 0 auto;
}

.footer .footer_contact_div {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 1126px;
    justify-content: space-between;
    align-items: center;
}

.footer_contact_left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 550px;
    height: 186px;
}

.footer_contact_left_title {
    height: 16px;
    overflow-wrap: break-word;
    color: rgba(255, 255, 255, 1);
    font-size: 18px;
    font-family: MicrosoftYaHei-Bold;
    font-weight: 700;
    white-space: nowrap;
    line-height: 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


.footer_contact_left_content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 26px;
}

.footer_contact_left_text {
    overflow-wrap: break-word;
    color: rgba(255, 255, 255, 1);
    font-family: MicrosoftYaHei;
    /*font-weight: NaN;*/
    text-align: left;
    white-space: nowrap;
    font-size: 14px;
    line-height: 36px;
    overflow: visible;
}

.footer_contact_left_content .school_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 108px;
}

.footer_contact_left_content .school_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 108px;
}

.footer_contact_left_content .contact_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 284px;
}


.footer_contact_left_content .cec_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 96px;
}

.contact_info_text {
    color: rgba(255, 255, 255, 1);
    font-family: MicrosoftYaHei;
    /*font-weight: NaN;*/
    text-align: left;
    font-size: 14px;
    line-height: 36px;
    overflow: visible;
}

.contact_info_text616 {
    margin-left: 40px;
    color: rgba(255, 255, 255, 1);
    font-family: MicrosoftYaHei;
    /*font-weight: NaN;*/
    text-align: left;
    font-size: 14px;
    line-height: 36px;
    overflow: visible;
}

.footer_contact_right {
    display: flex;
    flex-direction: column;
    width: 478px;
    align-items: flex-start;
    height: 186px;
}

.nav_link_concat {
    width: 500px;
    list-style-type: none;
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nav_link_concat li {
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
    font-family: MicrosoftYaHei;
    /*font-weight: NaN;*/
    text-align: left;
    white-space: nowrap;
    line-height: 16px;
}

.nav_link_concat li a {
    width: 96px;
    height: 16px;
    overflow-wrap: break-word;
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
    font-family: MicrosoftYaHei;
    /*font-weight: NaN;*/
    text-align: left;
    white-space: nowrap;
    line-height: 36px;
    margin-top: 28px;
    text-decoration: none;
}

.footer_contact_right_title {
    height: 16px;
    overflow-wrap: break-word;
    color: rgba(255, 255, 255, 1);
    font-size: 18px;
    font-family: MicrosoftYaHei-Bold;
    font-weight: 700;
    white-space: nowrap;
    line-height: 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

}

.footer_contact_right_content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-top: 26px;
}

.footer_contact_center {
    background-color: rgba(255, 255, 255, 1);
    width: 1px;
    height: 180px;
    display: flex;
    flex-direction: column;
}

.footer_line {
    width: 100%;
    height: 1px;
    margin-top: 166px;
    background-color: rgba(109, 171, 172, 1);
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer_bottom {
    position: relative;
    margin-top: 40px;
;
    background-color: rgba(0, 123, 123, 1);
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.footer_bottom_text {
    height: 20px;
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
    font-family: MicrosoftYaHei;
    /*font-weight: NaN;*/
    line-height: 20px;
    text-align: center;
}

.footer_bottom_text a {
    color: rgba(255, 255, 255, 1);
}
