/* ============================================
   艾公馆艾灸培训官网 - 古典中式风格样式
   主色：#1a9c8a | 辅助色：#2a5e57、#f5e9d8、#2c3e50
   中性色：#e0e6ed、#333333
   ============================================ */

/* CSS变量定义 */
:root {
    --primary-color: #1a9c8a;
    --secondary-color: #2a5e57;
    --accent-color: #f5e9d8;
    --dark-color: #2c3e50;
    --light-color: #e0e6ed;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border-color: #d4d4d4;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #faf8f5;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(26, 156, 138, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 233, 216, 0.5) 0%, transparent 50%);
}

/* 水墨背景效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0,50 Q25,30 50,50 T100,50' fill='none' stroke='%231a9c8a' stroke-width='0.3' opacity='0.03'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
    z-index: -1;
}

/* 通用样式 */
.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: block;
    font-size: 14px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    position: relative;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.divider i {
    color: var(--primary-color);
    font-size: 18px;
}

/* ============================================
   导航栏样式
   ============================================ */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(26, 156, 138, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-size: 24px;
    font-weight: 600;
    color: var(--white) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    color: var(--accent-color);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px;
    padding: 8px 10px !important;
    margin: 0 6px;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.15);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ============================================
   Banner轮播样式
   ============================================ */
.banner-section {
    padding: 0;
}

.banner-slide {
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18, 105, 94, 0.85) 0%, rgba(42, 94, 87, 0.9) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.banner-title {
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.banner-subtitle {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.banner-content .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
}

.carousel-indicators button.active {
    background-color: var(--accent-color);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition);
    margin: 0 20px;
}

.banner-section:hover .carousel-control-prev,
.banner-section:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   按钮样式 - 古典风格
   ============================================ */
.btn {
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 156, 138, 0.3);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* ============================================
   关于我们区域
   ============================================ */
.section-about {
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.decoration-pattern {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary-color);
    opacity: 0.3;
}

.pattern-1 {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.pattern-2 {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.about-title {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

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

.about-text {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-features {
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
}

/* ============================================
   特色服务区域
   ============================================ */
.section-features {
    padding: 0;
}

.section-features .container-fluid {
    padding: 0;
}

.feature-card {
    padding: 35px 20px;
    color: var(--white);
    transition: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.feature-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: rgba(255, 255, 255, 0.3);
}



.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-line {
    width: 35px;
    height: 3px;
    background: #fdc134;
    margin: 0 auto 15px;
}

.feature-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ============================================
   培训优势区域
   ============================================ */
.section-advantages {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
}

.section-advantages .section-title {
    color: var(--white);
}

.section-advantages .divider-line {
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.section-advantages .divider i {
    color: var(--accent-color);
}

.advantage-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    background: var(--primary-color);
}

.advantage-icon i {
    font-size: 30px;
    color: var(--accent-color);
}

.advantage-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================
   课程区域 - 卷轴卡片效果
   ============================================ */
.section-courses {
    background: var(--white);
}

.course-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
}

.course-card::before,
.course-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 100%;
    top: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.05), transparent);
    z-index: 2;
}

.course-card::before {
    left: 0;
}

.course-card::after {
    right: 0;
    background: linear-gradient(-90deg, rgba(0,0,0,0.05), transparent);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.course-card.featured {
    border: 2px solid var(--primary-color);
}

.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    font-size: 12px;
    border-radius: 20px;
}

.course-content {
    padding: 25px;
}

.course-title {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.course-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.6;
    max-height: 4.8em;
}

.course-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.course-list li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.course-list li i {
    color: var(--primary-color);
    margin-right: 8px;
}

