:root {
      --primary: #0056b3;
      --primary-dark: #003d82;
      --secondary: #f8f9fa;
      --accent: #ff6b00;
      --text: #333;
      --light: #ffffff;
      --dark: #222;
      --main-bg-color: #FFF8DC;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: var(--text);
      background-color: #f8f9fa;
      overflow-x: hidden;
      overflow-y: auto;

    }
    
    /* 导航栏 */
    .navbar {
      background-color: var(--light);
      box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
      padding: 5px 0;
      transition: all 0.4s ease;
     
    }
    
    .navbar.scrolled {
      padding: 10px 0;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
    

.waiko-blue {
  color: #250060; /* 或你想用的蓝色 */
  font-size: 25px;
}

.international-red {
  color: #e60023; /* 或你想用的红色 */
  font-size: 25px;
}

    .navbar-brand {
      font-weight: 700;
      color: var(--primary);
      display: flex;
      align-items: center;
      transition: transform 0.3s ease;
    }
    
    .navbar-brand:hover {
      transform: scale(1.02);
    }
    
    .logo-img {
      width: 70px;
      height: 70px;
      transition: transform 0.3s ease;
      cursor: pointer;
    }
    
    .logo-img:hover {
      transform: scale(1.1);
    }
    
    .nav-link {
      font-weight: 500;
      color: var(--dark);
      position: relative;
      margin: 0 10px;
      transition: color 0.3s;
    }
    
    .nav-link:hover, .nav-link.active {
      color: var(--primary);
    }
    
    .nav-link:after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 3px;
      background: var(--primary);
      transition: width 0.3s;
    }
    
    .nav-link:hover:after, .nav-link.active:after {
      width: 100%;
    }
    
    /* 页面容器 */
    .page-container {
      display: none;
      min-height: calc(100vh - 150px);
      padding-top: 50px;
      padding-bottom: 80px;
      text-align: center;
    }
    
    .page-container.active {
      display: block;
    }
    
    /* 英雄区域 - 首页 */
    #home-page .hero-section {
      position: relative;
      height: 100vh;
      min-height: 700px;
      display: flex;
      align-items: center;
      overflow: hidden;
      background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
      text-align: center; /* Added to center content */
    }
    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
      z-index: 1;
      
    }
    
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      padding: 0 20px;
      margin: 0 auto; /* Added to center horizontally */
      display: flex; /* Added for centering */
      flex-direction: column; /* Added for centering */
      align-items: center; /* Added for centering */
      text-align: center; /* Added for centering */
    }
    
     .hero-buttons {
      display: flex;
      gap: 1rem;
      margin-top: 1.5rem;
     }

    .hero-title {
      font-size: 3.5rem;
      font-weight: 800;
      margin-bottom: 1.5rem;
      color: var(--light);
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
      
    }
    
    .hero-subtitle {
      font-size: 1.6rem;
      font-weight: 300;
      color: var(--light);
      margin-bottom: 2.5rem;
      text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
      
    }
    
    .btn-hero {
      padding: 0.8rem 1.8rem;
      font-size: 1.1rem;
      font-weight: 600;
      border-radius: 50px;
      transition: all 0.3s ease;
    }
    
    .btn-hero:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    }
    
    /* 轮播图 */
    .hero-carousel {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
    }
    
    .carousel-item {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transition: opacity 1.5s ease-in-out;
    }
    
    .carousel-item.active {
      opacity: 1;
      z-index: 1;
    }
    
    .carousel-controls {
      position: absolute;
      bottom: 40px;
      left: 0;
      right: 0;
      z-index: 3;
      display: flex;
      justify-content: center;
      gap: 12px;
    }
    
    .carousel-indicator {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.1s ease;
    }
    
    .carousel-indicator.active {
      background-color: var(--light);
      transform: scale(1.3);
    }

    .cert-modal {
  display: none; 
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.cert-modal-content {
  margin: 5% auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 20px #fff;
}

.cert-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.cert-modal-close:hover {
  color: #ccc;
}

.cert-carousel-item img {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  cursor: zoom-in;
}

.cert-carousel-item img:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
    
    /* 专业领域 */
    .expertise-section {
      padding: 100px 0;
      background-color: var(--light);
    }
    
    .section-title {
      position: relative;
      display: inline-block;
      margin-bottom: 60px;
      font-weight: 700;
      color: var(--dark);

    }
    
    .section-title:after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 4px;
      background: var(--primary);
      border-radius: 2px;
    }   

    .expertise-card {
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      border: none;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      background-color: var(--light);
      height: 100%;
      padding: 30px;
      text-align: center;
      position: relative;
    }
              /* Background image layer */
