/* 全局重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1A3B5B;
    --secondary-color: #F36F21;
    --blue-light: #2688e3;
    --gray-dark: #333;
    --gray-medium: #666;
    --gray-light: #f5f5f7;
    --success-color: #4CAF50;
    --transition-speed: 0.3s;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.5;
    color: var(--gray-dark);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 通用样式 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

/* 导航栏 */
.nav-container {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-container.scrolled {
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0 15px;
}

.logo a {
    display: block;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    padding: 5px 0;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-top: 25px;
}

.nav-links li a {
    color: var(--gray-dark);
    font-size: 18px;
    padding: 12px 15px;
    position: relative;
    font-weight: 500;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.nav-links li a.active {
    color: var(--secondary-color);
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: var(--secondary-color);
}

.nav-links li a.highlight {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.nav-links li a.highlight:hover {
    background-color: #e25d10;
}

/* 主横幅 */
.hero {
    height: 500px;
    background-image: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
    margin-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    max-width: 1000px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.cta-button a {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-button a:hover {
    background-color: #e25d10;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 业务中心 */
.service-section {
    padding: 80px 20px;
    background-color: #fff;
}

.service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    width: 250px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* 客户难题部分 */
.problems-section {
    padding: 80px 20px;
    background-color: var(--gray-light);
}

.problems-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.problem-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 15px;
    text-align: center;
}

.problem-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.problem-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.problem-text {
    font-weight: 600;
    color: var(--gray-dark);
}

.problem-solution {
    text-align: center;
    margin-top: 40px;
}

.problem-solution h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* 核心服务 */
.core-services {
    padding: 0 0 80px 0;
}

.core-service-banner {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
}

.core-service-banner h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.core-service-banner p {
    font-size: 1.2rem;
}

.service-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.service-badge {
    padding: 8px 20px;
    background-color: white;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    color: var(--primary-color);
}

.service-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-detail-card {
    width: 270px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.card-content {
    padding: 15px;
    background-color: white;
    min-height: 150px;
}

.card-content p {
    color: var(--gray-medium);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 选择我们的理由 */
.choose-us {
    padding: 80px 20px;
    background-color: var(--primary-color);
    color: white;
}

.white-line {
    background-color: white;
}

.cu-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.cu-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.cu-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.cu-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.cu-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* 联系我们 */
.contact-section {
    padding: 80px 20px;
    background-color: #fff;
    position: relative;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    background-color: var(--primary-color);
    padding: 40px;
    color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.info-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: white;
}

.info-text p {
    color: rgba(255, 255, 255, 0.8);
}

.info-text p a {
    color: rgba(255, 255, 255, 0.8);
}

.info-text p a:hover {
    color: white;
    text-decoration: underline;
}

/* 微信二维码样式 */
.contact-qrcode {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    background-color: white;
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.contact-qrcode h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    color: var(--primary-color);
    align-self: flex-start;
}

.contact-qrcode h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.qrcode-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-wrapper img {
    width: 180px;
    height: 180px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.qrcode-wrapper p {
    color: var(--gray-medium);
    font-size: 1rem;
}

/* 公司资质 */
.qualification-section {
    padding: 80px 20px;
    background-color: #fff;
}

.qualification-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.qualification-item {
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    width: 300px;
}

.qualification-item:hover {
    transform: translateY(-5px);
}

.qualification-image {
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.qualification-item img {
    max-width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.qualification-item:hover img {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.qualification-item p {
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* 关于我们 */
.about-section {
    padding: 80px 20px;
    background-color: var(--gray-light);
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-content {
    flex: 1;
    min-width: 320px;
}

.about-text {
    max-width: 600px;
}

.company-intro {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.highlight {
    color: var(--secondary-color);
    font-weight: 600;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray-medium);
    line-height: 1.7;
}

.about-btn {
    margin-top: 25px;
}

.about-image {
    flex: 1;
    min-width: 320px;
    max-width: 550px;
    position: relative;
}

.about-image:after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    z-index: -1;
    border-radius: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* 合作伙伴 */
.partners-section {
    padding: 60px 20px;
    background-color: #fff;
}

.partners-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* 地图部分 */
.map-section {
    height: 400px;
    display: flex;
    background-color: var(--primary-color);
}

.contact-info {
    flex: 1;
    background-color: var(--primary-color);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-container {
    flex: 2;
    height: 100%;
}

/* 页脚 */
footer {
    background-color: #222;
    padding: 60px 20px 20px;
    color: #aaa;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.copyright {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .partners-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-section {
        flex-direction: column;
        height: auto;
    }
    
    .map-container {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .core-service-item, 
    .core-service-item.reverse {
        flex-direction: column;
    }
    
    .cs-image {
        height: 250px;
    }
    
    .cs-content {
        padding: 30px 20px;
    }
    
    .cs-features {
        grid-template-columns: 1fr;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 20px;
    }
    
    .about-image:after {
        display: none;
    }
    
    .contact-container {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info,
    .contact-qrcode {
        width: 100%;
    }
    
    .logo img {
        height: 60px;
    }
    
    .nav-content {
        height: 80px;
    }
    
    .hero {
        margin-top: 80px;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .core-service-item, 
    .core-service-item.reverse {
        flex-direction: column;
        max-width: 800px;
    }
    
    .cs-image {
        height: 350px;
    }
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e25d10;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-more {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 3px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-more:hover {
    color: #e25d10;
    border-color: #e25d10;
}

.btn-submit {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: #e25d10;
}

/* 核心服务部分 */
.core-services-section {
    padding: 80px 0;
    background-color: #fff;
}

.core-service-item {
    display: flex;
    max-width: 1200px;
    margin: 0 auto 60px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
}

.core-service-item.service-header {
    margin-bottom: 30px;
}

.core-service-item:last-child {
    margin-bottom: 0;
}

.core-service-item.reverse {
    flex-direction: row-reverse;
}

.cs-image {
    flex: 1;
    overflow: hidden;
}

.cs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.core-service-item:hover .cs-image img {
    transform: scale(1.05);
}

.cs-content {
    flex: 1;
    padding: 40px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cs-content h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.cs-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.cs-content p {
    color: var(--gray-medium);
    margin-bottom: 20px;
    line-height: 1.7;
}

.cs-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.cs-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.cs-features li i {
    color: var(--secondary-color);
}

/* 服务详细列表 */
.service-detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-detail-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-detail-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.service-detail-item p {
    color: var(--gray-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 350px;
    position: relative;
    animation: slideIn 0.3s;
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.modal-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-qrcode img {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
}

.modal-qrcode p {
    color: var(--gray-medium);
    text-align: center;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideIn {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
} 