/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

body {
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 主色调定义 */
:root {
    --primary-color: #f62350;
    --secondary-color: #ff9f43;
    --support-color: #ffffff;
    --light-bg: #fafafa;
    --white-bg: #ffffff;
}

/* 页面容器 */
.page-container {
    max-width: 640px;
    margin: 0 auto;
    background-color: var(--white-bg);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* 公共样式 */
.section-header {
    text-align: center;
    padding: 25px 15px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    font-size: 15px;
    color: #888;
    margin-top: 15px;
}

.fl {float: left;}
.fr {float: right;}

/* 咨询按钮组 */
.consult-btns {
    display: flex;
    gap: 15px;
    margin: 30px 0 0;
    padding: 0 15px;
}

.consult-btn {
    flex: 1;
    height: 50px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.phone-btn {
    background-color: #f62350;
    color: #fff;
    box-shadow: 0 5px 15px rgba(246, 35, 80, 0.3);
}

.online-btn {
    border: 1px solid #f62350;
    color: #f62350;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.phone-btn:hover {
    background-color: #e01c46;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(246, 35, 80, 0.4);
}

.online-btn:hover {
    border-color: #e01c46;
    color: #e01c46;
    background-color: #fff9fa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.consult-btn i {
    margin-right: 8px;
    font-size: 18px;
}

/* 课程体系模块 */
.course-system {
    background-color: var(--white-bg);
    padding: 0 15px;
    margin-bottom: 20px;
}

.course-intro {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.course-intro h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.course-intro p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.course-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #333;
    background-color: rgba(246, 35, 80, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 5px;
    font-size: 12px;
}

/* 课程轮播样式 */
.course-slider-container {
    position: relative;
    margin: 0 -15px;
    padding-bottom: 25px;
    padding-left: 15px;
    padding-right: 15px;
}

.course-slider {
    width: 100%;
    overflow: hidden;
}

.course-slide {
    position: relative;
    height: auto;
    overflow: hidden;
}

.course-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.course-info {
    flex: 1;
    padding-right: 10px;
}

.course-info h4 {
    font-size: 15px;
    margin-bottom: 3px;
    text-align: left;
}

.course-info p {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 0;
    text-align: left;
}

/* 课程咨询按钮样式 */
.course-consult-btn {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
	position: relative;
	z-index: 11;
}

.course-consult-btn:hover {
    background-color: #e01c46;
    transform: translateY(-2px);
}

.course-consult-btn i {
    margin-right: 3px;
    font-size: 12px;
}

.swiper-pagination {
    bottom: 5px !important;
}

.swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Banner样式 */
.banner {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.banner img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.4); /* 半透明黑色背景增强可读性 */
    color: #fff;
    z-index: 1;
}

.banner-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.3;
}

.highlight {
    font-size: 1.5rem;
    color: #ffd700; /* 金色高亮 */
    font-weight: 600;
    margin-bottom: 25px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.brand-name {
    font-size: 1.8rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.banner-text p {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* 添加动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    
    .banner-text h1 {
        font-size: 2rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .banner-text h1 {
        font-size: 1.8rem;
    }
}

/* 顶部导航栏 */
.header-nav {
    display: flex;
    max-width: 640px;
    margin: 0 auto 20px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.nav-tab {
    flex: 1;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.nav-tab.active {
    background-color: #f62350;
    color: #fff;
    font-weight: bold;
}

/* 教学服务优势模块 */
.teaching-advantages {
    background-color: var(--white-bg);
    padding: 20px 0;
    margin-bottom: 20px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
}

.advantage-item {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 24px;
}

.advantage-item h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.advantage-item p {
    font-size: 13px;
    color: #666;
}

/* 全流程服务模块 */
.teaching-process {
    background-color: var(--light-bg);
    padding: 20px 0;
    margin-bottom: 20px;
}

.timeline-container {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    background-color: var(--white-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
}

.timeline-item img {
    width: 45%;
    height: auto;
    object-fit: cover;
}

.timeline-content {
    padding: 20px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-content h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.timeline-content ul {
    padding: 0 10px;
}

.timeline-content li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    font-size: 14px;
}

.timeline-content li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.school-support {
    position: relative;
    background-color: var(--primary-color);
    padding: 30px 0;
    margin: 30px 15px 0;
    border-radius: 12px;
    text-align: center;
    color: white;
    overflow: hidden;
}

.school-support .school-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
}

.school-support .school-content {
    position: relative;
    z-index: 2;
}

.school-support h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    display: inline-block;
}

.school-support h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: white;
}

.school-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 100px;
    padding: 10px;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 12px;
    opacity: 0.9;
}

/* 教学形式模块 */
.teaching-methods {
    background-color: var(--white-bg);
    padding: 20px 0;
    margin-bottom: 20px;
}

.methods-container {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method-item {
    background-color: var(--white-bg);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 3px 15px rgba(246, 35, 80, 0.1);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.method-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(246, 35, 80, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.method-top {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.method-step {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
}

.method-content {
    flex: 1;
}

.method-content h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.method-content p {
    font-size: 13px;
    color: #666;
}

.method-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* 配套支持模块 */
.support-services {
    background-color: var(--light-bg);
    padding: 20px 0;
    margin-bottom: 20px;
}

.support-list {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-item {
    background-color: var(--white-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.support-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.support-content {
    padding: 15px;
}

.support-content h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.support-content p {
    font-size: 13px;
    color: #666;
}

/* 响应式调整 */
@media (min-width: 768px) {
    .timeline-item img {
        width: 40%;
    }
    
    .timeline-content {
        width: 60%;
    }

    .method-item {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
      
    
}

@media (max-width: 480px) {

    
    .banner-content h1 {
        font-size: 20px;
    }
    

    
}