* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1cc088;
    --primary-dark: #16a073;
    --primary-light: #d6f5eb;
    --accent-color: #ff7e5f;
    --dark-text: #2c3e50;
    --light-text: #7f8c8d;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    padding-top: 80px;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 导航栏样式 */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 80px;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.logo-icon i {
    font-size: 26px;
    color: var(--white);
}

.logo:hover .logo-icon {
    transform: rotate(15deg);
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 8px 0;
    font-size: 18px;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover:after {
    width: 100%;
}

/* 汉堡菜单样式 */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-color);
    z-index: 1001;
}

/* 移动版导航菜单 */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(28, 192, 136, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 10px 0;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-nav.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.mobile-nav-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav-links li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 600;
    padding: 10px 20px;
    display: inline-block;
    transition: all 0.3s;
    border-radius: 5px;
}

.mobile-nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.close-btn {
    position: absolute;
    top: 100px;
    right: 30px;
    font-size: 28px;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
}

/* 主横幅区域 */
.hero {
    background: linear-gradient(135deg, #1cc088 0%, #16a073 100%);
    color: var(--white);
    padding: 100px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.hero:after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.btn {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
    box-shadow: 0 5px 15px rgba(255,255,255, 0.3);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(246,78,37, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,255,255, 0.4);
}

.btn:hover:before {
    transform: translateX(100%);
}

/* 服务区域 */
.services {
    padding: 60px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title p {
    color: var(--light-text);
    max-width: 600px;
    margin: 25px auto 0;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
    border: 1px solid #eaeaea;
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background-color: var(--primary-color);
    transition: width 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover:before {
    width: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 40px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background-color: var(--primary-color);
}

.service-card:hover .service-icon i {
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-text);
    position: relative;
}

.service-card p {
    color: var(--light-text);
    font-size: 1rem;
}

/* 作品集区域 */
.portfolio {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    margin-top: -20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 22px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    outline: none;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.portfolio-img {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 192, 136, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.portfolio-overlay a:hover {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.portfolio-info p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.portfolio-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.85rem;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

/* 团队区域 */
.team {
    padding: 60px 0;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid ##eaeaea;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-img {
    position: relative;
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px 0;
}

.avatar-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--primary-light), var(--white));
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.team-member:hover .avatar-container {
    transform: scale(1.15);
}

.avatar-container img {
    width: 200px;
    height: 200px;
    font-size: 120px;
    color: var(--primary-color);
    opacity: 0.3;
    transition: all 0.4s ease;
}

.team-member:hover .avatar-container img {
    opacity: 0.5;
    transform: scale(1.05);
}

.member-info {
    margin-top: 0px;
    margin-bottom: 30px;
    padding: 0px 20px;
}

.member-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.member-info span {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 150px;
}

.member-info p {
    color: #999999;
    margin-top: 10px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* 联系方式区域 */
.contact {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    border-radius: 12px;
    min-width: 300px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.contact-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background-color: var(--primary-color);
    transition: width 0.4s ease;
}

.contact-item:hover:before {
    width: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(28, 192, 136, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.contact-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.contact-details h3 {
    margin-bottom: 8px;
    color: var(--dark-text);
}

.contact-details p {
    color: var(--light-text);
    font-size: 1.1rem;
}
        
/* 页脚样式 */
.footer {
    background-color: #333333;
    color: white;
    text-align: center;
    padding: 1rem 1rem;
    font-size: 0.9em;
    margin-top: auto;
}

.footer p {
    line-height: 1.6;
}

.footer a {
    text-decoration: none;
    /* 去除下划线 */
    color: #FFFFFF;
    /* 文字颜色 */;
}

.footer a:hover {
    color: #1cc088;
    /* 鼠标悬停颜色 */
    text-decoration: none;
    /* 悬停时也无下划线 */;
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.8rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero h2 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .contact-item {
        min-width: 100%;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .service-icon {
        width: 70px;
        height: 70px;
    }

    .service-icon i {
        font-size: 35px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-img {
        height: 220px;
    }

    .avatar-container {
        width: 160px;
        height: 160px;
    }

    .avatar-container img {
        font-size: 100px;
    }

    header {
        height: 80px;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
    }

    .logo-icon i {
        font-size: 26px;
    }

    .logo h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 22px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .filter-btn {
        padding: 6px 16px;
        font-size: 0.9rem;
    }

    .portfolio-info {
        padding: 18px;
    }

    .avatar-container {
        width: 140px;
        height: 140px;
    }

    .avatar-container img {
        font-size: 80px;
    }
}