/* 通用样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul, li {
    list-style: none;
}

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* 通用组件样式 */
.navbar-custom {
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: #2c3e50 !important;
}

.hero-section {
  /* min-height: 70vh; */
  display: flex;
  align-items: center;
  position: relative;
  /* overflow: hidden; */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
}

.btn-custom {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary-custom {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
  color: white;
}

.btn-secondary-custom {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary-custom:hover {
  background: white;
  color: #333;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 2px;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
}

.case-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.team-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px;
  padding: 2rem;
}

.map-container {
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
}

.footer {
  background: #2c3e50;
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: #ecf0f1;
  margin-bottom: 1rem;
}

.footer a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-section {
    /* min-height: 50vh;
    padding: 2rem 0; */
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .service-card,
  .case-card,
  .team-card {
    margin-bottom: 2rem;
  }
}



.swiper-wrap {
  width: 100%;
}

.swiper {
  --swiper-theme-color: #fff;
  --swiper-navigation-color: #fff;
  --swiper-navigation-size: 50px;
}

.logo {
  width: auto;
  height: auto;
  object-fit: cover;
  max-height: 50px;
  max-width: calc(100vw - 130px);
}

.yicpb {
  color: #fff !important;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .more-news-btn {
    width: 100% !important;
  }
}

.news-section img {
    width: 100%;
    height: 200px !important;
    object-fit: cover;
}

.news-item {
    cursor: pointer;
    border-bottom: 1px solid #eeeeee;
}

.news-item a {
    text-decoration: none;
    color: #333333;
}