.service-tabs {
    /* height: 2.35rem; */
    margin-bottom: 0;
    background: #fff;
    position: sticky;
    top: 2.3529rem;
    z-index: 99;
}

.service-tabs dd {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 0;
}

.service-tabs dd a {
    width: 33.3%;
    text-align: center;
    padding: 0.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 0.06rem solid rgba(216, 216, 216, 0.29);
    border-bottom: 0.06rem solid rgba(216, 216, 216, 0.29);
    border-right: 0.06rem solid rgba(216, 216, 216, 0.29);
    cursor: pointer;
}

.service-tabs dd a .t-img-bcg {
    width: 1.29rem;
    height: 1.29rem;
    background-size: 100% 100%;
}

.service-tabs dd a .t-img-bcg.mls {
    background-image: url("../images/service1/lego-i.png");
}

.service-tabs dd a span {
    font-size: 0.59rem;
    font-family: PingFang SC;
    font-weight: bold;
    line-height: 0.82rem;
    margin-left: 0.29rem;
}

.service-tabs dd a:first-child span {
    color: #56A1FF;
}

.service-tabs dd a:nth-child(2) span {
    color: #FF9E10;
}

.service-tabs dd a:last-child {
    border-right: none;
}

.service-tabs dd a:last-child span {
    color: #FF6556;
}

.service-tabs dd a:first-child.active {
    background: #56A1FF;
    border-top: 0.06rem solid #56A1FF;
    border-bottom: 0.06rem solid #56A1FF;
    border-right: 0.06rem solid #56A1FF;
}

.service-tabs dd a:nth-child(2).active {
    background: #FF9E10;
    border-top: 0.06rem solid #FF9E10;
    border-bottom: 0.06rem solid #FF9E10;
    border-right: 0.06rem solid #FF9E10;
}

.service-tabs dd a:nth-child(3).active {
    background: #FF6556;
    border-top: 0.06rem solid #FF6556;
    border-bottom: 0.06rem solid #FF6556;
    border-right: 0.06rem solid #FF6556;
}

.service-tabs dd a.active span {
    color: #fff;
}

.service-tabs dd a .t-img-bcg.jqr {
    background-image: url("../images/service1/scratch-i.png");
}

.service-tabs dd a .t-img-bcg.bc {
    background-image: url("../images/service1/python-i.png");
}

.service-tabs dd a.active .t-img-bcg.mls {
    background-image: url("../images/service1/lego-w.png");
}

.service-tabs dd a.active .t-img-bcg.jqr {
    background-image: url("../images/service1/scratch-w.png");
}

.service-tabs dd a.active .t-img-bcg.bc {
    background-image: url("../images/service1/python-w.png");
}
.introduction{
    margin: 1rem 0;
}

.section-service-intro h3 {
    padding: 1.71rem 0 0.88rem;
    position: relative;
}

.section-service-intro h3::before {
    position: absolute;
    content: "";
    display: inline-block;
    width: 0.3235rem;
    height: 0.3529rem;
    background: url(../images/nav-left.png);
    background-size: 100% 100%;
    margin-left: -0.5588rem;
    margin-top: 0.3235rem;
}

.section-service-intro h3::after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 0.3235rem;
    height: 0.3529rem;
    background: url(../images/nav-right.png);
    background-size: 100% 100%;
    margin-left: 0.2353rem;
    margin-top: 0.3235rem;
}

.section-service-intro .s-content {
    padding: 0 4.71rem;
}
.sp-radius{
    border-radius: 1.76rem 0.29rem 0.29rem 0.29rem;
    height: 9.4rem;
    object-fit: cover;
}
.section-service-intro .s-content .s-context {
    display: flex;
    padding: 0.79rem 1.26rem 0.79rem 1.68rem;
    /* background: #FAFAFA; */
    font-size: 0.47rem;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #535C66;
    line-height: 0.88rem;
    margin-top: 0.8rem;
}

.section-service-intro .s-content .s-context img {
    width: 100%;
}

