* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.slider-container {
    position: relative;
    height: 850px;
    width: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    z-index: 10;
    width: 1000px;
    max-width: 90%;
}

.search-box {
    position: relative;
    width: 800px;
    height: 65px;
}

.search-box input {
    width: 100%;
    height: 100%;
    padding: 0 50px 0 20px;
    font-size: 18px;
    border: none;
    border-radius: 0px;
    outline: none;
}

.clear-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 24px;
    color: #999;
}

.search-btn {
    width: 180px;
    height: 65px;
    margin-left: 0px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 0px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #0056b3;
}

.slider-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.slider-controls .prev-btn,
.slider-controls .next-btn {
    pointer-events: auto;
    background: transparent !important;
    color: white;
    border: none;
    width: 70px;
    height: 70px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    margin: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.slider-controls .prev-btn:hover,
.slider-controls .next-btn:hover {
    color: rgba(255,255,255,0.8);
    transform: scale(1.15);
}

/* 确保移动端仍然隐藏 */
@media (max-width: 768px) {
    .slider-controls .prev-btn,
    .slider-controls .next-btn {
        display: none !important;
    }
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background-color: white;
}

.fixed-image-container {
  position: relative;
  height: 600px;
  width: 100%;
  background-image: url('../images/Logistics.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.fixed-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
}

.image-overlay {
  position: relative;
  z-index: 1;
  color: white;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.image-overlay h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.image-overlay p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.contact-section {
  background-color: #0530a9;
  height: 280px;
  display: flex;
  align-items: center;
  padding: 20px 0;
}

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

.contact-info {
  display: flex;
  justify-content: space-around;
  gap: 40px;
}

.contact-item {
  text-align: center;
  color: white;
  flex: 1;
}

.contact-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 15px;
}

.contact-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.contact-desc {
  font-size: 16px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.contact-link {
  color: white;
  font-size: 18px;
  text-decoration: none;
  display: block;
}

.contact-link:hover {
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    gap: 30px;
  }
  
  .contact-section {
    height: auto;
    padding: 40px 0;
  }
    .slider-container {
        height: 500px;
    }
    
    .search-container {
        flex-direction: column;
        align-items: center;
        width: 90%;
    }
    
    .search-box {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .search-btn {
        width: 100%;
        margin-left: 0;
    }
    
    .slider-controls button {
        display: none;
    }
    
    .slider-dots {
        bottom: 10px;
    }
}

/* 新容器样式 */
.new-container {
    height: 330px;
    background-color: #f8f9fa;
    padding: 20px;
    margin: 0px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .new-container {
        margin: 0px 0;
        padding: 15px;
		height: 100%;
    }
}

/* 服务网格样式 */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 15px;
}

.service-item1 {
    width: calc(16.666% - 20px);
    text-align: center;
    transition: all 0.3s ease;
}

.service-img {
    width: 110px;
    height: 110px;
    margin: 0 auto 15px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.service-img img {
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.service-img .hover-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 3;
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.service-text {
    font-size: 18px;
    color: #0530a9;
    transition: all 0.3s ease;
    text-align: center;
    word-break: break-word;
    overflow-wrap: break-word;
    padding: 0 5px;
}

@media (max-width: 768px) {
    .service-text {
        font-size: 16px;
        padding: 0 10px;
    }
}

.service-item1:hover .service-img .default-img {
    opacity: 0;
}

.service-item1:hover .service-img .hover-img {
    opacity: 1;
}

.service-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background: #0530a9;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item1:hover .service-img::before {
    opacity: 1;
}

.service-item1:hover .service-img::before {
    opacity: 1;
}

.service-item1:hover .service-text {
    font-weight: bold;
    color: #0530a9;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .service-item1 {
        width: calc(50% - 10px);
    }
    
    .service-img {
        width: 60px;
        height: 60px;
    }
.service-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    background: #0530a9;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}	
}