* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

section {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

h1, h2 {
    text-align: center;
    margin-bottom: 20px;
}

.content-block {
    margin-bottom: 30px;
}

#nav-list, #case-studies {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.nav-item, .case-item {
    background: #fff;
    padding: 1px;
    border-radius: 10px;
    text-align: center;
    width: 30%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.nav-item img, .case-item img {
    width: 100%;
    border-radius: 1px;
}

.nav-item p, .case-item p {
    margin-top: 1px;
    font-size: 16px;
}


        /* 超链接默认样式：字体颜色为黑色，去掉下划线 */
a {
    color: #009933;
    text-decoration: none;
  }

/* 鼠标悬停时的样式：字体颜色变为绿色 */
a:hover {
     color:#FF0000;
        }

/* 超链接点击时的样式：字体颜色变为绿色 */
a:active {
            color: #990033;
        }

@media (max-width: 768px) {
    #nav-list, #case-studies {
        flex-direction: column;
        align-items: center;
    }

    .nav-item, .case-item {
        width: 80%;
    }
}


/* styles.css */  
p {  
    line-height: 1.8; /* 行高设置为1.8倍字体大小 */  
}




/* Updated 头部样式 */
header {
    display: flex;
    justify-content: center; /* Center the logo and menu horizontally */
    align-items: center;  /* Vertically center the items */
    background-color:#FFFFFF;
    padding: 15px;
    color: white;
}

.logo {
    margin-right: 20px; /* Add some space between logo and menu */
}

.navbar ul {
    list-style-type: none;
    display: flex;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: #333333;
    text-decoration: none;
    font-size: 16px;
}

.navbar ul li a:hover {
    text-decoration: underline;
}







/* 联系方式模块样式 with background image */
#contact {
    margin-top: 50px;
    background-image: url('img/lxfsbj.png'); /* 替换为您的背景图片路径 */
    background-size: cover;  /* 确保背景图片覆盖整个模块 */
    background-position: center; /* 确保图片居中 */
    background-repeat: no-repeat; /* 防止图片重复 */
    color: white;  /* 确保文字在背景上清晰可见 */
    padding: 50px 20px; /* 添加一些内边距让内容不贴边 */
}

.contact-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    color: white; /* 确保文字在背景上可见 */
}

.qr-code img {
    display: block;
    margin: 0 auto;
}

.contact-info p, .contact-form form {
    text-align: center;
    color: white;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.contact-form button {
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.contact-form button:hover {
    background-color: #555;
}



/* 底部版权信息样式 */
footer {
    background-color:#FFFFFF;
    color: #333333;
    text-align: center;
    padding: 15px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 5px 0;
}

@media (max-width: 768px) {
    #nav-list, #case-studies {
        flex-direction: column;
        align-items: center;
    }

    .nav-item, .case-item {
        width: 80%;
    }
}

