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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --light-bg: #f4f4f4;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* 导航栏样式 */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

/* 在悬停时添加效果 */
.logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 79, 122, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* 主要内容样式 */
main {
    margin-top: 80px;
}

section {
    padding: 4rem 5%;
}

.hero {
    background: linear-gradient(180deg,
        #2196f3 0%,
        #64b5f6 50%,
        #90caf9 100%
    );
    position: relative;
    overflow: hidden;
    height: 600px;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 调整云彩层级 */
.hero .cloud-layer {
    z-index: 2;
}

/* 调整内容层级 */
.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 2rem;
    max-width: 816px;
    margin: 0 auto;
    width: 100%;
    transform: translateY(20px);
    opacity: 0;
    animation: content-fade-in 1s ease forwards;
}

/* 修改太阳元素样式 */
.sun {
    position: absolute;
    width: 150px;
    height: 150px;
    background: transparent;
    border-radius: 50%;
    bottom: -180px;
    right: 15%;
    transform: translateX(50%);
    animation: sunRiseAndStay 8s ease-out forwards;
    z-index: 1;
}

/* 修改光晕效果，作为主要的太阳体 */
.sun::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, 
        rgba(255, 215, 0, 1) 0%,
        rgba(255, 165, 0, 0.9) 30%,
        rgba(255, 140, 0, 0.7) 50%,
        rgba(255, 140, 0, 0) 70%
    );
    border-radius: 50%;
    filter: blur(5px);
    animation: glowPulse 4s ease-in-out infinite;
}

/* 修改光芒效果 */
.sun::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: repeating-conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 215, 0, 0.3) 10deg,
        transparent 20deg,
        transparent 30deg,
        rgba(255, 165, 0, 0.3) 40deg,
        transparent 50deg
    );
    animation: rayRotate 30s linear infinite;
    filter: blur(3px);
}

/* 修改额外光芒层 */
.sun-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180%;
    height: 180%;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 215, 0, 0.2) 5deg,
        transparent 10deg,
        transparent 30deg,
        rgba(255, 165, 0, 0.2) 35deg,
        transparent 40deg,
        transparent 60deg,
        rgba(255, 140, 0, 0.2) 65deg,
        transparent 70deg
    );
    animation: rayRotateReverse 20s linear infinite;
    filter: blur(3px);
}

/* 修改太阳升起动画 */
@keyframes sunRiseAndStay {
    0% {
        transform: translate(50%, 0) scale(0.8);
        bottom: -180px;
        opacity: 0.8;
    }
    100% {
        transform: translate(50%, 0) scale(1);
        bottom: 40%;
        opacity: 1;
    }
}

/* 修改光晕脉冲动画 */
@keyframes glowPulse {
    0%, 100% {
        width: 160%;
        height: 160%;
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        width: 200%;
        height: 200%;
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* 光芒旋转动画 */
@keyframes rayRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 反向光芒旋转动画 */
@keyframes rayRotateReverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

/* 修改天空渐变动画 */
@keyframes skyChange {
    0% {
        opacity: 1;
        background: linear-gradient(180deg,
            rgba(26, 79, 122, 1) 0%,
            rgba(42, 125, 161, 0.8) 50%,
            rgba(75, 200, 228, 0.6) 100%
        );
    }
    40% {
        opacity: 0.8;
        background: linear-gradient(180deg,
            rgba(135, 206, 235, 0.9) 0%,
            rgba(173, 216, 230, 0.7) 50%,
            rgba(255, 255, 255, 0.5) 100%
        );
    }
    60% {
        opacity: 0.8;
        background: linear-gradient(180deg,
            rgba(135, 206, 235, 0.9) 0%,
            rgba(173, 216, 230, 0.7) 50%,
            rgba(255, 255, 255, 0.5) 100%
        );
    }
    100% {
        opacity: 1;
        background: linear-gradient(180deg,
            rgba(26, 79, 122, 1) 0%,
            rgba(42, 125, 161, 0.8) 50%,
            rgba(75, 200, 228, 0.6) 100%
        );
    }
}

.mouse-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    pointer-events: none;
    z-index: 10000;
}

@keyframes shine {
    0% {
        background-position: 200% 0, 0 0;
    }
    100% {
        background-position: -200% 0, 0 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    max-width: 816px;
    margin: 0 auto;
    transform: translateY(20px);
    opacity: 0;
    animation: content-fade-in 1s ease forwards;
}

@keyframes content-fade-in {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: background-color 0.3s;
    position: relative;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #2980b9;
}

/* 服务部分样式 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

/* 为不同服务卡片设置不同的图标颜色 */
.service-card:nth-child(1) i {
    color: #1e88e5; /* 蓝色系 */
    text-shadow: 0 0 20px rgba(30, 136, 229, 0.3);
}

.service-card:nth-child(2) i {
    color: #15803d; /* 绿色系 */
    text-shadow: 0 0 20px rgba(21, 128, 61, 0.3);
}

.service-card:nth-child(3) i {
    color: #c2410c; /* 橙色系 */
    text-shadow: 0 0 20px rgba(194, 65, 12, 0.3);
}

.service-card:hover i {
    transform: scale(1.1) rotate(5deg);
    animation: iconPulse 2s infinite;
}

/* 联系表单样式 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    padding: 1rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #2980b9;
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, 
        #1a4f7a 0%,
        #2a7da1 100%
    );
    color: white;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #4bc8e4;
    font-size: 1.2rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4bc8e4;
}

.social-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #4bc8e4;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 500px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
} 

/* 关于我们部分样式 */
.about {
    background: linear-gradient(135deg, 
        rgba(26, 79, 122, 0.03) 0%,
        rgba(42, 125, 161, 0.06) 100%
    );
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    text-align: left;
}

.about-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.about-text ul li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.about-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #2a7da1, #4bc8e4);
    border-radius: 50%;
}

/* 替换原来的图片部分 */
.about-image {
    position: relative;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg,
        #1a4f7a 0%,
        #3aa0c9 100%
    );
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 轮播容器 */
.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 轮播项 */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(26, 79, 122, 0.9) 0%,
        rgba(58, 160, 201, 0.9) 100%
    );
}

