:root {
    --primary-color: #FF8C00; /* 橙色 */
    --secondary-color: #FF4500; /* 橘红色 */
    --accent-color: #FFD700; /* 金色 */
    --text-color: #212121; /* 深灰色 */
    --light-bg: #f5f5f5; /* 浅灰色 */
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 16px;
    text-align: center;
}

main {
    padding-top: 100px; /* 确保内容不会被固定导航栏遮挡 */
    padding-bottom: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 8px; /* 全局圆角 */
}



.container {
    max-width: 1000px; /* 调整容器宽度 */
    margin: 0 auto;
    padding: 0 20px;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* animations.css content */

/* 404 Page Styles */
body {
    background-color: var(--light-bg);
    color: var(--text-color);
}

.container-404 {
    max-width: 800px;
    padding: 40px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.container-404 h1 {
    font-size: 6em;
    margin-bottom: 0.2em;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.container-404 h2 {
    font-size: 2em;
    margin-bottom: 1em;
    color: var(--secondary-color);
}

.container-404 p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 1.5em;
}

.container-404 a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.container-404 a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.button-home {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button-home:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Header Styles */
.main-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px) saturate(150%);
    -webkit-backdrop-filter: blur(5px) saturate(150%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    z-index: 10000;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
    z-index: -1;
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: scale(1.1);
    text-shadow: 0 0 8px rgba(255, 140, 0, 0.5);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
    z-index: 2;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-brand {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.hamburger-menu {
    display: none; /* 默认隐藏 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--text-color);
    position: absolute;
    transition: transform 0.3s ease;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

/* 汉堡菜单激活状态 */
.hamburger-menu.active .hamburger-icon {
    background-color: transparent;
}

.hamburger-menu.active .hamburger-icon::before {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .hamburger-icon::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding: 1rem 0;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a:hover {
        background-color: rgba(0,0,0,0.05);
    }
}

/* Cloudflare Card Styles */
.cloudflare-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.cloudflare-card {
    position: relative;
    width: 100%;
    max-width: 800px; /* 限制卡片最大宽度 */
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 20px;
}

.cloudflare-card video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.cloudflare-card p {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.cloudflare-content-wrapper {
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    gap: 40px; /* 间距 */
    align-items: center;
    justify-content: center;
}

.cloudflare-card {
    flex: 1; /* 弹性伸缩 */
    min-width: 300px; /* 最小宽度 */
}

.cloudflare-text-content {
    flex: 1; /* 弹性伸缩 */
    min-width: 300px; /* 最小宽度 */
    text-align: left;
    color: var(--text-color);
}

.cloudflare-text-content h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.cloudflare-text-content h3 {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.cloudflare-text-content ul {
    list-style: none;
    padding: 0;
}

.cloudflare-text-content ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.6;
}

.cloudflare-text-content ul li::before {
    content: '✔'; /* 添加勾选图标 */
    color: var(--primary-color);
    margin-right: 10px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-card,
.contact-form-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center; /* 使卡片内容水平居中 */
    text-align: center;
}

.contact-info-card p {
    text-align: center;
}

.contact-info-card h3,
.contact-form-card h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info-card p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center; /* 使内容水平居中 */
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-color);
    width: 100%; /* 确保占据完整宽度以便居中 */
}

.info-item i {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-right: 15px;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--secondary-color);
}

.social-links-contact {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center; /* 使社交链接水平居中 */
    width: 100%; /* 确保占据完整宽度以便居中 */
}

.social-links-contact a {
    font-size: 2em;
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links-contact a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 20px;
    text-align: left; /* 表单组的文本仍然左对齐 */
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.contact-form-card .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Footer Styles */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer .container p {
    margin: 0;
    line-height: 1.5;
}

footer .container a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .container a:hover {
    color: var(--primary-color);
}

/* Section General Styles */
section {
    padding: 60px 0;
    background-color: var(--white);
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

section:nth-of-type(even) {
    background-color: var(--light-bg);
}

section h1,
section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

section h1::after,
section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    border-radius: 2px;
}

section p {
    font-size: 1.1rem;
    color: var(--text-color);
    text-align: center;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-bg);
    text-align: center;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.contact-info,
.contact-form,
.social-links {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px; /* 联系卡片圆角 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    text-align: center;
}

.contact-info h3,
.contact-form h3,
.social-links h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.6rem;
    line-height: 1.2;
}

.contact-card {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.contact-card p {
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

.contact-card a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    text-align: center;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px; /* 输入框圆角 */
    font-size: 1rem;
    transition: border-color 0.3s ease;
    text-align: center;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form .btn-primary {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 15px;
}

.social-links {
    text-align: center;
}

.social-links a {
    font-size: 2.5rem;
    color: var(--text-color);
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Hero Section Animations */
.hero {
    background-image: url('assets/hero-bg.jpg'); /* 假设有一个背景图 */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 视差滚动效果 */
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: slideInLeft 1s ease-out forwards;
}

.hero-content .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    animation: slideInRight 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-content .cta-buttons .btn {
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
    margin: 0 10px;
}

.hero-image img {
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.hero-image img:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 100px;
    animation-delay: 0s;
}

.hero-image img:nth-child(2) {
    bottom: 10%;
    right: 15%;
    width: 120px;
    animation-delay: 0.5s;
}

/* Responsive adjustments for contact section */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-info,
    .contact-form,
    .social-links {
        max-width: 100%;
        width: 100%;
    }
}}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); /* 使用主题色和渐变 */
    overflow: hidden;
}



.hero-image img:not([alt="Microsoft"]) {
    width: 120px;
    height: auto;
    transition: all 0.3s ease;
}



.hero-image img:hover {
    transform: translateY(-10px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color)); /* 渐变方向改为从右到左 */
    backdrop-filter: blur(2px); /* 增加毛玻璃效果 */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 600px;
}

.animate-text {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.3s both;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 10px; /* 按钮圆角 */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 10px; /* 按钮圆角 */
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 10px; /* 按钮圆角 */
    text-decoration: none;
}
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background-color: var(--light-bg);
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto; /* 移除固定高度，让内容自适应 */
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.product-card img {
    max-width: 100%;
    height: 200px; /* 固定高度 */
    object-fit: cover; /* 保持图片比例并裁剪 */
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-card p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.product-card .btn {
    margin-top: auto; /* 将按钮推到底部 */
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.hero-image {
    position: absolute;
    right: 8%;
    bottom: 0;
    width: 45%;
    max-width: 600px;
    animation: fadeInRight 1s ease 0.9s both;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.floating {
    animation: float 8s ease-in-out infinite;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-25px);
    }
    100% {
        transform: translateY(0px);
    }
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px; /* Adjust as needed to be below the text */
    width: 50px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* 产品部分样式 */
.products-section {
    background: var(--light-bg);
    padding: 6rem 0;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    border-bottom: 4px solid var(--primary-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    border-color: var(--secondary-color);
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.8rem; /* Adjusted for clarity */
    color: var(--secondary-color); /* Adjusted for clarity */
    margin-bottom: 0.7rem;
}

.product-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.product-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* 团队部分样式 */
.team-section {
    background: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

@media (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.team-member {
    background: var(--light-bg);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: auto; /* 移除固定高度，让内容自适应 */
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.member-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.2rem;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.member-name {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 0.6rem;
}

.member-position {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 500;
}

.member-social {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.member-social a {
    color: var(--text-color);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.member-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--primary-color);
    height: auto; /* 移除固定高度，让内容自适应 */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color); /* Changed for better coordination with theme */
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.contact-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

#back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

#back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding: 2rem;
    }
    
    .animate-text {
        font-size: 2.5rem;
    }
    
    .hero-image {
        display: none;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .product-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card,
    .team-member {
        max-width: 400px;
        margin: 0 auto;
    }
footer {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 4rem;
}
footer p {
    margin: 0;
    font-size: 1rem;
}
footer .social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
footer .social-links a {
    color: var(--white);
    font-size: 1.6rem;
    margin: 0 0.8rem;
    transition: all 0.3s ease;
}
footer .social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}