#ai-carousel .swiper {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    position: relative;
}

#ai-carousel .swiper-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#ai-carousel .swiper-slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#ai-carousel .carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-image {
    width: 100%;
    height: 200px; /* 您可以根据需要调整这个值 */
    object-fit: cover;
    object-position: center;
}

#about img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.chat-window {
    background-color: #f8f9fa;
}

.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    max-width: 70%;
}

.user-message {
    background-color: #007bff;
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.ai-message {
    background-color: #e9ecef;
    color: #212529;
    align-self: flex-start;
}

#chat-messages {
    display: flex;
    flex-direction: column;
}

.social-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
}

.social-icon-text {
    margin-top: 5px;
    font-size: 14px;
    text-align: center;
}

.social-icon {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-bottom: 5px;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

.social-icon i {
    font-size: 32px;
    color: #333;
}

footer .social-icons {
    display: flex;
    align-items: center;
}

footer .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fff;
    transition: transform 0.3s ease;
}

footer .social-icon:hover {
    transform: scale(1.1);
}

footer .social-icon img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
}

footer .social-icon i {
    font-size: 20px;
    color: #333;
}