/*---------------------------------------------------------------------
  优化后的 style.css - 现代化版本
---------------------------------------------------------------------*/
@import url('https://cdn.jsdelivr.net/npm/modern-normalize@1.1.0/modern-normalize.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css');
/* 基础重置与变量定义 */
:root {
    /* 颜色系统 */
    --primary: #cc014e;
    --primary-hover: #e63978;
    --dark: #252525;
    --light: #ffffff;
    --gray: #666666;
    --gray-light: #cbc9c9;
    /* 添加 Bootstrap 5 兼容变量 */
    --bs-primary: var(--primary);
    --bs-primary-rgb: 204, 1, 78;
    --bs-link-color: var(--primary);
    --bs-link-hover-color: var(--primary-hover);
    /* 间距系统 */
    --spacer: 1rem; /* Bootstrap 基础单位 */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;

    /* 过渡效果 */
    --transition: all 0.3s ease-in-out;

    /* 断点 */
    --bs-gutter-x: 1.5rem; /* Bootstrap gutter */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;

    /* nav*/
    --navbar-bg: #ffffff;
    --navbar-text: #212529;
    --navbar-hover: #cc014e;
    --navbar-dropdown-bg: #ffffff;
    --navbar-transition: all 0.25s ease-in-out;
}

/* 字体样式 */
.mce-content-body {
    font-family: "微软雅黑", Arial, sans-serif;
    line-height: 1.5;
}

/* 确保字体选择器生效 */
.mce-content-body p,
.mce-content-body h1,
.mce-content-body h2,
.mce-content-body h3,
.mce-content-body li,
.mce-content-body td {
    font-family: inherit !important;
    line-height: inherit !important;
}

/* 行高样式 */
.mce-content-body .line-height-1 {
    line-height: 1;
}

.mce-content-body .line-height-1-2 {
    line-height: 1.2;
}

.mce-content-body .line-height-1-4 {
    line-height: 1.4;
}

.mce-content-body .line-height-1-5 {
    line-height: 1.5;
}

.mce-content-body .line-height-1-6 {
    line-height: 1.6;
}

.mce-content-body .line-height-1-8 {
    line-height: 1.8;
}

.mce-content-body .line-height-2 {
    line-height: 2;
}

/* 基础样式重置 */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    line-height: 1.5;
}

body {
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem; /* 16px */
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 响应式排版 */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark) !important;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.2rem);
}

h3 {
    font-size: clamp(1.5rem, 3.5vw, 1.8rem);
}

h4 {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
}

h5 {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
}

h6 {
    font-size: clamp(0.875rem, 2vw, 1.2rem);
}

/* 链接与交互元素 */
a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

button, .btn {
    cursor: pointer;
    transition: var(--transition);
    border-color: var(--primary);
}

/* 实用类 */
.container {
    padding: 0 var(--space-md);
}

