/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}
.mymain {
    width: 1200px;
    overflow: hidden;
    margin: 0 auto;
}
.fl {float: left;}
.fr {float: right;}
/* 内容容器 */
.content-wrap {
    width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    position: relative;
}

/* 章节标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .main-title {
    font-size: 42px;
    color: #ff4d7d;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header .main-title:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff4d7d, #ff8da1);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header .sub-title {
    font-size: 20px;
    color: #666;
}

.section-desc {
    text-align: center;
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* 按钮样式 */
.btn-wrap {
    text-align: center;
    margin-top: 50px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 100px;
    background: linear-gradient(135deg, #ff4d7d, #ff8da1);
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(255, 77, 125, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 77, 125, 0.4);
}

.btn-primary-sm {
    display: inline-block;
    padding: 8px 25px;
    background: linear-gradient(135deg, #ff4d7d, #ff8da1);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 77, 125, 0.3);
}

.btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 125, 0.4);
}

.btn-outline {
    display: inline-block;
    padding: 8px 25px;
    border: 1px solid #ff4d7d;
    color: #ff4d7d;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
    font-weight: bold;
}

.btn-outline:hover {
    background-color: #ff4d7d;
    color: white;
}

/* 背景颜色交替 */
.gray-bg {
    background-color: #fafafa;
}

.white-bg {
    background-color: white;
}

/* banner */
.hero-banner {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), url("../images/banner.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.consult-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 100px;
    background: linear-gradient(135deg, #ff4d7d, #ff8da1);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(255, 77, 125, 0.3);
}

.consult-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 77, 125, 0.4);
}

/* 专业课程体系 */
.course-section {
    overflow: hidden;
}
.swiper-container {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 25px 15px;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s, box-shadow 0.4s;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.course-img {
    height: auto;
    overflow: hidden;
    position: relative;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.course-card:hover .course-img img {
    transform: scale(1.1);
}

.course-info {
    padding: 20px;
}

.course-name {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}

.course-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    height: 70px;
    overflow: hidden;
}

.course-actions {
    display: flex;
    justify-content: space-between;
}

.course-actions .btn-primary-sm {
    flex: 1;
    margin-right: 10px;
    text-align: center;
}
.swiper-button-next, .swiper-button-prev {width: 48px; height: 48px;}
 .course-swiper .swiper-button-prev {background: url(../images/myprev.png) no-repeat center;}
 .course-swiper .swiper-button-next {background: url(../images/mynext.png) no-repeat center;}
.swiper-container-horizontal>.swiper-pagination-bullets {bottom: 0;}
.swiper-pagination-bullet-active {background: #ff4d7d;}
/* 教学特色 */
.feature-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.feature-card {
    width: 23%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 15px;
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-img {
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.feature-card:hover .feature-img img {
    transform: scale(1.1);
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

.feature-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* 系统化学习流程 */
.process-list {
    margin-top: 40px;
}

.process-card {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.process-card.reverse {
    flex-direction: row-reverse;
}

.process-img {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.process-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.8s;
}

.process-card:hover .process-img img {
    transform: scale(1.05);
}

.process-info {
    flex: 1;
    padding: 0 60px;
    position: relative;
    z-index: 2;
}

.process-num {
    font-size: 60px;
    font-weight: bold;
    color: rgba(255, 77, 125, 0.3);
    position: absolute;
    top: -30px;
    left: -20px;
    z-index: -1;
}

.process-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    font-weight: bold;
}

.process-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff4d7d, #ff8da1);
    border-radius: 2px;
}

.process-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}
.process-info ul {
    padding: 0 10px;
}

.process-info li {
    padding: 5px 0;
    position: relative;
    padding-left: 15px;
    font-size: 16px;
}

.process-info li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* 教学模式 */
.method-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.method-card {
    width: 23%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s;
    margin-bottom: 30px;
    position: relative;
}

.method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.method-num {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 40px;
    font-weight: bold;
    color: rgba(255, 77, 125, 0.1);
}

.method-title {
    font-size: 20px;
    margin: 20px 0 15px;
    color: #333;
    font-weight: bold;
}

.method-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    min-height: 100px;
    line-height: 1.6;
}

.method-img {
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
}

.method-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.method-card:hover .method-img img {
    transform: scale(1.1);
}

/* 成长支持 */
.support-list {
    margin-top: 40px;
}

.support-card {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s, box-shadow 0.4s;
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.support-card.reverse {
    flex-direction: row-reverse;
}

.support-img {
    flex: 1;
    overflow: hidden;
}

.support-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.8s;
}

.support-card:hover .support-img img {
    transform: scale(1.05);
}

.support-info {
    flex: 1;
    padding: 40px;
}

.support-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    font-weight: bold;
}

.support-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff4d7d, #ff8da1);
    border-radius: 2px;
}

.support-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* 响应式设计 */
@media (max-width: 1240px) {
    .content-wrap {
        width: 100%;
        padding: 60px 30px;
    }
    
    .feature-card, .method-card {
        width: 48%;
    }
    
    .process-card, .support-card {
        flex-direction: column;
    }
    
    .process-info, .support-info {
        padding: 30px;
    }
    
    .process-img, .support-img {
        width: 100%;
    }
    
    .process-img img, .support-img img {
        height: 250px;
    }
    
    .section-header .main-title {
        font-size: 36px;
    }
    
    .section-header .sub-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .content-wrap {
        padding: 50px 20px;
    }
    
    .section-header .main-title {
        font-size: 30px;
    }
    
    .section-header .sub-title {
        font-size: 16px;
    }
    
    .section-desc {
        font-size: 16px;
    }
    
    .feature-card, .method-card {
        width: 100%;
    }    
    
    .btn-primary {
        padding: 12px 60px;
        font-size: 18px;
    }
    
    .process-num, .method-num {
        font-size: 40px;
    }
    
    .process-title, .support-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .section-header .main-title {
        font-size: 26px;
    }
    
    .btn-primary {
        padding: 10px 40px;
        font-size: 16px;
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .course-actions a {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .course-actions a:last-child {
        margin-bottom: 0;
    }
    
    .swiper-btn-next, .swiper-btn-prev {
        width: 40px;
        height: 40px;
    }
    
    .swiper-btn-next:after, .swiper-btn-prev:after {
        font-size: 20px;
    }
}