/* 基础样式重置 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Alibaba PuHuiTi 2.0', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #FFFFFF;
    color: #000000;
    overflow-x: hidden;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    min-width: 850px;
}

body.loaded {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}


/* 公共样式 */

.section-title {
    font-size: 46px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #000000;
    border-radius: 50%;
    display: inline-block;
}


/* 头部导航 */

.header {
    position: relative;
    width: 100%;
    z-index: 100;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.logo img {
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    cursor: pointer;
    color: #333333;
    position: relative;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 120px;
    z-index: 1000;
    display: none;
}

.language-dropdown.show {
    display: block;
}

.language-option {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.language-option:hover {
    background-color: #f5f5f5;
}

.language-option.active {
    font-weight: 500;
    color: #FF8F1F;
}

.language-option.active::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #FF8F1F;
    margin-left: auto;
}

.login-btn {
    background-color: #FF8F1F;
    color: white;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}


/* Banner区域 */

.banner {
    position: relative;
    width: 100%;
    height: 820px;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/banner1920.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.banner-content {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 38px;
    z-index: 2;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(90deg, #FFA952, #FF7B35);
    padding: 8px 14px;
    border-radius: 30px 18px 18px 0px;
    width: fit-content;
    max-width: 100%;
}

.brand-logo img {
    width: 24px;
    height: 24px;
}

.brand-logo span {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.brand-logo .dot {
    background-color: #FFFFFF;
}

.slogan {
    font-size: 58px;
    font-weight: 500;
    letter-spacing: 3.45%;
    line-height: 1.4;
    width: 70%;
}

.taglines {
    display: flex;
    align-items: center;
    gap: 12px;
}

.taglines span {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 4.55%;
}

.taglines .dot {
    background-color: #FFFFFF;
}


/* 关于我们 */

.ut-us {
    padding: 120px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    gap: 60px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    text-align: center;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #686868;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 1300px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: calc(25%);
}

.stat-img {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
}

.stat-item:nth-child(1) .stat-img {
    background-image: url('../images/about_us_image_01.png');
}

.stat-item:nth-child(2) .stat-img {
    background-image: url('../images/about_us_image_02.png');
}

.stat-item:nth-child(3) .stat-img {
    background-image: url('../images/about_us_image_03.png');
}

.stat-item:nth-child(4) .stat-img {
    background-image: url('../images/about_us_image_04.png');
}

.stat-item h3 {
    font-size: 46px;
    font-weight: 600;
    color: #FF8F1F;
}

.stat-item p {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Alibaba PuHuiTi 2.0', sans-serif;
}


/* 课程部分 */

.courses {
    background-color: #FEFAF7;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px 0 180px;
}

.course-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1600px;
    padding: 60px 0 100px;
}

.tab-btn {
    border: 1px solid #EDEEF5;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    margin: 10px;
}

.tab-btn.active {
    background: linear-gradient(90deg, #FFA952, #FF7B35);
    color: #FFFFFF;
    border: none;
}

.course-card {
    background: linear-gradient(90deg, #FEF7FF, #FEF7F6, #FFF4EA);
    border: 3px solid #FFFFFF;
    border-radius: 20px;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.04);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.course-img {
    border-radius: 17px;
    overflow: hidden;
    width: 300px;
    height: 190px;
}

.course-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    flex: 1;
}

.course-title {
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-title img {
    width: 24px;
    height: 24px;
}

.course-title h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0C0D13;
}

.course-desc {
    font-size: 16px;
    line-height: 1.8;
}


/* 上课模式 */

.class-mode {
    background-color: #fff;
    padding: 120px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.mode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 130px;
    margin: 0 auto;
}

.mode-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    width: 100%;
}

.mode-item.reverse {
    /* flex-direction: row-reverse; */
}

.mode-img {
    height: auto;
    object-fit: cover;
}

.mode-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mode-title {
    font-size: 34px;
    font-weight: 500;
    line-height: 1.8;
}

.mode-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(90deg, #FFE8D2, rgba(255, 230, 204, 0));
    border-radius: 30px;
}

.feature-item img {
    width: 24px;
    height: 24px;
}

.feature-item p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
}


/* 我们的优势 */

.advantages {
    background-color: #FEFAF7;
    padding: 120px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.advantages-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    align-items: center;
}

.advantages-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.advantage-card {
    background-color: #FFF9F3;
    border-radius: 20px;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 323px;
}

.advantage-card.active {
    background: linear-gradient(90deg, #FFA952, #FF7B35);
    color: #FFFFFF;
}

.advantage-card.active img {
    display: none;
}

.advantage-card.active img.icon-active {
    display: block;
}

.advantage-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.advantage-header img {
    width: 24px;
    height: 24px;
}

.advantage-header img.icon-active {
    display: none;
}

.advantage-header h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.advantage-card p {
    padding-left: 32px;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 4px;
}

.advantage-card:not(.active) p {
    color: #686868;
}

.advantages-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 名师授课团队 */

.teachers {
    position: relative;
    height: auto;
    padding: 100px 0 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 60px;
    overflow: hidden;
}

.teachers-bg {
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    z-index: -1;
}

.teachers-bg img {
    width: 100%;
}

.teachers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 310px;
    margin-bottom: 10px;
}

.slider-nav {
    display: flex;
}

.prev-btn,
.next-btn {
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.prev-btn:first-child {
    margin-left: 0;
}

.teachers-slider {
    display: flex;
    gap: 30px;
    padding: 0 310px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.teachers-slider::-webkit-scrollbar {
    display: none;
}

.teacher-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    min-width: 483px;
    max-width: 483px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 20px;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.12);
}

.teacher-profile {
    display: flex;
    gap: 16px;
    position: relative;
    align-items: center;
}

.teacher-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #FF8F1F;
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.teacher-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: #072A50;
    line-height: 1.5;
}

.teacher-info p {
    font-size: 16px;
    color: rgba(40, 40, 40, 0.5);
    line-height: 1.5;
}

.quote-icon {
    position: absolute;
    right: 0;
    top: 0;
}

.teacher-bio {
    font-size: 16px;
    line-height: 1.875;
    color: rgba(0, 0, 0, 0.7);
}


/* 我们的成就 */

.achievements {
    background-color: #FEFAF7;
    padding: 120px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.achievement-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 60px;
    width: 100%;
}

.achievement-tab {
    background-color: #FFF5E9;
    border: 1px solid #EDEEF5;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    margin: 10px;
}

.achievement-tab.active {
    background: #FF8F1F;
    color: white;
    border-color: #FF8F1F;
}

.achievement-content {
    width: 100%;
    margin: 0 auto;
}

.achievement-content img {
    width: 100%;
    height: auto;
    display: none;
    border-radius: 12px;
}


/* 联系我们 */

.contact {
    position: relative;
    height: auto;
    min-height: auto;
    padding: 144px 0 160px;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 0 auto;
    height: auto;
    position: relative;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 120px;
}

.contact-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-header h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: #FFFFFF;
}