.text-primary {
    color: var(--primary);
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

/* 布局系统 */
.flex {
    display: flex;
    gap: var(--space-md);
}

.grid {
    display: grid;
    gap: var(--space-md);
}

/* 组件样式 */
/* ======================
   导航栏主容器
   ====================== */
.navbar {
    --nav-height: 60px;
    --nav-item-height: 44px;
    --mobile-nav-item-height: 36px;
    --dropdown-bg: #ffffff; /* 新增专门的下拉菜单背景变量 */

    background-color: var(--light) !important;
    min-height: var(--nav-height);
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ======================
   品牌标识
   ====================== */
.navbar-brand {
    padding: 0;
    margin-right: 2rem;
    display: flex;
    align-items: center;
    height: var(--nav-item-height);
}

.brand-logo {
    transition: transform 0.3s ease;
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-logo:hover {
    transform: scale(1.05);
}

/* ======================
   导航菜单容器
   ====================== */
.navbar-nav {
    gap: 0.5rem;
    align-items: center;
}

/* ======================
   导航菜单项
   ====================== */
.nav-item {
    position: relative;
}

/* 移动端样式 - 导航项 */
@media (max-width: 991.98px) {
    .nav-item {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-item:last-child {
        border-bottom: none;
    }
}

.nav-link {
    display: flex;
    align-items: center;
    min-height: var(--nav-item-height);
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: var(--navbar-text) !important;
    transition: var(--navbar-transition);
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--navbar-hover);
}

/* 下划线效果 */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--navbar-hover);
    transform: scaleX(0);
    transition: var(--navbar-transition);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
    transform: scaleX(1);
}

/* 移动端样式 - 导航链接 */
@media (max-width: 991.98px) {
    .nav-link {
        min-height: var(--mobile-nav-item-height);
        padding: 0.75rem 0.5rem;
        justify-content: space-between;
    }
}

/* ======================
   下拉菜单 - 主要修正部分
   ====================== */
.dropdown-menu {
    background-color: var(--dropdown-bg) !important; /* 使用新变量并强制覆盖 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

/* 移动端下拉菜单样式 */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        z-index: 1050;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-nav {
        width: 100%;
        text-align: center;
        height: 85vh;
        overflow: auto;
    }

    .nav-item {
        /*margin: 1rem 0;*/
        font-size: 1.2rem;
        width: 100%;
    }

    .dropdown-toggle-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .dropdown-toggle-mobile {
        background: none;
        border: none;
        padding: 0.5rem;
        color: #333;
        display: block;
        margin-left: 0.5rem;
    }

    .dropdown-menu {
        text-align: center;
        background-color: #f8f9fa;
        box-shadow: none;
        border: none;
        width: 100%;
        padding: 0;
    }

    .dropdown-menu.collapse:not(.show) {
        display: none;
    }

    .dropdown-menu.collapse.show {
        display: block;
    }

    .language-switcher {
        justify-content: center;
        margin: 1.5rem 0;
        font-size: 1.2rem;
        width: 100%;
    }

    .navbar-toggler {
        z-index: 1060;
        position: relative;
    }

    .navbar-brand {
        z-index: 1060;
        position: relative;
    }

    /* 关闭按钮 */
    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2rem;
        color: #333;
        background: none;
        border: none;
        z-index: 1060;
        display: block !important;
    }

    /* 导航链接样式 */
    .nav-link {
        padding: 0.8rem 0;
        font-size: 1.2rem;
        display: block;
        /*width: 100%;*/
    }

    /* 下拉菜单项样式 */
    .dropdown-item {
        padding: 0.8rem 0;
        font-size: 1.1rem;
        color: #555;
        display: block;
        width: 100%;
    }

    /* 活动状态指示器 */
    .nav-item.dropdown.active > .dropdown-toggle-wrapper > .nav-link {
        color: #007bff !important;
        font-weight: bold;
    }
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    color: var(--navbar-text);
    transition: var(--navbar-transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(204, 1, 78, 0.1);
    color: var(--navbar-hover) !important;
}

/* ======================
   下拉菜单切换按钮
   ====================== */
.dropdown-toggle-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    flex-flow: row;
}

.dropdown-toggle-mobile {
    background: transparent;
    border: none;
    padding: 0 0.5rem;
    margin-left: 0.25rem;
    cursor: pointer;
    width: var(--nav-item-height);
    height: var(--nav-item-height);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--navbar-transition);
    color: inherit;
}

.dropdown-toggle-mobile:hover {
    color: var(--primary);
}

.dropdown-toggle-mobile[aria-expanded="true"] .dropdown-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* ======================
   桌面端特定样式
   ====================== */
@media (min-width: 992px) {
    /* 悬停显示下拉菜单 */
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    /* 隐藏默认的下划线效果 */
    .nav-item.dropdown > .nav-link::after {
        display: none;
    }

    /* 下拉箭头 */
    .dropdown-toggle-arrow {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 0.3em;
        vertical-align: middle;
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-left: 0.3em solid transparent;
        transition: var(--navbar-transition);
    }

    .nav-item.dropdown:hover .dropdown-toggle-arrow {
        transform: rotate(180deg);
    }

    .close-menu {
        display: none;
    }
}

