/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 滚动条样式 - 默认隐藏，滚动时显示 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Firefox 滚动条 */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* 导航菜单 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 70px;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 5%;
    min-height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a365d;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
    white-space: nowrap;
    padding: 5px 0;
    min-width: 90px;
    text-align: center;
}

.nav-links a:hover {
    color: #3182ce;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3182ce;
    transition: width 0.3s ease;
}

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

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 2px 0;
    transition: all 0.3s;
}

/* 首图模块 - 轮播图 */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    color: #fff;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide-1 {
    background: linear-gradient(rgba(232, 124, 108, 0.55), rgba(196, 86, 120, 0.6)), url(https://images.unsplash.com/photo-1516589091380-5d8e87df6999?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80);
    background-position: center 30%;
    background-size: cover;
    background-attachment: fixed;
}

.slide-2 {
    background: linear-gradient(rgba(13, 59, 102, 0.4), rgba(13, 59, 102, 0.6)), url(https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80);
    background-position: center 30%;
    background-size: cover;
    background-attachment: fixed;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    background: transparent;
    border-radius: 8px;
}

.slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    min-height: 3.6rem;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
    border: 2px solid #fff;
}

.cta-button:hover {
    background-color: #fff;
    color: #1a365d;
}

/* 轮播控制按钮 */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* 轮播指示器 */
.slide-indicators {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

.scroll-down {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* 通用部分样式 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.underline-word {
    color: #1a365d;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.underline-word:not(:last-child)::after {
    content: "·";
    color: #94a3b8;
    font-weight: 400;
    margin-left: 0.5rem;
    display: inline-block;
}

/* 业务板块部分 */
.business-section {
    padding: 60px 2rem;
    background-color: #fff;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.business-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.business-card.queqiaodun {
    border-top: 4px solid rgba(232, 124, 108, 0.55);
}

.business-card.yunzong {
    border-top: 4px solid rgba(13, 59, 102, 0.55);
}

.business-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.business-card.queqiaodun .business-icon {
    color: rgba(232, 124, 108, 0.55);
}

.business-card.yunzong .business-icon {
    color: rgba(13, 59, 102, 0.55);
}

.business-card h3 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.business-tagline {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.business-description {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
}

.business-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3182ce;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.business-card.queqiaodun .business-btn {
    background-color: rgba(232, 124, 108, 0.55);
}

.business-card.queqiaodun .business-btn:hover {
    background-color: rgba(232, 124, 108, 100);
}

.business-card.yunzong .business-btn {
    background-color: rgba(13, 59, 102, 0.55);
}

.business-card.yunzong .business-btn:hover {
    background-color: rgba(13, 59, 102, 0.85);
}

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

/* 核心优势部分 */
.advantages-section {
    padding: 60px 2rem;
    background-color: #f9f9f9;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.advantage-icon {
    font-size: 2rem;
    color: rgba(13, 59, 102, 0.85);
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #666;
}

/* 关于我们部分 */
.about-section {
    padding: 60px 2rem;
    background-color: #fff;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: #555;
}

.about-quote i {
    font-size: 2rem;
    color: #1a365d;
    margin-right: 1rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a365d;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.about-mission h4 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.about-mission p {
    color: #666;
}

/* 页脚模块 */
footer {
    background-color: #1a365d;
    color: #fff;
    padding: 40px 2rem 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo-img {
    margin-right: 0.5rem;
}

.footer-about-text {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #f7fafc;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3182ce;
}

.contact-item {
    display: flex;
    margin-bottom: 1rem;
}

.contact-icon {
    margin-right: 1rem;
    color: #3182ce;
}

.contact-label {
    font-size: 0.9rem;
    color: #cbd5e0;
}

.contact-info p {
    margin-top: 0.25rem;
    white-space: nowrap;
}

.wechat-qr-img {
    width: 70px;
    height: auto;
    margin-top: 6px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
}

.footer-bottom {
    border-top: 1px solid #2c5282;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #a0aec0;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal a {
    color: #a0aec0;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #3182ce;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-text {
        order: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3182ce;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2c5282;
}