.expertise-card .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 100%; 
  background-size: cover;
  background-position: center;
  opacity: 0.35; /* 🔧 Customize this opacity */
  z-index: 1;
}



/* Content stays above the background */
.expertise-card .card-content {
  position: relative;
  z-index: 2;
}
    .expertise-card:hover {
      transform: translateY(-15px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }
    
.bg-gantry {
  background-image: url('../Homepage/gantry.jpeg'); /* Replace with your actual image path */
}

.bg-tunnel {
  background-image: url('../Homepage/tunnel.jpg');
}

.bg-tbm {
  background-image: url('../Homepage/tbm.jpeg');
}

    .feature-icon {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 25px;
      color: var(--light);
      font-size: 36px;
      box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
    }
    


    .mdi--gantry-crane {
      display: inline-block;
      width: 50px;
      height: 50px;
      background-repeat: no-repeat;
      background-size: 100% 100%;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M21 6h1V4h-1V3h-3v1H6V3H3v1H2v2h1v14H2v2h5v-2H6V6h5v1h.5v3.62c-.5.17-.81.63-.81 1.14c0 .44.23.84.61 1.06V14h.62c.34 0 .62.27.63.61c0 .35-.27.63-.62.63a.63.63 0 0 1-.54-.31a.618.618 0 0 0-1.07.62c.33.57.94.92 1.6.92c1.02-.01 1.84-.85 1.83-1.87c-.01-.77-.49-1.46-1.22-1.72v-.06c.59-.32.81-1.04.5-1.62c-.11-.2-.29-.39-.5-.5V7H13V6h5v14h-1v2h5v-2h-1zM5 15.29v1.42l-1 1v-1.42zM4 20v-.76l1-1v1.42l-.34.34zM4 7.29l1-1v1.42l-1 1zm0 3l1-1v1.42l-1 1zm0 3l1-1v1.42l-1 1v-1.47zm16 2v1.42l-1 1v-1.42zM19 20v-.76l1-1v1.42l-.34.34zm0-12.71l1-1v1.42l-1 1zm0 3l1-1v1.42l-1 1zm0 3l1-1v1.42l-1 1v-1.47z'/%3E%3C/svg%3E");
    }

    .mdi--tunnel-outline {
      display: inline-block;
      width: 50px;
      height: 50px;
      background-repeat: no-repeat;
      background-size: 100% 100%;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 2C6.5 2 2 6.5 2 12v10h20V12c0-5.5-4.5-10-10-10m3.47 5.11A5.95 5.95 0 0 0 13 6.09V4.07c1.46.18 2.79.76 3.9 1.62zm-6.94 0L7.1 5.69A7.94 7.94 0 0 1 11 4.07v2.02c-.91.15-1.75.51-2.47 1.02M5.69 7.1l1.42 1.43A5.95 5.95 0 0 0 6.09 11H4.07c.18-1.46.76-2.79 1.62-3.9M6 13v2.5H4V13zm-2 7v-2.5h2V20zm12 0H8v-8c0-2.21 1.79-4 4-4s4 1.79 4 4zm.89-11.47l1.42-1.43a7.94 7.94 0 0 1 1.62 3.9h-2.02a5.95 5.95 0 0 0-1.02-2.47M18 13h2v2.5h-2zm0 7v-2.5h2V20z'/%3E%3C/svg%3E");
    }

    .gravity-ui--gear {
      display: inline-block;
      width: 50px;
      height: 50px;
      background-repeat: no-repeat;
      background-size: 100% 100%;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735a1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472a1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622a.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7a.85.85 0 0 0-1.274-.735a1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32a.85.85 0 0 0 0-1.471a1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0a3 3 0 0 1 6 0' clip-rule='evenodd'/%3E%3C/svg%3E");
    }
    
    .expertise-card h4 {
      margin-bottom: 20px;
      color: var(--primary);
    }
    
    .expertise-card p {
      margin-bottom: 25px;
      color: #555;
    }
    
    .learn-more-btn {
      padding: 10px 25px;
      font-size: 1rem;
      border-radius: 30px;
      transition: all 0.3s ease;
      border: 2px solid var(--primary);
      color: var(--primary);
      font-weight: 600;
      background: transparent;
    }
    
    .learn-more-btn:hover {
      background: var(--primary);
      color: var(--light);
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    }
    
    /* 统计数据 */
    .stats-section {
      padding: 80px 0;
      background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 61, 130, 0.9)), url('../Homepage/1601262251.jpeg');
      background-size: cover;
      background-attachment: fixed;
      color: var(--light);
      text-align: center;
    }
    
    .stats-number {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 10px;
    }
    
    .stats-label {
      font-size: 1.2rem;
      font-weight: 500;
      opacity: 0.9;
    }
    
    /* 项目展示 */
     .projects-section {
      padding: 100px 0;
      background-color: var(--secondary);
    }

    .project-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 25px;
      margin-top: 40px;
      padding: 0 50px;
    }

    .project-item {
      border-radius: 12px;
      overflow: hidden;
      height: 280px;
      position: relative;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
      transition: all 0.4s ease;
    }

    .project-item:hover {
      transform: translateY(-10px);
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    }

    .project-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
      cursor: pointer;
      position: relative;
      z-index: 1;
    }

    .project-item:hover img {
      transform: scale(1.05);
    }

    .project-overlay {
      z-index: 2;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 25px;
      opacity: 1;
      transition: opacity 0.3s ease;
      pointer-events: auto;
    }

    .project-label {
      font-family: cursive;
      color: var(--light);
      font-size: 1.8rem;
      font-weight: 600;
      margin-bottom: 8px;
      text-shadow: 2px 2px 4px #e27500;
    }

    /* .project-category {
      color: var(--accent);
      font-weight: 500;
      font-size: 0.95rem;
    } */

    .gallery-button {
      /* position: absolute;
      bottom: 10px;
      left: 10px;
      padding: 6px 12px;
      font-size: 13px;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer; */
      
      position: absolute;
      background-color: #fff;
      border: 0 solid #e2e8f0;
      border-radius: 1.5rem;
      box-sizing: border-box;
      color: #0d172a;
      cursor: pointer;
      display: inline-block;
      font-family: "Basier circle",-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
      font-size: 1.1rem;
      font-weight: 600;
      line-height: 1;
      padding: 1rem 1.6rem;
      text-align: center;
      text-decoration: none #0d172a solid;
      text-decoration-thickness: auto;
      transition: all .1s cubic-bezier(.4, 0, .2, 1);
      box-shadow: 0px 1px 2px rgba(166, 175, 195, 0.25);
      user-select: none;
      -webkit-user-select: none;
      touch-action: manipulation;
      bottom: 10px;      
    }

    .gallery-button:hover {
      /* background-color: var(--primary-dark); */
      background-color: #1e293b;
      color: #fff;

    }

    @media (min-width: 768px) {
  .button-81 {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}}
    
 
    /* 相册 */
    
