/* 首页轮播图样式 */
.banner {
    margin-top: 95px;
    position: relative;
    width: 100%;
}
*,a,div,h3,p{
    text-decoration: none !important;
}
.banner .swiper {
    width: 100%;
    height: calc(56.25vw - 37px); /* 减少40px高度 */
    max-height: 763px; /* 原来800px减少40px */
    min-height: 363px; /* 原来400px减少40px */
}

.banner .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.banner-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 500;
}

.banner-content p {
    font-size: 26px;
    margin-bottom: 60px;
}

.banner .btn-primary {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #fff;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none !important;
    background: transparent;
}

.banner .btn-primary:hover {
    background: #fff;
    color: #23C16E;
}

/* 轮播图分页器样式 */
.banner .swiper-pagination {
    bottom: 30px;
    z-index: 2;
}

.banner .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 5px !important;
}

.banner .swiper-pagination-bullet-active {
    background: #28a745;
    width: 30px;
    border-radius: 5px;
}

/* 公司简介部分 */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: #23C16E;
    margin: 0 auto;
    border-radius: 2px;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-top: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    color: #23C16E;
    margin-bottom: 30px;
    font-weight: 500;
}

.about-text p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.about-text p:last-of-type {
    margin-bottom: 30px;
}

.about-text .btn-primary {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #23C16E;
    border-radius: 50px;
    color: #23C16E;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none !important;
    background: transparent;
}

