:root {
    --bs-primary: rgb(85, 37, 121);
    --bs-dark-bg: #2a2a2a;
}

body {
    font-size: 14px;
}

/* 导航栏样式 */
.navbar {
    background: rgb(85, 37, 121, 0);
    transition: 0.3s ease-in-out;
}

.navbar-nav .nav-link {
    font-size: 14px;
    color: white !important;
}

.nav-item {
    margin-left: 40px;
}

.navbar-fixed {
    background: rgb(85, 37, 121);
}

/* 轮播图样式 */
.carousel-item {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.logo {
    height: 32px;
}

.main-bg {
    background-image: url('./image/bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
}

.dark-bg .service-title,
.dark-bg .service-desc {
    color: white !important;
}


/* 页脚样式 */
.footer {
    background: rgb(85, 37, 121);
    color: rgba(255, 255, 255, 0.9);
}

.img-fluid {
    max-width: 100px;
    max-height: 100px;
}

.dropdown-item {
    font-size: 14px;
}

.main-content {
    padding-top: 120px;
}

.content-picture {
    width: 100%;
}

.list-group-item {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.list-group-item:hover {
    background-color: rgba(85, 37, 121, 0.05);
    border-left-color: rgb(85, 37, 121);
    transform: translateX(5px);
}

.list-group-item h5 {
    color: rgb(85, 37, 121);
    font-weight: 600;
}

.news-card .card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover .card {
    border-color: var(--bs-primary);
    box-shadow: 0 5px 15px rgba(85, 37, 121, 0.15);
}

.news-card .card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover .card {
    border-color: var(--bs-primary);
    box-shadow: 0 5px 15px rgba(85, 37, 121, 0.15);
}

.card {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.list-unstyled h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.text-muted {
    color: #6c757d !important;
}

@media (max-width: 768px) {
    .service-section {
        padding: 2rem 0;
    }

    .service-title {
        font-size: 1.75rem;
    }
}

.page-title {
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.page-description {
    background: rgba(85, 37, 121, 0.08);
    /* 主色调浅色背景 */
    border-left: 4px solid rgb(85, 37, 121) !important;
    /* 主色调左侧边框 */
    border-radius: 0 8px 8px 0;
    /* 右侧圆角 */
}

.page-description p {
    color: #552579;
    /* 主色调文字颜色 */
    font-weight: 500;
    /* 适当加粗 */
}

.lead {
    text-indent: 2em;
}