* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: #ffffff;
}

.navbar {
    background-color: #000000;
    border-bottom: 2px solid #D4AF37;
    padding: 20px 0;
    width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    color: #ffffff;
}

.logo-text p {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0;
    color: #ffffff;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
    white-space: nowrap;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D4AF37;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #D4AF37;
}

.nav-link:hover::after {
    width: 100%;
}

.contact-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.phone-number {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
    }
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: #D4AF37;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background-color: #000000;
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 80px 0 40px;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-link {
    display: block;
    color: #D4AF37;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: rgba(212, 175, 55, 0.2);
    color: #D4AF37;
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    .container {
        flex-wrap: nowrap;
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-overlay {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .contact-section {
        display: none;
    }
}

.advantages-section {
    background-color: #000;
    padding: 80px 0;
    width: 100%;
}

.advantages-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #D4AF37;
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.6)) drop-shadow(0 0 45px rgba(212, 175, 55, 0.4));
}

.section-subtitle {
    font-size: 16px;
    color: #D4AF37;
    letter-spacing: 2px;
    font-weight: 400;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6),
        0 0 20px rgba(212, 175, 55, 0.4);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background-color: #000000;
    border: 1px solid #ffffff;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
}

.advantage-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

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

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

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.card-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #D4AF37;
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1.5;
}