/* ======================
   语言切换器特殊样式
   ====================== */
.language-switcher .dropdown-menu {
    min-width: 120px;
}

@media (max-width: 991.98px) {
    .language-switcher .dropdown-menu {
        margin-top: 0.5rem;
    }
}

.language-switcher .dropdown-item {
    padding: 0.5rem 1rem;
}

/* ======================
   动画效果
   ====================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        max-height: 0;
        background-color: transparent;
    }
    to {
        opacity: 1;
        max-height: 500px;
        background-color: var(--dropdown-bg);
    }
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    border-radius: 0.25rem;
    font-weight: 500;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary);
}

/* 卡片 */
.card {
    background: var(--light);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 表单 */
.form-control {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(204, 1, 78, 0.1);
}

/* 轮播组件 */
.slick-slider {
    position: relative;
    margin: var(--space-xl) 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .navbar {
        padding: var(--space-sm) 0;
    }

    .flex {
        flex-direction: column;
    }
}

/* 自定义组件样式 */
.full-width-nav {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1030;
}

/* 渐变背景示例 */
.bg-primary {
    background: linear-gradient(135deg, #cc014e 0%, #a3013d 100%);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar-collapse {
        background: var(--light);
        padding: 1rem;
        /*margin-top: 0.5rem;*/
        /*border-radius: 0.5rem;*/
    }
}

.content-wrapper {
    flex: 1 0 auto; /* 填充剩余空间 */
}

.hero-banner {
    min-height: 40vh;
    max-height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.5);*/
}

.about-section {
    position: relative;
    overflow: hidden;
}

.contact-section .form-control {
    padding: 1rem;
    border: 1px solid var(--gray-light);
}

.contact-section .btn-submit {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 2rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 25vh;
    }

    .hero-banner h1 {
        font-size: 2.5rem;
    }
}

/* 页脚样式 */
.footer {
    background-color: var(--light);
    color: var(--dark);
    position: relative;
    border-top: 1px solid var(--dark);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
    z-index: -1;
}

.footer-title {
    color: var(--dark) !important;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-content {
    line-height: 1.8;
}

.footer-content a {
    color: var(--light) !important;
    text-decoration: none;
    transition: var(--transition);
}

.footer-content a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-list-item {
    transition: var(--transition);
}

.footer-list-item:hover {
    transform: translateX(5px);
}

.footer-icon {
    color: var(--primary);
    width: 1.25rem;
    text-align: center;
}

.social-links {
    gap: var(--space-sm);
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-3px);
}

.social-media-link {
    color: var(--gray) !important;
    border: 1px solid var(--gray-light) !important;
    transition: var(--transition) !important;
}

.social-media-link:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.social-media-link:hover img {
    filter: brightness(0) invert(1);
}

.footer-copyright {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-list-item {
        justify-content: center;
    }

    .footer-about,
    .footer-contact {
        margin-bottom: 2rem;
    }
}

/* 关于页面样式 */
.about-section {
    padding: var(--space-xl) 0;
    position: relative;
}

.about-content {
    line-height: 1.8;
    color: var(--dark);
}

.about-content h2 {
    color: var(--dark);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.text-block {
    margin-bottom: var(--space-lg);
}

.text-block p {
    margin-bottom: var(--space-md);
}

.image-block {
    margin: var(--space-xl) 0;
    text-align: center;
}

.image-block img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.image-block img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-section {
        padding: var(--space-lg) 0;
    }

    .image-block {
        margin: var(--space-lg) 0;
    }
}


/*!* 深色模式支持 *!*/
/*@media (prefers-color-scheme: dark) {*/
/*    :root {*/
/*        --dark: #f8f9fa;*/
/*        --light: #212529;*/
/*        --gray: #adb5bd;*/
/*    }*/

/*    body {*/
/*        background: #121212;*/
/*    }*/