.certificate-carousel {
  width: 100%;
  overflow: hidden;
}

.scroll-track {
  display: flex;
  width: max-content;
  animation: scrollLoop 40s linear infinite;
}

.certificate-img {
  flex: 0 0 auto;
  width: 200px; /* adjust based on design */
  height: auto;
  margin-right: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Auto-scroll loop animation */
@keyframes scrollLoop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .certificate-img {
    width: 150px;
    margin-right: 10px;
  }
}
    
    .card-content {
  padding: 25px;
  text-align: center;
}

.card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 30px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.card-text {
  color: #555;
  margin-bottom: 25px;
}

.learn-more-btn {
  padding: 10px 25px;
  font-size: 1rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  background: transparent;
  display: inline-block;
  text-decoration: none;
}

.learn-more-btn:hover {
  background: var(--primary);
  color: var(--light);
  transform: translateY(-3px);
}

/* ====== 证书轮播部分 - 完全重做 ====== */
.cert-carousel-section {
  padding: 60px 0;
  background-color: white;
  text-align: center;
  overflow: hidden;
}

.cert-carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 50px;
}

.cert-carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 40px auto;
}

.cert-carousel-container.paused {
  animation-play-state: paused;
}

.cert-carousel-item {
  width: 200px;
  padding: 0 10px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.cert-carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

/* .cert-carousel-item:hover img {
  transform: scale(1.05);
} */

/* 证书放大效果 */
.cert-zoomed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cert-zoomed.active {
  opacity: 1;
  visibility: visible;
}

.cert-zoomed-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.cert-zoomed-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close-zoom {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: rgba(255,255,255,0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-zoom:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

/* 证书轮播动画 */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 6)); /* 移动6个项目的宽度 */
  }
}

