/* 全局样式 */
body {
  font-family: "Microsoft YaHei", sans-serif;
}

/* 导航栏样式 */
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

/* 首页横幅样式 */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 800 800'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='400' y1='50' x2='400' y2='750'%3E%3Cstop offset='0' stop-color='%23017299'/%3E%3Cstop offset='1' stop-color='%23051937'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='800' height='800'/%3E%3Cg fill='none' stroke='%23026B91' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23007BAD'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* 卡片样式 */
.card {
  transition: transform 0.3s ease;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
}

.card-title {
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

/* 列表样式 */
.list-unstyled li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.list-unstyled li:last-child {
  border-bottom: none;
}

/* 按钮样式 */
.btn-primary {
  background-color: #3498db;
  border: none;
  padding: 10px 30px;
}

.btn-primary:hover {
  background-color: #2980b9;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }

  .card {
    margin-bottom: 20px;
  }
}

/* 章节标题样式 */
.section-title {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #3498db;
}

/* 成就数字样式 */
.achievement {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.achievement:hover {
  transform: translateY(-5px);
}

.achievement h4 {
  color: #3498db;
  font-weight: bold;
}

/* 服务卡片样式 */
.service-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-card .icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: #3498db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card .icon-box i {
  font-size: 2rem;
  color: white;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: #2c3e50;
}

.service-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.service-card ul li {
  padding: 0.5rem 0;
  color: #666;
}

.service-card ul li:before {
  content: "✓";
  color: #3498db;
  margin-right: 10px;
}

/* 联系表单样式 */
.contact-form {
  transition: transform 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
}

.contact-info i {
  width: 40px;
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title,
.achievement,
.service-card,
.contact-form {
  animation: fadeInUp 0.6s ease-out;
}

/* 响应式调整补充 */
@media (max-width: 768px) {
  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-info {
    margin-bottom: 2rem;
  }

  .achievement {
    margin-bottom: 1rem;
  }
}

/* Logo样式 */
.logo {
  transition: opacity 0.3s ease;
}

.navbar-brand:hover .logo {
  opacity: 0.8;
}

/* 调整导航栏样式以适应较长的公司名称 */
.navbar-brand {
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 500;
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1rem;
  }

  .logo {
    width: 30px;
    height: 30px;
  }
}
