* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "SimSun", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

a:hover {
  color: #00588a;
}

ul,
li {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 1300px;
  margin: 0 auto;
}

/* 顶部导航栏 */
.header {
  background-color: #00588a;
  padding: 15px 0;
  color: #fff;
  height: 108px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 30px;
}

.full-logo {
  max-height: 110px;
  width: auto;
  vertical-align: middle;
}

.main-nav {
  flex: 0 0 auto;
  font-size: 18px;
  font-family: cursive, "Microsoft YaHei", sans-serif;
}

.main-nav ul {
  display: flex;
}

.main-nav li {
  position: relative;
}

.main-nav li a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.main-nav li a:hover,
.main-nav li a.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* 导航下拉菜单 */
.main-nav .dropdown {
  position: relative;
}

.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #00588a;
  min-width: 120px;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  display: block;
}
/* 鼠标悬停时显示下拉菜单 */
body > header > div > div > nav > ul > li:nth-child(1):hover .dropdown-menu {
  visibility: visible !important;
  opacity: 1 !important;
}
body > header > div > div > nav > ul > li:nth-child(1) > ul > a:nth-child(1) {
  display: none !important;
}
.main-nav .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .dropdown-menu li {
  width: 100%;
}

.main-nav .dropdown-menu a {
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav .dropdown-menu li:last-child a {
  border-bottom: none;
  border-radius: 0 0 4px 4px;
}

.main-nav .dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* 轮播图 */
.slider-section {
  position: relative;
  margin-bottom: 20px;
}

.slider-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 88, 138, 0.15);
}

.slider {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  z-index: 1;
  transform: scale(1.05);
}

.slide.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}

.slide img {
  height: 320px;
  object-fit: cover;
  filter: brightness(0.95);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.slider-container:hover .slide.active img {
  filter: brightness(1.05);
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 6px 10px;
  border-radius: 20px;
  backdrop-filter: blur(2px);
}

.slider-controls .dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(0.8);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}

.slider-controls .dot.active {
  background-color: #fff;
  transform: scale(1);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.slider-controls .dot:hover {
  background-color: #fff;
  transform: scale(1);
}

/* 轮播图导航按钮 */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background-color: rgba(0, 88, 138, 0.4);
  border: none;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(2px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-container:hover .slider-nav {
  opacity: 1;
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.slider-nav:hover {
  background-color: rgba(0, 88, 138, 0.7);
  transform: translateY(-50%) scale(1.1);
}

/* 使用CSS创建箭头图标 */
.slider-prev::before,
.slider-next::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-style: solid;
  border-color: white;
  border-width: 2px 0 0 2px;
  transition: all 0.3s ease;
}

.slider-prev::before {
  transform: rotate(-45deg);
  margin-left: 3px;
}

.slider-next::before {
  transform: rotate(135deg);
  margin-right: 3px;
}

.slider-nav:hover::before {
  border-color: white;
}

/* 添加轮播图底部渐变阴影 */
.slider::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  z-index: 3;
  pointer-events: none;
}

/* 主要内容区 */
.main-content {
  padding: 15px 0;
}

.main-content .container {
  width: 1300px;
  max-width: 95%;
}

/* 新闻和通知区域样式 */
.news-notice-wrapper {
  display: flex;
  margin-bottom: 20px;
}
.faculty {
  margin-right: 0 !important;
}
.news-block {
  flex: 5;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-right: 5px;
}

.notice-block {
  flex: 2;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-left: 5px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(
    to right,
    rgba(0, 88, 138, 0.05),
    rgba(255, 255, 255, 0.8)
  );
  border-bottom: 1px solid rgba(0, 88, 138, 0.1);
}

.section-header h2 {
  font-size: 20px;
  font-weight: bold;
  color: #00588a;
  display: flex;
  align-items: center;
  position: relative;
  margin: 0;
  padding-left: 15px;
}

.section-header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 20px;
  background-color: #00588a;
  border-radius: 3px;
}

.section-header h2 span {
  font-size: 14px;
  color: #0088cc;
  margin-left: 10px;
  text-transform: uppercase;
  font-weight: normal;
  opacity: 0.7;
}

.section-header .more {
  font-size: 14px;
  color: #00588a;
  font-weight: 500;
  background-color: rgba(0, 88, 138, 0.1);
  padding: 5px 12px;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.section-header .more:hover {
  background-color: #00588a;
  color: white;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  color: #00588a;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 12px;
}

.section-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background-color: #00588a;
  border-radius: 2px;
}

.section-title span {
  font-size: 14px;
  color: #999;
  margin-left: 10px;
  text-transform: uppercase;
  font-weight: normal;
}

.news-notice-section {
  display: flex;
  padding: 15px;
  overflow: visible;
}

