        /* Critical CSS - Fonts */
        @font-face {
            font-display: swap;
            font-family: 'Noto Sans SC';
            font-style: normal;
            font-weight: 400;
            src: url('fonts/noto-sans-sc-v38-chinese-simplified-regular.woff2') format('woff2');
        }
        @font-face {
            font-display: swap;
            font-family: 'Noto Sans SC';
            font-style: normal;
            font-weight: 600;
            src: url('fonts/noto-sans-sc-v38-chinese-simplified-600.woff2') format('woff2');
        }
        @font-face {
            font-display: swap;
            font-family: 'Noto Serif';
            font-style: normal;
            font-weight: 300;
            src: url('fonts/noto-serif-semi-light.woff2') format('woff2');
        }
        @font-face {
            font-display: swap;
            font-family: 'Noto Serif';
            font-style: normal;
            font-weight: 600;
            src: url('fonts/noto-serif-semi-medium.woff2') format('woff2');
        }

        /* Reset & Base Styles */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --color-primary: #F48022;
            --color-secondary: #512731;
            --color-dark: #3F1821;
            --color-bg: #FCFAF1;
            --color-white: #FFFFFF;
            --color-light: #FFFDF6;
            --color-border: #E5D5C8;
            --color-accent: #FFA964;
            
            --font-chinese: 'Noto Sans SC', sans-serif;
            --font-english: 'Noto Serif', serif;
            --font-sans: 'Noto Sans', sans-serif;
            
            --border-radius: 25px;
            --border-radius-lg: 34px;
            --transition: all 0.3s ease;
            --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            --shadow-nav: 0px 1px 2px rgba(17,17,26,0.05), 0px 1px 8px rgba(17,17,26,0.1);
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-chinese);
            line-height: 1.6;
            background-color: var(--color-bg);
            color: var(--color-secondary);
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 2rem;
            left: 2rem;
            right: 2rem;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(14px);
            box-shadow: var(--shadow-nav);
            padding: 1rem 1.5rem;
            border-radius: 50px;
            transition: var(--transition);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
            min-height: 40px;
        }

        .logo {
            font-family: var(--font-english);
            font-weight: 300;
            font-size: 1.4rem;
            color: var(--color-secondary);
            text-decoration: none;
            transition: var(--transition);
        }

        .logo:hover, .logo:focus {
            color: var(--color-primary);
            outline: none;
        }

        .nav-chinese-logo {
            color: var(--color-primary);
            font-family: var(--font-chinese);
            font-size: 1.2rem;
            font-weight: 400;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 3rem;
            flex: 1;
            justify-content: flex-end;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            font-weight: 400;
            transition: var(--transition);
            font-family: var(--font-chinese);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .nav-links a:hover .nav-english,
        .nav-links a:focus .nav-english {
            color: var(--color-primary);
        }

        .nav-links a:hover .nav-chinese,
        .nav-links a:focus .nav-chinese {
            color: var(--color-primary);
        }

        .nav-english {
            color: var(--color-secondary);
            font-family: var(--font-english);
            font-size: 1rem;
            padding-right: 4px;
        }

        .nav-chinese {
            color: var(--color-primary);
            font-family: var(--font-chinese);
            font-size: 0.9rem;
        }

        .nav-contact {
            padding: 0.6rem 1.3rem;
            background: transparent;
            border: 1px solid var(--color-primary);
            border-radius: var(--border-radius);
            text-decoration: none;
            font-family: var(--font-chinese);
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .nav-contact:hover,
        .nav-contact:focus {
            background: var(--color-primary);
            outline: none;
        }

        .nav-contact:hover .nav-contact-english,
        .nav-contact:hover .nav-contact-chinese,
        .nav-contact:focus .nav-contact-english,
        .nav-contact:focus .nav-contact-chinese {
            color: white;
        }

        .nav-contact-english {
            color: var(--color-secondary);
            font-family: var(--font-english);
            font-size: 1rem;
        }

        .nav-contact-chinese {
            color: var(--color-primary);
            font-family: var(--font-chinese);
            font-size: 0.9rem;
        }

        /* Hamburger Menu */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 6px;
            padding: 6px;
            background: none;
            border: none;
            border-radius: 4px;
        }

        .hamburger span {
            width: 25px;
            height: 2px;
            background-color: var(--color-secondary);
            transition: var(--transition);
            transform-origin: center;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(255, 255, 255, 0.65);
            backdrop-filter: blur(16px);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            padding-left: 3rem;
            transform: translateX(-100%);
            transition: transform 0.3s ease;
            z-index: 999;
        }

        .mobile-menu.active {
            transform: translateX(0);
        }

        .mobile-menu a {
            font-size: 1.8rem;
            margin: 1.5rem 0;
            text-decoration: none;
            font-weight: 400;
            font-family: var(--font-chinese);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            line-height: 1.2;
            transition: var(--transition);
        }

        .mobile-menu a:hover,
        .mobile-menu a:focus {
            transform: translateX(10px);
            outline: none;
        }

        .mobile-menu .nav-english {
            color: var(--color-secondary);
            font-family: var(--font-english);
            font-size: 1.8rem;
            margin-bottom: 0.3rem;
        }

        .mobile-menu .nav-chinese {
            color: var(--color-primary);
            font-family: var(--font-chinese);
            font-size: 1.5rem;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: flex-end;
            background: var(--color-bg);
            position: relative;
            overflow: hidden;
            padding-bottom: 5rem;
        }

        .hero-container {
            max-width: 100%;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            width: 100%;
        }

        .hero-content {
            z-index: 2;
        }

        .hero-images {
            display: flex;
            gap: 1.5rem;
            align-items: flex-end;
            justify-content: center;
        }

        .hero-image {
            width: 220px;
            height: 320px;
            background: var(--color-white);
            border-radius: 20px;
            overflow: hidden;
            transform: translateY(20px);
            opacity: 0;
            animation: slideUp 1s ease forwards;
            box-shadow: var(--shadow);
        }

        .hero-image.left {
            background: url('images/classroom-student-teaching-coaching.jpg') center/cover;
            animation-delay: 0.2s;
        }

        .hero-image.center {
            background: url('images/william-bayliss-eductional-consultant.jpg') center/cover;
            animation-delay: 0.4s;
            transform: translateY(-20px);
            opacity: 0;
            animation: slideUpCenter 1s ease forwards 0.4s;
        }

        .hero-image.right {
            background: url('/images/william-bayliss-staff-training.jpg') center/cover;
            animation-delay: 0.6s;
        }

        .hero-title-zh {
            font-family: var(--font-chinese);
            font-size: 1.6rem;
            font-weight: 400;
            color: var(--color-primary);
            line-height: 1.2;
            margin-bottom: 1.5rem;
            opacity: 0;
            animation: fadeInUp 1s ease forwards 0.8s;
        }

        .hero-title-en {
            font-family: var(--font-english);
            font-size: 1.75rem;
            font-weight: 300;
            color: var(--color-secondary);
            line-height: 1.4;
            margin-bottom: 2rem;
            opacity: 0;
            animation: fadeInUp 1s ease forwards 1s;
        }

        .hero-title-en .underline {
            text-decoration: underline;
            text-decoration-color: var(--color-primary);
            text-decoration-thickness: 2px;
            text-underline-offset: 4px;
        }

        /* Sections */
        .section-about {
            padding: 40px;
        }

        .container-card {
            max-width: 100%;
            margin: 0 auto;
            padding: 20px;
        }

        .section-students {
            background-color: var(--color-white);
            border-radius: var(--border-radius-lg);
            padding: 30px 20px;
            margin: 0;
            box-shadow: var(--shadow);
        }

        .section-educators {
            background-color: var(--color-dark);
            border-radius: var(--border-radius-lg);
            padding: 30px 20px;
            margin: 0;
            box-shadow: var(--shadow);
        }

        .section-programs {
            background-color: var(--color-white);
            border-radius: var(--border-radius-lg);
            padding: 30px 20px;
            margin: 0;
            box-shadow: var(--shadow);
        }

        .intro-content {
            display: flex;
            min-height: 140px;
            margin-bottom: 18px;
            padding-top: 12px;
            border-top: 1px solid var(--color-primary);
        }

        .column-01 {
            padding: 0 20px 0 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            padding-top: 10px;
        }

        .column-01 h2 {
            font-size: 1rem;
            margin-bottom: 2px;
            font-family: var(--font-chinese);
            color: var(--color-primary);
            font-weight: 400;
            line-height: 1.4rem;
        }

        .english-title {
            font-family: var(--font-english);
            font-size: 1.1rem;
            font-weight: 400;
            color: var(--color-secondary);
            line-height: 1.4rem;
        }

        .english-title-dark {
            font-family: var(--font-english);
            font-size: 1.1rem;
            font-weight: 400;
            color: var(--color-light);
            line-height: 1.4rem;
        }

        .column-02 {
            padding: 10px 20px 0 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        .column-03 {
            padding: 10px 0 0 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        .chinese-text {
            font-family: var(--font-chinese);
            color: var(--color-primary);
            line-height: 1.4;
            font-size: 1.25rem;
        }

        .english-text {
            font-family: var(--font-english);
            color: var(--color-secondary);
            font-weight: 300;
            line-height: 1.4;
            font-size: 1.25rem;
        }

        .english-text-dark {
            font-family: var(--font-english);
            color: var(--color-light);
            font-weight: 300;
            line-height: 1.4;
            font-size: 1.25rem;
        }

/* Strong Font Weights */
.service-text strong {
    font-weight: 600; 
}

strong, b {
    font-weight: 600;
}


.chinese-services .service-text strong {
    font-weight: 600;
    font-family: var(--font-chinese);
}


.english-services .service-text strong,
.english-services-dark .service-text strong {
    font-weight: 600;
    font-family: var(--font-sans); 
}

.chinese-text strong,
.english-text strong,
.english-text-dark strong {
    font-weight: 600;
}


.nav-chinese-logo,
.hamburger span {
    font-weight: 400; 
}

        /* Services */
        .services-section {
            margin-bottom: 2rem;
        }

        .services-titles {
            display: flex;
            margin-bottom: 1rem;
        }

        .services-title-content {
            flex: 1;
            display: flex;
            gap: 40px;
        }

        .services-title-chinese h3,
        .services-title-english h3 {
            font-size: 1.2rem;
            font-weight: 400;
            margin-bottom: 0;
            line-height: 1.4;
        }

        .services-title-chinese h3 {
            font-family: var(--font-chinese);
            color: var(--color-primary);
        }

        .services-title-english h3 {
            font-family: var(--font-english);
            color: var(--color-light);
        }

        .services-container {
            display: flex;
        }

        .services-spacer {
            flex: 0 0 12%;
        }

        .services-content {
            flex: 1;
            display: flex;
            gap: 40px;
        }

        .chinese-services,
        .english-services,
        .english-services-dark {
            flex: 1;
        }

        .service-item {
            margin-bottom: 14px;
            position: relative;
        }

        .service-bullet {
            color: var(--color-primary);
            font-weight: bold;
            position: absolute;
            left: 0;
            top: 0;
        }

        .service-text {
            margin-bottom: 0.8rem;
            padding-left: 1.5rem;
            line-height: 1.6;
            font-size: 1rem;
        }

        .chinese-services .service-text {
            font-family: var(--font-chinese);
            color: var(--color-primary);
            line-height: 1.5;
        }

        .english-services .service-text {
            font-family: var(--font-sans);
            color: var(--color-secondary);
            line-height: 1.5;
        }

        .english-services-dark .service-text {
            font-family: var(--font-sans);
            color: var(--color-light);
            line-height: 1.5;
        }

        .service-text strong {
            font-weight: 600;
        }

        /* Contact Section */
        .contact-section {
            background: var(--color-bg);
            padding: 2rem 2rem 4rem 2rem;
        }

        .contact-container {
            max-width: 100%;
            margin: 0 auto;
            display: grid;
            grid-template-columns: auto 1fr 2fr;
            gap: 3rem;
            align-items: start;
            padding: 40px 20px;
            border-top: 1px solid var(--color-accent);
        }

        .contact-header {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .contact-title {
            font-family: var(--font-chinese);
            font-size: 1.2rem;
            color: var(--color-primary);
            margin-bottom: 0.25rem;
        }

        .contact-title-en {
            font-family: var(--font-english);
            font-size: 1.2rem;
            font-weight: 300;
            color: var(--color-secondary);
        }

        .contact-left {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            align-items: flex-start;
        }

        .contact-image {
            width: 260px;
            height: 380px;
            border-radius: 24px;
            overflow: hidden;
            background: url('images/william-bayliss-eductional-consultant-profile.jpg') center/cover;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        }

        .contact-person h2 {
            font-family: var(--font-chinese);
            font-size: 1.1rem;
            font-weight: 400;
            color: var(--color-primary);
            margin-bottom: 0.25rem;
            line-height: 1.2;
        }

        .contact-person h3 {
            font-family: var(--font-english);
            font-size: 1.1rem;
            font-weight: 300;
            color: var(--color-secondary);
            line-height: 1.4;
        }

        .contact-main {
            flex: 1;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
        }

        .contact-section-heading {
            margin-bottom: 1rem;
        }

        .contact-section-title {
            font-family: var(--font-chinese);
            font-size: 1.1rem;
            color: var(--color-primary);
            margin-right: 0.5rem;
        }

        .contact-section-title-en {
            font-family: var(--font-english);
            font-size: 1.1rem;
            font-weight: 300;
            color: var(--color-secondary);
        }

        .contact-buttons-grid,
        .social-buttons-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.8rem;
        }

        .contact-btn,
        .social-btn {
            padding: 0.9rem 1.5rem;
            background: transparent;
            border: 1.5px solid var(--color-border);
            border-radius: var(--border-radius);
            text-decoration: none;
            font-family: var(--font-chinese);
            font-size: 0.9rem;
            transition: var(--transition);
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.3rem;
            max-width: 240px;
        }

        .contact-btn:hover,
        .contact-btn:focus,
        .social-btn:hover,
        .social-btn:focus {
            border-color: var(--color-primary);
            background: rgba(244, 128, 34, 0.05);
            transform: translateY(-1px);
            outline: none;
        }

        .btn-english {
            color: var(--color-secondary);
            font-family: var(--font-english);
        }

        .btn-chinese {
            color: var(--color-primary);
            font-family: var(--font-chinese);
        }

        /* Footer */
.footer {
    background: var(--color-bg);
    border-top: 1px solid var(--color-accent);
    position: relative;
    z-index: 100;
}

.footer-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.footer-left,
.footer-right {
    font-family: var(--font-english);
    font-size: 0.9rem;
    color: var(--color-secondary);
    font-weight: 300;
}

.footer-right a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-right a:hover,
.footer-right a:focus {
    color: var(--color-primary);
}

/* Footer Center with Legal Toggle */
.footer-center {
    display: flex;
    align-items: center;
}

.footer-link {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-family: var(--font-chinese);
    font-size: 0.9rem;
}

.footer-link:hover,
.footer-link:focus {
    background: rgba(244, 128, 34, 0.1);
    outline: none;
}

.footer-link-english {
    color: var(--color-secondary);
    font-family: var(--font-english);
    font-weight: 300;
}

.footer-link-chinese {
    color: var(--color-primary);
    font-family: var(--font-chinese);
    font-size: 0.8rem;
}

.footer-arrow {
    color: var(--color-primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    margin-left: 0.25rem;
}

.footer-link[aria-expanded="true"] .footer-arrow {
    transform: rotate(180deg);
}

/* Legal Content Expandable Section - Dynamic Height */
.legal-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
    opacity: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.legal-content.expanded {
    grid-template-rows: 1fr;
    opacity: 1;
}

.legal-inner {
    overflow: hidden;
    padding: 0 2rem; /* Remove top/bottom padding initially */
    max-width: 100%;
    margin: 0 auto;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.legal-content.expanded .legal-inner {
    padding: 2rem; /* Add padding when expanded */
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-of-type {
    margin-bottom: 1rem;
}

/* Title Container */
.legal-title-container {
    margin-bottom: 1.5rem;
}

.legal-title {
    font-size: 1.3rem;
    margin-bottom: 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.legal-title span[lang="en"] {
    font-family: var(--font-english);
    color: var(--color-secondary);
    font-weight: 600;
}

.legal-title span[lang="zh-CN"] {
    font-family: var(--font-chinese);
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* Two-Column Layout for Desktop */
.legal-text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.legal-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.legal-column-english p {
    font-family: var(--font-english);
    color: var(--color-secondary);
    font-weight: 300;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.legal-column-chinese p {
    font-family: var(--font-chinese);
    color: var(--color-primary);
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

.legal-column strong {
    font-weight: 600;
}

/* Close Button */
.legal-close {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: var(--font-chinese);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin: 2rem auto 0;
}

.legal-close:hover,
.legal-close:focus {
    border-color: var(--color-primary);
    background: rgba(244, 128, 34, 0.05);
    outline: none;
}

.close-text[lang="en"] {
    color: var(--color-secondary);
    font-family: var(--font-english);
}

.close-text[lang="zh-CN"] {
    color: var(--color-primary);
    font-family: var(--font-chinese);
}

.close-icon {
    color: var(--color-primary);
    font-size: 1.2rem;
    line-height: 1;
}

/* Tablet Layout (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .legal-text-columns {
        gap: 2rem;
    }
    
    .legal-inner {
        max-width: 1200px;
    }
    
    .legal-content.expanded .legal-inner {
        padding: 1.5rem;
    }
}

/* Mobile Layout - Single Column (768px and below) */
@media (max-width: 768px) {
    .legal-text-columns {
        display: block;
        gap: 0;
    }
    
    .legal-column {
        margin-bottom: 0;
    }
    
    /* Alternate English and Chinese paragraphs */
    .legal-column-english p:nth-child(1) { order: 1; }
    .legal-column-chinese p:nth-child(1) { order: 2; }
    
    .legal-column-english p:nth-child(2) { order: 3; }
    .legal-column-chinese p:nth-child(2) { order: 4; }
    
    .legal-column-english p:nth-child(3) { order: 5; }
    .legal-column-chinese p:nth-child(3) { order: 6; }
    
    .legal-column-english p:nth-child(4) { order: 7; }
    .legal-column-chinese p:nth-child(4) { order: 8; }
    
    .legal-column-english p:nth-child(5) { order: 9; }
    .legal-column-chinese p:nth-child(5) { order: 10; }
    
    /* Make both columns use flexbox for ordering */
    .legal-text-columns {
        display: flex;
        flex-direction: column;
    }
    
    .legal-column {
        display: contents;
    }
    
    .legal-column p {
        margin-bottom: 1rem;
    }
    
    .legal-content.expanded .legal-inner {
        padding: 1.5rem;
    }
    
    .legal-title {
        font-size: 1.2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .footer-center {
        order: -1;
    }
}

@media (max-width: 768px) {
    .legal-text-columns {
        display: block;
        gap: 0;
    }
    
    .legal-column {
        margin-bottom: 0;
    }
    
    .legal-column-english p:nth-child(1) { order: 1; }
    .legal-column-chinese p:nth-child(1) { order: 2; }
    
    .legal-column-english p:nth-child(2) { order: 3; }
    .legal-column-chinese p:nth-child(2) { order: 4; }
    
    .legal-column-english p:nth-child(3) { order: 5; }
    .legal-column-chinese p:nth-child(3) { order: 6; }
    
    .legal-column-english p:nth-child(4) { order: 7; }
    .legal-column-chinese p:nth-child(4) { order: 8; }
    
    .legal-column-english p:nth-child(5) { order: 9; }
    .legal-column-chinese p:nth-child(5) { order: 10; }
    
    .legal-text-columns {
        display: flex;
        flex-direction: column;
    }
    
    .legal-column {
        display: contents;
    }
    
    .legal-column p {
        margin-bottom: 1rem;
    }
    
    .legal-content.expanded .legal-inner {
        padding: 1.5rem;
    }
    
    .legal-title {
        font-size: 1.2rem;
    }
}

/* Small Mobile Legal Adjustments */
@media (max-width: 480px) {
    .legal-content.expanded .legal-inner {
        padding: 1rem;
    }
    
    .legal-column-english p,
    .legal-column-chinese p {
        font-size: 0.9rem;
    }
}

        /* Animations */
        @keyframes slideUpCenter {
            from {
                opacity: 0;
                transform: translateY(0px);
            }
            to {
                opacity: 1;
                transform: translateY(-30px);
            }
        }

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

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

        /* Responsive Design */

        /* Hero Images - Smooth fluid scaling */
        @media (min-width: 1440px) {
            .hero-image {
            width: clamp(220px, 15vw, 380px);
            height: clamp(320px, 22vw, 540px);
            transition: width 0.3s ease, height 0.3s ease;
            }
    
            .hero-container {
            /* Fluid gap scaling */
            gap: clamp(4rem, 4vw, 7rem);
            }
        }

        /* Contact Image - Smooth fluid scaling */
        @media (min-width: 1440px) {
            .contact-image {
            width: clamp(280px, 18vw, 440px);
            height: clamp(400px, 25vw, 700px);
            transition: width 0.3s ease, height 0.3s ease;
            }

        }
        
        /* Desktop (1024px and above) */
        @media (min-width: 1024px) {
            .column-01 { flex: 0 0 12%; }
            .column-02 { flex: 0 0 38%; }
            .column-03 { flex: 0 0 50%; }
            .services-spacer { flex: 0 0 12%; }
            .chinese-services { flex: 0 0 38%; }
            .english-services, .english-services-dark { flex: 0 0 50%; }
            .services-title-chinese { flex: 0 0 38%; }
            .services-title-english { flex: 0 0 50%; }
        }

        /* Tablet (768px to 1023px) */
        @media (min-width: 768px) and (max-width: 1023px) {
            .nav-links a {
                flex-direction: column;
                align-items: center;
                line-height: 1.2;
            }
            
            .nav-english {
                font-size: 0.85rem;
                margin-bottom: 2px;
                padding-right: 0;
            }
            
            .nav-chinese {
                font-size: 0.8rem;
            }
            
            .nav-contact {
                flex-direction: column;
                align-items: center;
                padding: 0.6rem 1.2rem;
            }
            
            .nav-contact-english {
                font-size: 0.85rem;
                margin-bottom: 2px;
            }
            
            .nav-contact-chinese {
                font-size: 0.8rem;
            }
            
            .nav-links {
                gap: 2rem;
            }
            
            .hero-container {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
                max-width: 1200px;
            }
            
            .hero-images {
                display: grid;
                grid-template-columns: 1fr 1fr;
                grid-template-rows: 1fr 1fr;
                gap: 1rem;
                max-width: 400px;
                margin: 0 auto;
                align-items: center;
            }
            
            .hero-image {
                width: 160px;
                height: 220px;
                border-radius: 15px;
            }
            
            .hero-image.left {
                grid-column: 1;
                grid-row: 1 / 3;
                width: 180px;
                height: 260px;
            }
            
            .hero-image.center {
                grid-column: 2;
                grid-row: 1;
                transform: translateY(-30px);
                opacity: 1;
                animation: none;
            }
            
            .hero-image.right {
                grid-column: 2;
                grid-row: 2;
            }
            
            .intro-content {
                flex-wrap: wrap;
            }
            
            .column-01 { flex: 0 0 20%; }
            .column-02 { flex: 0 0 80%; }
            .column-03 {
                flex: 0 0 80%;
                margin-left: 20%;
                padding-top: 8px;
            }
            
            .services-spacer { flex: 0 0 20%; }
            .chinese-services { flex: 0 0 38%; }
            .english-services, .english-services-dark { flex: 0 0 50%; }
            .services-title-chinese { flex: 0 0 38%; }
            .services-title-english { flex: 0 0 50%; }
            
            .contact-container {
                grid-template-columns: auto 1fr 1.5fr;
                gap: 2rem;
            }
            
            .contact-image {
                width: 240px;
                height: 340px;
            }
            
            .contact-buttons-grid,
            .social-buttons-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }
            
            .contact-btn,
            .social-btn {
                max-width: none;
            }
        }

       /* Mobile (768px and below) */
@media (max-width: 768px) {
    .navbar {
        top: 1rem;
        left: 1rem;
        right: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .logo {
        font-size: 1.1rem;
    }

    .nav-chinese-logo {
        font-size: 0.9rem;
    }
    
    .hero {
        padding-top: 2rem;
        padding-bottom: 1.2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-images {
        order: 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 1rem;
        max-width: 320px;
        margin: 0 auto;
        align-items: center;
    }
    
    .hero-image {
        width: 140px;
        height: 180px;
        border-radius: 15px;
    }
    
    .hero-image.left {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 140px;
        height: 200px;
    }
    
    .hero-image.center {
        grid-column: 2;
        grid-row: 1;
        transform: translateY(0px);
        opacity: 1;
        animation: none;
    }
    
    .hero-image.right {
        grid-column: 2;
        grid-row: 2;
    }
    
    .hero-title-zh,
    .hero-title-en {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    .intro-content {
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .column-01,
    .column-02,
    .column-03 {
        flex: none;
        width: 100%;
    }
    
    .column-01 {
        padding: 0 0 15px 0;
    }
    
    .column-02 {
        padding: 0;
    }
    
    .column-03 {
        margin-left: 0;
        padding-top: 8px;
    }
    
    .section-about {
            padding: 20px;
        }
    
    .container-card {
        max-width: 100%;
        margin: 0 auto;
        padding: 0px;
    }
    
    .section-students {
        border-radius: 0px;
        padding: 30px 20px;
        margin: 0;
        box-shadow: none;
    }

    .section-educators {
        border-radius: 0px;
        padding: 30px 20px;
        margin: 0;
        box-shadow: none;
    }

    .section-programs {
            border-radius: 0px;
            padding: 30px 20px;
            margin: 0;
            box-shadow: none;
        }
    
    .services-spacer {
        display: none;
    }
    
    .services-content {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .service-text {
        margin-bottom: 0.05rem;
    }
    
    /* Make the service lists (UL) use display: contents */
    .chinese-services .service-list,
    .english-services .service-list,
    .english-services-dark .service-list {
        display: contents;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    /* Also make the container divs use display: contents */
    .chinese-services,
    .english-services,
    .english-services-dark {
        display: contents;
    }
    
    /* Student Services - Alternating Order (targeting LI elements) */
    .section-students .chinese-services .service-list .service-item:nth-child(1) { order: 1; }
    .section-students .english-services .service-list .service-item:nth-child(1) { order: 2; }
    
    .section-students .chinese-services .service-list .service-item:nth-child(2) { order: 3; }
    .section-students .english-services .service-list .service-item:nth-child(2) { order: 4; }
    
    .section-students .chinese-services .service-list .service-item:nth-child(3) { order: 5; }
    .section-students .english-services .service-list .service-item:nth-child(3) { order: 6; }
    
    .section-students .chinese-services .service-list .service-item:nth-child(4) { order: 7; }
    .section-students .english-services .service-list .service-item:nth-child(4) { order: 8; }
    
    .section-students .chinese-services .service-list .service-item:nth-child(5) { order: 9; }
    .section-students .english-services .service-list .service-item:nth-child(5) { order: 10; }
    
    .section-students .chinese-services .service-list .service-item:nth-child(6) { order: 11; }
    .section-students .english-services .service-list .service-item:nth-child(6) { order: 12; }
    
    /* Educators Services - Alternating Order (with dark theme) */
    .section-educators .chinese-services .service-list .service-item:nth-child(1) { order: 1; }
    .section-educators .english-services-dark .service-list .service-item:nth-child(1) { order: 2; }
    
    .section-educators .chinese-services .service-list .service-item:nth-child(2) { order: 3; }
    .section-educators .english-services-dark .service-list .service-item:nth-child(2) { order: 4; }
    
    .section-educators .chinese-services .service-list .service-item:nth-child(3) { order: 5; }
    .section-educators .english-services-dark .service-list .service-item:nth-child(3) { order: 6; }
    
    .section-educators .chinese-services .service-list .service-item:nth-child(4) { order: 7; }
    .section-educators .english-services-dark .service-list .service-item:nth-child(4) { order: 8; }
    
    /* Programs Services - Alternating Order */
    .section-programs .chinese-services .service-list .service-item:nth-child(1) { order: 1; }
    .section-programs .english-services .service-list .service-item:nth-child(1) { order: 2; }
    
    .section-programs .chinese-services .service-list .service-item:nth-child(2) { order: 3; }
    .section-programs .english-services .service-list .service-item:nth-child(2) { order: 4; }
    
    .section-programs .chinese-services .service-list .service-item:nth-child(3) { order: 5; }
    .section-programs .english-services .service-list .service-item:nth-child(3) { order: 6; }
    
    .section-programs .chinese-services .service-list .service-item:nth-child(4) { order: 7; }
    .section-programs .english-services .service-list .service-item:nth-child(4) { order: 8; }
    
    /* Services Titles Mobile */
    .services-titles {
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .services-title-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .services-title-chinese,
    .services-title-english {
        flex: none;
        width: 100%;
    }
    
    .services-title-chinese h3,
    .services-title-english h3 {
        font-size: 1.1rem;
    }
    
    .services-section {
        margin-bottom: 1.5rem;
    }
    
    /* Contact Section Mobile */
    .contact-section {
        padding: 2rem 1.5rem 4rem 1.5rem;
    }
    
    .contact-container {
        display: flex;
        flex-direction: column;
        gap: 1.4rem;
        border-top: 1px solid var(--color-accent);
        padding: 0px 0px;
    }
    
    .contact-header {
        order: 1;
        width: 100%;
    }
    
    .contact-left {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        order: 2;
        width: 100%;
    }
    
    .contact-image {
        width: 140px;
        height: 200px;
        flex-shrink: 0;
    }
    
    .contact-person {
        flex: 1;
        margin-bottom: 0;
        padding-top: 1rem;
    }
    
        .contact-person h2 {
font-size: 1rem;
    }
    
    .contact-main {
        width: 100%;
        order: 3;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-buttons-grid,
    .social-buttons-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        width: 100%;
    }
    
    .contact-btn,
    .social-btn {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
        max-width: none;
        width: 100%;
        min-height: 60px;
        border-radius: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .contact-section {
        padding: 1.5rem 1rem 3rem 1rem;
    }
    
    .contact-buttons-grid,
    .social-buttons-grid {
        max-width: 340px;
        gap: 0.8rem;
    }
    
    .contact-btn,
    .social-btn {
        padding: 0.9rem 1rem;
        font-size: 0.85rem;
        min-height: 55px;
        max-width: 150px;
    }
    
    .btn-english,
    .btn-chinese {
        font-size: 0.8rem;
    }
    
    .hero-title-zh,
    .hero-title-en {
        font-size: 1.3rem;
    }
}

/* Remove default list styling from UL */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Remove default list styling from LI */
.service-item {
    list-style: none;
    list-style-type: none;
    margin-bottom: 14px;
    position: relative;
}

/* Ensure no bullets show on mobile when using display: contents */
@media (max-width: 768px) {
    .chinese-services .service-list,
    .english-services .service-list,
    .english-services-dark .service-list {
        display: contents;
        list-style: none !important;
        padding: 0;
        margin: 0;
    }
    
    .chinese-services .service-list .service-item,
    .english-services .service-list .service-item,
    .english-services-dark .service-list .service-item {
        list-style: none !important;
        list-style-type: none !important;
    }
}

/* WeChat QR Code Modal Styles */
.wechat-qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.wechat-qr-content {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.wechat-qr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem 2rem;
    border-bottom: 1px solid var(--color-border);
}

.wechat-qr-header h3 {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wechat-qr-header h3 span[lang="en"] {
    font-family: var(--font-english);
    color: var(--color-secondary);
    font-size: 1.3rem;
    font-weight: 600;
}

.wechat-qr-header h3 span[lang="zh-CN"] {
    font-family: var(--font-chinese);
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 400;
}

.wechat-qr-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-secondary);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-qr-close:hover,
.wechat-qr-close:focus {
    color: var(--color-primary);
    background: rgba(244, 128, 34, 0.1);
    outline: none;
}

.wechat-qr-body {
    padding: 1.5rem 2rem 2rem 2rem;
    text-align: center;
}

.wechat-qr-image-container {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.wechat-qr-image {
    max-width: 280px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 4px solid var(--color-white);
}

.wechat-qr-info {
    text-align: center;
}

.wechat-id,
.wechat-id-chinese {
    margin: 0.5rem 0;
    padding: 0.75rem 1rem;
    background: rgba(244, 128, 34, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-accent);
}

.wechat-id span[lang="en"] {
    font-family: var(--font-english);
    color: var(--color-secondary);
    font-size: 1rem;
}

.wechat-id-chinese span[lang="zh-CN"] {
    font-family: var(--font-chinese);
    color: var(--color-primary);
    font-size: 1rem;
}

.wechat-id strong,
.wechat-id-chinese strong {
    font-weight: 600;
    color: var(--color-primary);
    font-family: monospace;
    font-size: 1.1rem;
}

.wechat-instructions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.wechat-instructions p {
    margin: 0.5rem 0;
    line-height: 1.5;
}

.wechat-instructions p[lang="en"] {
    font-family: var(--font-english);
    color: var(--color-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

.wechat-instructions p[lang="zh-CN"] {
    font-family: var(--font-chinese);
    color: var(--color-primary);
    font-size: 0.9rem;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .wechat-qr-modal {
        padding: 1rem;
    }
    
    .wechat-qr-content {
        max-width: none;
        width: 100%;
        border-radius: var(--border-radius);
    }
    
    .wechat-qr-header {
        padding: 1rem 1.5rem 0.75rem 1.5rem;
    }
    
    .wechat-qr-header h3 span[lang="en"] {
        font-size: 1.2rem;
    }
    
    .wechat-qr-header h3 span[lang="zh-CN"] {
        font-size: 1rem;
    }
    
    .wechat-qr-body {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
    }
    
    .wechat-qr-image {
        max-width: 240px;
    }
    
    .wechat-id,
    .wechat-id-chinese {
        padding: 0.6rem 0.8rem;
    }
    
    .wechat-id span[lang="en"],
    .wechat-id-chinese span[lang="zh-CN"] {
        font-size: 0.9rem;
    }
    
    .wechat-instructions p[lang="en"],
    .wechat-instructions p[lang="zh-CN"] {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .wechat-qr-modal {
        padding: 0.5rem;
    }
    
    .wechat-qr-image {
        max-width: 200px;
    }
    
    .wechat-qr-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }
    
    .wechat-qr-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}