body {
    margin: 0;
    font-family: "微软雅黑", Arial, sans-serif;
    background: #fff;
    color: #222;
}

header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 0;
    min-width: 1200px;
}

.nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 40px 0 40px;
}

.logo {
    position: absolute;
    left: 40px;
    top: 10px;
    font-size: 22px;
    color: #2db7f5;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav a {
    color: #222;
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
}

.hero {
    display: flex;
    width: 100%;
    min-width: 1200px;
    height: 260px;
    background: #fff;
}

.hero-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.hero-img img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    border-radius: 10px;
    background: #eee;
}

.hero-info {
    flex: 1;
    background: #06697a;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 40px;
}

.hero-info h2 {
    font-size: 24px;
    margin: 0 0 10px 0;
}

.hero-info p {
    font-size: 16px;
    margin: 0 0 10px 0;
}

.section {
    width: 1200px;
    margin: 0 auto;
    padding: 40px 0 0 0;
}

.section-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222;
    border-left: 4px solid #06697a;
    padding-left: 10px;
}

.intro-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.intro-item {
    width: 31%;
    background: #f7f7f7;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px #eee;
}

.intro-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: #ddd;
}

.intro-item .desc {
    padding: 10px 16px;
    font-size: 14px;
    color: #444;
}

.intro-item .date {
    font-size: 12px;
    color: #aaa;
    padding: 0 16px 10px 16px;
}

.center-btn {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.center-btn .btn {
    margin: 0;
    background: #06697a;
}

.works-title {
    text-align: center;
    font-size: 20px;
    color: #06697a;
    margin: 40px 0 20px 0;
    font-weight: bold;
}

.works-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.work-item {
    width: 30%;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px #eee;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 10px;
}

.work-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: #ddd;
    border-radius: 6px 6px 0 0;
}

.work-item .desc {
    font-size: 14px;
    color: #444;
    margin: 10px 0 0 0;
}

.work-item .date {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 10px;
}

.blog-title {
    text-align: center;
    font-size: 18px;
    color: #222;
    margin: 40px 0 20px 0;
    font-weight: bold;
    position: relative;
}

.blog-title::before {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #cfcfcf;
    margin: 0 auto 10px auto;
}

.blog-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.blog-item {
    width: 18%;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px #eee;
    margin-bottom: 20px;
    text-align: center;
    padding: 10px 0;
}

.blog-item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    background: #ddd;
    border-radius: 6px 6px 0 0;
}

.contact-section {
    width: 1200px;
    margin: 0 auto 40px auto;
    display: flex;
    gap: 30px;
}

.contact-form {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(45, 183, 245, 0.1);
    padding: 32px 28px 24px 28px;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-form label {
    display: block;
    margin-bottom: 18px;
    font-size: 18px;
    color: #222;
    font-weight: bold;
    letter-spacing: 1px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafbfc;
    outline: none;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2db7f5;
    box-shadow: 0 0 0 2px rgba(45, 183, 245, 0.1);
}

.contact-form button.more-btn {
    width: 160px;
    font-size: 18px;
    padding: 14px 0;
    margin-top: 10px;
    margin-left: 0;
    background: #2db7f5;
    color: #fff;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    font-family: "微软雅黑", Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
}

.contact-form button.more-btn:hover {
    background: #ff1663;
    box-shadow: 0 4px 16px rgba(255, 22, 99, 0.18);
}

.contact-map {
    flex: 1;
    min-width: 350px;
    height: 350px;
    background: #f3f3f3;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(45, 183, 245, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.contact-map img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.info-cards {
    width: 1200px;
    margin: 0 auto 40px auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.info-card {
    flex: 1;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px #eee;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: #222;
}

.info-card .icon {
    font-size: 32px;
    color: #06697a;
    margin-bottom: 10px;
    display: block;
}

footer {
    background: #222;
    color: #fff;
    padding: 40px 0 20px 0;
    min-width: 1200px;
}

.footer-main {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.footer-logo {
    font-size: 22px;
    color: #2db7f5;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-desc {
    color: #cfcfcf;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-contact {
    font-size: 14px;
    color: #cfcfcf;
    line-height: 2;
}

.footer-follow {
    text-align: center;
}

.footer-follow .icon {
    width: 48px;
    height: 48px;
    background: #fff;
    display: inline-block;
    border-radius: 6px;
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    color: #aaa;
    font-size: 12px;
    margin-top: 20px;
}

@media (max-width: 1300px) {

    .section,
    .contact-section,
    .info-cards,
    .footer-main {
        width: 98vw;
        min-width: 0;
    }

    .hero {
        min-width: 0;
    }

    footer {
        min-width: 0;
    }
}

/* 顶部导航栏优化 */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 1200px;
    background: rgba(255, 255, 255, 0.97);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid #eee;
}

.header-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 60px;
}

.logo {
    font-size: 28px;
    color: #2db7f5;
    font-weight: bold;
    letter-spacing: 2px;
    margin-left: 10px;
}

.nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    /* 让导航栏自动靠右 */
}