/* .slider {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  margin: auto;
  border: 2px solid #ccc;
  border-radius: 10px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 300%;
}

.slides img {
  width: 100%;
  object-fit: cover;
} */


.cert-carousel-container:hover {           /* 悬停暂停 */
  animation-play-state: paused;
}

.cert-carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 50px 0;
}

.cert-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: scroll 25s linear infinite;
}

.cert-carousel-container:hover .cert-carousel-track {
  animation-play-state: paused;
}

.cert-carousel-item {
  width:260px;
  flex: 0 0 auto;
  margin: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-carousel-item img {
  max-height: 260px;
  height: 260px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.cert-modal {
  display: none; 
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.cert-modal-content {
  margin: 5% auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 20px #fff;
}

.cert-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}



/* 可选：放大 modal 保留 */
#overlay {
  display: none;
  /* 保持原有设置即可 */
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


    /* 公司简介 */
    .about-section {
      padding: 100px 0;
      background-color: var(--light);
    }
    
    .about-content {
      display: flex;
      align-items: center;
      gap: 50px;
    }
    .about-image {
      flex: 1;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
      align-items: start;
    }
    
    /* .about-image img {
      width: 250px;
      height: auto; 
      object-fit: cover;
      object-position: left; 
    } */
    
    .about-image-logo {
      margin-right: 20px;
      float: left;
      width: auto;
      height: 250px;
      padding: 30px;
    }
        
   .about-text {
      flex: 3;
      text-align: justify;   
      font-size: 105%;
      font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
    }

    .timeline {
      position: relative;
      padding-left: 30px;
      margin-top: 40px;
      float: right;
    }
    
    .timeline:before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 3px;
      background: var(--primary);
    }
    
    .timeline-item {
      position: relative;
      margin-bottom: 40px;
      padding-left: 30px;
    }
    
    .timeline-date {
      position: absolute;
      left: -45px;
      top: 0;
      background: var(--primary);
      color: white;
      padding: 8px 15px;
      border-radius: 20px;
      font-weight: 600;
      font-size: 0.9rem;
    }
    
    .timeline-content {
      background: var(--secondary);
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }
    
    .timeline-content h5 {
      margin-bottom: 10px;
      color: var(--primary);
    }
    
    /* 联系页面 */
    :root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --success-color: #28a745;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}


.contact-section {
  padding: 80px 0;
  background-color: white;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-info-card {
  background: var(--light-gray);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-card h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.contact-info-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(26, 62, 114, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.3rem;
  color: var(--primary);
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.form-container {
    padding: 2.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    
}

.form-control, .form-select {
    border: 2px solid #e1e5eb;
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    transition: var(--transition);
    background-color: #f8fbff;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
    background-color: white;
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border: none;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white !important;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
    background: linear-gradient(135deg, #1e68a9 0%, #153a66 100%);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.required::after {
    content: " *";
    color: #e74c3c;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.3rem;
    }
    
    .contact-info, .form-container {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info, .form-container {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-info, .form-container {
        padding: 1.5rem;
    }
    
    .contact-detail {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .btn-submit {
        width: 100%;
        padding: 0.9rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-container {
    animation: fadeIn 0.8s ease-out;
}

.form-group {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: backwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.btn-container { animation: fadeIn 0.7s ease-out; animation-fill-mode: backwards; }

/* 成功消息样式 */
.success-message {
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 4px solid var(--success-color);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1.5rem;
    display: none;
}

.success-message i {
    color: var(--success-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* 表单验证样式 */
.is-invalid {
    border-color: #e74c3c !important;
}

.invalid-feedback {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}
    
    行动号召
    .cta-section {
      padding: 100px 0;
      background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('1461567451.jpg');
      background-size: cover;
      background-attachment: fixed;
      color: var(--light);
      text-align: center;
    }
    
    .cta-title {
      font-size: 2.8rem;
      font-weight: 700;
      margin-bottom: 25px;
    }
    
    .cta-subtitle {
      font-size: 1.3rem;
      max-width: 700px;
      margin: 0 auto 40px;
      opacity: 0.9;
    }
    
    /* 页脚 */
    footer {
      background-color: var(--dark);
      color: var(--light);
      padding: 30px 0;
      text-align: center;
    }
    
    .footer-contact {
      margin-top: 15px;
    }
    
    .footer-contact i {
      margin-right: 8px;
      color: var(--primary);
    }

    #btn-back-to-top {
      width: 50px;
      height: 50px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  box-shadow: #6d6d6eaf 0px 0px 10px 2px;
  background-color: #004ea4;
  outline: none;
  border: none;
}



    
    /* 相册模态框样式 */
    .gallery-modal .modal-content {
      border-radius: 15px;
      overflow: hidden;
      border: none;
    }
    
    .gallery-modal .modal-header {
      background-color: var(--primary);
      color: white;
      border-bottom: none;
      padding: 15px 20px;
    }
    
    .gallery-modal .modal-body {
      padding: 0;
      background-color: #f0f2f5;
    }
    
    .gallery-container {
      padding: 20px;
      max-height: 70vh;
      overflow-y: auto;
    }
    
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 15px;
    }
    
    .gallery-item {
      height: 180px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
      cursor: pointer;
    }
    
    .gallery-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    
    .gallery-pagination {
      display: flex;
      justify-content: center;
      margin-top: 20px;
      padding-bottom: 15px;
    }
    
    .page-btn {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 5px;
      border-radius: 50%;
      background: var(--primary);
      color: white;
      border: none;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .page-btn:hover {
      background: var(--primary-dark);
      transform: scale(1.1);
    }
    
    .page-btn.active {
      background: var(--primary-dark);
      transform: scale(1.1);
    }
    
    .project-item {
  position: relative;
  overflow: hidden;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* 黑色半透明 */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
  opacity: 1;
}


    /* 图片查看器 */
    .lightbox {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      z-index: 2000;
      overflow: hidden;
    }
    
    .lightbox.active {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .lightbox-content {
      max-width: 90%;
      max-height: 90%;
      object-fit: contain;
      box-shadow: rgba(38, 57, 77, 0.7) 0px 30px 60px -10px,
    rgba(0, 0, 0, 0.9) 0px 10px 20px -5px;;
    }
    
    .lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 100%;
      display: flex;
      justify-content: space-between;
      padding: 0 20px;
      z-index: 10;
    }
    
    .lightbox-nav-btn {
      background-color: rgba(255, 255, 255, 0.2);
      color: white;
      border: none;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      cursor: pointer;
      transition: all 0.3s ease;
      backdrop-filter: blur(5px);
    }
    
    .lightbox-nav-btn:hover {
      background-color: rgba(255, 255, 255, 0.4);
      transform: scale(1.1);
    }
    
    .lightbox-close {
      position: absolute;
      top: 30px;
      right: 30px;
      color: white;
      font-size: 40px;
      cursor: pointer;
      transition: all 0.3s ease;
      z-index: 10;
    }
    
    .lightbox-close:hover {
      color: var(--accent);
      transform: rotate(90deg) scale(1.2);
    }
    
    .image-info {
      position: absolute;
      bottom: 30px;
      left: 0;
      right: 0;
      text-align: center;
      color: white;
      font-size: 1.2rem;
      padding: 10px;
      background: rgba(0, 0, 0, 0.5);
    }
    
    /* 响应式调整 */
    @media (max-width: 992px) {
      .hero-title {
        font-size: 3rem;
      }
      
      .hero-subtitle {
        font-size: 1.4rem;
      }
      
      .section-title {
        display: flex;
        font-size: 2.5rem;
        align-items: center;
        justify-content: center;
        margin: 1;
      }
      
      .about-content {
        flex-direction: column;
      }
      
      .logo-img {
        width: 60px;
        height: 60px;
      }
      
      .lightbox-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
      }
    }
    
    /* 通用按钮样式 */
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-hero {
  padding: 0.8rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

/* 大屏幕按钮样式 */
@media (min-width: 992px) {
  .hero-buttons {
    justify-content: center;
  }
}

/* 平板设备优化 */
@media (max-width: 992px) {
  .hero-buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .btn-hero {
    padding: 0.7rem 1.6rem;
    font-size: 1rem;
  }
}

/* 手机设备优化 */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  .btn-hero {
    width: 100%;
    max-width: 280px;
    padding: 0.75rem;
    font-size: 0.95rem;
  }
}

/* 小手机优化 */
@media (max-width: 576px) {
  .hero-buttons {
    gap: 0.7rem;
  }
  
  .btn-hero {
    max-width: 100%;
    padding: 0.7rem;
    font-size: 0.9rem;
  }
}
    
    @media (max-width: 768px) {
      .hero-title {
        font-size: 2.5rem;

      }
      
      .hero-subtitle {
        font-size: 1.2rem;
      }
      
      .section-title {
        font-size: 2rem;
      }
      
      .stats-number {
        font-size: 2.8rem;
      }
      
      .project-grid {
        grid-template-columns: 1fr;
      }
      
      .navbar-brand span {
        font-size: 0.9rem;
      }
      
      .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .lightbox-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
      }
      
      .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 30px;
      }
    }
    
    @media (max-width: 576px) {
      .hero-section {
        min-height: 600px;
        text-align: center;
      }
      
      .hero-title {
        font-size: 2rem;
  
      }
      
      .hero-subtitle {
        font-size: 1.1rem;

      }
      
      .section-title {
        font-size: 1.8rem;
      }
      
      .cta-title {
        font-size: 2.2rem;
      }
      
      .logo-img {
        width: 60px;
        height: 60px;
      }
      
      
      .gallery-grid {
        grid-template-columns: 1fr;
      }
      
      .lightbox-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
      }
    }
    
    /* 动画效果 */
    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }
    
    .page-container {
      animation: fadeIn 1s ease;
    }
    
    .page-title {
      animation: fadeIn 0.8s ease;
    }
    
    .animate-on-scroll {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .animate-on-scroll.animated {
      opacity: 1;
      transform: translateY(0);
    }
    
    /* 标题文字不可点击 */
  /* 标题文字不可点击 */
  .non-clickable-title {
    cursor: default;
    pointer-events: none;
  }