.slide.active {
    opacity: 1;
}

/* 轮播内容样式 */
.slide-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.slide-content i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

/* 为不同轮播页设置不同的图标颜色 */
.slide:nth-child(1) .slide-content i {
    color: #4bc8e4;
    text-shadow: 0 0 20px rgba(75, 200, 228, 0.4);
}

.slide:nth-child(2) .slide-content i {
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.slide:nth-child(3) .slide-content i {
    color: #4ade80;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

.slide:nth-child(4) .slide-content i {
    color: #818cf8;
    text-shadow: 0 0 20px rgba(129, 140, 248, 0.4);
}

.slide:nth-child(5) .slide-content i {
    color: #f472b6;
    text-shadow: 0 0 20px rgba(244, 114, 182, 0.4);
}

/* 导航点样式 */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #4bc8e4;
    transform: scale(1.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-image {
        height: 400px;
    }

    .slide-content h3 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}

/* 添加装饰效果 */
.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(
            circle at 30% 70%,
            rgba(75, 200, 228, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 30%,
            rgba(75, 200, 228, 0.2) 0%,
            transparent 50%
        );
    opacity: 0.8;
}

/* 添加动态效果 */
.about-image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: linear-gradient(
        45deg,
        transparent 20%,
        rgba(75, 200, 228, 0.15) 25%,
        transparent 30%
    );
    animation: shine-about 6s infinite linear;
    transform: rotate(30deg);
}

@keyframes shine-about {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }
    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
        order: -1;
    }

    .about-text {
        text-align: center;
    }

    .about-text ul li {
        text-align: left;
    }
} 

/* 图片 logo 的样式 */
.logo img {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: translateY(-2px);
} 

/* 关于我们部分的新增样式 */
.about-advantages {
    margin: 2rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.advantage-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.advantage-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.advantage-item h4 {
    margin-bottom: 0.5rem;
    color: #1a4f7a;
}

.service-commitment {
    margin-top: 2rem;
}

.commitment-list {
    list-style: none;
    margin-top: 1rem;
}

.commitment-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.commitment-list li:hover {
    transform: translateX(10px);
}

.commitment-list li i {
    font-size: 1.6rem;
    margin-right: 1.2rem;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

/* 为不同承诺项设置不同的图标颜色 */
.commitment-list li:nth-child(1) i {
    color: #1e88e5; /* 蓝色系 */
    text-shadow: 0 0 20px rgba(30, 136, 229, 0.3);
}

.commitment-list li:nth-child(2) i {
    color: #d97706; /* 金色系 */
    text-shadow: 0 0 20px rgba(217, 119, 6, 0.3);
}

.commitment-list li:nth-child(3) i {
    color: #15803d; /* 绿色系 */
    text-shadow: 0 0 20px rgba(21, 128, 61, 0.3);
}

.commitment-list li:nth-child(4) i {
    color: #4f46e5; /* 紫色系 */
    text-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
}

/* 添加悬停动画 */
.commitment-list li:hover i {
    transform: scale(1.1) rotate(5deg);
    animation: iconPulse 2s infinite;
    filter: brightness(1.2);
}

/* 统一的图标脉冲动画 */
@keyframes iconPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* 添加图标悬停发光效果 */
.service-card:hover i,
.slide-content:hover i,
.commitment-list li:hover i {
    filter: brightness(1.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .commitment-list li {
        padding: 0.8rem;
    }
} 

/* 页脚文本样式 */
.footer-section p, 
.footer-bottom p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
} 

/* 公司名称样式 */
.company-name {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    gap: 2px;
}

/* 文字效果 */
.text-shine {
    background: linear-gradient(135deg, 
        #2196f3 0%,    /* 深蓝色 */
        #64b5f6 50%,   /* 中蓝色 */
        #90caf9 100%   /* 浅蓝色 */
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(33, 150, 243, 0.2);
    position: relative;
    padding: 0 2px;
    transition: all 0.3s ease;
}

/* 悬停效果 */
.text-shine:hover {
    transform: translateY(-2px);
    text-shadow: 3px 3px 6px rgba(33, 150, 243, 0.3);
}

/* 文字动画 */
.company-name .text-shine {
    animation: textFloat 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.1s);
}

@keyframes textFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* 添加交互动画 */
.company-name:hover .text-shine {
    animation-play-state: paused;
}

.company-name:hover .text-shine::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #64b5f6 50%,    /* 使用中蓝色 */
        transparent 100%
    );
    animation: lineShine 1s ease-in-out;
}

