:root {
            --primary-color: #2c3e50;
            --secondary-color: #e74c3c;
            --accent-color: #3498db;
            --light-color: #f8f9fa;
            --dark-color: #212529;
            --transition-speed: 0.3s;
        }
        body {
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
            line-height: 1.8;
            color: var(--dark-color);
            overflow-x: hidden;
        }
        h1, h2, h3, h4, h5 {
            font-weight: 700;
            color: var(--primary-color);
        }
        .section-header {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
            padding-bottom: 1rem;
        }
        .section-header:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--secondary-color);
        }
        .hero-section {
            background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.7)), url('https://images.unsplash.com/photo-1562774053-701939374585?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 180px 0 120px;
            position: relative;
        }
        .hero-section h1 {
            color: white;
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        .nav-bar {
            background-color: rgba(255, 255, 255, 0.95);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: all var(--transition-speed);
        }
        .nav-bar.scrolled {
            padding-top: 5px;
            padding-bottom: 5px;
        }
        .navbar-brand {
            font-weight: 800;
            font-size: 1.8rem;
            color: var(--primary-color);
        }
        .nav-link {
            font-weight: 600;
            margin: 0 10px;
            color: var(--primary-color);
            transition: color var(--transition-speed);
        }
        .nav-link:hover, .nav-link.active {
            color: var(--secondary-color);
        }
        .btn-primary {
            background-color: var(--secondary-color);
            border-color: var(--secondary-color);
            padding: 12px 30px;
            font-weight: 600;
            transition: all var(--transition-speed);
        }
        .btn-primary:hover {
            background-color: #c0392b;
            border-color: #c0392b;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .feature-card {
            border-radius: 12px;
            overflow: hidden;
            transition: transform var(--transition-speed), box-shadow var(--transition-speed);
            height: 100%;
            border: 1px solid #eee;
        }
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        .feature-icon {
            width: 80px;
            height: 80px;
            background: var(--accent-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: white;
            font-size: 2rem;
        }
        .course-card {
            border: 1px solid #eee;
            border-radius: 10px;
            overflow: hidden;
            transition: all var(--transition-speed);
            height: 100%;
        }
        .course-card:hover {
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        .course-img {
            height: 220px;
            object-fit: cover;
            width: 100%;
        }
        .teacher-card {
            text-align: center;
            padding: 25px;
            border-radius: 10px;
            background: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform var(--transition-speed);
            height: 100%;
        }
        .teacher-card:hover {
            transform: translateY(-10px);
        }
        .teacher-img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid var(--light-color);
            margin: 0 auto 20px;
        }
        .testimonial-card {
            padding: 30px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            position: relative;
            height: 100%;
        }
        .testimonial-card:before {
            content: "\f10d";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            top: 20px;
            left: 20px;
            color: var(--secondary-color);
            opacity: 0.3;
            font-size: 2rem;
        }
        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        .gallery-item img {
            transition: transform 0.5s;
            width: 100%;
            height: 250px;
            object-fit: cover;
        }
        .gallery-item:hover img {
            transform: scale(1.05);
        }
        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(44, 62, 80, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity var(--transition-speed);
        }
        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }
        .contact-info-box {
            padding: 30px;
            border-radius: 10px;
            background: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            text-align: center;
            height: 100%;
            transition: transform var(--transition-speed);
        }
        .contact-info-box:hover {
            transform: translateY(-5px);
        }
        .contact-icon {
            width: 70px;
            height: 70px;
            background: var(--accent-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: white;
            font-size: 1.8rem;
        }
        footer {
            background-color: var(--primary-color);
            color: white;
            padding: 70px 0 20px;
        }
        .footer-links h5 {
            color: white;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        .footer-links h5:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--secondary-color);
        }
        .footer-links a {
            color: #ddd;
            text-decoration: none;
            transition: color var(--transition-speed);
            display: block;
            margin-bottom: 10px;
        }
        .footer-links a:hover {
            color: var(--secondary-color);
            padding-left: 5px;
        }
        .friendlink-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }
        .flink {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 5px;
            padding: 10px 15px;
            text-align: center;
            transition: all var(--transition-speed);
            color: white;
            text-decoration: none;
            display: block;
        }
        .flink:hover {
            background: var(--secondary-color);
            transform: translateY(-3px);
            color: white;
        }
        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 20px;
            margin-top: 40px;
            text-align: center;
            color: #aaa;
        }
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--secondary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all var(--transition-speed);
            z-index: 1000;
        }
        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }
        .back-to-top:hover {
            background: #c0392b;
            transform: translateY(-5px);
        }
        @media (max-width: 992px) {
            .hero-section h1 {
                font-size: 2.8rem;
            }
        }
        @media (max-width: 768px) {
            .hero-section {
                padding: 150px 0 100px;
            }
            .hero-section h1 {
                font-size: 2.3rem;
            }
            .section-header {
                margin-bottom: 2rem;
            }
        }
        @media (max-width: 576px) {
            .hero-section h1 {
                font-size: 1.8rem;
            }
        }
