body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #333333;
    background-color: #FAFAFA;
    overflow-x: hidden;
}

.teacher-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    margin: 0 auto 20px;
}

:root {
    --primary-color: #2C2C2E;
    --secondary-color: #868686;
    --accent-color: #0066CC;
    --light-bg: #FFFFFF;
    --light-gray: #F0F5FF;
    --dark-text: #1D1D1F;
    --light-text: #86868B;
    --success-color: #4CAF50;
    --border-color: #D2D2D7;
}

.badge {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
}

.badge.bg-primary {
    background-color: #0066CC !important;
}

.badge.bg-success {
    background-color: #4CAF50 !important;
}

.badge.bg-warning {
    background-color: #FF9500 !important;
}

.badge.bg-info {
    background-color: #4DA6FF !important;
}

.img-placeholder {
    background: linear-gradient(135deg, #FFFFFF, #F5F5F7);
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-align: center;
    padding: 10px;
}

.gallery-img-placeholder {
    background: linear-gradient(135deg, #FFFFFF, #F5F5F7);
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 0.8rem;
    text-align: center;
    padding: 10px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.gallery-img-placeholder:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.25);
    background: linear-gradient(135deg, #FFFFFF, #E5F1FF);
}

.gallery-img-placeholder i {
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-img-placeholder:hover i {
    transform: scale(1.3);
}

.gallery-img-placeholder:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,113,227,0.05), rgba(255,255,255,0.2));
    z-index: 1;
}

.gallery-img-placeholder p {
    transition: all 0.3s ease;
    font-weight: 500;
    margin-top: 5px;
}

.gallery-img-placeholder:hover p {
    color: #0071E3;
    transform: translateY(-2px);
}

.feature-card {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover .card-icon {
    transform: scale(1.1);
}

#teaching .section-title:after {
    background: linear-gradient(90deg, var(--accent-color), #0071E3);
}

#teaching .border {
    transition: all 0.3s ease;
}

#teaching .border:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.btn-download {
    background: linear-gradient(90deg, var(--accent-color), #0071E3);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

#teaching .tech-accent i {
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

#teaching .teaching-card:hover .tech-accent i {
    transform: scale(1.15);
}

#teachers .advantage-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    background-color: var(--light-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

#teachers .advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.15);
    border-color: var(--accent-color);
}

#teachers .img-placeholder {
    background: linear-gradient(135deg, #FFFFFF, #F0F5FF);
    border: 2px dashed var(--accent-color);
    transition: all 0.3s ease;
}

#teachers .img-placeholder:hover {
    background: linear-gradient(135deg, #FFFFFF, #E5F1FF);
    transform: scale(1.05);
}

#teachers h4 {
    color: var(--dark-text);
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.3rem;
}

#teachers h6 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

#teachers p {
    color: var(--dark-text);
    line-height: 1.6;
}

#teaching .teaching-card .tech-accent {
    color: inherit;
}

.teaching-highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.teaching-card {
    background: linear-gradient(135deg, var(--light-bg), #f8f9fa);
    border: 1px solid rgba(0, 113, 227, 0.1);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    height: 100%;
    padding: 2rem;
}

.teaching-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 113, 227, 0.15);
    border-color: rgba(0, 113, 227, 0.3);
}

.teaching-card .display-4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.teaching-card .tech-accent {
    color: #2C2C2E;
    font-weight: 700;
}

.teaching-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-text);
    font-size: 1.3rem;
}

#contact .teaching-card h4 {
    font-size: 1.4rem;
    text-align: center;
}

.teaching-section .tech-accent {
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2rem !important;
    font-size: 1.4rem;
}

.teaching-card .display-4 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.teaching-card .tech-accent i {
    transition: all 0.3s ease;
}

.teaching-card:hover .tech-accent i {
    transform: scale(1.15);
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 0.9;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}

.carousel-indicators [data-bs-target] {
    width: 30px;
    height: 3px;
    border-radius: 0;
    border: 0;
}

.carousel-indicators [data-bs-target].active {
    background-color: #0071E3;
}

.video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.video-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
}

