@keyframes heartbeat {
    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }
}

.carousel-img {
    height: 90vh;
    /* 高度是浏览器可视区90% */
    object-fit: cover;
    /* 裁剪图片，保持不变形 */
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    /* 背景半透明黑色 */
    padding: 20px;
    border-radius: 12px;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: bold;
}

.carousel-caption p {
    font-size: 1.25rem;
}

/* 手机端适配：文字变小 */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-img {
        height: 70vh;
        /* 手机上轮播图高度小一点 */
    }
}

.carousel-caption-bg {
    background: rgba(0, 0, 0, 0.5);
    border-radius: .5rem;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    /* 默认大号 */
    font-weight: bold;
    color: #206bc4;
    /* 可选，蓝色数字 */
}

.stat-label {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: #6c757d;
}

.partner-logo {
    max-height: 60px;
    margin: 1rem;
    transition: transform 0.3s;
}

.partner-logo:hover {
    transform: scale(1.1);
}

.stat-item {
    text-align: center;
    margin: 2rem 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #206bc4;
}

.stat-label {
    margin-top: .5rem;
    color: #667382;
}