@keyframes lineShine {
    0% {
        width: 0;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    100% {
        width: 0;
        left: 100%;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .company-name {
        font-size: 1.5rem;
    }
} 

/* 添加流星 */
.meteor {
    position: absolute;
    width: 150px;
    height: 2px;
    transform: rotate(-45deg);
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.8) 0%,
        rgba(255,255,255,0) 100%
    );
    filter: drop-shadow(0 0 2px white);
    animation: meteor 2.5s linear infinite;
}

.meteor:before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 4px 2px rgba(255,255,255,0.6);
    margin-top: -2px;
}

/* 创建多个流星 */
.meteor:nth-child(1) { top: 5%; left: 80%; animation-delay: 0s; }
.meteor:nth-child(2) { top: 15%; left: 20%; animation-delay: 0.8s; }
.meteor:nth-child(3) { top: 25%; left: 60%; animation-delay: 1.6s; }
.meteor:nth-child(4) { top: 35%; left: 10%; animation-delay: 2.4s; }
.meteor:nth-child(5) { top: 45%; left: 70%; animation-delay: 3.2s; }
.meteor:nth-child(6) { top: 10%; left: 40%; animation-delay: 4s; }
.meteor:nth-child(7) { top: 20%; left: 90%; animation-delay: 4.8s; }
.meteor:nth-child(8) { top: 30%; left: 30%; animation-delay: 5.6s; }
.meteor:nth-child(9) { top: 40%; left: 50%; animation-delay: 6.4s; }
.meteor:nth-child(10) { top: 50%; left: 15%; animation-delay: 7.2s; }

/* 流星动画 */
@keyframes meteor {
    0% {
        opacity: 0;
        transform: rotate(-45deg) translateX(0);
    }
    5% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(-45deg) translateX(-1500px);
    }
}

/* 星星闪烁动画 */
@keyframes stars {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-600px);
    }
} 

/* 为不同优势项设置不同的图标颜色和效果 */
.advantage-item:nth-child(1) i {
    color: #1e88e5; /* 专业团队 - 蓝色系 */
    text-shadow: 0 0 20px rgba(30, 136, 229, 0.3);
}

.advantage-item:nth-child(2) i {
    color: #d97706; /* 优质资源 - 金色系 */
    text-shadow: 0 0 20px rgba(217, 119, 6, 0.3);
}

.advantage-item:nth-child(3) i {
    color: #15803d; /* 成功案例 - 绿色系 */
    text-shadow: 0 0 20px rgba(21, 128, 61, 0.3);
}

/* 添加悬停动画效果 */
.advantage-item:hover i {
    transform: scale(1.1) rotate(5deg);
    animation: iconPulse 2s infinite;
    filter: brightness(1.2);
}

/* 调整卡片悬停效果 */
.advantage-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* 调整标题颜色 */
.advantage-item:nth-child(1) h4 {
    color: #1e88e5;
}

.advantage-item:nth-child(2) h4 {
    color: #d97706;
}

.advantage-item:nth-child(3) h4 {
    color: #15803d;
} 

