/* 全局样式重置，去除浏览器默认样式差异 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  max-width: 1024px;
  height: auto;
  margin: 0 auto ;
 
  
}

/* 头部样式 */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #333;
}

main {
  max-width: 100%;
  height: auto;
  margin:auto;
  text-align: center;
}

.logo {
  height: 50px;
}

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

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

/* 主体部分各区域样式 */
.welcome-section {
  text-align: center;
  padding: 5px;
  background-color: #f4f4f4;
}


.service-item {
  margin-bottom: 5px;
}

/* 底部样式 */
footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: white;
}

.main-img {
  position: relative;
  width: 100%;
  height: 100%;
}