.card-subtitle {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .advantages-section {
        padding: 60px 0;
    }

    .advantages-container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage-card {
        padding: 30px 20px;
    }

    .icon-image {
        width: 70px;
        height: 70px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-subtitle {
        font-size: 13px;
    }
}

.about-section {
    width: 100%;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.about-container {
    display: flex;
    width: 100%;
    min-height: 600px;
    position: relative;
    background-color: #000;
}

.about-left {
    flex: 1;
    background-image: url('images/bac.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 40px;
    /* clip-path: polygon(0 0, 100% 0, 55% 100%, 0 100%); */
    z-index: 1;
}

.about-us-label {
    font-size: 48px;
    font-weight: 300;
    color: #D4AF37;
    letter-spacing: 8px;
    margin-bottom: 40px;
    text-align: center;
    opacity: 0.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


.about-right {
    flex: 1;
    background: linear-gradient(180deg, #FF4500 0%, #FF6B35 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
    clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -25%;
    padding-left: 500px;
    z-index: 2;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
}

.about-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.about-title-en {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 4px;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.about-right.animate-in .about-title-en {
    opacity: 1;
    transform: translateX(0);
}

.about-title-cn {
    font-size: 28px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.4;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.about-right.animate-in .about-title-cn {
    opacity: 1;
    transform: translateX(0);
}

.about-content {
    margin-bottom: 40px;
}

.about-text {
    font-size: 16px;
    color: #ffffff;
    line-height: 2;
    margin-bottom: 20px;
    text-align: justify;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-right.animate-in .about-text:nth-of-type(1) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.6s;
}

.about-right.animate-in .about-text:nth-of-type(2) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.8s;
}

.about-motto {
    font-size: 16px;
    color: #ffffff;
    text-align: right;
    margin-top: auto;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease 1s, transform 0.8s ease 1s;
}

.about-right.animate-in .about-motto {
    opacity: 0.9;
    transform: translateX(0);
}

@media (max-width: 1024px) {


    .about-right {
        clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
        margin-left: -15%;
        padding: 60px 40px;
    }

    .about-title-en {
        font-size: 36px;
    }

    .about-title-cn {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }



    .about-us-label {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .about-right {
        clip-path: none;
        margin-left: 0;
        padding: 40px 20px;
    }

    .about-title-en {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .about-title-cn {
        font-size: 20px;
    }

    .about-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .about-motto {
        font-size: 14px;
    }
}

.classroom-section {
    background-color: #000;
    padding: 80px 0;
    width: 100%;
    overflow: hidden;
}

.classroom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.classroom-header {
    text-align: center;
    margin-bottom: 60px;
}

.classroom-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.2;
    color: #D4AF37;
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.6)) drop-shadow(0 0 45px rgba(212, 175, 55, 0.4));
}

.title-black {
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-red {
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.classroom-subtitle {
    font-size: 16px;
    color: #D4AF37;
    letter-spacing: 2px;
    font-weight: 400;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6),
        0 0 20px rgba(212, 175, 55, 0.4);
}

.classroom-gallery-frame {
    width: 100%;
    position: relative;
    border: 3px solid #D4AF37;
    padding: 20px;
    border-radius: 4px;
}

.classroom-gallery-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid #D4AF37;
    border-radius: 2px;
    pointer-events: none;
}

.classroom-gallery-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.classroom-gallery {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
    will-change: transform;
}

.classroom-gallery:hover {
    animation-play-state: paused;
}

.gallery-item {
    flex-shrink: 0;
    width: 400px;
    height: 300px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1024px) {
    .classroom-section {
        padding: 60px 0;
    }

    .classroom-container {
        padding: 0 20px;
    }

    .classroom-title {
        font-size: 28px;
    }

    .gallery-item {
        width: 300px;
        height: 225px;
    }
}

@media (max-width: 768px) {
    .classroom-section {
        padding: 40px 0;
    }

    .classroom-header {
        margin-bottom: 40px;
    }

    .classroom-title {
        font-size: 24px;
    }

    .classroom-subtitle {
        font-size: 14px;
    }

    .gallery-item {
        width: 250px;
        height: 188px;
    }

    .classroom-gallery {
        gap: 15px;
    }
}

.contact-section-page {
    background-color: #000000;
    padding: 80px 0;
    width: 100%;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-main-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #D4AF37;
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.6)) drop-shadow(0 0 45px rgba(212, 175, 55, 0.4));
}

.contact-subtitle {
    font-size: 18px;
    color: #D4AF37;
    font-weight: 600;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6),
        0 0 20px rgba(212, 175, 55, 0.4);
}

.contact-info-box {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-box-title {
    font-size: 24px;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 30px;
}

.contact-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.contact-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-size: 14px;
    color: #D4AF37;
    font-weight: 500;
}

.contact-value {
    font-size: 16px;
    color: #D4AF37;
    font-weight: 400;
}

.contact-qrcodes {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-shrink: 0;
}

.qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qrcode-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
}

.qrcode-label {
    font-size: 14px;
    color: #D4AF37;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

@media (max-width: 1024px) {
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }

    .contact-qrcodes {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact-section-page {
        padding: 60px 0;
    }

    .contact-container {
        padding: 0 20px;
    }

    .contact-main-title {
        font-size: 28px;
    }

    .contact-subtitle {
        font-size: 16px;
    }

    .contact-info-box {
        padding: 30px 20px;
    }

    .contact-box-title {
        font-size: 20px;
    }

    .contact-qrcodes {
        align-items: center;
        gap: 20px;
    }

    .qrcode-placeholder {
        width: 120px;
        height: 120px;
    }
}

.footer-section {
    background-color: #000000;
    padding: 60px 0 30px;
    width: 100%;
    border-top: 2px solid #D4AF37;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 60px;
}

.footer-contact {
    flex: 1;
    text-align: left;
}

.footer-contact-title {
    font-size: 20px;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 25px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-contact-label {
    font-size: 14px;
    color: #D4AF37;
    font-weight: 500;
    min-width: 60px;
    flex-shrink: 0;
}

.footer-contact-value {
    font-size: 14px;
    color: #D4AF37;
    font-weight: 400;
}

.footer-qrcodes {
    display: flex;
    gap: 30px;
    flex-shrink: 0;
}

.footer-qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-qrcode-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-qrcode-label {
    font-size: 14px;
    color: #D4AF37;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

.footer-copyright {
    color: #D4AF37;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

@media (max-width: 1024px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-qrcodes {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 40px 0 20px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-contact-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer-contact-label,
    .footer-contact-value {
        font-size: 13px;
    }

    .footer-qrcodes {
        flex-direction: column;
        gap: 20px;
    }

    .footer-qrcode-image {
        width: 120px;
        height: 120px;
    }

    .footer-copyright {
        font-size: 12px;
    }
}

.teachers-section {
    background-color: #000;
    /*background-image: url('../images/bac2.png');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    width: 100%;
    overflow: hidden;
}

.teachers-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.teachers-header {
    text-align: center;
    margin-bottom: 60px;
}

.teachers-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.2;
    color: #D4AF37;
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.6)) drop-shadow(0 0 45px rgba(212, 175, 55, 0.4));
}

.teachers-subtitle {
    font-size: 16px;
    color: #D4AF37;
    letter-spacing: 2px;
    font-weight: 400;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6),
        0 0 20px rgba(212, 175, 55, 0.4);
}

.teachers-gallery-frame {
    width: 100%;
    position: relative;
    border: 3px solid #D4AF37;
    padding: 20px;
    border-radius: 4px;
}

.teachers-gallery-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid #D4AF37;
    border-radius: 2px;
    pointer-events: none;
}

.teachers-gallery-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.teachers-gallery-wrapper:last-child {
    margin-bottom: 0;
}

.teachers-gallery-top {
    display: flex;
    gap: 20px;
    animation: scroll-right 30s linear infinite;
    will-change: transform;
}

.teachers-gallery-bottom {
    display: flex;
    gap: 20px;
    animation: scroll-left 30s linear infinite;
    will-change: transform;
}

.teachers-gallery-top:hover,
.teachers-gallery-bottom:hover {
    animation-play-state: paused;
}

.teacher-item {
    flex-shrink: 0;
    width: 280px;
    height: 440px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.teacher-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.teacher-item:hover img {
    transform: scale(1.05);
}

@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .teachers-section {
        padding: 60px 0;
    }

    .teachers-container {
        padding: 0 20px;
    }

    .teachers-title {
        font-size: 28px;
    }

    .teacher-item {
        width: 220px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .teachers-section {
        padding: 40px 0;
    }

    .teachers-header {
        margin-bottom: 40px;
    }

    .teachers-title {
        font-size: 24px;
    }

    .teachers-subtitle {
        font-size: 14px;
    }

    .teacher-item {
        width: 180px;
        height: 270px;
    }

    .teachers-gallery-top,
    .teachers-gallery-bottom {
        gap: 15px;
    }
}

.earlybird-section {
    background-color: #000;
    /*background-image: url('../images/bac3.png');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    width: 100%;
    position: relative;
}

.earlybird-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.earlybird-header {
    text-align: center;
    margin-bottom: 60px;
}

.earlybird-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    color: #D4AF37;
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.6)) drop-shadow(0 0 45px rgba(212, 175, 55, 0.4));
}

.earlybird-subtitle {
    font-size: 16px;
    color: #D4AF37;
    letter-spacing: 2px;
    font-weight: 400;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6),
        0 0 20px rgba(212, 175, 55, 0.4);
}

.earlybird-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.earlybird-text {
    width: 100%;
}

.earlybird-heading1 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.earlybird-quote {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.8;
    font-style: italic;
}

.earlybird-heading2 {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.4;
}

.earlybird-divider {
    width: 60px;
    height: 2px;
    background-color: #000000;
    margin-bottom: 25px;
}

.earlybird-body {
    margin-bottom: 30px;
}

.earlybird-body p {
    font-size: 16px;
    color: #000000;
    line-height: 2;
    text-align: justify;
}

.earlybird-button {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.earlybird-button:hover {
    background-color: #333333;
}

.earlybird-carousel-wrapper {
    position: relative;
    width: 100%;
}

.earlybird-carousel-text {
    position: absolute;
    left: 0;
    top: 0;
    width: 600px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 40px;
    padding-left: 100px;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.earlybird-carousel-text.active-text {
    opacity: 1;
    pointer-events: auto;
}

.earlybird-carousel-text .earlybird-heading2 {
    color: #D4AF37;
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
}

.earlybird-carousel-text .earlybird-divider {
    background-color: #D4AF37;
}

.earlybird-carousel-text .earlybird-body p {
    color: #D4AF37;
}

.earlybird-carousel {
    position: relative;
    width: 100%;
    height: 600px;
}

.carousel-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: #ffffff;
    font-size: 40px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    border-radius: 50%;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

@media (max-width: 1024px) {
    .earlybird-carousel-text {
        width: 400px;
        padding: 30px;
    }

    .earlybird-carousel {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .earlybird-section {
        padding: 60px 0;
    }

    .earlybird-container {
        padding: 0 20px;
    }

    .earlybird-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .earlybird-title {
        font-size: 32px;
    }

    .earlybird-subtitle {
        font-size: 14px;
    }

    .earlybird-carousel-text {
        display: none;
    }

    .earlybird-carousel {
        height: 400px;
    }

    .earlybird-heading1 {
        font-size: 20px;
    }

    .earlybird-heading2 {
        font-size: 24px;
    }

    .earlybird-body p {
        font-size: 14px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }
}

.fixed-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: none;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fixed-sidebar.show {
    display: flex;
    opacity: 1;
}

.fixed-sidebar:hover .sidebar-item {
    width: auto;
    padding-left: 15px;
    padding-right: 0;
}

.fixed-sidebar:hover .sidebar-label {
    opacity: 1;
    width: auto;
    margin-right: 10px;
}

.sidebar-item {
    position: relative;
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, #FF4500 0%, #FF6B35 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: visible;
    white-space: nowrap;
}

.fixed-sidebar:hover .sidebar-item {
    justify-content: flex-end;
}

.sidebar-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sidebar-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    order: 2;
}

.sidebar-label {
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, width 0.3s ease, margin 0.3s ease;
    order: 1;
    margin-right: 0;
}

.sidebar-hover-content {
    position: absolute;
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    white-space: nowrap;
    z-index: 1001;
}

.sidebar-item.sidebar-wechat:hover .sidebar-hover-content,
.sidebar-item.sidebar-qrcode:hover .sidebar-hover-content {
    right: calc(100% + 15px);
}

.sidebar-item:hover .sidebar-hover-content {
    opacity: 1;
    visibility: visible;
}

.hover-text {
    font-size: 14px;
    color: #000000;
    margin: 0;
    font-weight: 500;
}

.qrcode-content {
    padding: 15px;
}

.hover-qrcode {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .fixed-sidebar {
        display: none !important;
    }

    .fixed-sidebar.show {
        display: none !important;
    }
}