:root {
            --primary-color: #c62828;
            --secondary-color: #1a237e;
            --accent-color: #ff9800;
            --dark-color: #212121;
            --light-color: #f5f5f5;
            --text-dark: #333;
            --text-light: #777;
        }
        body {
            font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
            color: var(--text-dark);
            line-height: 1.8;
            overflow-x: hidden;
        }
        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            color: var(--dark-color);
        }
        .navbar {
            background-color: rgba(255, 255, 255, 0.95);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            padding: 15px 0;
        }
        .navbar-brand {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary-color) !important;
        }
        .nav-link {
            color: var(--dark-color) !important;
            font-weight: 600;
            margin: 0 10px;
            transition: all 0.3s;
            position: relative;
        }
        .nav-link:hover {
            color: var(--primary-color) !important;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            left: 0;
            bottom: -5px;
            transition: width 0.3s;
        }
        .nav-link:hover::after {
            width: 100%;
        }
        .hero-section {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1489599809516-9827b6d1cf13?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80') no-repeat center center;
            background-size: cover;
            color: white;
            padding: 180px 0 120px;
            text-align: center;
            position: relative;
        }
        .hero-section h1 {
            font-size: 3.5rem;
            color: white;
            margin-bottom: 25px;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
        }
        .hero-section p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto 40px;
            opacity: 0.9;
        }
        .btn-primary-custom {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            color: white;
            padding: 12px 35px;
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.3s;
        }
        .btn-primary-custom:hover {
            background-color: #a71c1c;
            border-color: #a71c1c;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        .section-title {
            position: relative;
            margin-bottom: 60px;
            text-align: center;
        }
        .section-title h2 {
            font-size: 2.5rem;
            display: inline-block;
            padding-bottom: 15px;
        }
        .section-title h2::after {
            content: '';
            position: absolute;
            width: 70px;
            height: 4px;
            background: var(--primary-color);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }
        .about-section, .services-section, .portfolio-section, .team-section, .news-section, .contact-section, .friendlink-section {
            padding: 100px 0;
        }
        .about-section {
            background-color: var(--light-color);
        }
        .service-card {
            background: white;
            border-radius: 15px;
            padding: 40px 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.4s;
            height: 100%;
            border-top: 5px solid var(--primary-color);
        }
        .service-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
        .service-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 25px;
        }
        .portfolio-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            margin-bottom: 30px;
        }
        .portfolio-img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform 0.5s;
        }
        .portfolio-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(198, 40, 40, 0.9);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.5s;
            padding: 20px;
            text-align: center;
            color: white;
        }
        .portfolio-item:hover .portfolio-overlay {
            opacity: 1;
        }
        .portfolio-item:hover .portfolio-img {
            transform: scale(1.1);
        }
        .team-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            margin-bottom: 30px;
        }
        .team-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
        .team-img {
            width: 100%;
            height: 280px;
            object-fit: cover;
        }
        .news-card {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            height: 100%;
            background: white;
        }
        .news-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        .news-img {
            width: 100%;
            height: 220px;
            object-fit: cover;
        }
        .news-date {
            background: var(--primary-color);
            color: white;
            padding: 10px 20px;
            display: inline-block;
            border-radius: 50px;
            font-weight: 600;
            margin-bottom: 15px;
        }
        .contact-info-box {
            background: white;
            padding: 40px 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            margin-bottom: 30px;
            text-align: center;
            transition: all 0.3s;
            height: 100%;
        }
        .contact-info-box:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
        .contact-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 20px;
        }
        .contact-form {
            background: white;
            padding: 50px 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }
        .form-control {
            padding: 15px;
            border-radius: 10px;
            border: 1px solid #ddd;
            margin-bottom: 20px;
            transition: all 0.3s;
        }
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(198, 40, 40, 0.25);
        }
        .friendlink-section {
            background-color: var(--light-color);
        }
        .flink {
            display: inline-block;
            background: white;
            padding: 15px 25px;
            margin: 10px;
            border-radius: 50px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s;
            color: var(--dark-color);
            text-decoration: none;
            font-weight: 600;
        }
        .flink:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            text-decoration: none;
        }
        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 80px 0 30px;
        }
        .footer-links h5 {
            color: white;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }
        .footer-links h5::after {
            content: '';
            position: absolute;
            width: 40px;
            height: 3px;
            background: var(--primary-color);
            left: 0;
            bottom: 0;
        }
        .footer-links ul {
            list-style: none;
            padding: 0;
        }
        .footer-links ul li {
            margin-bottom: 12px;
        }
        .footer-links ul li a {
            color: #bbb;
            transition: all 0.3s;
            text-decoration: none;
        }
        .footer-links ul li a:hover {
            color: white;
            padding-left: 5px;
        }
        .social-icons a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            margin-right: 10px;
            color: white;
            transition: all 0.3s;
        }
        .social-icons a:hover {
            background: var(--primary-color);
            transform: translateY(-5px);
        }
        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            margin-top: 50px;
            text-align: center;
            color: #bbb;
            font-size: 0.9rem;
        }
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            text-align: center;
            line-height: 50px;
            font-size: 1.2rem;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }
        .back-to-top:hover {
            background: #a71c1c;
            transform: translateY(-5px);
        }
        @media (max-width: 992px) {
            .hero-section h1 {
                font-size: 2.8rem;
            }
            .hero-section {
                padding: 150px 0 100px;
            }
            .section-title h2 {
                font-size: 2.2rem;
            }
            .about-section, .services-section, .portfolio-section, .team-section, .news-section, .contact-section, .friendlink-section {
                padding: 80px 0;
            }
        }
        @media (max-width: 768px) {
            .hero-section h1 {
                font-size: 2.3rem;
            }
            .hero-section p {
                font-size: 1.1rem;
            }
            .section-title h2 {
                font-size: 2rem;
            }
            .navbar-brand {
                font-size: 1.5rem;
            }
        }
        @media (max-width: 576px) {
            .hero-section {
                padding: 120px 0 80px;
            }
            .hero-section h1 {
                font-size: 1.9rem;
            }
            .section-title h2 {
                font-size: 1.7rem;
            }
            .contact-form {
                padding: 30px 20px;
            }
        }
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s, transform 0.8s;
        }
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
