:root {
  --main-green: #336BFF;
  --main-blue: #23408e;
  --main-bg: #f7fafc;
  --main-gray: #f0f2f5;
  --main-dark: #575757;
  --main-light: #fff;
  --main-border: #e5e5e5;
  --main-link: #23408e;
  --main-hover: #1a2e6c;
  font-size: 16px;
}

a {
  color: #666;
  text-decoration: none;
}

/* a:hover { color: var(--main-hover); } */
.container {
  margin: 0 auto;
  width: 100%;
}

/* 顶部导航 */
.navbar {
  background: var(--main-light);
  border-bottom: 0.0625rem solid var(--main-border);
  padding: 0;
  width: 100%;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.375rem;
  max-width: 75rem;
  margin: 0 auto;
  position: relative;
  width: 100%;
  padding: 0 1.25rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  font-size: 1.5625rem;
  font-weight: bold;
  color: var(--main-dark);
}

.navbar-logo img {
  height: 3.0625rem;
  width: 3.5rem;
  margin-right: 0.625rem;
}

.navbar-menu {
  position: relative;
}

.menu-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  flex-wrap: wrap;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  justify-content: normal;
  list-style: none;
  top: 44px;
  width: 100vw;
  overflow: hidden;
  line-height: 3.5rem;
  justify-content: center;
  background: rgba(155, 176, 207, .8);
}

.menu-item:hover>.dropdown-menu {
  display: flex;
}

@media (max-width: 1200px) {
  .dropdown-menu {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    left: 0;
    transform: none;
  }
}

.dropdown-menu li {
  flex: 0 0 calc(20% - 18px);
  max-width: calc(20% - 18px);
  min-width: calc(33%);
}

.dropdown-menu a {
  text-align: left;
  color: #23408e;
  font-size: 1rem;
  border-radius: 4px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  position: relative;
  white-space: nowrap;
  display: block;
  padding-bottom: 0px;
}

.dropdown-menu a:hover {
  color: var(--main-blue);
  font-weight: 700;
}

/* 头图与口号 */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-carousel {
  position: relative;
  min-width: 1200px;
  max-height: 30rem;
  overflow: hidden;
}

.hero-slide {
  display: none;
  height: auto;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  display: block;
}

.hero-slide img {
  display: block;
  /* object-fit: cover; */
  margin: 0 auto;
  height: 30rem;
  width: 100%;
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15);
  font-family: OPPOSans;
  font-size: 4rem;
  font-weight: 900;
  line-height: 4rem;
  letter-spacing: 0.125rem;
  color: #afcaf5;
  text-align: center;
  z-index: 2;
  width: 90%;
  max-width: 75rem;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(35, 64, 142, 0.25);
  z-index: 1;
}

.hero-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.hero-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-dot.active {
  background: #fff;
}

.hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  z-index: 3;
  transition: background-color 0.3s;
}

.hero-btn:hover {
  background: rgba(0, 0, 0, 0.5);
}

.hero-btn.prev {
  left: 1.25rem;
}

.hero-btn.next {
  right: 1.25rem;
}

.hero-link {
  background: #32427D;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1rem 0;
}

.hero-link .hero-link-a {
  display: flex;
}

.hero-link .hero-link-left {
  font-family: OPPOSans;
  font-size: 2rem;
  font-weight: 900;
  line-height: 2rem;
  letter-spacing: 2px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  margin: 0 auto;
  position: relative;
}

.hero-link .hero-link-right {
  display: flex;
  align-items: center;
  margin: 0.5rem 0 0 1rem;
}

.hero-link .hero-link-right img {
  height: 3rem;
  width: 3rem;
}

/* 新闻动态 */
.news-section {
  /* background: var(--main-light); */
  margin-top: 0;
  padding: 1.25rem 0;
  position: relative;
  z-index: 3;
  max-width: 75rem;
  overflow: visible;
}

.news-title {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--main-blue);
}

.news-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.news-picture {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 18/9;
  background: #f7fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0 1.5rem;
  position: relative;
}

.news-list {
  min-width: 0;
  min-height: 0;
  padding-right: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 2;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eee;
  display: block;
  position: relative;
  z-index: 1;
}

.news-tabs {
  gap: 1.5rem;
  margin-bottom: 0.625rem;
}

.news-tab {
  font-weight: bold;
  color: var(--main-dark);
  cursor: pointer;
  padding: 0 0.5rem 0.25rem;
  border-bottom: 0.125rem solid transparent;
  transition: border 0.2s;
}

.news-tab.active,
.news-tab:hover {
  color: var(--main-green);
  border-bottom: 2px solid var(--main-green);
}

.news-items {
  list-style: none;
  max-height: 16.5rem;
}

.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 0.0625rem dashed var(--main-border);
  font-size: 0.875rem;
  line-height: 1.125rem;
  letter-spacing: normal;
  font-weight: normal;
  height: 2.1rem;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item-title {
  color: var(--main-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 25rem;
}

.news-item-date {
  color: #888;
  font-size: 0.95em;
  margin-left: 1rem;
  flex-shrink: 0;
}

.news-more {
  display: block;
  float: right;
  color: var(--main-dark);
  font-size: 0.98em;
}

/* 业务领域 */
.section-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--main-blue);
  text-align: center;
  margin: 1.25rem 0;
  letter-spacing: 0.1em;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 2rem;
  max-width: 75rem;
  min-height: 24rem;
  margin: 0 auto;
  background: url('../images/grid_bg.png') no-repeat;
  padding: 1.5rem;
}

