@charset "UTF-8";
main {
  min-height: 550px;
  background-image: url("../img/home/home_bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

main .uk-container {
  padding: 0;
}

main .filter-item {
  display: flex;
  font-size: 14px;
  color: #333333;
  margin-bottom: 16px;
}

main .filter-item .options {
  margin-right: 24px;
}

main .filter-item .uk-checkbox {
  margin-right: 5px;
}

.header {
  background: linear-gradient(90deg, #026EFF 0%, #9B6AFC 100%);
}

.header .header {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.header .logo_box {
  display: flex;
  align-items: center;
}

.header .logo {
  width: 126px;
  height: 40px;
  background: #d9d9d9;
}

.header .address {
  padding: 8px 10px;
  margin-left: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 100px 100px 100px 100px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
}

.header .address .add_icon {
  width: 16px;
  height: 16px;
}

.header .address .down_icon {
  width: 12px;
  height: 12px;
  margin-left: 12px;
}

.header .uk-navbar-nav {
  font-size: 16px;
}

.header .uk-navbar-nav li a {
  color: rgba(255, 255, 255, 0.8);
}

.header .uk-navbar-nav li.uk-active a {
  color: #fff;
}

.header .uk-navbar-nav li:hover a {
  color: rgba(255, 255, 255, 0.8);
}

.header .search_box {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.header .search_box .search {
  background: #ffffff;
  border-radius: 4px 4px 4px 4px;
  padding: 4px 12px;
  font-size: 16px;
  color: #026eff;
  display: flex;
  align-items: center;
}

.header .search_box .search_icon {
  width: 18px;
  height: 18px;
  margin-right: 2px;
}

.header .user_box {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  color: #ffffff;
  margin-left: 28px;
}

.header .user_box span {
  color: #ffffff;
}

.header .user_box .user_icon {
  width: 20px;
  height: 20px;
}

.header .user_box .down_icon {
  margin-left: 8px;
  width: 12px;
  height: 12px;
}

.header .user_box .nav_icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
}

.header .user_box .nav_user {
  display: flex;
  padding: 10px !important;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.header .user_box .nav_user div {
  font-weight: 600;
  font-size: 16px;
  color: #333333;
  margin-right: 12px;
}

.header .user_box .uk-dropdown {
  padding: 10px !important;
  width: 220px;
  border-radius: 8px;
  font-size: 14px;
  color: #666666;
}

.header .user_box .uk-dropdown ul li {
  padding: 5px;
  margin: 5px 0;
}

.header .user_box .uk-dropdown ul > li:hover {
  background: rgba(2, 110, 255, 0.1);
}

.box {
  width: 1200px;
  margin: auto;
  padding-top: 40px;
}

section.needs-panel {
  width: 700px;
  min-height: 456px;
  background: #ffffff;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
  border-radius: 4px 4px 4px 4px;
}

section.needs-panel .tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eeeeee;
}

section.needs-panel .tabs > .tab {
  width: 50%;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  color: #333333;
  padding: 20px;
}

section.needs-panel .tabs a {
  text-decoration: none;
}

section.needs-panel .tabs .active {
  font-weight: 600;
  font-size: 16px;
  color: #333333;
  border-bottom: 3px solid #026eff;
}

section.needs-panel #form {
  padding: 20px 30px;
}

section.needs-panel #form .form_box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}

section.needs-panel #form .ipt_box {
  border-radius: 4px 4px 4px 4px;
  border: 1px solid #cccccc;
  width: calc((100% - 20px) / 2);
  display: flex;
  align-items: center;
  padding: 12px;
  /* 悬停和焦点状态 */
}

section.needs-panel #form .ipt_box .icon {
  width: 20px;
  height: 20px;
}

section.needs-panel #form .ipt_box .down {
  width: 12px;
  height: 12px;
}

section.needs-panel #form .ipt_box select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  flex: 1;
  padding: 6px;
  font-size: 14px;
  color: #333333;
  width: 100%;
  cursor: pointer;
  border: none;
}

section.needs-panel #form .ipt_box input {
  flex: 1;
  padding: 6px;
  font-size: 14px;
  color: #333333;
}

section.needs-panel #form .ipt_box select option[disabled],
section.needs-panel #form .ipt_box input::placeholder {
  font-weight: 400;
  color: #999999;
}

section.needs-panel #form .ipt_box select:hover {
  border: none;
}

section.needs-panel #form .ipt_box select:focus {
  outline: none;
}

section.needs-panel #form .checkbox {
  /* 隐藏默认复选框 */
  /* 自定义复选框样式 */
  /* 选中状态 */
  /* 鼠标悬停时的效果 */
}

section.needs-panel #form .checkbox .checkbox_item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
  gap: 24px;
}

section.needs-panel #form .checkbox .checkbox_item .check {
  display: flex;
  align-items: center;
}

section.needs-panel #form .checkbox .checkbox_item .label {
  font-weight: 400;
  font-size: 14px;
  color: #333333;
}

section.needs-panel #form .checkbox input[type="checkbox"] {
  display: none;
}

section.needs-panel #form .checkbox .custom-checkbox {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border: 2px solid #cccccc;
  position: relative;
  border-radius: 4px;
  /* 添加圆角效果 */
  margin-right: 8px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  /* 添加过渡动画 */
}