/*    .card {*/
/*        background: #2c2c2c;*/
/*    }*/
/*}*/
/* About Section Styles */
.about-section {
    padding: var(--space-xl) 0;
    position: relative;
    min-height: 50vh;
}

.about-title {
    color: var(--dark);
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    position: relative;
    padding-bottom: var(--space-md);
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary);
}

.about-content {
    color: var(--dark);
    line-height: 1.8;
}

.about-content p {
    margin-bottom: var(--space-md);
}

.about-content a {
    color: var(--primary);
    font-weight: 500;
}

.about-content a:hover {
    text-decoration: underline;
}

.about-image {
    margin: 0;
    text-align: center;
    transition: var(--transition);
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.about-image:hover img {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .about-section {
        padding: var(--space-lg) 0;
    }

    .about-title {
        font-size: clamp(1.75rem, 4vw, 2rem);
    }

    .about-image {
        margin-top: var(--space-xl);
    }
}

@media (max-width: 767.98px) {
    .about-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /*.about-content {*/
    /*    text-align: center;*/
    /*}*/
}

/* 优化文章标题样式 */
.about-title {
    /* 使用 clamp() 保持响应式 */
    font-size: clamp(2rem, 5vw, 2.5rem);
    /* 与 Bootstrap 的 display 类配合 */
    font-weight: 700;
}

/* 元信息样式优化 */
.article-meta {
    /* 使用 Bootstrap 的工具类 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

/* 封面图优化 */
.article-cover {
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    margin-bottom: var(--space-lg);
}

.article-cover:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 正文内容优化 */
.article-content {
    line-height: 1.8;
    color: var(--dark);
}

.article-content p {
    margin-bottom: var(--space-md);
}

/* 移动端优化 */
@media (max-width: 767.98px) {
    .about-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .article-cover {
        margin-bottom: var(--space-md);
    }
}

/* 联系页面专用样式 */
.contact-section {
    position: relative;
    padding: var(--space-xl) 0;
    background-color: rgba(248, 249, 250, 0.5);
}

/* 联系人卡片样式 */
.contact-card {
    transition: var(--transition);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-card .card-img-top {
    transition: transform 0.5s ease;
    height: 225px;
    object-fit: cover;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.contact-card:hover .card-img-top {
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .contact-section {
        padding: var(--space-lg) 0;
    }

    .contact-card .card-img-top {
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .contact-section h1 {
        font-size: 2.5rem;
    }

    .contact-card {
        margin-bottom: var(--space-md);
    }

    .contact-card .card-img-top {
        height: 180px;
    }
}

/* 咨询表单样式 */
.consultation-form-card {
    border-radius: 0.75rem;
    border: none;
    transition: var(--transition);
}

.consultation-form-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-control-lg {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.form-control-lg:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(204, 1, 78, 0.1);
}

/* 验证状态 */
.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .consultation-form-card {
        border-radius: 0.5rem;
    }

    .form-control-lg {
        padding: 0.625rem 0.875rem;
    }
}

/* 咨询页面专用样式 */
.consultation-section {
    position: relative;
    background: var(--light);
    padding: var(--space-xl) 0;
}

/* 封面容器 */
.cover-container {
    max-height: 500px;
    overflow: hidden;
    transition: var(--transition);
}

.cover-container img {
    transition: transform 0.5s ease;
}

.cover-container:hover img {
    transform: scale(1.02);
}

/* 内容卡片 */
.content-card {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none !important;
}

/* 下载卡片 */
.download-card {
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.file-icon .fa-file-pdf {
    color: #e63946;
}

.file-icon .fa-file-word {
    color: #2b579a;
}

.file-icon .fa-file-excel {
    color: #217346;
}

.file-icon .fa-file-powerpoint {
    color: #d24726;
}

.file-icon .fa-file-image {
    color: #6c757d;
}

.file-icon .fa-file-alt {
    color: var(--primary);
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .consultation-section {
        padding: var(--space-lg) 0;
    }

    .content-card {
        margin-bottom: var(--space-lg);
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cover-container {
        max-height: 300px;
    }
}

/* 联系信息页面专用样式 */
.contact-info-section {
    position: relative;
    padding: var(--space-xl) 0;
    background-color: rgba(248, 249, 250, 0.5);
}

/* 封面容器 */
.cover-container {
    max-height: 500px;
    overflow: hidden;
    transition: var(--transition);
}

.cover-container img {
    transition: transform 0.5s ease;
}

.cover-container:hover img {
    transform: scale(1.02);
}

/* 地图容器 */
.map-container {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* 联系卡片 */
.contact-card {
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* 联系方法块 */
.contact-method {
    transition: var(--transition);
}

.contact-method:hover {
    background-color: rgba(204, 1, 78, 0.05) !important;
    transform: translateY(-2px);
}

/* 社交媒体链接 */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary) !important;
    color: white !important;
    transform: translateY(-3px);
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .contact-info-section {
        padding: var(--space-lg) 0;
    }

    .cover-container {
        max-height: 400px;
    }
}

@media (max-width: 767.98px) {
    .contact-info-section h1 {
        font-size: 2.5rem;
    }

    .cover-container {
        max-height: 300px;
    }

    .contact-method {
        padding: 1rem !important;
    }
}

/* 校友服务中心专用样式 */
.alumni-services-section {
    position: relative;
    padding: var(--space-xl) 0;
}

/* 封面容器 */
.cover-container {
    max-height: 500px;
    overflow: hidden;
    transition: var(--transition);
}

.cover-container img {
    transition: transform 0.5s ease;
}

.cover-container:hover img {
    transform: scale(1.02);
}

/* 服务时间卡片 */
.service-hours-card {
    transition: var(--transition);
}

.service-hours-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* 杰出校友卡片 */
.alumni-card {
    transition: var(--transition);
    border-radius: 0.75rem;
}

.alumni-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* 校友头像样式 */
.alumni-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    margin-right: 1.5rem;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .alumni-services-section {
        padding: var(--space-lg) 0;
    }

    .cover-container {
        max-height: 400px;
    }
}

@media (max-width: 767.98px) {
    .alumni-services-section h1 {
        font-size: 2.5rem;
    }

    .cover-container {
        max-height: 300px;
    }

    .alumni-avatar {
        width: 60px;
        height: 60px;
        margin-right: 1rem;
    }
}

/* 轮播横幅样式 */
#heroCarousel {
    min-height: 25vh; /* 可根据需要调整高度 */
    max-height: 80vh;
    width: 100%;
    overflow: hidden;
}

#heroCarousel .carousel-item {
    height: 100%;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

#heroCarousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.5);*/
}

#heroCarousel .carousel-caption {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 轮播指示器样式 */
#heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

#heroCarousel .carousel-indicators button.active {
    background-color: var(--primary);
}

/* 轮播控制按钮样式 */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 5%;
    opacity: 1;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-size: 100% 100%;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 1rem;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    #heroCarousel {
        height: 40vh;
    }
}

@media (max-width: 767.98px) {
    #heroCarousel {
        height: 25vh;
    }

    #heroCarousel .display-4 {
        font-size: 2.5rem;
    }
}

.carousel-inner {
    width: 100%;
}

.carousel-item {
    width: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%; /* 保持您设置的高度 */
    object-fit: cover; /* 确保图片覆盖整个区域 */
    object-position: center; /* 图片居中显示 */
}

.image-wrapper img {
    width: 100%;
    height: auto;
}

.custom-heading {
    font-size: 2rem;
    color: #333;
    margin: 1.5em 0 0.8em;
    /*font-weight: bold;*/
    /*border-bottom: 2px solid #eee;*/
    padding-bottom: 0.5rem;
    text-align: center;
}

@media (max-width: 991.98px) {
    p img {
        text-align: center;
        width: 100%;
    }

    p.mb-0.small {
        display: flex;
        flex-flow: column;
    }
}