body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}
header {
    background: #4CAF50;
    color: white;
    padding: 1em 0;
    text-align: center;
}
section {
    padding: 2em;
    margin: 1em auto;
    max-width: 1000px;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.module {
    margin-bottom: 2em;
}
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1em 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}
nav ul {
    list-style: none;
    padding: 0;
}
nav ul li {
    display: inline;
    margin-right: 1em;
}
nav ul li a {
    color: white;
    text-decoration: none;
}
.highlight {
    background: #e7f3e7;
    padding: 1em;
    border-left: 5px solid #4CAF50;
}
.target-group {
    display: flex;
    justify-content: space-around;
    /* align-items: center; */
    margin-bottom: 2em;
    flex-wrap: wrap;
}
.target-group div {
    text-align: center;
    cursor: pointer;
    padding: 1em;
    border: 1px solid transparent;
}
.target-group div.selected {
    border: 1px solid #4CAF50;
    background-color: #e7f3e7;
}
.target-group img {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 1em;
}
.descriptions {
    display: none;
}
.descriptions.visible {
    display: block;
}
.description {
    display: none;
}
.description.visible {
    display: block;
}
/* 薪资情况 */
.salary-levels {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.salary-levels img{
    width: 100%;
}
.salary-card {
    flex: 1;
    max-width: 33%;
    margin: 1em;
    padding: 1em;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}
.salary-card h3 {
    margin-top: 0;
}
.chart {
    height: 200px;
    margin-top: 1em;
}
/* 课程路线 */
.feature-group {
    display: flex;
    justify-content: space-around;
    /* align-items: center; */
    flex-wrap: wrap;
    margin-bottom: 2em;
}
.feature-group div {
    text-align: center;
    cursor: pointer;
    padding: 1em;
}
.feature-group img {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 1em;
}
.description {
    text-align: center;
    font-size: 1.2em;
    padding: 1em;
    border: 1px solid #ddd;
    background: #f9f9f9;
    display: none;
}
.description.visible {
    display: block;
}
/* 知识线路 */
h3 {
    color: #4CAF50;
    text-align: center;
}
.knowledge-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.knowledge-item {
    position: relative;
    margin: 1em;
    padding: 1em;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1 1 calc(33.333% - 2em);
    box-sizing: border-box;
}
.knowledge-item:hover {
    background: #f9f9f9;
}
.knowledge-item.selected {
    background: #FF6600;
    color: white;
}
.knowledge-item ul{
    color:#000;
    margin:0;
    padding:0;
}
.knowledge-item.selected:hover {
    background: #FF6600;
}
.knowledge-item p {
    margin: 0;
}
.knowledge-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 10;
    padding: 0;
}
.knowledge-item:hover .knowledge-content {
    display: block;
}
.knowledge-content ul {
    margin: 0;
    padding: 1em;
    list-style: none;
}
.knowledge-content ul li {
    margin: 0.5em 0;
}
/* 阶段学习 */
.stage-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.stage-info {
    width: 40%;
    padding: 1em;
}
.stage-info h3 {
    color: white;
    padding: 0.5em 1em;
    display: inline-block;
}
.stage-info .title1{
    background-color: #FF9800;
}
.stage-info .title2{
    background-color: #FF6600;
}
.stage-info .title3{
    background-color: #FF3328;
}
.stage-info .title4{
    background-color: #FF2872;
}
.stage-info ul {
    list-style: none;
    padding: 0;
}
.stage-info ul li {
    margin: 0.5em 0;
}
.stage-image {
    width: 55%;
    position: relative;
}
.stage-image img {
    width: 100%;
    height: auto;
    display: block;
}
.info-box {
    min-width: 220px;
    right: 0;
    background-color: #FF6600;
    color: white;
    padding: 1em;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-left: 20px;
}
.info-box p {
    margin: 0;
}
.info-box span {
    display: block;
    text-align: center;
    margin-top: 1em;
    font-size: 1.2em;
}
.module2 {
    padding: 2em;
    margin: 1em auto;
    max-width: 1000px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.module2 h2 {
    color: #4CAF50;
    text-align: center;
}
/* 教师介绍 */
.teacher {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.teacher-image {
    max-width: 30%;
}
.teacher-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}
.teacher-details {
    max-width: 65%;
    padding-left: 2em;
    box-sizing: border-box;
}
.teacher-details h1 {
    color: #4CAF50;
    margin-bottom: 1em;
}
.teacher-details p {
    line-height: 1.6;
}
.teacher-details .contact {
    margin-top: 1em;
}
.teacher-details .contact a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}
.teacher-details .contact a:hover {
    color: #45a049;
}
/* 课程介绍组成 */
.stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin:2em auto;
}
.stat-item {
    text-align: center;
    flex: 1;
}
.stat-item .circle {
    border: 2px dashed #FF6666;
    border-radius: 50%;
    padding: 1em;
    width: 100px;
    height: 100px;  
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1em auto;
}
.stat-item .circle .number {
    font-size: 1.5em;
    color: #FF6666;
}
.stat-item .text {
    font-size: 1em;
    color: #FF6666;
}
@media (max-width: 768px) {
    .stat-item {
        flex: 1 1 100%;
    }
}
/* 课程内容安排 */
.curriculum .tabs {
    display: flex;
    /* flex-wrap: wrap; */
    margin-bottom: 1em;
}
.curriculum .tab {
    padding: 1em;
    margin-right: 1em;
    background: #FF6666;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.curriculum .tab.active {
    background: #ff9999;
}
.curriculum .tab:hover {
    background: #ff9999;
}
.curriculum .tab-content {
    display: none;
}
.curriculum .tab-content.active {
    display: block;
}
.weeks {
    display: flex;
    flex-direction: column;
    width: 200px;
    margin-right: 1em;
}
.week {
    padding: 1em;
    background: #f4f4f4;
    margin-bottom: 0.5em;
    border-left: 4px solid transparent;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.week.active {
    background: #fff;
    border-left: 4px solid #FF6666;
}
.week:hover {
    background: #fff;
}
.content {
    flex-grow: 1;
}
.content h2 {
    margin-top: 0;
    color: #FF6666;
}
/* 增值服务样式 */
.services .tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1em;
    border-bottom: 2px solid #ddd;
}
.services .tab2 {
    padding: 1em;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}
