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

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo img {
    height: 50px;
}

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

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 1000;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #007bff;
}

/* 头部横幅样式 */
.hero {
    background-color: #f8f9fa;
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-bg-image {
    max-width: 100%;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: black;

}

.slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.slogan-line {
    width: 50px;
    height: 2px;
    background-color: #333;
    margin-right: 15px;
}

.hero p {
    font-size: 1.2em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    color: #333;
    font-weight: normal;
    margin: 0;
}

/* 公司简介样式 */
.company-intro {
    padding: 40px 0;
    background-color: #f8f9fa;
    margin-top: -20px;
}

.company-white-container {
    background-color: #fff;
    width: 1200px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 5px;
    position: relative;
    border-left: 4px solid #ffd700;
}

.intro-content {
    width: 1140px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
}

.intro-text {
    position: relative;
}

.intro-text h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
    display: inline-block;
}

.intro-text p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #666;
    text-align: justify;
}

.highlight {
    color: #ffd700; /* 设置文字颜色为金色 */
}

/* 核心业务领域 */
.core-business {
    padding: 60px 0;
    background-color: #f8f9fa;
    margin-top: -60px;
}

.business-white-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 5px;
    width: 1200px;
    margin: 0 auto;
}

.business-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.business-content h2 {
    text-align: left;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
    display: flex;
    align-items: center;
}

.business-content h2::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('images/about-case-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.business-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.business-card {
    background: #f8f9fa;
    padding: 30px 20px 30px 30px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
    height: 220px;
    display: flex;
    flex-direction: column;
    border-left: 4px solid #ffd700;
}

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

.business-card .card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    display: block;
    flex-shrink: 0;
}

.business-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    text-align: left;
    flex-shrink: 0;
}

.business-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* 核心业务领域样式 */
.business-areas {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.advantages .section-title {
    text-align: left;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.area-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.area-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.area-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.area-card h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #333;
}

.area-card p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

/* 我们的优势样式 */
.advantages {
    padding: 80px 0;
    background-color: #f8f9fa;
    margin-top: -80px;

}

.advantages-white-container {
    background-color: #fff;
    width: 1200px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 5px;
}

.advantages .section-title::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('images/about-case-7.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 5px;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.advantage-item .title-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.advantage-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    object-fit: contain;
}

.advantage-item h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

.advantage-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* 经营理念与职业操守样式 */
.philosophy {
    padding: 80px 0;
    background-color: #f8f9fa;
    margin-top: -100px;
}

.philosophy-white-container {
    background-color: #fff;
    width: 1200px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 5px;
}

.philosophy .section-title {
    text-align: left;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.philosophy .section-title::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('images/about-case-8.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.philosophy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.philosophy-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 20px;
    height: 200px;
    display: flex;
    flex-direction: column;
}

.philosophy-item:last-child {
    margin-bottom: 0;
}

.philosophy-item h3 {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.philosophy-item p {
    color: #666;
    line-height: 1.8;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* 页脚样式 */
.footer {
    background-color: white;
    color: black;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    gap: 15px;
}

.footer-logo img {
    height: 60px;
}

.footer-logo div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-logo p {
    color: #FF0000;
    margin: 0;
}

.footer-logo p:first-child {
    font-weight: bold;
    font-size: 16px;
    margin-top: 12px;
}

.footer-logo p:last-child {
    font-weight: bold;
    font-size: 9px;
}

.footer-info {
    grid-column: 1;
    margin-top: 20px;
}

.footer-info p {
    margin-bottom: 10px;
    color: black;
}

.contact-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

.footer-qr {
    grid-column: 3;
    display: flex;
    justify-content: space-around;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.qr-code p {
    color: black;
    font-size: 0.9em;
}

.footer-bottom {
    display: flex;          /* 使用 Flexbox 布局 */
    align-items: center;    /* 垂直居中 */
    justify-content: center; /* 水平居中（可选） */
    gap: 10px;              /* 设置两个元素之间的间距 */
    font-size: 14px;        /* 统一字体大小 */
    color: #666;            /* 默认文字颜色 */
    padding: 10px 0;        /* 上下内边距 */
    background: #f5f5f5;    /* 背景色（可选） */
}

.footer-bottom a {
    color: #666;            /* 链接颜色 */
    text-decoration: none;  /* 去掉下划线 */
    transition: color 0.3s; /* 悬停动画 */
}

.footer-bottom a:hover {
    color: #1890ff;         /* 悬停时变色（蓝色） */
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: black;
    text-decoration: none;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: #007bff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    .areas-grid,
    .advantages-grid,
    .philosophy-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-qr {
        justify-content: center;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
    }
}

.contact-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-white-container {
    background-color: #f5f5f5;
    padding: 40px;
    border-radius: 5px;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 4px solid #ffd700;
}

.contact-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-title::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('images/about-case-9.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
    padding-left: 50px;
}

.contact-item {
    padding: 5px 40px;
    width: 80%;
    max-width: 800px;
    color: #666;
    font-size: 16px;
    text-align: left;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.contact-item img {
    width: 24px;
    height: 24px;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-item .contact-text {
    color: #666;
    font-size: 16px;
    text-align: left;
}

@media (max-width: 768px) {
    .contact-white-container {
        width: 90%;
        padding: 20px;
    }

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