.banner {
  width: 100%;
  height: 664px;
  position: relative;
}

.mylogo {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 1200px;
  height: 80px;
  margin: 0 auto;
  margin-left: -600px;
  z-index: 9999999999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar ul {
  list-style: none;
  display: flex;
}

.navbar ul li {
  margin: 0 20px;
  color: #fff;
  font-size: 16px;
}

.navbar ul li a:link,
.navbar ul li a:visited {
  color: #fff;
}

.navbar ul li a:hover {
  text-decoration: underline;
}

.intro {
  width: 1200px;
  margin: 0 auto;
  margin-top: 30px;
  text-align: center;
}

.intro-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
}

.intro-title2 {
  margin-top: 10px;
  font-size: 18px;
  color: #999;
}

.intro-content {
  width: 1200px;
  margin: 0 auto;
  height: 420px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}

.intro-box {
  width: 270px;
  height: 430px;
  background-color: #f1f6fc;
  border-radius: 5px;
  transition: 0.5s ease-in-out;
}

.intro-box:hover {
  background-color: #deeafd;
  cursor: pointer;
}

.box-title {
  width: 100%;
  height: 50px;
  line-height: 50px;
  text-align: center;
  margin-top: 20px;
  font-size: 22px;
}

.box-txt {
  width: 80%;
  height: 130px;
  margin: 0 auto;
  margin-top: 20px;
  text-align: left;
  color: #999;
  font-size: 16px;
  line-height: 24px;
}

.box-img {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

.box-img img {
  width: 100px;
  height: 100px;
}

.box-more {
  font-size: 14px;
  text-align: center;
  color: #999;
  margin-top: 25px;
}

.box-more button {
  width: 130px;
  height: 36px;
  border-radius: 6px;
  border: none;
  background-color: #31c5a2;
  color: #fff;
  cursor: pointer;
}

.mpic {
  width: 100%;
  height: 660px;
  margin-top: 50px;
  text-align: center;
  background-color: #f1f6fc;
  padding-top: 20px;
}

.bottom {
  width: 100%;
  height: 80px;
  background-color: #2052a1;
  color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.sub-top {
  width: 100%;
  height: 80px;
  background-color: #2052a1;
}

.sub-banner {
  width: 100%;
  height: 330px;
  background-repeat: no-repeat;
  background-image: url(../images/aboutus2.jpg);
  background-position: top center;
  background-size: cover;
  position: relative;
}

.sub-banner2 {
  width: 100%;
  height: 330px;
  background-repeat: no-repeat;
  background-image: url(../images/case.jpg);
  background-position: top center;
  background-size: cover;
  position: relative;
}

.sub-banner3 {
  width: 100%;
  height: 330px;
  background-repeat: no-repeat;
  background-image: url(../images/aboutus.jpg);
  background-position: top center;
  background-size: cover;
  position: relative;
}

.sub-banner4 {
  width: 100%;
  height: 330px;
  background-repeat: no-repeat;
  background-image: url(../images/reg.jpg);
  background-position: top center;
  background-size: cover;
  position: relative;
}

.sub-banner-txt {
  width: 1200px;
  position: absolute;
  top: 100px;
  left: 50%;
  margin-left: -600px;
  text-align: center;
  color: #fff;
}

.sub-video {
  height: 330px;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

.sub-title {
  width: 1200px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-top: 20px;
}

.sub-company {
  width: 1200px;
  margin: 0 auto;
  margin-top: 30px;
  font-size: 18px;
  line-height: 36px;
  text-indent: 2em;
  color: #666;
  margin-bottom: 40px;
}

.case {
  width: 1200px;
  min-height: 500px;
  height: auto !important;
  margin: 0 auto;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.case-box {
  width: 360px;
  height: 400px;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.case-img {
  width: 100%;
  height: 200px;
}
.case-img img {
  width: 100%;
  height: 200px;
  transition: all 0.3s;
}

.case-img img:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.case-bt {
  width: 90%;
  margin: 0 auto;
  margin-top: 20px;
  font-size: 18px;
}

.case-desc {
  width: 90%;
  margin: 0 auto;
  margin-top: 20px;
  font-size: 15px;
  line-height: 24px;
  text-align: justify;
  color: #666;
}

.regbox {
  width: 700px;
  margin: 0 auto;
}

.form-container {
  padding: 30px;
}

.form-group {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
}

.form-group label {
  flex: 0 0 120px;
  text-align: right;
  padding-right: 15px;
  color: #555;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #4a6bdf;
  box-shadow: 0 0 0 3px rgba(74, 107, 223, 0.2);
  outline: none;
}

.btn-container {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.btn-register {
  background: #4a6bdf;
  color: white;
  border: none;
  padding: 14px 35px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(74, 107, 223, 0.3);
}

.btn-register:hover {
  background: #3a5bd0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(74, 107, 223, 0.4);
}

.btn-register:active {
  transform: translateY(0);
}

.terms {
  text-align: center;
  margin-top: 20px;
  color: #777;
  font-size: 14px;
}

.terms a {
  color: #4a6bdf;
  text-decoration: none;
}

.terms a:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .form-group {
    flex-direction: column;
    align-items: stretch;
  }

  .form-group label {
    text-align: left;
    margin-bottom: 8px;
    padding-right: 0;
  }
}

.btn-container {
  position: relative;
  display: inline-block;
  margin: 0px 0;
}

.btn {
  background: #4a6bdf;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(74, 107, 223, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  background: #3a5bd0;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(74, 107, 223, 0.4);
}

.btn:active {
  transform: translateY(0);
}

.qr-popup {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  width: 180px;
  margin-bottom: 15px;
}

.btn-container:hover .qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.qr-popup:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: white transparent transparent;
}

.qr-code {
  width: 150px;
  height: 150px;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  border-radius: 5px;
}

.qr-popup p {
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.instructions {
  margin-top: 40px;
  color: #666;
  line-height: 1.6;
  text-align: left;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
}

.instructions h3 {
  margin-bottom: 10px;
  color: #4a6bdf;
}
