/* 搜索条样式 */
.search-bar {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px 0;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 920;
  margin-top: 0px;
}

.search-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.search-input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid var(--primary-light);
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
}

.search-btn {
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.search-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(77, 166, 255, 0.3);
}

.search-hotwords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
@media (max-width: 768px) {
.search-hotwords {
  display: none;
}
}




.hotwords-label {
  color: #666;
  font-size: 0.9rem;
}

.hotword-item {
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 3px 12px;
  border-radius: 15px;
  background-color: #f0f5ff;
  transition: all 0.2s ease;
}

.hotword-item:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* 轮播图样式 */
.carousel {
  height: 100vh;
  overflow: hidden;
  margin-top: 0;
}

.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
  /* filter: brightness(0.85);*/
}

.carousel-caption {
  bottom: 50%;
  transform: translateY(50%);
  text-align: center;
  padding: 0 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-caption h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
  font-size: 1.3rem;
  margin: 0 auto 30px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(77, 166, 255, 0.7);
  border-radius: 50%;
  background-size: 25px;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  transform: scale(1.1);
}

/* 公司简介样式*/
#about {
  background: linear-gradient(to bottom, white, var(--gray-light));
  padding-top: 120px;
}

.about-image-container {
  height: 450px;
  overflow: hidden;
}

.about-main-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.about-content .d-flex.gap-4:hover i {
  transform: scale(1.2) rotate(5deg);
  transition: all 0.3s ease;
}

/* 合作伙伴滚动样式 */
.partners-container {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.partners-slider {
  display: flex;
  animation: scrollPartners 20s linear infinite;
}

.partner-item {
  min-width: 180px;
  margin: 0 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  /**filter: grayscale(100%);**/
  transition: all 0.3s ease;
}

.partner-item:hover {
  filter: grayscale(0);
  transform: scale(1.1);
}

.partner-item img {
  max-height: 70px;
  max-width: 160px;
  object-fit: contain;
}

@keyframes scrollPartners {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 我们的业务样式  */
.services-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 15px;
}

.service-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(77, 166, 255, 0.15);
}

.service-img {
  height: 280px;
  position: relative;
  z-index: 1;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 5px 15px rgba(77, 166, 255, 0.3);
  transition: all 0.4s ease;
  z-index: 99;
}

.service-card:hover .service-icon {
  background-color: var(--primary-dark);
  transform: translateX(-50%) scale(1.05);
}

.service-content {
  padding: 60px 30px 40px;
  text-align: center;
}

.service-content h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.service-content p {
  color: var(--text-dark);
  margin-bottom: 30px;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
}

.service-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.service-features li i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 5px;
  flex-shrink: 0;
}

/* 新闻动态样式*/
#news {
  background-color: var(--primary-light);
}

.news-container {
  display: flex;
  flex-wrap: wrap;
  padding: 0 15px;
  max-width: 1600px;
  margin: 0 auto;
}

.news-container .news-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.news-container .news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(77, 166, 255, 0.1);
}

.news-container .news-image {
  height: 200px;
  overflow: hidden;
}

.news-container .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-container .news-content {
  padding: 20px;
}

.news-container .news-date {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.news-container .news-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.news-container .news-card p {
  color: #666;
  margin-bottom: 20px;
}

.news-container .news-more {
  text-align: center;
  margin-top: 20px;
}

/* 公司案例样式 */
.cases-row {
  padding: 0 15px;
  max-width: 1800px;
  margin: 0 auto;
}

.case-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 300px;
  cursor: pointer;
  margin-bottom: 30px;
  transition: all 0.4s ease;
}

.case-item:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.case-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.7s ease;
}

.case-item:hover img {
  transform: scale(1.08);
}

.case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 20px 20px;
  transition: all 0.4s ease;
}

.case-item:hover .case-overlay {
  background: linear-gradient(transparent, var(--primary-dark));
}

.case-overlay h3 {
  margin-bottom: 10px;
  font-weight: 600;
}

.case-overlay p {
  margin-bottom: 0;
}

/* 联系我们样式 */
#contact {
  background-color: var(--gray-light);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  padding: 0 15px;
  max-width: 1600px;
  margin: 0 auto;
}

.contact-wrapper {
  display: flex;
  width: 100%;
  gap: 30px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.contact-form-container {
  flex: 2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.contact-form {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-info, .contact-form-container {
  height: 100%;
}

.contact-info:hover, .contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.contact-info h3, .contact-form h3 {
  color: var(--primary-dark);
  margin-bottom: 30px;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 15px;
  margin-top: 5px;
  transition: all 0.3s ease;
}

.contact-item:hover i {
  transform: scale(1.2) rotate(10deg);
}

.form-control {
  border-color: #e0e0e0;
  padding: 12px 15px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(77, 166, 255, 0.25);
  transform: translateY(-2px);
}

/* 友情链接样式 */
.friend-links {
  background-color: white;
  padding: 40px 0;
}

.friend-links-inner {
  padding: 0 15px;
  max-width: 1600px;
  margin: 0 auto;
}

.friend-links h3 {
  text-align: center;
  color: var(--primary-dark);
  margin-bottom: 30px;
  font-weight: 600;
}

.links-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.link-item {
  color: #666;
  text-decoration: none;
  padding: 5px 15px;
  transition: all 0.3s ease;
  position: relative;
}

.link-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.link-item:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.link-item:hover::after {
  width: 100%;
}


@media (max-width: 1920px) {
  .container-wide {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}
/* 响应式基础样式 */
@media (max-width: 1200px) {
  .carousel-caption h1 {
    font-size: 3rem;
  }
  
  .service-img {
    height: 250px;
  }
}
@media (max-width: 992px) {
  .carousel-caption h1 {
    font-size: 2.5rem;
  }
  .friend-links{display: none;}
  .about-content {
    margin-bottom: 40px;
  }

  .about-image-container {
    height: 400px;
  }
  .service-card {
    margin-bottom: 60px;
  }
  
  .search-form {
    flex-direction: column;
  }
  
  .search-btn {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
  
  #about {
    padding-top: 100px;
  }
  .about-image-container {
    height: 350px;
  }
  .partner-item {
    min-width: 150px;
    margin: 0 15px;
    height: 80px;
  }
  
  .contact-wrapper {
    flex-direction: column;
  }
  
  .service-img {
    height: 220px;
  }
  
  .service-content {
    padding: 50px 20px 30px;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    bottom: -35px;
  }
  
  .search-bar {
    margin-top: -60px;
    padding: 15px 0;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 1.8rem;
  }
   .about-image-container {
    height: 280px;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    bottom: -30px;
  }
  
  .search-input {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .hotword-item {
    padding: 2px 8px;
    font-size: 0.85rem;
  } 
  .about-image-container {
    height: 280px;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    bottom: -30px;
  }
  
  .search-input {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .hotword-item {
    padding: 2px 8px;
    font-size: 0.85rem;
  }
}