.section-service-intro .s-content .img-box {
    width: 13.47rem;
    height: 9.41rem;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.section-service-intro .ribbon{
    position: absolute;
    bottom: 1rem;
    width: 7rem !important;
    height: 2rem;
    left: 5.42rem;
    z-index: 99;
}
.section-service-intro .s-content .s-context .font-box{
    background-color: #FAFAFA;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* padding: 0.6rem; */
}

.section-service-intro .s-content .s-context .color{
    width: 0.15rem;
    height: 0.8rem;
    background: #56A1FF;
    display: inline-block;
    vertical-align: text-top;
    margin-right: 0.2rem;
}
.section-service-intro .s-content .s-context dl {
    padding-left: 2.38rem;
    padding-top: 1.68rem 2rem 1.68rem;
    padding: 0 1.68rem;
    margin: 1.2rem 0;
    flex: 1;
    position: relative;
}

.section-service-intro .s-content .s-context dl .s-god {
    width: 3.97rem;
    position: absolute;
    top: -0.79rem;
    right: 0.65rem;
}

.section-service-intro .s-content .s-context dt {
    font-size: 0.59rem;
    font-family: PingFang SC;
    font-weight: bold;
    color: #131313;
    line-height: 0.82rem;
    margin-bottom: 0.59rem;
}

.section-service-intro .s-content .s-context dd {
    margin-bottom: 0;
}

.section-rules {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1.85rem;
    position: relative;
}

.section-rules .section-rule-img {
    width: 25.29rem;
}

.section-rules-img-group::-webkit-scrollbar {/*滚动条整体样式*/
    width: 0.44rem;     /*高宽分别对应横竖滚动条的尺寸*/
    height: 10px;
}

.section-rules-img-group::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
    background: #2B75EE;
}

.section-rules-img-group::-webkit-scrollbar-track {/*滚动条里面轨道*/
    background: #fff;
    border: 0.03rem solid #C6C6C6;
}

.section-rules-img-group {
    width: 25.73rem;
    height: 40.85rem;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-top: 1.8rem;
}

.section-rules h4 {
    padding: 1.68rem 0 0.88rem;
    text-align: center;
    font-size: 0.59rem;
    font-family: PingFang SC;
    font-weight: bold;
    color: #58606A;
    line-height: 0.82rem;
    position: relative;
}

.section-rules h4::before {
    content: "";
    position: absolute;
    width: 0.18rem;
    height: 0.18rem;
    background: #58606A;
    border-radius: 50%;
    left: -0.35rem;
    top: 2rem;
}

.section-rules h4::after {
    content: "";
    position: absolute;
    width: 0.18rem;
    height: 0.18rem;
    background: #58606A;
    border-radius: 50%;
    right: -0.35rem;
    top: 2rem;
}

.rule-sync-img {
    position: absolute;
    top: 3.38rem;
    width: 25.73rem;
    height: 40.85rem;
    z-index: -1;
}

.rule-sync-img .rule-top {
    position: absolute;
    width: 2.82rem;
    right: -4.32rem;
    top: 0;
}

.rule-sync-img .rule-bottom {
    position: absolute;
    width: 2.82rem;
    left: -4.97rem;
    bottom: 0;
}

.mls-tab-c {
    display: block;
}

.bc-tab-c,
.jqr-tab-c {
    display: none;
}

.v-stu-banner {
    padding-bottom: 2.35rem;
}

