/* 通用样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "微软雅黑", sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003366;
  padding: 15px 50px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

nav ul li a:hover {
  color: #00b3b3;
}

.banner {
  background-color: #003366;
  color: #fff;
  text-align: center;
  padding: 120px 0;
  background-image: url("images/banner-bg.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 51, 102, 0.7);
}

.banner-content {
  position: relative;
  z-index: 10;
}

.banner-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.banner-content p {
  font-size: 20px;
  margin-bottom: 40px;
}

.banner-buttons button {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  margin: 0 10px;
}

.btn-primary {
  background-color: #00b3b3;
  color: #fff;
}

.btn-secondary {
  background-color: #fff;
  color: #003366;
}

section {
  padding: 80px 50px;
}

h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: #003366;
  position: relative;
}

h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: #00b3b3;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.products {
  background-color: #f8f9fa;
}

.product-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.product-card {
  width: 23%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  margin-bottom: 40px;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-card img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #003366;
}

.solutions {
  background-color: #fff;
}

.solution-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.tab {
  padding: 10px 30px;
  margin: 0 10px;
  background-color: #f0f0f0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tab.active {
  background-color: #00b3b3;
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.solution-content {
  display: flex;
  align-items: center;
}

.solution-content img {
  width: 50%;
  height: auto;
  border-radius: 10px;
}

.solution-text {
  padding-left: 50px;
}

.solution-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #003366;
}

.solution-text p {
  margin-bottom: 20px;
}

.solution-text ul {
  list-style: disc;
  padding-left: 20px;
}

.solution-text ul li {
  margin-bottom: 10px;
}

.advantages {
  background-color: #f8f9fa;
}

.advantage-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.advantage-card {
  width: 31%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 40px;
  text-align: center;
}

.advantage-card .icon {
  width: 80px;
  height: 80px;
  background-color: #00b3b3;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}

.advantage-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #003366;
}

.cases {
  background-color: #fff;
}

.case-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.case-card {
  width: 31%;
  background-color: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.case-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-card h3 {
  font-size: 20px;
  padding: 20px 20px 0;
  color: #003366;
}

.case-card p {
  padding: 20px;
}

.news {
  background-color: #f8f9fa;
}

.news-container {
  display: flex;
  justify-content: space-between;
}

.news-left {
  width: 60%;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-left img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.news-content {
  padding: 30px;
}

.news-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #003366;
}

.date {
  color: #999;
  font-size: 14px;
}

.news-right {
  width: 38%;
}

.news-item {
  display: flex;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.news-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.news-text {
  padding: 15px;
}

.news-text h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #003366;
}

.contact {
  background-color: #003366;
  color: #fff;
}

.contact h2 {
  color: #fff;
}

.contact h2::after {
  background-color: #00b3b3;
}

.contact-container {
  display: flex;
  justify-content: space-between;
}

.contact-left {
  width: 45%;
}

.contact-left p {
  margin-bottom: 30px;
}

.info-item {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.info-item .icon {
  margin-right: 10px;
  font-weight: bold;
}

.social-media {
  margin-top: 40px;
}

.social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #00b3b3;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 15px;
  text-decoration: none;
}

.contact-right {
  width: 50%;
}

form {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: #003366;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  background-color: #00b3b3;
  color: #fff;
  padding: 10px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

footer {
  background-color: #002244;
  color: #fff;
  padding: 60px 50px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-nav,
.footer-products,
.footer-solutions,
.footer-contact {
  width: 23%;
}

.footer-nav h4,
.footer-products h4,
.footer-solutions h4,
.footer-contact h4 {
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-nav ul,
.footer-products ul,
.footer-solutions ul {
  list-style: none;
}

.footer-nav ul li,
.footer-products ul li,
.footer-solutions ul li {
  margin-bottom: 10px;
}

.footer-nav ul li a,
.footer-products ul li a,
.footer-solutions ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-qrcode img {
  width: 120px;
  height: 120px;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  /* border-top: 1px solid #334455; */
}

/* 响应式设计 */
@media (max-width: 1024px) {
 .product-card,
 .advantage-card,
 .case-card {
    width: 48%;
  }
  
 .news-container {
    flex-direction: column;
  }
  
 .news-left,
 .news-right {
    width: 100%;
  }
  
 .news-right {
    margin-top: 40px;
  }
  
 .contact-container {
    flex-direction: column;
  }
  
 .contact-left,
 .contact-right {
    width: 100%;
  }
  
 .contact-right {
    margin-top: 40px;
  }
  
 .footer-nav,
 .footer-products,
 .footer-solutions,
 .footer-contact {
    width: 48%;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 20px;
  }
  
  .logo {
    margin-bottom: 20px;
  }
  
  nav ul {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
 .banner-content h1 {
    font-size: 36px;
  }
  
 .banner-content p {
    font-size: 18px;
  }
  
  section {
    padding: 60px 20px;
  }
  
  h2 {
    font-size: 28px;
  }
  
 .product-card,
 .advantage-card,
 .case-card {
    width: 100%;
  }
  
 .solution-content {
    flex-direction: column;
  }
  
 .solution-content img {
    width: 100%;
    margin-bottom: 30px;
  }
  
 .solution-text {
    padding-left: 0;
  }
  
 .footer-nav,
 .footer-products,
 .footer-solutions,
 .footer-contact {
    width: 100%;
  }
}