/* 添加云彩层 */
.cloud-layer {
    content: '';
    position: absolute;
    left: -100%;
    right: -100%;
    bottom: -20px;
    height: 45%;
    background: 
        /* 左侧大云朵 */
        radial-gradient(ellipse at 50% 150%, 
            rgba(255,255,255,0.9) 20%, 
            rgba(255,255,255,0.7) 40%,
            rgba(255,255,255,0.4) 60%, 
            transparent 70%) 0% 85%,
        /* 中间云朵 */
        radial-gradient(ellipse at 50% 140%, 
            rgba(255,255,255,0.85) 20%, 
            rgba(255,255,255,0.6) 40%,
            rgba(255,255,255,0.3) 60%, 
            transparent 70%) 50% 95%,
        /* 右侧大云朵 */
        radial-gradient(ellipse at 50% 130%, 
            rgba(255,255,255,0.9) 20%, 
            rgba(255,255,255,0.7) 40%,
            rgba(255,255,255,0.4) 60%, 
            transparent 70%) 100% 90%,
        /* 额外的远处云朵 */
        radial-gradient(ellipse at 50% 120%, 
            rgba(255,255,255,0.7) 20%, 
            rgba(255,255,255,0.5) 40%,
            rgba(255,255,255,0.2) 60%, 
            transparent 70%) 75% 80%;
    background-size: 
        600px 240px,  /* 左侧大云朵 */
        500px 200px,  /* 中间云朵 */
        550px 220px,  /* 右侧大云朵 */
        400px 160px;  /* 远处云朵 */
    background-repeat: repeat-x;
    animation: slowCloudMove 180s linear infinite;
    opacity: 0.9;
    z-index: 2;
}

/* 云彩移动动画 */
@keyframes slowCloudMove {
    0% {
        background-position: 
            0% 85%,      /* 左侧大云朵 */
            50% 95%,     /* 中间云朵 */
            100% 90%,    /* 右侧大云朵 */
            75% 80%;     /* 远处云朵 */
    }
    100% {
        background-position: 
            -100% 85%,   /* 左侧大云朵 */
            -50% 95%,    /* 中间云朵 */
            0% 90%,      /* 右侧大云朵 */
            -25% 80%;    /* 远处云朵 */
    }
} 

/* 添加背景渐变动画 */
.hero {
    background: linear-gradient(180deg,
        #2196f3 0%,
        #64b5f6 50%,
        #90caf9 100%
    );
    animation: gradientShift 15s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0% {
        background-position: 50% 0%;
    }
    50% {
        background-position: 50% 100%;
    }
    100% {
        background-position: 50% 0%;
    }
} 

/* 添加太阳元素 */
.hero::after {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    right: 15%;
    top: 15%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 1) 0%,           /* 增加中心白色强度 */
        rgba(255, 245, 200, 1) 10%,          /* 更亮的金黄色 */
        rgba(255, 220, 150, 0.95) 25%,       /* 更亮的过渡色 */
        rgba(255, 200, 120, 0.9) 40%,        /* 更亮的过渡色 */
        rgba(255, 180, 100, 0.7) 60%,        /* 增加橙色不透明度 */
        rgba(255, 160, 80, 0.5) 75%,         /* 增加过渡色不透明度 */
        rgba(255, 140, 60, 0.3) 90%,         /* 增加外围不透明度 */
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(2px);                       /* 减少模糊效果 */
    z-index: 0;
    box-shadow: 
        0 0 30px rgba(255, 220, 150, 0.4),   /* 增强光晕 */
        0 0 50px rgba(255, 200, 120, 0.2);   /* 增强外部光晕 */
}

/* 修改太阳光晕效果 */
.hero::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    right: calc(15% - 25px);
    top: calc(15% - 25px);
    background: radial-gradient(circle, 
        rgba(255, 220, 150, 0.4) 0%,         /* 更亮的起始色 */
        rgba(255, 200, 120, 0.3) 40%,        /* 更亮的过渡色 */
        rgba(255, 180, 100, 0.2) 70%,        /* 更亮的外围色 */
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(3px);
    z-index: 0;
    animation: sunGlow 8s ease-in-out infinite;
}

@keyframes sunGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;                        /* 增加最小不透明度 */
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;                        /* 增加最大不透明度 */
    }
} 

/* 添加滚动偏移量，考虑固定导航栏的高度 */
html {
    scroll-padding-top: 80px; /* 应该与header的高度相匹配 */
}

/* 确保contact部分可见 */
.contact {
    padding-top: 80px;
    margin-top: -80px;
} 

/* 移动端菜单按钮样式 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.mobile-menu-btn:hover {
    color: var(--secondary-color);
}

/* 响应式设计调整 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 80px;  /* header 高度 */
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu li a {
        display: block;
        padding: 0.8rem;
    }

    /* 语言选择器样式调整 */
    .language-switch {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
} 