.nav a {
    color: #222;
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    position: relative;
}

.nav a:hover {
    background: #e6f7ff;
    color: #1890ff;
}

.nav a.active,
.nav a:active {
    background: #2db7f5;
    color: #fff;
    font-weight: bold;
}

/* hero区域优化 */
.hero {
    display: flex;
    width: 100%;
    min-width: 1200px;
    height: 320px;
    background: #fff;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    /* 顶部导航栏高度 */
}

.hero-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
    background: #f2f2f2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hero-info {
    flex: 1;
    background: #06697a;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 40px;
    height: 240px;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.hero-info h2 {
    font-size: 32px;
    margin: 0 0 16px 0;
    font-weight: bold;
}

.hero-info p {
    font-size: 20px;
    margin: 0;
    line-height: 1.8;
}

/* 让内容不被导航栏遮挡 */
.section,
.contact-section,
.info-cards,
.footer-main {
    margin-top: 0;
}

body {
    padding-top: 60px;
}

.intro-carousel {
    width: 600px;
    height: 400px;
    background: rgb(45, 183, 245);
    color: #fff;
    border-radius: 30px;
    position: relative;
    margin: 40px auto 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.5s;
    padding: 60px 0 0 80px;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide h2 {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 40px;
}

.carousel-slide p {
    font-size: 26px;
    margin: 18px 0;
}

.carousel-slide b {
    font-size: 28px;
    font-weight: bold;
}

.carousel-dots {
    position: absolute;
    left: 70px;
    bottom: 40px;
    z-index: 10;
}

.carousel-dots .dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 6px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.3;
    cursor: pointer;
    transition: opacity 0.3s, background 0.3s;
}

.carousel-dots .dot.active {
    opacity: 1;
    background: #fff;
    box-shadow: 0 0 0 2px #06697a;
}

.more-btn {
    display: inline-block;
    padding: 15px 20px;
    background: #2db7f5;
    color: #fff;
    font-size: 15px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-family: "微软雅黑", Arial, sans-serif;
    font-weight: 500;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(255, 22, 99, 0.08);
    outline: none;
    letter-spacing: 2px;
}

.more-btn:hover {
    background: #ff1663;
    box-shadow: 0 4px 16px rgba(255, 22, 99, 0.18);
}

/* 卡片悬浮效果 */
.intro-item,
.work-item,
.blog-item {
    transition: box-shadow 0.3s, transform 0.3s;
    will-change: transform;
    /* 保证悬浮时在上层 */
    position: relative;
    z-index: 1;
}

.intro-item:hover,
.work-item:hover,
.blog-item:hover {
    box-shadow: 0 12px 32px rgba(45, 183, 245, 0.18), 0 2px 8px #eee;
    transform: translateY(-10px) scale(1.03);
    z-index: 2;
}

/* 图片悬浮效果 */
.intro-item img,
.work-item img,
.blog-item img {
    transition: transform 0.3s, box-shadow 0.3s;
}

.intro-item:hover img,
.work-item:hover img,
.blog-item:hover img {
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 8px 24px rgba(45, 183, 245, 0.15);
}