html,
body {
    height: 100%;
    width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
}

a:hover,
a:focus {
    color: #474157;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}


#mainbody {
    position: relative;
    width: 100%;
    min-height: auto;
    background: #f7fafc;
    color: #2d3748;
}

/* 自定义容器 - 避免与Bootstrap冲突 */
.page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 区块标题通用样式 */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ========== 英雄区 ========== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 波浪形分割线 */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f7fafc' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,117.3C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

.company-name {
    font-size: 52px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slogan {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    letter-spacing: 1px;
}

/* ========== 核心业务区 ========== */
.services-section {
    padding: 100px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 50px 35px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 64px;
    margin-bottom: 24px;
    line-height: 1;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* ========== 公司简介区 ========== */
.about-section {
    padding: 100px 0;
    background: #f7fafc;
}

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

.about-content>p {
    font-size: 18px;
    line-height: 1.9;
    color: #2d3748;
    text-align: center;
    margin-bottom: 60px;
}

.company-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-label {
    display: block;
    font-size: 19px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 10px;
}

.feature-desc {
    display: block;
    font-size: 14px;
    color: #718096;
}

/* ========== 联系方式区 ========== */
.contact-section {
    padding: 100px 0;
    background: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 24px;
}

.contact-info strong {
    display: block;
    font-size: 19px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
}

.contact-info p {
    font-size: 15px;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

/* ========== 响应式设计 ========== */

/* 平板 */
@media (max-width: 992px) {
    .company-name {
        font-size: 44px;
    }

    .slogan {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 50px;
    }

    .services-grid {
        gap: 30px;
    }
}

/* 手机 */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 100px;
    }

    .company-name {
        font-size: 36px;
    }

    .slogan {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .services-section,
    .about-section,
    .contact-section {
        padding: 70px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 40px 25px;
    }

    .company-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }

    #mainbody .index-text {
        text-align: left;
    }
}

@media (max-width: 767px) {

    #mainbody>.container>.text-center {


        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
    }

    #mainbody>.container>.text-center>h1 {


        font-size: 50px;
        margin-bottom: 20px;
    }
}

.footer {
    background-color: #222222;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin: 0;
}