/* 全局样式 */
body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f8f9fa;
}

/* 导航栏样式 */
.navbar {

    background-color: #fff !important;
}

/* 轮播图样式 */
#mainCarousel {
    margin-bottom: 30px;
}

#mainCarousel .carousel-item {
    height: 500px;
}

#mainCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

/* 轮播图控制按钮样式 */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}
/* 轮播图指示器样式 */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}

/* 卡片悬停效果 */
.hover-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 新闻卡片样式 */
.news-card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
}

.news-card img {
    height: 200px;
    object-fit: cover;
}

/* 通知公告样式 */
.card-header {
    border-bottom: 2px solid #007bff;
}

.list-group-item a {
    display: block;
    padding: 8px 0;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

/* 按钮样式 */
.btn {
    border-radius: 20px;
    padding: 8px 20px;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}
/* 轮播图样式 */
#mainCarousel {
    margin-bottom: 30px;
}

#mainCarousel .carousel-item {
    height: 500px;
}

#mainCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card-body ul li {
    margin-bottom: 0.5rem;
}

.card-body ul li:last-child {
    margin-bottom: 0;
}

.text-muted {
    font-size: 0.9rem;
}