/* 通用样式 */
body {
  font-family: 'Georgia', serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(to bottom, #e6f4ff 0%, #ffffff 100%);
  min-height: 100vh;
}

.container {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.container p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.container .lead {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

h1, h2, h3 {
  color: #2c3e50;
  font-weight: bold;
}

/* 导航栏样式 */
.navbar {
  margin-bottom: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.2rem;
  font-weight: bold;
  color: #007bff !important;
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: #0056b3 !important;
}

.navbar-nav .nav-link {
  font-size: 1.2rem;
  font-weight: bold;
  color: #007bff !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #0056b3 !important;
}

/* 时间轴样式 */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #ddd;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-badge {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2c3e50;
  top: 20px;
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -8px;
}

.timeline-panel {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 联系表单样式 */
form {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 4px;
}

.form-control {
  margin-bottom: 1rem;
}

.btn-primary {
  background-color: #2c3e50;
  border-color: #2c3e50;
}

.btn-primary:hover {
  background-color: #1a252f;
  border-color: #1a252f;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
  }

  .timeline-badge {
    left: 12px;
  }
}
