﻿/*  底部样式 */
.footer {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0 8%;
  justify-content: flex-start;
  padding-top: 30px;
  padding-bottom: 0px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  color: white;
  margin-bottom: 25px;
  display: inline-flex;
}

.footer-about {
  line-height: 1.8;
  margin-bottom: 35px;
  font-size: 1.05rem;
}

.social-links {
  display: flex;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  margin-right: 15px;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
}

.footer-title {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
  font-weight: 600;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.05rem;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 8px;
}

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

.contact-icon {
  margin-right: 10px;
  color: var(--primary-color);
  flex-shrink: 0;
  font-size: 1.3rem;
  /* margin-top: 3px; */
}

.contact-text {
  font-size: 1.05rem;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1rem;
}

.footer-bottom p {
  margin-bottom: 12px;
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ff4d54;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  /* 分隔线：半透明白 */
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

/* 功能入口样式 */
.function-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.function-links li {
  margin-bottom: 12px;
}

.function-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.function-links a img {
  margin-right: 10px;
}

.function-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

/* 备案&标识区域样式（核心调整：图片尺寸与排版） */
.footer-registration {
  display: flex;
  align-items: center;
  /* 整体垂直居中，确保不同高度图片对齐 */
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  /* 元素间距，避免拥挤 */
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.registration-icon {
  display: flex;
  align-items: center;
  /* 图文垂直居中 */
  gap: 10px;
  /* 图片与文字间距（网安区域用） */
}

/* 1. 事业单位图片：单独加大尺寸 */
.institution-img {
  height: 50px;
  /* 比原尺寸大40%，突出显示 */
  width: auto;
  vertical-align: middle;
  object-fit: contain;
  /* 防止拉伸变形 */
}

/* 2. 网安图片：单独缩小尺寸 */
.cyber-img {
  height: 18px;
  /* 比事业单位小，符合需求 */
  width: auto;
  vertical-align: middle;
  object-fit: contain;
}

/* 3. 技术支持：确保图文同行且垂直居中 */
.tech-support {
  display: flex;
  align-items: center;
  /* 强制图文垂直居中 */
  gap: 8px;
  /* 文字与图片间距，避免拥挤 */
}

.tech-support img {
  height: 22px;
  /* 与网安图片尺寸一致，视觉统一 */
  width: auto;
  vertical-align: middle;
  object-fit: contain;
}

.registration-icon a {
  color: #fff;
}
@media only screen and (max-width:768px) {
  .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0px;
  padding: 0px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-title{
  color: white;
  font-size: 16px;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 0px;
  font-weight: 600;
}
.footer-links a{
  font-size: 14px;
}
.function-links a{
  font-size: 14px;

}
.contact-info{
  margin-bottom: 10px;
}
.contact-text{
  font-size: 14px;
}
.footer-registration{
  gap:10px;
  padding:0px;
}
}