.news-image {
  flex: 1.5;
  margin-right: 20px;
}

.news-list-container {
  flex: 1.5;
}

/* 新闻轮播图样式 */
.featured-news {
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.news-slider {
  position: relative;
  height: 250px;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.news-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

.news-slide.active {
  opacity: 1;
  z-index: 2;
}

.news-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 4px;
}

.slider-dots {
  position: absolute;
  bottom: 15px;
  right: -76px;
  transform: translateX(-50%);
  display: flex;
  z-index: 10;
  border-radius: 15px;
  padding: 5px 8px;
}

.slider-dots .dot {
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #000;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 4px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.slider-dots .dot.active {
  background-color: #fff;
  color: #00588a;
  transform: scale(1.1);
}

/* 新闻列表 */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 88, 138, 0.15);
  margin-bottom: 5px;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.news-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #00588a;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.news-list li:hover {
  background-color: rgba(0, 88, 138, 0.05);
  padding-left: 20px;
}

.news-list li:hover:before {
  opacity: 1;
  width: 8px;
  height: 8px;
}

.news-list a {
  flex: 1;
  width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  color: #333;
  transition: color 0.2s;
}

.news-list a:hover {
  color: #00588a;
}

.news-list .date {
  color: #999;
  font-size: 14px;
  margin-left: 8px;
  text-align: right;
}

.news-list li:last-child {
  border-bottom: none;
}

/* 电话样式 */
.news-list .phone {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  color: #333;
  transition: color 0.2s;
}

.news-list li:hover .phone {
  color: #00588a;
}

/* 联系我们特殊样式 */
.faculty .news-list li:before {
  width: 8px;
  height: 8px;
  background-color: #00588a;
  border-radius: 50%;
  opacity: 0.7;
}

.faculty .news-list li:nth-child(1):before {
  background-color: #00588a;
}
.faculty .news-list li:nth-child(2):before {
  background-color: #0072b1;
}
.faculty .news-list li:nth-child(3):before {
  background-color: #0088cc;
}
.faculty .news-list li:nth-child(4):before {
  background-color: #00a0e9;
}
.faculty .news-list li:nth-child(5):before {
  background-color: #00a0d2;
}
.faculty .news-list li:nth-child(6):before {
  background-color: #00aabb;
}
.faculty .news-list li:nth-child(7):before {
  background-color: #0088cc;
}
.faculty .news-list li:nth-child(8):before {
  background-color: #00588a;
}

.faculty .news-list li:hover:before {
  transform: translateY(-50%) scale(1.3);
  opacity: 1;
}

/* 通知列表 */
.notice-content {
  padding: 15px;
}

.notice-list {
  display: flex;
  flex-direction: column;
}

.notice-list li {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  margin-bottom: 2px;
  align-items: center;
}

.notice-list li:last-child {
  border-bottom: none;
}

.notice-date {
  flex: 0 0 50px;
  height: 50px;
  background-color: #f1f1f1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  margin-right: 15px;
}

.notice-date .day {
  font-size: 20px;
  font-weight: bold;
  color: #00588a;
}

.notice-date .month {
  font-size: 12px;
  color: #666;
}

.notice-list a {
  flex: 1;
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 功能模块样式 */
.features-section {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  width: 100%;
}

.feature-box {
  flex: 1;
  background-color: #fff;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(0, 88, 138, 0.1);
}

.feature-box:not(:last-child) {
  margin-right: 10px;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 88, 138, 0.15);
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #00588a, #0088cc);
}

.feature-content {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}

/* 服务指南模块 */
.service-guide {
  flex: 3;
}

.service-columns {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex: 1;
}

.service-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-column ul {
  list-style: none;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-column li {
  margin-bottom: 12px;
  padding-left: 12px;
  position: relative;
}

.service-column li:last-child {
  margin-bottom: 0;
}

.service-column li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background-color: #00588a;
  border-radius: 50%;
}

