/* 首页轮播图样式 */
.hero-carousel {
    margin-top: 56px;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    padding: 0;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.carousel-caption .btn {
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

/* 核心优势部分 */
.features-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--primary-blue);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-blue);
    color: white;
    transform: rotateY(360deg);
}

/* 解决方案部分 */
.solutions-section {
    padding: 80px 0;
}

.solution-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.solution-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.solution-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: all 0.3s ease;
    transform: translateY(60%);
}

.solution-card:hover .solution-overlay {
    transform: translateY(0);
    background: linear-gradient(to bottom, rgba(0,102,204,0.8), rgba(0,102,204,0.95));
}

.solution-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.solution-desc {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.solution-card:hover .solution-desc {
    opacity: 1;
    transform: translateY(0);
}

.solution-features {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.2s;
}

.solution-card:hover .solution-features {
    opacity: 1;
    transform: translateY(0);
}

.solution-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-features li {
    color: white;
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.solution-features i {
    color: #64b5f6;
    margin-right: 10px;
    font-size: 0.8rem;
}

.solution-card .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.3s;
}

.solution-card:hover .btn {
    opacity: 1;
    transform: translateY(0);
}

/* 数据统计部分 */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a237e 100%);
    color: white;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, #64b5f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 新闻动态部分 */
.news-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.news-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
}

.news-category span {
    background: var(--primary-blue);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-meta i {
    color: var(--primary-blue);
    margin-right: 5px;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: var(--primary-blue);
}

.news-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.news-footer {
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--accent-red);
}

.read-more:hover i {
    transform: translateX(5px);
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,102,204,0.3);
}

.btn-view-more i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-view-more:hover {
    background: #0056b3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,102,204,0.4);
}

.btn-view-more:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .news-image {
        height: 200px;
    }

    .news-title {
        font-size: 1.1rem;
    }

    .news-excerpt {
        font-size: 0.9rem;
    }
}

/* 合作伙伴部分 */
.partners-section {
    padding: 80px 0;
}

.partner-logo {
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .feature-card {
        margin-bottom: 30px;
    }
    
    .solution-card {
        margin-bottom: 30px;
    }
    
    .stat-item {
        margin-bottom: 30px;
    }
    
    .news-card {
        margin-bottom: 30px;
    }
    
    .partner-logo {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-item {
        min-height: 500px;
    }
}

/* 客户评价部分 */
.testimonials-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin: 0;
    color: #2c3e50;
}

.author-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0 0;
}

/* 联系咨询部分 */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-info {
    height: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-blue);
    width: 40px;
    height: 40px;
    background: rgba(0,102,204,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    font-size: 1.1rem;
    margin: 0 0 5px;
    color: #2c3e50;
}

.info-item p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.contact-map {
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0,102,204,0.25);
}

.contact-form textarea {
    resize: none;
}

.contact-form button {
    padding: 12px 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .testimonial-card {
        margin-bottom: 30px;
    }

    .contact-form {
        margin-top: 30px;
    }
} 