@charset "utf-8";
/* ================= 基础重置与全局样式 ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
ul {
  list-style: none;
}
.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 15px;
}
.section-title {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  font-size: 18px;
}
.section-title .icon {
  margin-right: 10px;
  flex-shrink: 0;
}
.section-title h2 {
  font-size: 30px;
  color: #000;
  white-space: nowrap;
  margin-right: 15px;
  flex-shrink: 0;
}
.section-title .line {
  flex: 1;
  height: 1px;
  background: #64a0ff;
  margin: 0 10px;
}
/* 4. 右侧“更多”按钮样式 */
.section-title a {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
  flex-shrink: 0; /* 防止按钮被压缩 */
}
.section-title a:hover {
  color: #0056b3;
}
/* ================= 第一部分：固定导航与Banner ================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
  background: rgba(34, 64, 147, .9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  max-width: 1380px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
.logo img {
  height: 60px;
}
.search-box input {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  width: 200px;
}
.nav-menu {
  border-bottom: solid 1px #fff;
}
.nav-menu > ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 15px;
}
.nav-menu > ul > li {
  position: relative;
  flex: 1;
  text-align: center;
}
.nav-menu > ul > li > a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  font-size: 18px;
  white-space: nowrap;
}
.nav-menu > ul > li > .submenu-arrow {display:none;}
.nav-menu > ul > li:hover > a, .nav-menu > ul > li.active > a {
  background: #003d80;
}
/* 二级菜单 */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 150px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  z-index: 999;
}
.nav-menu > ul > li:hover .sub-menu {
  display: block;
  opacity: 1;
  visibility: visible;
}
.sub-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}
.sub-menu li a:hover {
  background: #f5f5f5;
  color: #0056b3;
}
/* Banner 轮播 */
.banner {
  position: relative;
  width: 100%;
  max-height: 860px;
  overflow: hidden;
  margin-top: -1px;
}
.banner ul {
  display: flex;
  transition: transform 0.5s ease;
}
.banner li {
  min-width: 100%;
}
.banner img {
  width: 100%;
  height: auto;
  max-height: 860px;
  object-fit: cover;
  display: block;
}
/* ================= 第二部分：园区新闻 ================= */
.news-section {
  padding: 50px 0;
  background: url("../images/bg_01.png") no-repeat top left #f3f3f3;
}
.news-layout {
  display: flex;
  gap: 60px;
}
.news-slider {
  flex: 1;
  min-width: 0;
  max-width: 600px;
}
.news-slider-img {
  position: relative;
  width: 100%;
  overflow: hidden;
}
#newsSlider {
  display: flex;
  transition: transform 0.5s ease;
}
#newsSlider > li {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  flex-grow: 0;
  box-sizing: border-box;
}
#newsSlider > li > img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.news-slider-text {
  padding: 10px;
  box-sizing: border-box;
}
.news-slider-text h3 {
  font-size: 18px;
  margin-bottom: 3px;
  color: #333;
}
.news-slider-text p {
  font-size: 16px;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
}
.news-item-info {
  flex: 1;
  padding-right: 15px;
}
.news-item-info h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-item-info p {
  font-size: 16px;
  color: #888;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item-date {
  text-align: center;
  min-width: 60px;
  flex-shrink: 0;
  position: relative;
  padding-left: 15px;
  font-size: 20px;
}
.news-item-date::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background-color: #aaa;
}
.news-item-date .day {
  font-weight: bold;
  display: block;
  line-height: 1;
  color: #6576f2;
}
.news-item-date .year {
  font-weight: bold;
  color: #6576f2;
}
.news-item-info h4 a:hover {
  color: #6576f2;
}
/* ================= 第三部分：双创赛事 & 通知公告 ================= */
.dual-section {
  background: #fff;
  padding: 50px 0;
  background: url("../images/bg_02.png") no-repeat bottom center #fff;
  background-size: cover;
  background-attachment: scroll;
}
.dual-layout {
  display: flex;
  gap: 30px;
}
.dual-left, .dual-right {
  flex: 1;
  padding: 20px;
}
.event-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.event-item img {
  width: 210px;
  height: 145px;
  object-fit: cover;
  border-radius: 4px;
  object-position: center;
  flex-shrink: 0;
  transition: opacity 0.4s ease, transform 0.5s ease;
}
.event-item:hover img {
  opacity: 0.8;
  transform: scale(1.05);
}
.event-item-info h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-item-info p {
  font-size: 16px;
  color: #888;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-item-info span {
  font-size: 14px;
  color: #6b7bf2;
  background: url(../images/ico_date.png) no-repeat 0px center;
  padding-left: 25px;
}
.event-item-info h4 a:hover {
  color: #6576f2;
}
.notice-list li {
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.notice-list li::before {
  content: '●';
  color: #0056b3;
  font-size: 16px;
  margin-right: 10px;
  flex-shrink: 0;
}
.notice-list li a {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 15px;
  font-size: 18px;
}
.notice-list li a:hover {
  transform: translateX(5px);
  color: #6576f2;
}
.notice-list li span {
  font-size: 14px;
  color: #6b7bf2;
  white-space: nowrap;
}
/* ================= 第四部分：园区服务 ================= */
.service-section {
  padding: 60px 0;
  text-align: center;
  background: url(../images/bg_03.png) no-repeat center;
  background-size: cover;
  background-attachment: scroll;
}
.service-section .section-title h2 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}
.service-section .section-title a {
  color: #fff;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  height: 360px;
  border: solid 1px #fff;
  overflow: hidden;
  background: #111167;
  cursor: pointer;
  max-width: 300px;
  margin: 0 auto;
  width: 100%;
}
.service-card > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.4s ease, transform 0.5s ease;
}
.service-card:hover img {
  opacity: 0.8;
  transform: scale(1.1);
}
.service-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 2;
}
.service-card .overlay .icon {
  max-width: 70px;
  max-height: 70px;
  width: auto;
  height: auto;
  margin-bottom: 15px;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.service-card .overlay a h3 {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.service-card:hover .overlay .icon {
  transform: translateY(-5px);
}
/* ================= 第五部分：合作企业 ================= */
.partner-section {
  padding: 40px 0;
  background: url(../images/bg_04.png) no-repeat center;
  background-size: cover;
  background-attachment: scroll;
}
.partner-section .section-title h2 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}
.partner-section .section-title a {
  color: #fff;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}
.partner-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90px;
  max-width: 200px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}
.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.partner-item img {
  max-width: 100%;
  max-height: 90px;
  transition: 0.3s;
  object-fit: contain;
  display: block;
}
.partner-item:hover img {
  filter: grayscale(0);
}
/* ================= 第六部分：底部版权 ================= */
footer {
  background: url(../images/bg_05.png) no-repeat center;
  background-size: cover;
  background-attachment: scroll;
  color: #aaa;
  padding: 40px 0 20px;
  font-size: 14px;
}
.footer-logo {
  margin-bottom: 10px;
}
.footer-logo img {
  width: 100%;
  max-width: 350px;
}
.footer-layout {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
}
.footer-col p, .footer-col li {
  margin-bottom: 8px;
}
.footer-bottom {
  border-top: 1px solid #64a0ff;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}
/*--- 二级页面 ---*/
.main-wrapper {
  padding: 40px 0;
  display: flex;
  gap: 30px;
  align-items: flex-start; /* 顶部对齐 */
}
/* --- 左侧侧边栏 (二三级导航) --- */
.sidebar {
  width: 260px;
  flex-shrink: 0; /* 防止被压缩 */
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.sidebar-title {
  background: url(../images/bg_03.png) right bottom/cover;
  color: #fff;
  padding: 40px 20px;
  font-size: 24px;
  font-weight: bold;
}
.side-nav li {
  border-bottom: 1px solid #eee;
}
.side-nav > li > a {
  display: block;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 500;
  border-left: 4px solid transparent;
}
.side-nav > li > a:hover, .side-nav > li.active > a {
  background: #f4f8ff;
  color: #6576f2;
  border-left-color: #6576f2;
}
.side-nav .open {
  background: #f4f8ff;
}
.side-nav .open a {
  color: #6576f2;
  border-left-color: #6576f2;
}
/* --- 右侧内容区域 --- */
.content {
  flex-grow: 1;
  padding: 30px;
  min-height: 600px;
}
/* 面包屑导航 */
.breadcrumb {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.breadcrumb span {
  margin: 0 5px;
} /**/
.title {
  text-align: center;
  border-bottom: 1px dotted #ccc;
}
.title h3 {
  font-size: 24px;
  line-height: 60px;
  font-weight: 600;
}
/* ================= 手机端自适应 ================= */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
  .nav-top {
    display: flex;
    background: rgba(34, 64, 147, .9);
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px;
    width: 100%;
  }
  .logo {
    flex-shrink: 0;
    max-width: 70%;
  }
  .logo img {
    height: 35px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
  .mobile-menu-btn {
    display: block;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    background: transparent;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
  }
  .search-box {
    display: none;
  }
  .nav-menu {
    border: none;
    background: rgba(30, 30, 30, .8);
  }
  .nav-menu ul {
    display: none;
    flex-direction: column;
  }
  .nav-menu ul li {
    display: block;
    width:100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
.nav-menu > ul > li > .submenu-arrow {display:flex;}
  .nav-menu ul.show {
    display: flex;
  } 
  .nav-menu > ul > li > a {
    padding: 12px 15px;
        display: flex; justify-content: space-between; align-items: center; 
  }
  .sub-menu {
    position: static;
    box-shadow: none;
    display: none;
    background: #fff;
  }
  .sub-menu > li > a {
    color: #333;
  }
  .sub-menu.show {
    display: block;
  }
  .nav-menu > ul > li.has-submenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .submenu-arrow {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
  }
  .sub-menu.show + .submenu-arrow, .has-submenu .sub-menu.show ~ .submenu-arrow {
    transform: rotate(180deg);
  }
  .news-layout, .dual-layout {
    flex-direction: column;
  }
  .news-slider {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .news-slider-img {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  #newsSlider > li > img {
    height: 200px;
  }
  .news-list {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 20px;
  }
  .news-item-info h4 {
    white-space: normal;
    word-break: break-all;
  }
  .event-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card {
    height: 180px;
    max-width: 100%;
  }
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-layout {
    flex-direction: column;
    gap: 20px;
  }
  .container {
    width: 100%;
  }
  .main-wrapper {
    flex-direction: column;
    padding: 20px 15px;
  }
  .sidebar {
    width: 100%;
  }
  .content {
    width: 100%;
    padding: 0;
  }
}
@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none;
  }
}