.services .tab2.active {
    color: #FF6666;
}
.services .tab2.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: #FF6666;
}
.services .carouseles {
    position: relative;
    overflow: hidden;
}
.services .carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}
.services .carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}
.services .carousel-item img {
    width: 100%;
    height: auto;
    max-height: 650px;
}
.services .carousel-controls2 {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.services .carousel-control2 {
    background: #FF6666;
    color: white;
    border: none;
    cursor: pointer;
    padding: 1em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.services .carousel-control2:hover {
    opacity: 1;
}
.services .carousel-indicators2 {
    display: flex;
    justify-content: center;
    margin-top: 1em;
}
.services .carousel-indicator {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 0.5em;
    cursor: pointer;
    transition: background 0.3s ease;
}
.services .carousel-indicator.active {
    background: #FF6666;
}
/* 增值服务 */
.scontainer {
    width:100%;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-left:-10px;
    background:#F7FAFC;
}
.scontainer .service2 {
    text-align: center;
    max-width: 200px;
    margin: 1em;
}
.scontainer .service2 img {
    width: 50px;
    height: 50px;
    margin-bottom: 1em;
}
.scontainer .service2 h3 {
    margin-bottom: 1em;
    font-size: 1em;
    color: #000;
}
.scontainer .service2 p {
    line-height: 1.5;
    color: #333;
    font-size:12px;
}
/* 项目实战 */
.pcontent{
    display: flex;
}
.sidebar {
    width: 200px;
    background: #f7f7f7;
    padding: 1em;
}
.sidebar-item {
    padding: 1em;
    margin-bottom: 1em;
    background: #eee;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap; /* 确保文字在同一行显示 */
    overflow: hidden; /* 隐藏超出的部分 */
    text-overflow: ellipsis; /* 使用省略号表示超出部分 */
}
.sidebar-item.active, .sidebar-item:hover {
    background: #FF6666;
    color: white;
}
.content {
    flex-grow: 1;
    padding: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    max-width: 700px;
}
.content img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.content-image{
    display:none;
}
.content .active{
    display:block;
}
/* 售前咨询 */
.sqcontainer {
    max-width: 1200px;
    margin: 2em auto;
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 1em;
    width: calc(50% - 1em);
    box-sizing: border-box;
}
.card h3 {
    margin-top: 0;
    font-size: 1.2em;
}
.card p {
    margin: 0.5em 0;
    line-height: 1.5;
}
.interaction {
    display: flex;
    align-items: center;
    margin-top: 1em;
    color: #666;
}
.interaction .icon {
    font-size: 1.5em;
    margin-right: 0.5em;
}
.interaction .count {
    margin-right: 2em;
}
.getUrl{
    padding: 1em;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

/* 手机兼容设置 */
@media (max-width: 767px) {
    .stage-container .info-box{
        display: none;
    }
    .sidebar{
        width:120px;
    }
    .content{
        padding: 0.5em;
    }
    .content img{
        min-height: 300px;
    }
    .teacher{
        flex-wrap: wrap;
    }
    .teacher-image{
        max-width:100%;
    }
    .teacher-details{
        max-width: 100%;
        padding-left: 0em;
    }
}