.course-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.course-price {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ============================================
   师资区域 - 画轴相册效果
   ============================================ */
.section-teachers {
    background: var(--accent-color);
    background-image: 
        linear-gradient(90deg, rgba(26, 156, 138, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(26, 156, 138, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.teacher-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: inherit;
}

.teacher-image {
    position: relative;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.05);
}

.teacher-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 156, 138, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.teacher-card:hover .teacher-overlay {
    opacity: 1;
}

.teacher-social .wechat-btn {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    transition: var(--transition);
    cursor: pointer;
}

.teacher-social .wechat-btn:hover {
    background: var(--dark-color);
    color: var(--white);
    transform: rotate(360deg);
}

.teacher-info {
    padding: 20px;
    text-align: center;
}

.teacher-name {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.teacher-title {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.teacher-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: 4.8em;
}

/* ============================================
   学员风采区域
   ============================================ */
.section-students {
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.quote-icon {
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: -5px;
}

.testimonial-content p {
    color: var(--text-light);
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary-color);
}

.author-info h5 {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 3px;
}

.author-info span {
    font-size: 13px;
    color: var(--text-light);
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 156, 138, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay i {
    color: var(--white);
    font-size: 24px;
}

/* ============================================
   教学现场区域
   ============================================ */
.section-gallery {
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--white) 100%);
}

.gallery-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.gallery-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    color: var(--white);
}

.gallery-caption h5 {
    font-size: 18px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.gallery-caption p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

/* ============================================
   新闻动态区域
   ============================================ */
.section-news {
    background: var(--white);
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    display: flex;
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(5px);
}

.news-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.news-date .day {
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.news-date .month {
    font-size: 14px;
    margin-top: 5px;
}

.news-content {
    padding: 20px;
    flex: 1;
    min-width: 0;
}

.news-title {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--secondary-color);
}

.news-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.news-link:hover i {
    transform: translateX(5px);
}

/* ============================================
   联系我们区域 - 古典表单
   ============================================ */
.section-contact {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
}

.section-contact .section-title {
    color: var(--white);
}

.section-contact .divider-line {
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.section-contact .divider i {
    color: var(--accent-color);
}

.contact-info {
    padding-right: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 22px;
    color: var(--accent-color);
}

.contact-text h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 40px;
}

.form-group {
    margin-bottom: 5px;
}

.form-group label {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 156, 138, 0.2);
}

.form-control::placeholder {
    color: #999;
}

/* ============================================
   页脚 - 印章式版权
   ============================================ */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-brand h3 i {
    color: var(--primary-color);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h5,
.footer-contact h5 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 8px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.seal {
    width: 80px;
    height: 80px;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transform: rotate(-5deg);
    position: relative;
}

.seal::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
}

.seal-text {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    writing-mode: vertical-rl;
    letter-spacing: 5px;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   回到顶部按钮
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   响应式适配
   ============================================ */
@media (max-width: 991px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .banner-title {
        font-size: 36px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .navbar-collapse {
        background: rgba(26, 156, 138, 0.98);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-slide {
        min-height: 500px;
    }
    
    .about-title {
        font-size: 22px;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-date {
        flex-direction: row;
        padding: 10px 20px;
        gap: 5px;
    }
    
    .gallery-card.large {
        height: auto;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 575px) {
    .banner-title {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .advantage-card {
        padding: 25px 20px;
    }
    
    .course-content {
        padding: 20px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
}

/* ============================================
   动画效果
   ============================================ */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 滚动显示动画（快速） */
.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease; /* 加快动画时间 */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   子页面Banner样式
   ============================================ */
.page-banner {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    margin-top: 0;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 156, 138, 0.85) 0%, rgba(42, 94, 87, 0.9) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.page-banner-content h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-banner-content .breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
}

.page-banner-content .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.page-banner-content .breadcrumb-item.active {
    color: var(--accent-color);
}

.page-banner-content .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* 各页面Banner背景 */
.page-banner-teachers {
    background-image: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1920&h=600&fit=crop');
}

.page-banner-courses {
    background-image: url('https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=1920&h=600&fit=crop');
}

.page-banner-students {
    background-image: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1920&h=600&fit=crop');
}

.page-banner-gallery {
    background-image: url('https://images.unsplash.com/photo-1551076805-e1869033e561?w=1920&h=600&fit=crop');
}

.page-banner-news {
    background-image: url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=1920&h=600&fit=crop');
}

/* ============================================
   列表页面筛选栏
   ============================================ */
.filter-bar {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-bar .filter-label {
    font-weight: 600;
    color: var(--dark-color);
}

.filter-bar .filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 20px;
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-bar .filter-btn:hover,
.filter-bar .filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ============================================
   分页样式
   ============================================ */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    margin: 0 3px;
    border-radius: 4px;
    padding: 10px 15px;
}

.pagination .page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ============================================
   旧版页面标题样式（保留兼容）
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    padding: 150px 0 60px;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-header .breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: var(--accent-color);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   关于页面 - 时间线
   ============================================ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 300px;
}

.timeline-content h4 {
    color: var(--dark-color);
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 14px;
}

/* ============================================
   企业文化卡片
   ============================================ */
.culture-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.culture-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.culture-icon i {
    font-size: 30px;
    color: var(--white);
}

.culture-card h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.culture-card p {
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   特色功能盒子
   ============================================ */
.feature-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-box i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   学员风采 - 统计卡片
   ============================================ */
.student-stat-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.student-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-icon i {
    font-size: 28px;
    color: var(--white);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-light);
    margin: 0;
    font-size: 14px;
}

/* ============================================
   学员风采 - 案例卡片
   ============================================ */
.student-case-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.student-case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: inherit;
}

.student-case-image {
    position: relative;
    overflow: hidden;
}

.student-case-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.student-case-card:hover .student-case-image img {
    transform: scale(1.05);
}

.case-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 20px;
}

.student-case-content {
    padding: 20px;
}

.student-case-content h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.case-desc {
    color: var(--text-light);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
    margin-bottom: 15px;
}

.case-info {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.case-info i {
    color: var(--primary-color);
    margin-right: 4px;
}

/* ============================================
   右侧浮动联系按钮
   ============================================ */
.float-contact {
    position: fixed;
    right: 20px;
    bottom: 150px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.float-phone {
    background: linear-gradient(135deg, #1a9c8a 0%, #2a5e57 100%);
}

.float-wechat {
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.float-tooltip {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    min-width: 150px;
}

.float-btn:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
}

.float-phone-tooltip {
    min-width: 180px;
}

.float-phone-tooltip p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.qrcode-wrapper {
    text-align: center;
}

.qrcode-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    display: block;
    margin-bottom: 10px;
}

.qrcode-text {
    margin: 0;
    font-size: 14px;
    color: var(--dark-color);
}

.float-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--white);
}

/* ============================================
   响应式调整
   ============================================ */
@media (max-width: 767px) {
    .page-header {
        padding: 120px 0 40px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-year {
        left: 20px;
        transform: translateX(-50%);
    }
}
