/* 基础样式 */
:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --primary-light: #64b5f6;
    --secondary-color: #26c6da;
    --secondary-dark: #00acc1;
    --secondary-light: #4dd0e1;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg-color: #f9f9f9;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #e0e0e0;
    --gray-dark: #757575;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}
.section-padding {
    padding: 80px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}
.section-header p {
    font-size: 18px;
    color: var(--text-light);
}
/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}
.logo span {
    font-size: 12px;
    color: var(--text-light);
    display: block;
    margin-top: 2px;
}
.nav ul {
    display: flex;
}
.nav ul li {
    margin-left: 30px;
}
.nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}
.nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}
.nav ul li a:hover::after,
.nav ul li a.active::after {
    width: 100%;
}
.nav ul li a:hover {
    color: var(--primary-color);
}
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}
/* Banner轮播图样式 */
.banner {
    height: 26vh;
    min-height: 400px;
    width: 100%;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}
.swiper-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.swiper-wrapper {
    transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}
.swiper-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}
.slide1 {
    background: url('images/banner1.jpg') no-repeat center center/cover;
}
.slide2 {
    background: url('images/banner2.jpg') no-repeat center center/cover;
}
.slide3 {
    background: url('images/banner3.jpg') no-repeat center center/cover;
}
.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 800px;
    margin-top: 6%;
}
.slide-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}
.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--white);
    opacity: 0.7;
}
.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}
.swiper-button-next,
.swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    transition: var(--transition);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 0.5) !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold !important;
}
/* 关于公司样式 */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.about-text {
    flex: 1;
}
.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
    object-fit: cover;
    display: block;
}
.about-image:hover img {
    transform: scale(1.05);
}
.about-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}
.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}
.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 10px;
    flex: 1;
    min-width: 150px;
    transition: var(--transition);
}
.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}
.label {
    font-size: 14px;
    color: var(--text-light);
}
/* 旗下产品样式 */
.tabs {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.tab-header {
    display: flex;
    background-color: var(--gray-light);
}
.tab-btn {
    padding: 15px 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    text-align: center;
    flex: 1;
}
.tab-btn.active {
    background-color: var(--white);
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}
.tab-btn:hover:not(.active) {
    background-color: rgba(30, 136, 229, 0.1);
    color: var(--primary-color);
}
.tab-content {
    padding: 30px;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
.product-detail {
    display: flex;
    gap: 30px;
}
.product-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}
.product-image:hover img {
    transform: scale(1.05);
}
.product-info {
    flex: 1;
}
.product-info h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}
.product-info p {
    margin-bottom: 20px;
    color: var(--text-light);
}
.product-info ul {
    margin-bottom: 25px;
}
.product-info ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}
.product-info ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
}
/* 新闻公告样式 */
.news-container {
    display: flex;
    gap: 30px;
}
.featured-news {
    flex: 2;
}
.news-list {
    flex: 1;
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
}
.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.featured .news-image {
    position: relative;
    height: 300px;
}
.featured .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.date-badge .day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}
.date-badge .month {
    font-size: 14px;
    text-transform: uppercase;
}
.news-content {
    padding: 30px;
}
.news-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}
.news-content .meta {
    font-size: 14px;
    color: var(--text-lighter);
    margin-bottom: 15px;
}
.news-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}
.read-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}
.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}
.read-more:hover i {
    transform: translateX(5px);
}
.news-list h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray);
}
.news-list ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-light);
}
.news-list ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.news-list ul li a {
    display: flex;
    transition: var(--transition);
}
.news-list ul li a:hover {
    color: var(--primary-color);
}
.news-date {
    font-size: 14px;
    color: var(--text-lighter);
    min-width: 80px;
}
.news-title {
    flex: 1;
}
.view-all {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}
.view-all i {
    margin-left: 5px;
    transition: var(--transition);
}
.view-all:hover i {
    transform: translateX(5px);
}
/* 主要服务样式 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}
.service-card:hover::before {
    opacity: 1;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(30, 136, 229, 0.2);
    color: var(--white);
}
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-icon i {
    color: var(--white);
}
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background-color: rgba(255, 255, 255, 0.2);
}
.service-icon i {
    font-size: 36px;
    color: var(--primary-color);
    transition: var(--transition);
}
.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: var(--transition);
}
.service-card p {
    color: var(--text-light);
    transition: var(--transition);
}
/* 联系我们样式 */
.contact-container {
    display: flex;
    gap: 30px;
}
.map-container {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
#map {
    height: 500px;
    width: 100%;
}
.address-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    z-index: 10;
}
.address-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}
.address-info h3 i {
    margin-right: 10px;
}
.address-info p {
    margin-bottom: 10px;
    color: var(--text-light);
}
.contact-methods {
    margin-top: 15px;
}
.contact-methods p {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.contact-methods p i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}
.join-us-form {
    flex: 1;
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
}
.join-us-form h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}
.join-us-form p {
    margin-bottom: 25px;
    color: var(--text-light);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
}
/* 底部样式 - 已修改为白色背景 */
.footer {
    background-color: var(--white);
    color: var(--text-color);
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--gray);
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}
.footer-about h3,
.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--primary-color);
}
.footer-about h3::after,
.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}
.footer-about p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--gray-light);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-color);
}
.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}
.footer-links ul li a,
.footer-services ul li a {
    color: var(--text-light);
    transition: var(--transition);
    display: inline-block;
}
.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}
.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}
.footer-contact ul li i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 3px;
}
.footer-bottom {
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.copyright {
    text-align: left;
}
.copyright p {
    color: var(--text-light);
    font-size: 14px;
    margin: 5px 0;
}
.footer-legal {
    display: flex;
    gap: 20px;
}
.footer-legal a {
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}
.footer-legal a:hover {
    color: var(--primary-color);
}
/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.back-to-top.active {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}
/* logo样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}
.logo-text {
    display: flex;
    flex-direction: column;
}
/* 动画库兼容性调整 */
.animate__animated.animate__fadeInUp,
.animate__animated.animate__fadeIn {
    --animate-duration: 0.8s;
}
/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    .product-detail {
        flex-direction: column;
    }
    .news-container {
        flex-direction: column;
    }
    .contact-container {
        flex-direction: column;
    }
    .address-info {
        position: relative;
        background-color: var(--white);
    }
}
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
    }
    .nav.active {
        left: 0;
    }
    .nav ul {
        flex-direction: column;
        padding: 30px;
    }
    .nav ul li {
        margin: 0 0 20px 0;
    }
    .mobile-menu-btn {
        display: block;
    }
    .banner {
        min-height: 350px;
    }
    .slide-content h2 {
        font-size: 36px;
    }
    .slide-content p {
        font-size: 18px;
    }
    .stats {
        flex-direction: column;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .section-header h2 {
        font-size: 28px;
    }
    .section-header p {
        font-size: 16px;
    }
    .banner {
        min-height: 300px;
    }
    .slide-content h2 {
        font-size: 28px;
    }
    .slide-content p {
        font-size: 16px;
    }
    .tab-header {
        flex-direction: column;
    }
    .tab-btn {
        padding: 12px 20px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .copyright {
        text-align: center;
    }
}