   /* 基础样式 */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 头部样式 */
header {
    background-color: #0066cc;
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 横幅样式 */
.banner {
    background-image: url('https://picsum.photos/1600/500');
    /* 广告相关背景图 */
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.banner h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #ff9900;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #ff8800;
}

/* 服务介绍 */
.services {
    background-color: white;
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 28px;
    color: #0066cc;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #0066cc;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.service-card {
    width: calc(33.33% - 20px);
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #0066cc;
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    color: #666;
}

/* 关于我们 */
.about {
    background-color: #f5f5f5;
    padding: 50px 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-image {
    width: 50%;
    padding-right: 40px;
    margin-bottom: 30px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    width: 50%;
}

.about-text h2 {
    color: #0066cc;
    margin-bottom: 20px;
    font-size: 28px;
}

.about-text p {
    margin-bottom: 15px;
    color: #666;
}

.about-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
    color: #666;
}

/* 案例展示 */
.cases {
    background-color: white;
    padding: 50px 0;
}

.case-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.case-item {
    width: calc(33.33% - 20px);
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-item:hover img {
    transform: scale(1.05);
}

.case-info {
    padding: 15px;
}

.case-info h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 18px;
}

.case-info p {
    color: #666;
    font-size: 14px;
}

/* 联系我们 */
.contact {
    background-color: #f5f5f5;
    padding: 50px 0;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
}

.contact-info {
    width: 50%;
    padding-right: 40px;
    margin-bottom: 30px;
}

.contact-info h2 {
    color: #0066cc;
    margin-bottom: 20px;
    font-size: 28px;
}

.contact-info p {
    margin-bottom: 15px;
    color: #666;
}

.contact-address,
.contact-phone,
.contact-email {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    background-color: #0066cc;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-details {
    width: 50%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* 页脚 */
footer {
    background-color: #333;
    color: white;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    width: calc(33.33% - 20px);
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ff9900;
}

.footer-column p {
    color: #aaa;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #444;
    color: #888;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {

    .service-card,
    .case-item,
    .footer-column {
        width: calc(50% - 20px);
    }

    .about-image,
    .about-text,
    .contact-info,
    .contact-details {
        width: 100%;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 15px;
    }

    nav ul li {
        margin: 0 10px;
    }

    .banner h1 {
        font-size: 28px;
    }

    .service-card,
    .case-item,
    .footer-column {
        width: 100%;
    }
}