.contact-header p {
    font-size: 16px;
    line-height: 1.6;
    color: #FFFFFF;
}

.qr-code {
    width: 160px;
    height: 160px;
}

.plane-img {
    position: static;
    transform: none;
    width: 40%;
    margin: 30px 0;
}

.contact-locations {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.location-item {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #FFFFFF;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 4px;
}

.location-header img {
    width: 20px;
    height: 20px;
}

.location-header h4 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.location-item p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}


/* 页脚 */

.footer {
    background-color: #1B1B1B;
    color: rgba(255, 255, 255, 0.8);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    /* padding: 40px 20px; */
}

.footer-logo {
    text-align: left;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.footer-locations,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-location,
.footer-email,
.footer-phone {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-location img,
.footer-email img,
.footer-phone img {
    width: 20px;
    height: 20px;
}

.footer-location p,
.footer-email p,
.footer-phone p {
    font-size: 14px;
    line-height: 1.8;
}


/* 响应式设计 */


/* 大屏幕(1920px及以上) */

@media (min-width: 1920px) {
    .section-title {
        font-size: 50px;
    }
    .slogan {
        font-size: 66px;
    }
    .taglines span {
        font-size: 26px;
    }
    .banner {
        height: 820px;
    }
    .stat-img {
        width: 200px;
        height: 200px;
    }
    .stat-item h3 {
        font-size: 52px;
    }
    .course-card {
        padding: 40px;
    }
    .course-title h3 {
        font-size: 24px;
    }
    .course-desc {
        font-size: 18px;
    }
    .mode-img {
        width: 780px;
    }
    .mode-title {
        font-size: 40px;
    }
    .feature-item {
        padding: 20px 24px;
    }
    .feature-item p {
        font-size: 20px;
    }
    .teacher-card {
        min-width: 520px;
        padding: 50px;
    }
    .ut-us {
        padding: 120px 0;
    }
    .footer-container {
        max-width: 1300px;
    }
}


/* 大屏幕(1440px-1919px) */

@media (min-width: 1440px) and (max-width: 1919px) {
    .section-title {
        font-size: 46px;
    }
    .banner {
        height: 615px;
    }
    /* .banner-content {
        left: 70px;
    } */
    .mode-img {
        width: 600px;
    }
    .teachers-header,
    .teachers-slider {
        padding: 0 70px;
    }
    .ut-us {
        padding: 120px 0;
    }
}


/* 中等屏幕(1024px-1439px) */

@media (min-width: 1024px) and (max-width: 1439px) {
    .section-title {
        font-size: 42px;
    }
    .banner {
        height: 550px;
    }
    .banner-content {
        /* left: 40px; */
        top: 128px;
    }
    .slogan {
        font-size: 50px;
        width: 50%;
    }
    .taglines span {
        font-size: 20px;
    }
    .mode-item {
        gap: 60px;
    }
    .mode-img {
        width: 600px;
    }
    .mode-title {
        font-size: 32px;
    }
    .feature-item {
        padding: 14px 18px;
    }
    .feature-item p {
        font-size: 17px;
    }
    .advantage-card {
        width: 300px;
    }
    .teachers-header,
    .teachers-slider {
        padding: 0 40px;
    }
    .teacher-card {
        min-width: 450px;
        padding: 35px;
    }
    .teacher-bio {
        font-size: 15px;
    }
    .achievement-tab {
        padding: 10px 20px;
        font-size: 16px;
        margin: 8px;
    }
    .ut-us {
        padding: 100px 0;
    }
    .footer-container {
        padding: 30px 20px;
        gap: 40px;
    }
}


/* 平板设备(768px-1023px) */

@media (min-width: 768px) and (max-width: 1023px) {
    .section-title {
        font-size: 36px;
    }
    .banner {
        height: 550px;
    }
    .banner-content {
        /* left: 30px; */
        top: 128px;
        gap: 25px;
    }
    .slogan {
        font-size: 40px;
        width: 50%;
    }
    .taglines span {
        font-size: 18px;
    }
    .mode-container {
        padding: 0 30px;
        gap: 80px;
    }
    .mode-item {
        gap: 40px;
        flex-flow: column;
    }
    .mode-item.reverse {
        flex-direction: column-reverse;
    }
    .mode-img {
        max-width: 600px;
    }
    .mode-content {
        width: 100%;
        max-width: 100%;
    }
    .mode-title {
        font-size: 30px;
        text-align: center;
    }
    .feature-item {
        padding: 14px 16px;
        width: max-content;
        margin: auto;
    }
    .advantages-container {
        flex-direction: column;
        gap: 50px;
    }
    .advantages-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
    }
    .advantage-card {
        width: 100%;
    }
    .advantages-image {
        width: 100%;
    }
    .teachers-header {
        padding: 0 30px;
        flex-direction: column;
        gap: 20px;
    }
    .teachers-slider {
        padding: 0 30px;
    }
    .teacher-card {
        min-width: 320px;
        padding: 30px;
    }
    .achievement-tab {
        padding: 10px 16px;
        font-size: 15px;
        margin: 6px;
    }
    .ut-us {
        padding: 80px 0;
    }
    .about-stats {
        gap: 0;
    }
    .stat-img {
        width: 120px;
        height: 120px
    }
    .footer-container {
        padding: 30px 20px;
        gap: 40px;
    }
    .course-card {
        flex-flow: column-reverse;
    }
    .course-info {
        padding: 0;
    }
    .course-img {
        width: 100%;
        height: auto;
        margin: 0 auto;
        text-align: center;
    }
    .plane-img {
        display: none;
    }
}


/* 手机端(≤767px) */

@media (max-width: 767px) {
    .section-title,
    .section-title.fadeInUp {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .banner {
        height: 398px;
    }
    .banner-content {
        /* left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%); */
        /* padding: 0 20px;
        align-items: center;
        text-align: center; */
        /* gap: 25px; */
    }
    .brand-logo {
        /* margin: 0 auto; */
    }
    .slogan {
        font-size: 32px;
        line-height: 1.3;
        width: 100%;
    }
    /* .taglines {
        flex-direction: column;
        gap: 15px;
    }
    .taglines .dot {
        display: none;
    }
    .taglines span {
        font-size: 16px;
    } */
    .taglines span {
        font-size: 14px;
    }
    .mode-item {
        gap: 40px;
        flex-flow: column;
    }
    .mode-item.reverse {
        flex-direction: column-reverse;
    }
    .mode-img,
    .mode-content {
        width: 100%;
        max-width: 100%;
    }
    .mode-img {
        max-height: 450px;
        object-fit: cover;
    }
    .mode-title {
        font-size: 30px;
    }
    .feature-item {
        padding: 14px 16px;
        width: max-content;
        margin: 0 auto
    }
    .advantages-container {
        flex-direction: column-reverse;
        gap: 0;
        width: 100%;
    }
    .advantages-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
        order: 1;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .advantage-card {
        width: 100%;
        padding: 16px;
        border-radius: 12px;
        background-color: #FFF9F3;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .advantage-header {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
    }
    .advantage-header img {
        width: 24px;
        height: 24px;
    }
    .advantage-header h4 {
        font-size: 14px;
        font-weight: 500;
        margin: 0;
        line-height: 1.4;
    }
    .advantage-card p {
        font-size: 12px;
        line-height: 1.5;
        color: #666;
        margin: 0;
        padding-left: 32px;
    }
    .advantages-image {
        width: 100%;
        height: auto;
        order: 2;
        margin-top: 20px;
    }
    .advantages-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        object-fit: cover;
    }
    .teachers-header {
        padding: 0 20px;
        margin-bottom: 30px;
    }
    .teachers-slider {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        padding: 0 20px;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .teachers-slider::-webkit-scrollbar {
        display: none;
    }
    .teacher-card {
        scroll-snap-align: center;
        min-width: calc(100vw);
        width: calc(100vw);
        margin: 0;
        padding: 20px;
        box-sizing: border-box;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .slider-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
        padding: 0 20px;
        width: 100%;
    }
    .achievement-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .achievement-tab {
        margin: 0;
        padding: 8px 12px;
        font-size: 14px;
        text-align: center;
        width: 100%;
    }
    .contact-container {
        flex-direction: column-reverse;
        padding: 0 20px;
        height: auto;
    }
    .contact-info {
        gap: 40px;
        align-items: left;
        text-align: center;
    }
    .contact-header {
        align-items: center;
    }
    .contact-header h2 {
        font-size: 36px;
    }
    .contact-header p {
        font-size: 14px;
    }
    .plane-img {
        position: static;
        transform: none;
        width: 40%;
        margin: 30px 0;
    }
    .contact-locations {
        width: 100%;
        gap: 20px;
    }
    .ut-us {
        padding: 60px 0;
        gap: 20px;
    }
    .about-stats {
        gap: 20px;
    }
    .stat-img {
        width: 120px;
        height: 120px;
    }
    .stat-item h3 {
        font-size: 36px;
    }
    .stat-item p {
        font-size: 14px;
    }
    .about-text p {
        font-size: 14px;
        line-height: 1.6;
    }
    .ut-us .section-title,
    .ut-us .about-content,
    .ut-us .stat-item {
        animation: none;
        opacity: 1;
    }
    .ut-us .stat-item:nth-child(1),
    .ut-us .stat-item:nth-child(2),
    .ut-us .stat-item:nth-child(3),
    .ut-us .stat-item:nth-child(4) {
        animation-delay: 0s;
    }
    .course-tabs {
        width: 100%;
        padding: 30px 0;
    }
    .courses .course-card {
        display: none;
    }
    .courses .course-card[style*="display: block"] {
        display: flex !important;
        animation: none;
        opacity: 1;
    }
    .footer-container {
        padding: 30px 20px;
        gap: 40px;
    }
    .section-title {
        font-size: 24px;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .tab-btn {
        font-size: 14px;
        padding: 8px 16px;
        margin: 6px;
    }
    .course-card {
        flex-flow: column-reverse;
    }
    .course-info {
        padding: 0;
    }
    .course-img {
        width: 100%;
        height: auto;
        margin: 0 auto;
        text-align: center;
    }
    .plane-img {
        display: none;
    }
}


/* 添加卡片和元素的动画效果 */

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

.section-title,
.about-content,
.stat-item,
.course-card,
.mode-item,
.advantage-card,
.teacher-card,
.achievement-tabs,
.contact-container {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

.advantage-card:nth-child(1) {
    animation-delay: 0.1s;
}

.advantage-card:nth-child(2) {
    animation-delay: 0.2s;
}

.advantage-card:nth-child(3) {
    animation-delay: 0.3s;
}

.advantage-card:nth-child(4) {
    animation-delay: 0.4s;
}

.advantage-card:nth-child(5) {
    animation-delay: 0.5s;
}

.advantage-card:nth-child(6) {
    animation-delay: 0.6s;
}


/* 显隐控制样式 */

.course-card {
    display: none;
}

.course-card[style*="display: block"] {
    display: flex !important;
}

.advantages-image {
    position: relative;
}

.advantages-image img {
    width: 100%;
    height: auto;
    display: none;
}

.advantages-image img[style*="display: block"] {
    display: flex !important;
}


/* 确保教师卡片在轮播中正常显示 */

.teacher-card {
    flex-shrink: 0;
}


/* 课程内容容器样式 */

.course-content {
    position: relative;
}


/* 响应式背景图片 */

@media (min-width: 1920px) {
    .banner-bg {
        background-image: url('../images/banner1920.png');
    }
}

@media (min-width: 1440px) {
    .banner-bg {
        background-image: url('../images/banner1440.png');
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .banner-bg {
        background-image: url('../images/banner1024.png');
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .banner-bg {
        background-image: url('../images/banner768.png');
    }
}

@media (max-width: 767px) {
    .banner-bg {
        background-image: url('../images/banner375.png');
    }
}