/* 主体样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

a {
  text-decoration: none;
  color: #0d6efd;
}

a:hover {
  color: #094bcb;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部样式 */
header {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.logo i {
  margin-right: 10px;
  font-size: 2rem;
}

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

nav ul li {
  margin-left: 1rem;
}

nav ul li a {
  color: white;
  font-weight: 500;
  font-size: 18px;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* 首页横幅 */
.hero {
  background: linear-gradient(rgba(13, 110, 253, 0.8), rgba(11, 94, 215, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230d6efd"/><path d="M20,20 Q50,5 80,20 T80,80 Q50,95 20,80 T20,20 Z" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
  background-size: cover;
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background-color: #ffc107;
  color: #000;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #ffca2c;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 内容区域 */
.main-content {
  padding: 3rem 0;
}

.services-list h3 {
  margin-top: 25px;
}

.section {
  margin-bottom: 4rem;
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}


.section-title {
  text-align: center;
  margin-bottom: 2rem;
  color: #0d6efd;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #ffc107;
  margin: 0.5rem auto;
  border-radius: 3px;
}

.news-list,
.services-list,
.cases-list {
  list-style: none;
}

.news-list li,
.services-list li,
.cases-list li {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.news-list li:before,
.services-list li:before,
.cases-list li:before {
  content: "•";
  color: #0d6efd;
  font-size: 1.5rem;
  margin-right: 10px;
}

.news-list li:last-child,
.services-list li:last-child,
.cases-list li:last-child {
  border-bottom: none;
}

.faq-list li::before {
  display: none;
}

/* 联系方式 */
.contact-section {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white;
  border-radius: 10px;
  padding: 2rem;
  margin-top: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-card h3 i {
  margin-right: 10px;
}

.contact-card p {
  margin: 0.5rem 0;
}

/* 页脚 */
footer {
  background: #212529;
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

/* 子页面样式 */
.page-header {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2.5rem;
}

.page-content {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.news-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.news-meta {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
  }

  nav ul {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 0.3rem 0.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .section {
    padding: 1.5rem;
  }
}