.service-column a {
  font-size: 16px;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 下载文件模块 */
.download-files {
  flex: 1;
}

.download-list {
  display: flex;
  flex-direction: column;
  padding: 0;
  justify-content: space-between;
  gap: 8px;
}

.download-list li {
  margin-bottom: 0;
  transition: transform 0.3s ease;
}

.download-list li:hover {
  transform: translateX(5px);
}

.download-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background-color: #f5f5f5;
  border-radius: 4px;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.download-list a:hover {
  background-color: #e6f0f5;
  border-left: 3px solid #00588a;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.download-list .file-name {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.download-list .file-type {
  padding: 2px 6px;
  background-color: #00588a;
  color: white;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
}

/* 调整第二行布局 */
.features-section.second-row {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  width: 100%;
}

.features-section.second-row .service-guide {
  flex: 3;
  margin-right: 10px;
}

.features-section.second-row .download-files {
  flex: 1;
  margin-left: 0;
}

/* 页脚 */
.footer {
  background-color: #00588a;
  color: #fff;
  padding: 15px 0 20px;
}

.footer-info {
  display: flex;
  justify-content: space-around;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo img {
  height: 85px;
  margin-bottom: 10px;
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 12px;
}

/* 响应式适配 */
@media (max-width: 1300px) {
  .container {
    width: 95%;
  }

  .main-content .container {
    width: 95%;
    max-width: 1300px;
  }
}

@media (max-width: 992px) {
  .news-notice-wrapper {
    flex-direction: column;
  }

  .news-block,
  .notice-block {
    margin: 0 0 20px 0;
  }

  .news-notice-section {
    flex-direction: column;
  }

  .news-image {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .features-section,
  .features-section.second-row {
    flex-direction: column;
    gap: 20px;
  }

  .feature-box {
    margin: 0 0 15px 0;
    width: 100%;
  }

  .features-section.second-row .service-guide,
  .features-section.second-row .download-files {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .main-nav ul {
    flex-wrap: wrap;
  }

  .main-nav li {
    flex: 0 0 50%;
  }

  .footer-info {
    flex-direction: column;
    align-items: center;
  }

  .footer-contact {
    margin-top: 20px;
    text-align: center;
  }

  .service-columns {
    flex-direction: column;
  }

  .service-column {
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .main-nav li {
    flex: 0 0 100%;
  }
}
a {
  text-decoration: none !important;
}
ul > li > a > img {
  object-fit: cover !important;
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 88, 138, 0.8);
  color: #fff;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transform: translateY(20px);
}

.back-to-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: height 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top .arrow-up {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.back-to-top .arrow-up svg {
  transition: transform 0.3s ease, fill 0.3s ease;
  fill: white;
}

.back-to-top:hover {
  background-color: #00588a;
  box-shadow: 0 4px 20px rgba(0, 88, 138, 0.5);
  transform: translateY(-5px);
}

.back-to-top:hover::before {
  height: 100%;
}

.back-to-top:hover .arrow-up svg {
  transform: translateY(-3px);
}

.back-to-top:active {
  transform: scale(0.95);
}

.back-to-top.clicked {
  animation: pulse 0.5s ease;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(0.9);
    box-shadow: 0 0 8px rgba(0, 88, 138, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 767px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }

  .back-to-top .arrow-up svg {
    width: 18px;
    height: 18px;
  }
}

/* 为每个模块添加特殊背景效果 */
.feature-box.enrollment::after,
.feature-box.resources::after,
.feature-box.faculty::after,
.feature-box.service-guide::after,
.feature-box.download-files::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background-image: radial-gradient(
    circle,
    rgba(0, 88, 138, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

.feature-box.enrollment::after {
  background-image: radial-gradient(
    circle,
    rgba(0, 88, 138, 0.06) 0%,
    rgba(255, 255, 255, 0) 70%
  );
}
.feature-box.resources::after {
  background-image: radial-gradient(
    circle,
    rgba(0, 136, 204, 0.06) 0%,
    rgba(255, 255, 255, 0) 70%
  );
}
.feature-box.faculty::after {
  background-image: radial-gradient(
    circle,
    rgba(0, 160, 233, 0.06) 0%,
    rgba(255, 255, 255, 0) 70%
  );
}
.feature-box.service-guide::after {
  background-image: radial-gradient(
    circle,
    rgba(0, 88, 138, 0.04) 0%,
    rgba(255, 255, 255, 0) 70%
  );
}
.feature-box.download-files::after {
  background-image: radial-gradient(
    circle,
    rgba(0, 136, 204, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  );
}
#u_u7_ifocus_opdiv {
  background: #333 !important;
  letter-spacing: 0.5px !important;
}
#u_u7_ifocus_tx {
  letter-spacing: 0.6px;
}
.important-links {
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
      }

      .president-email {
        background-color: #f0f7fd;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 10px 15px;
        border-radius: 4px;
        color: #2270b5;
        font-weight: bold;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 1px solid #d1e6f9;
        display: flex;
        align-items: center;
        cursor: pointer;
      }

      .president-email:hover {
        background-color: #e0eeff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
      }

      .email-icon {
        width: 16px;
        height: 16px;
        margin-right: 6px;
      }

      .learning-platform {
        padding: 10px 12px;
        text-decoration: none;
        color: #2270b5;
border:1px solid;
 border-radius:5px;
        font-weight: bold;
      }
.learning-platform:hover{
 color:#2270b5;
}