section.needs-panel #form .checkbox input[type="checkbox"]:checked + .custom-checkbox {
  border-color: #026eff;
  background-color: #026eff;
  /* 更加突出选中状态 */
}

section.needs-panel #form .checkbox input[type="checkbox"]:checked + .custom-checkbox::after {
  content: "✓";
  position: absolute;
  top: 50%;
  /* 调整位置使勾选符号居中 */
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  /* 增加字体大小，使勾选符号更加清晰 */
}

section.needs-panel #form .checkbox .custom-checkbox:hover {
  border-color: #026eff;
  /* 鼠标悬停时边框颜色变化 */
}

section.needs-panel #form button {
  all: unset;
  width: 100%;
  height: 52px;
  background: #026eff;
  border-radius: 8px 8px 8px 8px;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  margin-top: 20px;
}

.bottom {
  max-width: 1200px;
  margin: 60px auto 100px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.bottom .bottom_item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 220px;
  height: 160px;
  background: #f9f9f9;
  border-radius: 8px 8px 8px 8px;
  border: 1px solid #eeeeee;
  gap: 12px;
  font-weight: 400;
  font-size: 16px;
  color: #333333;
}

.bottom .bottom_item img {
  width: 24px;
  height: 24px;
}

.marketing {
  padding: 20px 0;
}

.marketing .metting-title {
  margin-bottom: 10px;
}

.marketing .marketing-subtitle {
  font-weight: 400;
  font-size: 16px;
  color: #666666;
  text-align: center;
  margin-bottom: 40px;
}

.marketing .marketing-subtitle a {
  color: #026EFF;
}

.marketing .marketing-swiper .marketing-swiper_img {
  width: 100%;
  height: 280px;
  border-radius: 8px 8px 8px 8px;
}

.marketing .marketing-active {
  cursor: pointer;
}

.marketing .marketing-active .marketing-active__panel {
  height: 122px;
  border-radius: 8px;
  overflow: hidden;
}

.marketing .marketing-active .marketing-active__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketing .marketing-active .marketing-active__panel .marketing-active_bottom {
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.6);
}

.marketing .marketing-active .marketing-active__panel .marketing-active_bottom .active-name {
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  text-align: center;
  white-space: normal;
  /* 允许换行 */
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /* 限制显示行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.submit_box {
  width: 300px;
  height: 100px;
  background: #ffffff;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
  border-radius: 8px 8px 8px 8px;
  position: fixed;
  bottom: 120px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.submit_box .hint {
  font-weight: 600;
  font-size: 16px;
  color: #333333;
}

.submit_box .hint span {
  color: #026eff;
}

.submit_box a {
  width: 100%;
}

.submit_box button {
  all: unset;
  width: 100%;
  height: 50px;
  background: #026eff;
  border-radius: 8px 8px 8px 8px;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  line-height: 50px;
}

footer {
  background-color: #333333;
  width: 100%;
  height: 80px;
  bottom: 0;
  position: fixed;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  line-height: 80px;
  text-align: center;
}

.daohang {
  display: none;
}

/* Media Query for responsiveness */
@media (max-width: 1200px) {
  header {
    width: 100%;
    padding: 10px;
    margin: 0;
  }
  .box {
    width: 100%;
    margin-top: 40px;
  }
  section {
    width: 100%;
    margin-top: 30px;
  }
  .tabs > .tab {
    font-size: 14px;
    padding: 15px;
  }
  .ipt_box {
    width: 100%;
    margin-bottom: 10px;
  }
  .ipt_box input {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .header .logo_box {
    width: 100%;
    justify-content: space-between;
  }
  .header .mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    /* 低于导航菜单但高于页面内容 */
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .header .mask.show {
    display: block;
    opacity: 1;
  }
  .header nav {
    width: 100%;
    padding: 20px 0;
    gap: 20px;
    margin-left: 0;
    flex-direction: column;
    background-color: #fff;
    position: fixed;
    z-index: 1000;
    /* 确保菜单在遮罩层上方 */
    left: 0;
    top: -500px;
    transition: top 0.3s ease;
    /* 添加过渡效果 */
    z-index: 1000;
    /* 确保菜单在最上层 */
    border-radius: 0 0 20px 20px;
  }
  .header nav .nav_item {
    color: #333;
    padding: 10px 20px;
    cursor: pointer;
  }
  .header nav.show {
    top: 0;
    /* 显示时的位置，根据实际布局调整 */
  }
  .header .nav_item:hover {
    background-color: #f5f5f5;
  }
  .header .nav_active {
    font-weight: bold;
    color: #1890ff !important;
  }
  .header .search_box {
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
    padding: 0 20px;
  }
  .header .search_box .daohang {
    display: block;
    margin-left: auto;
    width: 20px;
  }
  .header .search_box .daohang img {
    width: 100%;
    height: 100%;
  }
  section {
    width: 100%;
    padding: 20px;
  }
  section #form .form_box {
    gap: 10px;
    flex-direction: column;
  }
  section #form .form_box .ipt_box {
    width: 100%;
  }
  .bottom {
    flex-direction: column;
    margin-bottom: 300px;
  }
}