.video-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.video-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.video-btn {
    background-color: var(--accent-color);
    color: white;
    border-radius: 30px;
    padding: 12px 35px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.4);
}

.video-btn:hover {
    background-color: #0062C4;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.5);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 3;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-20px) translateX(-50%);}
    60% {transform: translateY(-10px) translateX(-50%);}
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: rgb(2, 18, 41) !important;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding: 5px 10px;
    border-radius: 6px;
}

.navbar-brand img {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.nav-link {
    color: var(--dark-text) !important;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

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

.btn-consult {
    background-color: var(--accent-color);
    color: white;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.2);
}

.btn-consult:hover {
    background-color: #0062C4;
    color: white;
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.section-title {
    text-align: center;
    color: var(--dark-text);
    margin-bottom: 50px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.advantage-card h4 {
    font-size: 1.4rem;
    margin: 15px 0;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.advantage-card {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-text);
    font-size: 1.25rem;
}

#competition .card h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.card h6 {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1rem;
    text-transform: uppercase;
}

.advantage-btn {
    background-color: #e9ecef;
    color: var(--dark-text);
    border: 1px solid #ced4da;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.9rem;
    margin-top: 15px;
    transition: all 0.2s;
    display: inline-block;
}

.advantage-btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: scale(1.03);
}

.case-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.case-section .section-title {
    color: var(--dark-text);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.case-section .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.partner-title {
    color: var(--dark-text);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    font-size: 1.5rem;
}

.partner-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.case-card {
    background-color: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
    height: 100%;
    border: 1px solid var(--border-color);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.case-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #FFFFFF, #F5F5F7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1rem;
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
}

.case-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 15px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.case-btn:hover {
    background-color: #0062C4;
    color: white;
    transform: scale(1.03);
}

.about-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 2px solid var(--light-bg);
}

.teaching-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.feature-card {
    background-color: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
    height: 100%;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #FFFFFF, #F5F5F7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1rem;
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
}

.partner-card {
    transition: all 0.3s ease;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    background-color: var(--light-bg);
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.partner-img-placeholder {
    background: linear-gradient(135deg, #FFFFFF, var(--light-gray));
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    text-align: center;
    padding: 15px;
    height: 100%;
    min-height: 180px;
    flex-grow: 1;
}

.partner-img-placeholder i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.partner-img-placeholder p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--dark-text);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1400px) {
    .col-xl-2 {
        flex: 0 0 auto;
        width: 20%;
    }
}

@media (max-width: 1200px) {
    .col-xl-2 {
        flex: 0 0 auto;
        width: 25%;
    }
}

@media (max-width: 991px) {
    .col-xl-2, .col-lg-3 {
        flex: 0 0 auto;
        width: 33.33%;
    }
}

@media (max-width: 767px) {
    .col-xl-2, .col-lg-3, .col-md-4 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (max-width: 576px) {
    .col-xl-2, .col-lg-3, .col-md-4, .col-sm-6 {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (max-width: 991px) {
    .carousel-inner {
        height: 350px !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .carousel-inner {
        height: 300px !important;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .carousel-inner {
        height: 250px !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

.partnership-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.plan-card {
    background-color: var(--light-bg);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.plan-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.data-section {
    background: linear-gradient(135deg, #1D1D1F, #2C2C2E);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.data-number {
    font-family: 'Courier New', Courier, monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.data-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 1.2rem;
    color: var(--light-text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

h1 {
    font-weight: 800;
    letter-spacing: 1px;
}

h2 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

h3 {
    font-weight: 600;
}

h4, h5, h6 {
    font-weight: 600;
}

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 0 20px;
}

.mission {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 1.4rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--light-text);
}

@media (max-width: 768px) {
    .video-content h1 {
        font-size: 2.5rem;
    }
    
    .video-content p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .data-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .video-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .partner-title {
        font-size: 1.2rem;
    }
    
    .advantage-card h4 {
        font-size: 1.1rem;
    }
    
    .teaching-card h5 {
        font-size: 1.1rem;
    }
    
    .data-number {
        font-size: 1.8rem;
    }
}
