/*鼠标悬停显示下拉菜单的 CSS*/
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}
.dropdown-menu {
  transition: all 0.3s ease;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #f5f7fa;
  color: #333;
}
.navbar {
  background-color: #002b5e;
}
.navbar-brand {
  font-weight: bold;
}
.navbar-nav .nav-link {
  color: #fff !important;
}
/*鼠标悬停显示下拉菜单的 CSS end*/
/*背景图*/
.banner {
  width: 100%;
  height: 400px; /* 你可以根据图像比例调整高度 */
  background: url("../images/4444.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
}

.banner-text {
  color: white;
  padding-left: 80px; /* 距离左侧 */
}

.banner-text h2 {
  font-size: 24px;
  margin: 0;
  letter-spacing: 2px;
}

.banner-text h1 {
  font-size: 48px;
  margin: 10px 0 0;
  font-weight: bold;
  line-height: 1.2;
}

/*  footer */
footer {
  background-color: white;
  color: black;
  padding: 2rem 0;
}

footer a {
  color: black;
  text-decoration: none;
}

footer a:hover {
  color: blue;
}

footer h5 {
  color: rgb(64, 64, 195); /* 小标题变蓝 */
  font-weight: bold;
  margin-bottom: 1rem;
  position: relative;
}

/* 内容块之间加一条美观的分隔线 */
footer .col-md-3 {
  border-right: 1px solid #ccc;
  padding-right: 1rem;
  margin-bottom: 1rem;
}

footer .col-md-3:last-child {
  border-right: none;
}

/* 加一点呼吸感 */
footer ul {
  padding-left: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

.footer-logo img {
  width: 100px;
  height: auto;
}
/* 页脚*/
#footer {
  background-color: #2e5980; /* 深蓝背景 */
  color: white; /* 白色文字 */
  text-align: center; /* 文字居中 */
  padding: 15px 0; /* 上下内边距 */
  font-size: 14px;
  font-family: Arial, sans-serif;
}