.student-swiper .swiper-wrapper {
    padding-bottom: 0.4412rem;
}
@media (max-width: 992px) {
    .service-tabs {
        height: 2.5rem;
        top: 2.2rem;
    }
    .service-tabs dd {
        height: 100%;
    }
    .service-tabs dd a {
        flex-direction: column;
        padding: 0;
        height: 100%;
    }
    .service-tabs dd a .t-img-bcg {
        width: 0.9rem;
        height: 0.9rem;
        margin-bottom: 0.2rem;
    }
    .service-tabs dd a span {
        margin-left: 0;
        font-size: 0.65rem;
        line-height: 0.9rem;
    }
    .service-tabs dd a {
        border: none;
    }
    .section-service-intro h3 {
        padding: 1.15rem 0 0.9rem;
        font-size: 0.8rem;
        line-height: 1.1rem;
    }
    .section-service-intro h3::before {
        width: 0.45rem;
        height: 0.5rem;
        margin-left: -0.75rem;
        margin-top: 0.3rem;
    }
    .section-service-intro h3::after {
        width: 0.45rem;
        height: 0.5rem;
        margin-left: 0.3rem;
        margin-top: 0.3rem;
    }
    .section-service-intro .s-content {
        padding: 0 1.65rem;
    }
    .section-service-intro .s-content .s-context {
        flex-direction: column;
        padding: 0;
        background: #fff;
        position: relative;
    }
    .introduction{
        margin: 1.5rem 0 0;
    }
    .section-service-intro .s-content .s-context .img-box {
        width: 100%;
        height: auto;
    }
    .section-service-intro .s-content .s-context dl {
        padding:0.8rem;
    }
    .section-service-intro .s-content .s-context dl .s-god {
        display: none;
    }
    .section-service-intro .s-content .s-context dt {
        font-size: 0.75rem;
        line-height: 1.05rem;
        margin-bottom: 0.35rem;
    }
    .section-service-intro .s-content .s-context dd {
        font-size: 0.7rem;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #535C66;
        line-height: 1.2rem;
    }
    .section-rules {
        padding: 0.85rem 0.85rem 1.7rem;
    }
    .section-rules h4 {
        padding: 0;
        font-size: 0.8rem;
        color: #333333;
        line-height: 1.1rem;
    }
    .section-rules h4::before {
        top: 0.4rem;
        left: -0.55rem;
        width: 0.3rem;
        height: 0.3rem;
    }
    .section-rules h4::after {
        top: 0.4rem;
        right: -0.55rem;
        width: 0.3rem;
        height: 0.3rem;
    }
    .section-rules-img-group {
        width: 100%;
        margin-top: 0.75rem;
        height: auto;
    }
    .section-rules .section-rule-img {
        width: 100%;
    }
    .section-stu-style {
        padding: 0;
        background: #F4FBFF;
    }
    .section-stu-style .container {
        padding: 0.55rem 0 0.85rem;
    }
    .v-stu-banner {
        padding: 0.9rem 0 1rem;
    }
    .stu-slide.swiper-slide-active p {
        font-size: 0.7rem;
        line-height: 1rem;
    }
    /* .stu-img-fluid {
        width: 14.93rem;
        height: 8.4rem;
    }
    .stu-slide.swiper-slide-active {
        width: 14.93rem !important;
    }
    .swiper-slide-active .stu-img-fluid {
        width: 14.93rem;
        height: 8.4rem;
    }
    .stu-slide.swiper-slide-prev,
    .stu-slide.swiper-slide-next {
        width: 1.15rem !important;
        height: 6.6rem;
    }
    .stu-slide.swiper-slide-prev .stu-img-fluid,
    .stu-slide.swiper-slide-next .stu-img-fluid {
        width: 1.15rem !important;
        height: 6.6rem;
    }
    .student-swiper .swiper-button-next, 
    .student-swiper .swiper-button-prev, 
    .parent-swiper .swiper-button-next, 
    .parent-swiper .swiper-button-prev {
        display: none;
    } */
    .student-swiper .swiper-button-next, 
    .student-swiper .swiper-button-prev, 
    .parent-swiper .swiper-button-next, 
    .parent-swiper .swiper-button-prev {
        display: none;
    }
    .stu-swiper .swiper-wrapper {
        width: 100%;
    }
    .stu-swiper .swiper-wrapper .swiper-slide {
        width: 80%;
    }
    .stu-img-fluid {
        width: 100%;
        height: auto;
    }
    .stu-slide.swiper-slide-prev {
        text-align: start;
        width: 60% !important;
        margin-left: -55%;
    }

    .stu-slide.swiper-slide-next {
        text-align: end;
        width: 60% !important;
        margin-left: 0;
    }
    .swiper-slide-active .stu-img-fluid {
        width: 100%;
        height: auto !important;
    }
    .stu-slide.swiper-slide-active {
        width: 80% !important;
    }
    .stu-slide.swiper-slide-active p {
        padding-top: 1.8rem;
    }
    .section-stu-style .container>h3 {
        font-size: 0.8rem;
        line-height: 1.1rem;
    }
    .section-stu-style .container>h3::before {
        width: 0.45rem;
        height: 0.5rem;
        margin-left: -0.75rem;
        margin-top: 0.3rem;
    }
    .section-stu-style .container>h3::after {
        width: 0.45rem;
        height: 0.5rem;
        margin-left: 0.3rem;
        margin-top: 0.3rem;
    }
    .rule-sync-img {
        display: none;
    }
    .hover-scale:hover{
        transform:scale(1);
    }

    .section-service-intro .ribbon{
        top: 6rem;
        left: -1.36rem;
        width: 10rem !important;
        height: 2.6rem;
    }
}

@media (max-width: 390px) {
    .section-service-intro .ribbon{
        top: 6.6rem;
        bottom: 0;
        left: -1.1rem;
        width: 8rem !important;
        height: 2rem;
    } 
}

@media (max-width: 1200px) {
    .section-service-intro .s-content{
        padding: 0 2rem
    }
}
@media (max-width: 500px) {
    .img-fluid {
        width: 100%;
        /* height: auto; */
        height: 9.5rem;
        object-fit: cover;
    }
}


@media screen and (min-width:600px) and (max-width:1200px) {
    .sp-radius{
        height: 15.4rem;
        object-fit: cover;
    }
}
@media (max-width: 1920px) {
    .section-service-intro .s-content .s-content .font-box{
        padding:0.6rem 0.6rem 0.6rem 2rem !important;
    }
}

