@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Jersey+15&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Sans+SC:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Space Grotesk;
}

.dropdown {
  position: relative;
  display: inline-block;
}

li{
  list-style: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 150px;
  list-style: none;
  padding: 0;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content li {
  border-bottom: 1px solid #555;
}

.dropdown-content li a {
  color: white;
  padding: 10px;
  display: block;
  text-decoration: none;
}

.dropdown-content li a:hover {
  background-color: #555;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.language-switch select {
  background: #333;
  color: white;
  border: none;
  padding: 5px;
}
#languageSwitcher {
  background-color: white;
  color: #333;
  border: 1px solid #ccc;
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 5px; /* 圆角 */
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-switch {
  margin-left: auto;  /* 将语言切换推到最右边 */
  display: flex;
  align-items: center;
  gap: 5px; /* 图标与下拉菜单的间距 */
}

.contactpage .navbar,
.aboutpage .navbar,
.index-page .navbar,
.service-page .navbar {
  position: fixed;
  width: 100%;
  padding: 20px 50px;
  background: rgba(7, 7, 7, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  font-size: x-large;
}

.index-page section{
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 3px solid black;
  background-clip: padding-box;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: large;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}
.nav-links a:hover {
  color: #000000;
}

.hero {
  min-height: 100vh;
  height: auto;
  background-image: url(../pic/mesh-620.png);
  display: flex;
  background-size: cover;
  align-items: center;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 5% 10%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.3); 
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-content {
  width: 50%;
  text-align: left;
  font-size: xx-large;
}
.hero-pic {
  display: flex;
  justify-content: end;
  opacity: 70%;
}

.hero-pic img {
  max-width: 80%;
  height: auto;
  border-radius: 15px;
}

.products {
  padding: 80px 50px;
  background: #E5E8E8;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;

}

.product-card img{
  align-items: center;
}

.appointment {
  padding: 80px 50px;
  background: #2e86ab;
  color: white;
}

.price-tag {
  font-size: 24px;
  color: #000000;
  margin: 15px 0;
}

.wrapper {
  width: 100vw;
  max-width: 100%;
  height: 25vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: hidden;
}
.marquee_container {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  gap: 1rem;
  overflow: hidden;
}
.marquee_content {
  display: flex;
  justify-content: space-evenly;
  gap: 0.5rem;
}
.letter {
  font-size: 10rem;
  color: #000000;
  letter-spacing: -0.2em;
}

.subscription {
  padding: 20px 50px 50px;
  background: #4E545C ;
  text-align: center;
  color: white;
}

.product-card:hover {
  transform: translateY(-5px) scale(1.03);
  transition: 0.4s ease-out;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.button {
  display: inline-block;
  padding: 12px 24px;
  background: #1A237E;
  color: #FFF;
  border-radius: 25px;
  text-decoration: none;
  margin-top: 20px;
  transition: 0.3s ease-in-out;
}

.button:hover {
  background: #FFD700;
  color: #000;
}

.AboutCompany {
  background-color: #E5E8E8;
  justify-items: center;
  padding: 20px 50px 50px;
  text-align: justify;
  border: 1px solid black;
}
.AboutCompany h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}
.AboutCompany img {
  padding-top: 20px;
}

.testimonials {
  background: #F4F4F4;
    padding: 80px 10%;
    text-align: center;
}

.testimonials blockquote {
  font-style: italic;
  font-size: 1.3em;
  color: #555;
}

.contact {
  background: linear-gradient(135deg, #3F51B5, #1A237E);
  color: white;

  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  width: 100%;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}
.contact input, .contact textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid rgb(55, 51, 51,0.3);
}

.contact-info {
  flex: 1;
  padding: 40px;
  background: #007bff;
  color: white;
  text-align: left;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.5;
}

.contact-form {
  flex: 1;
  padding: 40px;
  background: #fff;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: 0.3s;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

textarea {
  height: 120px;
  resize: none;
  font-family: "Times New Roman", Times, serif;
}

.contact .button {
  background: #007bff;
  color: white;
  font-size: 18px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.button:hover {
  background: #0056b3;
  transform: scale(1.05);
}

footer {
  background: #7b949c;
  color: white;
  padding: 40px 30px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 20px 30px;
  flex-wrap: wrap;
  margin-left: 20px;
}

.footer-left {
  /* flex: 1; */
  min-width: 200px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  min-width: 350px;
}

.footer h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer p {
  font-size: 1rem;
  line-height: 1.5;
}

.services {
  text-align: center;
  padding: 60px 20px;
  background: #7b949c;
}

.service_container {
  max-width: 1000px;
  margin: auto;
}

.section-title {
  font-size: 2.5rem;
  margin: 15px;
  color: #222;
}

.section-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: white;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service-item {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item i {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 10px;
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.service-item img {
  width: 100%;
  height: 255px;
  object-fit: contain;
  border-radius: 8px;
}
.sysreturn-img {
  max-width: 500%;  
  height: 500px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.service-item p {
  font-size: 1rem;
  color: #666;
}

.service-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.service-button:hover {
  background: #0056b3;
}

.tab-content.active {
  display: block;
  text-align: center;
}

.tab-content.active p, .tab-content.active h2{
  text-align: left;
}

.products-page .navbar {
  position: fixed;
  width: 100%;
  padding: 20px 50px;
  background: rgba(7, 7, 7, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  font-size: x-large;
}

.product-intro {
  height: 100vh;
  background-image: url(../pic/mesh-620.png);
  display: flex;
  background-size: cover;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 25% 10%;
  flex-direction: column;
}

.product-contentva p,.product-contentva h1 {
  width: 100%;
  text-align: center;
  font-family: "Oswald", sans-serif !important;
  font-weight: 400;
  font-size: 25px;
  font-style: normal;
  padding: 15px;
  text-shadow: 5px 5px 4px rgba(0, 0, 0, 0.5);
}

.product-content p,.product-content h1 {
  width: 100%;
  text-align: center;
  font-family: "Oswald", sans-serif !important;
  font-weight: 400;
  font-size: 25px;
  font-style: normal;
  padding: 15px;
  text-shadow: 5px 5px 4px rgba(0, 0, 0, 0.5);
}

.product-content2 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: 600;
  text-align: center;
}
.product-pic {
  display: flex;
  justify-content: end;
  opacity: 70%;
}

.product-pic img {
  /* padding: 30px 0; */
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 15px;
}

.contact-container iframe {
  height: fit-content;
}

.content-container {
  padding: 30px;
}


.contact-container h2, .contact-container p{
  text-align: left;
  padding: 5px;
  justify-content: center;
  /* font-family: "Ma Shan Zheng", serif !important; */
}

/* p{
  text-indent: 0.5em;
} */
.tab-content {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  justify-content: center;
}

.tab-content img {
  /* width: 100%; */
  max-width: 500px;
  justify-content: center;
  opacity: 80%;
  margin: 10px;
}

.product-tabs {
  display: flex;
  justify-content: center;
  background: #fd3d3d;
}
.nav-buttons {
  display: flex;
  gap: 10px;
  padding: 20px 20px;
  margin: 0 5px;
  transition: background 0.3s;
}


.tab-button {
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  border: black;
  box-shadow: 0 0 10px rgba(3, 3, 3, 0.5);

}

.tab-button.active {
  background-color: #007bff;
  color: white;
}

.tab-button:hover{
  background-color: #557fad;
}


hr {
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border-width: 3px;
}

.sy_note{
  padding-top: 10px;
  text-align: center;
}

/* us.html*/
.map-container {
  position: relative;
  width: 100%;
  height: 500px; 
  overflow: hidden;
}

.map-container h1{
  font-size: xxx-large;
  font-weight: 100;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}


.map-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.7);
  padding: 20px 30px;
  border-radius: 8px;
  z-index: 2;
}

.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 50px;
}

.text-content {
  flex: 1;
  max-width: 500px;
  margin: 30px 10px;
}

.text-content h1 {
  font-size: 48px;
  font-weight: bold;
  color: black;
}

.text-content h2 {
  font-size: 24px;
  color: #555;
  margin-top: 10px;

}

.text-content p {
  font-size: 16px;
  color: black;
  line-height: 1.6;
  margin-top: 15px;
  font-family: "Noto Sans SC", sans-serif !important;
  font-weight: 400;
  text-align: justify;
}

.image-container {
  display: flex;
  gap: 15px;
  align-items: center;
}

.image-container img {
  width: 120px;
  height: 350px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-container .left {
  object-position: left;
}

.image-container .middle {
  width: 150px;
  height: 500px;
  object-position: center;
}

.image-container .right {
  object-position: right;
}

.aboutpage{
  background-color: #b0cad2;
}

/* contact */

.contactpage{
  margin: 0;
  padding: 0;
  display: flex;
  background: linear-gradient(to right, #a09a9a, #ffffff);
  /* display: table-; */
  flex-direction: column;
  align-items: center;
  max-width: 100vw;
}
.contactcontainer {
  display: flex;
  width: 100%;
  /* max-width: 1200px; */
  /* height:80vh; */
  /* align-items: center; */
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
  padding-top: 40px;
  padding-bottom: 40px;
  /* min-height: 500px; */
  margin: 100px;
}

.contact-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.contact-image img {
  width: 100%;
  height: auto;
  max-height: 450px;
  border-radius: 10px;
  object-fit: cover;
}

.contactform-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: flex-start;
}


.contactform-section h1 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: black;
}

.contact-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width:-webkit-fill-available;
  border-top: 2px solid black;
  border-left: 2px solid black;
  /* max-width: 600px; */
  padding: 30px;
  gap: 30px;
  min-height: 100%;
}

.contactform {
  /* flex: 2; */
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contactform label {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}

.contactform input, .contactform textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-bottom: 2px solid black;
  background-color: transparent;
  font-size: 16px;
  outline: none;
  box-shadow: none;
  resize: none;
}

.contactform textarea {
  height: 80px;
}

.contactform button {
  width: 100%;
  padding: 12px;
  background-color: black;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contactform button:hover {
  background-color: #333;
}

.contactinfo {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 24px;
  line-height: 1.8;
}



.contactinfo p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons i {
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s ease;
}

.social-icons i:hover {
  color: gray;
}

.menu-icon{
  display: none;
}

@media (max-width: 768px) {
  .navbar{
    position: fixed;
    width: 100%;
    padding: 20px 50px;
    background: rgba(7, 7, 7, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    font-size: x-large;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: rgba(9, 9, 9, 0.7);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 10px 0;
    text-align: center;
  }
  .nav-links li {
    width: 100%;
    padding: 10px;
  }
  .dropdown-content {
  display: none;
  position:relative;
  background-color: #333;
  min-width: 150px;
  list-style: none;
  padding: 0;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
  }
  .nav-links a, .dropdown {
    display: block;
    padding: 10px;
    text-align: center;
  }  
  .about-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
  }
  .menu-icon {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }

  .service-list {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    display: flex;
    align-items: center;
  }
  .footer-left {
    text-align: center;
  }
  .footer-right {
    text-align: center;
    align-items: center;
    min-width: auto;
  }
  .hero {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 20% 5%;
    align-items: center;
  }
  .hero-content,
  .hero-pic {
    margin-top: 10px;
    width: 100%;
    justify-content: center;
    /* text-align: center; */
  }

  .hero-content .button{
    font-size: x-large;
  }
  .hero-pic img {
    margin-top: 20px;
  }

  .contact-container {
    flex-direction: column;
  }
  .contact-info,
  .contact-form {
    width: 100%;
    text-align: center;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
  .subscription iframe {
    height: fit-content;
    width: 100%;
  }

  .AboutCompany iframe {
    height: fit-content;
    width: 100%;
  }

  .product-list {
    grid-template-columns: 1fr;
  }

  .products {
    padding: 50px 20px;
  }
  .contact-container iframe {
    width: 50%;
    height: fit-content;
  }
  .contactcontainer {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .contact-image img {
    max-height: 300px;
  }

  .contactform-section {
    padding: 20px;
  }

  .contact-box {
    flex-direction: column;
  }

  .hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 150%;
    background: rgba(0, 0, 0,0); 
    z-index: 1;
  }

  .tab-content img {
    max-width: 300px;
    justify-content: center;
    opacity: 80%;
    margin: 10px;
  }
  .content-container iframe{
    max-width: 300px;
    height:fit-content;
  }
  .about-section{
    text-align: center;
    justify-content: center;
  }
  
  .image-container img {
    width: 80px;
    height: 350px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .image-container .middle {
    width: 80px;
    height: 350px;
    object-position: center;
  }
  .contactform-section {
    width:100%;
    max-width: 500px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  .tab-content {
    justify-content: center;
  }

  .product-tabs {
    flex-direction: column;  /* 按钮纵向排列 */
    align-items: center;  /* 居中对齐 */
    padding: 15px; /* 减少 padding 适配小屏 */
  }

  
  .nav-buttons {
    width: 80%; /* 让按钮占满屏幕 */
    justify-content: center; /* 按钮文字居中 */
    text-align: center;
    flex-direction: column;

  }
  .product-intro{
    height: fit-content;
  }

}