* {
  font-family: "Noto Sans TC", "PingFang TC", 微軟正黑體, "Microsoft JhengHei",
    "Helvetica Neue", Helvetica, source-han-sans-traditional, Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background-color: white;
  z-index: 1000;
  position: relative;
}

.navicons {
  display: flex;
  list-style: none;
  gap: 4rem;
  font-size: 14px;
  margin-top: 2rem;
}

.navicons li a {
  text-decoration: none;
  color: #7b94ab;
  position: relative;
  padding-bottom: 4px;
}


/* Hover underline animation */
.navicons li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  
  background-color: #7b94ab;
  transition: width 0.3s ease;
}

.navicons li a:hover::after {
  width: 100%;
}
.navicons li a:hover {
  color: #D6B7B4;
}

/* Hamburger menu styles */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
}


/* Mobile view */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navicons {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    right: 20px;
    gap: 1.5rem;
    padding: 1rem 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .navicons.show {
    display: flex;
  }
}

.hero img {
    width: 14rem;
    margin-right: 50px;
}
@media (max-width: 768px) {
    .hero img {
        width: 12rem; /* Slightly smaller on tablets */
        margin-left: -20px;
    }
}

@media (max-width: 480px) {
    .hero img {
        width: 8rem; /* Smaller on mobile */
        margin-left: -20px;
    }
}
 .divide-footer{
   margin-bottom: 1rem;
   width: 90%;
   text-align: center;
   margin: auto;
   margin-top: 4rem;
   color: #e5e5e5;
  }
.footer {
background: #fff;
padding: 2rem 5%;
color: #507883;
font-family: Arial, sans-serif;
}


.footer-container {
display: flex;
justify-content:space-around;
gap: 10rem;
align-items: flex-start;
flex-wrap: wrap;
margin-top: 30px;
}


.footer-info {
max-width: 600px;
line-height: 1.8;
}


.footer-info h3 , .right-footer  {
color: #507883;
margin-bottom: 0.3rem;
font-size: 0.8rem;
}


.footer-info p , .right-footer  {
margin: 0 0 1rem;
font-size: 0.75rem;
color: #507883;
}


.footer-icons {
display: flex;
gap: 3rem;
align-items: center;
text-align: center;
}


.footer-icons a svg {
transition: transform 0.3s ease, fill 0.3s ease;
}
.footer-icons a p{
color: #507883;
text-decoration: none;
}
.footer-icons a{
  text-decoration: none;
}


.footer-icons a:hover svg {
transform: scale(1.1);
fill: #305050;
}
.footer-icons a:hover img {
transform: scale(1.1);
fill: #305050;
}
#footer-buttom{
 text-align: center;
}
.lang { display: none; }
    .lang.zh { display: inline; } /* default Chinese */
    .language-switcher { position: absolute; top: 15px; right: 20px; cursor: pointer; }
    .language-switcher span { margin: 0 5px; cursor: pointer; }
    .language-switcher .active { font-weight: bold; text-decoration: underline; color: #D6B7B4; }
  

.footer .searchicon input {
  padding: 0.5rem;
  border: 1px solid black;
  border-radius: 4px;
  font-size: 0.75rem;
  width: 15rem;
  margin-bottom: 20px;
}
.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #507883;
  margin-top: 1rem;
  margin-bottom: 1rem;

}
/* Responsive */
@media (max-width: 768px) {
.footer-container {
flex-direction: column;
text-align: center;
gap: 1.5rem;
margin: auto;
        align-items: center;
}


.footer-icons {
justify-content: center;
}
}