.field-card {
  /* background: var(--main-light);
  box-shadow: 0 0.125rem 0.5rem rgba(35, 64, 142, 0.04); */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
  padding-bottom: 1rem;
  border: none;
}

/* .field-card:hover {
  box-shadow: 0 4px 16px rgba(35, 64, 142, 0.10);
  perspective: 1000px;
} */

.field-icon {
  min-width: 5.875rem;
  min-height: 5.875rem;
}

.field-icon img {
  transition-duration: 0.5s;
  /* 更慢的动画 */
  transform-origin: bottom;
  /* 从低角开始缩放 */
  transition: transform 0.5s;
  transform-style: preserve-3d;
}

.field-icon:hover img {
  transform: scale(1.5) rotate(2deg);
  border: none;
}

.field-title {
  width: 6.125rem;
  height: 0.875rem;
  font-family: OPPOSans;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 0.875rem;
  text-align: center;
  letter-spacing: normal;
  color: var(--main-dark);
}

.field-last {
  display: flex;
  margin: auto;
}

/* 仪器设备 */
.equipments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(31.25rem, 1fr));
  gap: 2.5rem;
  max-width: 75rem;
  margin: 0 auto;
  padding: 1.5rem;
  background: #eee;
}

.equipment-card {
  background: var(--main-light);
  border-radius: 0.625rem;
  box-shadow: 0 0.125rem 0.5rem rgba(35, 64, 142, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 13.75rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.equipment-card:hover {
  transform: scale(1.1);
  /* 放大10% */
  background: #e4e2e2;
  /* 悬停时深灰色 */
  box-shadow: 0 4px 12px rgba(#e4e2e2);
}

.equipment-img {
  width: 100%;
  height: 13.5rem;
  object-fit: cover;
  background: #eee;
}

.equipment-title {
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
  color: var(--main-dark);
  font-weight: 500;
  border-top: 0.0625rem solid var(--main-border);
}

/* 热点信息 */
.hot-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(31.25rem, 1fr));
  gap: 2.5rem;
  max-width: 75rem;
  margin: 0 auto 1.5rem auto;
  padding: 1.5rem;
  /* background: #eee; */
}

.hot-banner {
  flex: 1;
  z-index: 0;
  min-height: 9.25rem;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hot-banner img {
  max-width: 100%;
  max-height: 100%;
}

.hot-banner:hover {
  transform: scale(1.1);
  /* 放大10% */
}

.img-zhongguodizhenju {
  background: transparent; /* 或 #fff */
  border-radius: 0;        /* 去除圆角 */
  box-shadow: none;        /* 去除阴影 */
}

.news-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.news-carousel .news-image {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s;
}

.news-carousel .news-image.active {
  display: block;
}

.carousel-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 999;
}

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

.dot.active {
  background: #fff;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
  z-index: 999;
}

.carousel-btn.prev {
  left: 1.25rem;
}

.carousel-btn.next {
  right: 1.25rem;
}


@media (max-width: 1200px) {
  :root {
    font-size: 15px;
  }

  .news-content {
    gap: 1.25rem;
  }
}

/* @media (max-width: 992px) {
  :root {
    font-size: 14px;
  }

  .news-list {
    min-width: 100%;
    padding: 0 1rem
  }
}

@media (max-width: 768px) {
  :root {
    font-size: 13px;
  }

  .equipments-grid {
    grid-template-columns: 1fr;
    margin: 1rem;
  }


  .fields-grid {
    margin: 1rem;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 12px;
  }

  .carousel-btn.prev {
    left: 4rem;
    font-size: 1rem
  }

  .carousel-btn.next {
    right: 4rem;
    font-size: 1rem
  }

  .section-title {
    font-size: 1.2rem;
  }

  .hot-section {
    display: block;
    gap: 0;
    grid-template-columns: 1fr;
    margin: auto 1rem 1rem 1rem;
  }

  .fields-grid {
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    margin: 1rem;
  }
}

@media (max-width: 900px) {
  .news-picture {
    max-width: 100vw;
    min-height: 140px;
    aspect-ratio: 18/9;
  }
}

@media (max-width: 600px) {
  .news-content {
    flex-direction: column;
    gap: 1rem;
  }

  .news-picture {
    max-width: 100vw;
    min-height: 100px;
    aspect-ratio: 18/9;
    margin-bottom: 1rem;
  }

  .news-list {
    padding: 0 1rem;
  }
} */

.index_customer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto 1.5rem auto;
  height: 28rem;
  object-fit: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(../images/customer-min.jpg);
}

.index_customer .index_customer_type {
  display: flex;
  flex-direction: row;
  padding: 2rem;
}

.index_customer_type .customer_menus {
  color: #FFFFFF;
}

.index_customer_type .customer_menus {
  display: flex;
  flex-direction: column;
  width: 11.5789rem;
  margin-right: .5263rem;
  border-radius: .2105rem;
  backdrop-filter: blur(50px);
}

.index_customer_type .customer_menus ul {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-inline-start: 0px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.index_customer_type .customer_menus ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 2.947rem;
  width: 11.5789rem;
  height: 5rem;
  font-size: 1.1rem;
  list-style: none;
  color: #EBF0F8;
  cursor: pointer;
}

.index_customer_type .customer_introduction {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 51.0526rem;
  border-radius: 4px;
  backdrop-filter: blur(50px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.customer_introduction p {
  width: 45rem;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: #FFFFFF;
  margin: auto;
}

.customer_menu.active,
.customer_menu:hover {
  color: #FFFFFF;
  background-color: rgba(200, 222, 255, 0.4);
}