.about-text .btn-primary:hover {
    background: #23C16E;
    color: #fff;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 新闻中心部分 */
.news-section {
    padding: 80px 0;
    background: #F9F9F9;
}

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

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    padding: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.news-card:hover {
    transform: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.news-card:hover .news-link{
    color: #23C16E;
}
.news-card:hover .news-title{
    color: #23C16E;
}
.news-image {
    height: 280px;
    overflow: hidden;
    margin-bottom: 20px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card .news-content {
    padding: 0 20px 30px;
}

.news-card .news-link {
    display: inline-block;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    margin-top: 15px;
}

.news-card .news-link:hover {
    color: #23C16E;
}

.news-card .news-link::after {
    content: '>';
    margin-left: 5px;
}

.news-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 15px;
    font-weight: 500;
    color: #333;
    overflow: hidden;
    height: 26px;
    text-overflow: ellipsis;
    white-space: nowrap;

}

.news-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
    overflow: hidden;
    max-height: 70px;
    text-overflow: ellipsis;
}

.news-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.news-more a {
    display: inline-block;
    padding: 12px 40px;
    border: 1px solid #23C16E;
    border-radius: 50px;
    color: #23C16E;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
}

.news-more a:hover {
    background: #23C16E;
    color: #fff;
}

.news-card-alt {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    padding: 24px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.news-card-alt:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.news-card-alt .news-list-item {
    padding: 20px 0;
    border-bottom: 1px solid #EEEEEE;
}
.news-list-item {
    a{
        text-decoration: none;
    }
}

.news-card-alt .news-list-item:first-child {
    padding-top: 0;
}

.news-card-alt .news-list-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.news-card-alt .news-title {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 8px;
    font-weight: 500;
    color: #000000;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-alt .news-list-item:hover {
    .news-title{
        color: #23C16E;
    }
}

.news-card-alt .news-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    max-height: 48px;
    margin: 8px 0;
}

.news-card-alt .news-date {
    color: #999;
    font-size: 14px;
    margin-top: 0;
    display: block;
}

.news-card-alt .news-link {
    display: inline-block;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    margin-top: 10px;
}

.news-card-alt .news-link:hover {
    color: #23C16E;
}

.news-card-alt .news-link::after {
    content: '>';
    margin-left: 5px;
}

/* 业务板块部分 */
.business-section {
    padding: 80px 0;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.business-card {
    position: relative;
    height: 500px;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: right center;
}

.business-number {
    position: absolute;
    top: 30px;
    left: 40px;
    font-size: 48px;
    color: #fff;
    font-weight: 500;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.business-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(35, 193, 110, 0.9);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px;
}


/* 当前hover的卡片显示 */
.business-card:hover .business-overlay {
    background: rgba(0, 0, 0, 0.2);
}

/* 鼠标进入区域时，所有卡片显示绿色遮罩 */
.business-grid:hover .business-card .business-overlay {
    background: rgba(35, 193, 110, 0.9);
}

/* 鼠标进入区域时，hover的卡片显示半透明黑色遮罩 */
.business-grid:hover .business-card:hover .business-overlay {
    background: rgba(0, 0, 0, 0.2);
}

/* active状态的卡片显示半透明黑色遮罩 */
.business-card.active .business-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.business-card:focus {
    outline: none;
}

.business-icon-wrapper {
    position: absolute;
    bottom: 40px;
    left: 40px;
}

.business-icon {
    width: 60px;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.business-title {
    color: #fff;
    font-size: 24px;
    margin-bottom: 8px;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.business-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 响应式样式 */
@media (max-width: 991.98px) {
    .banner-content {
        padding-top: 100px;
        justify-content: flex-start;
    }

    .banner-content h1 {
        font-size: 32px;
        margin-bottom: 15px;
        text-align: center;
    }

    .banner-content p {
        font-size: 18px;
        margin-bottom: 40px;
        text-align: center;
    }

    .banner .btn-primary {
        padding: 6px 20px;
        font-size: 13px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-text,
    .about-image {
        width: 100%;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .business-card {
        height: 400px;
    }
    
    .business-number {
        font-size: 36px;
        top: 20px;
        left: 20px;
    }

    .business-overlay {
        padding: 30px;
    }

    .business-icon-wrapper {
        bottom: 30px;
        left: 30px;
    }
}

@media (max-width: 767.98px) {
    .banner {
        margin-top: 70px;
    }

    .banner-content {
        padding-top: 120px;
    }

    .banner-content h1 {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .banner-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .about-section .section-title h2 {
        margin-top: -20px;  /* 从-4px改回-20px */
    }
    
    .about-text h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }
    
    .news-image {
        height: 240px;
        margin-bottom: 15px;
    }

    .news-card .news-content {
        padding: 0 15px 20px;
    }

    .news-title {
        margin-bottom: 15px;
    }

    .news-card .news-link {
        margin-top: 15px;
    }

    .news-more {
        margin-top: 30px;
    }
    
    .news-card,
    .news-card-alt,
    .business-card {
        border-radius: 8px;
    }

    .business-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 15px;
    }

    .business-card {
        height: 280px;
        border-radius: 8px;
    }

    .business-card img {
        border-radius: 8px;
    }

    .business-overlay {
        padding: 15px;
        border-radius: 8px;
    }

    .business-number {
        font-size: 28px;
        top: 15px;
        left: 15px;
    }

    .business-icon-wrapper {
        bottom: 15px;
        left: 15px;
    }

    .business-icon {
        width: 50px;
        margin-bottom: 10px;
    }

    .business-title {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .business-subtitle {
        font-size: 14px;
    }

    .about-section {
        padding: 40px 0;  /* 从80px减小到40px */
    }

    .section-title {
        margin-bottom: 30px;  /* 从60px减小到30px */
    }

    .about-text {
        text-align: center;
    }

    .about-text .btn-primary {
        display: inline-block;
        margin: 0 auto;
    }

    .about-text p {
        text-align: left;  /* 保持段落文字左对齐 */
    }

    .news-section {
        padding: 40px 0;
    }

    .news-section .section-title {
        margin-bottom: 20px;
    }

    .news-section .section-title h2 {
        margin-top: -30px;  /* 从-14px改回-30px */
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }

    .business-section {
        padding: 40px 0;
    }
    .business-overlay{
        background:rgba(35, 193, 110, 0)
    }
    .business-section .section-title {
        margin-bottom: 20px;
    }

    .business-section .section-title h2 {
        margin-top: -30px;
    }

    .business-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 15px;
    }

    .contact-section {
        padding: 40px 0;
    }

    .contact-section .section-title {
        margin-bottom: 20px;
    }

    .contact-section .section-title h2 {
        margin-top: -30px;  /* 从-40px改回-30px */
    }

    .contact-map {
        border-radius: 12px 12px 0 0;
        height: 213px;
    }
    
    .contact-info {
        border-radius: 0 0 12px 12px;
        height: 213px;
    }

    
}

/* 联系我们部分 */
.contact-section {
    padding: 80px 0;
    background: #F9F9F9;
}

.contact-content {
    display: flex;
    gap: 0;
    margin-top: 40px;
}

.contact-map {
    flex: 1;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
    height: 320px;
    position: relative;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-label {
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    white-space: nowrap;
}

.map-label p {
    margin: 0;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.map-icon {
    width: 26px !important;
    height: 26px !important;
}

.contact-info {
    flex: 1;
    padding: 30px 30px 30px 40px;
    background: #fff;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    height: 320px;
}

.contact-title {
    font-size: 26px;
    color: #333;
    margin-bottom: 20px;
    margin-top: 18px;
    font-weight: 500;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

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

.contact-icon {
    width: 30px;
    margin-right: 15px;
    margin-top: -2px;
}

.contact-item a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-item a:hover {
    color: #23C16E;
}

@media (max-width: 991.98px) {
    .contact-content {
        flex-direction: column;
    }
    
    .contact-map,
    .contact-info {
        width: 100%;
    }
    
    .contact-info {
        padding: 30px;
    }
    
    .contact-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .contact-section {
        padding: 40px 0;
    }

    .contact-section .section-title {
        margin-bottom: 20px;
    }

    .contact-section .section-title h2 {
        margin-top: -30px;  /* 从-40px改回-30px */
    }

    .contact-map {
        border-radius: 12px 12px 0 0;
        height: 213px;
    }
    
    .contact-info {
        border-radius: 0 0 12px 12px;
        height: 213px;
    }
    
    .contact-info {
        padding: 20px;
        border-radius: 12px;
    }
    
    .contact-title {
        font-size: 20px;  /* 减小标题字号 */
        margin-bottom: 12px;
    }
    
    .contact-item {
        margin-bottom: 8px;  /* 减小间距 */
        font-size: 14px;
    }
    
    .contact-icon {
        margin-right: 8px;
    }

    .map-label {
        padding: 8px 15px;
        border-radius: 6px;
        margin-bottom: 8px;
    }
    
    .map-label p {
        font-size: 14px;
    }
    
    .map-icon {
        width: 26px;
        height: 26px;
    }
}

/* 友情链接部分 */
.links-section {
    padding: 80px 0;
    background: #fff;
}

.links-grid {
    display: flex;
    grid-template-columns: repeat(8, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.link-item {
    text-align: center;
    color: #999;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.3s;
    background: #F9F9F9;
    padding: 15px;
    border-radius: 4px;
}

.link-item:hover {
    color: #23C16E;
}

@media (max-width: 991.98px) {
    .links-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767.98px) {
    .links-section {
        padding: 40px 0;
    }
    .about-image{
        display: none;
    }
    .links-section .section-title {
        margin-bottom: 20px;
    }

    .links-section .section-title h2 {
        font-size: 22px;
    }
    .contact-section .section-title h2{
        font-size: 22px;
        margin-top: 0px;
    }
    .business-section .section-title h2{
        font-size: 22px;
        margin-top: 0px;
    }
    .news-section .section-title h2{
        font-size: 22px;
        margin-top: 0px;
    }
    .about-section .section-title h2{
        font-size: 22px;
        margin-top: 0px;
    }
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 20px;
    }
    .about-text h3{
        text-align: left;
    }
    .link-item {
        font-size: 12px;
        padding: 8px;
    }
    .banner .btn-primary {
        padding: 6px 20px;
        font-size: 13px;
    }
} 